From 6114dbf2f78d56582016ea45f52666e0d26302bf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 12:12:10 +0000 Subject: [PATCH 01/56] feat(api): manual updates --- .stats.yml | 4 +- README.md | 14 +-- composer.json | 2 +- src/Accounts/AccountListParams.php | 12 +-- src/Accounts/AccountListResponseItem.php | 12 +-- .../OnlyfansUserData.php | 28 +++--- .../OnlyfansUserData/AvatarThumbs.php | 8 +- .../OnlyfansUserData/HasNewTicketReplies.php | 8 +- .../OnlyfansUserData/HeaderSize.php | 8 +- .../OnlyfansUserData/HeaderThumbs.php | 8 +- .../OnlyfansUserData/Upload.php | 12 +-- .../OnlyfansUserData/Upload/GeoUploadArgs.php | 12 +-- .../Upload/GeoUploadArgs/Additional.php | 8 +- .../Financial/FinancialGetForecastParams.php | 16 +-- .../FinancialGetForecastParams/Metric.php | 2 +- .../FinancialGetForecastParams/Model.php | 2 +- .../FinancialGetForecastResponse.php | 16 +-- .../FinancialGetForecastResponse/Forecast.php | 8 +- .../Historical.php | 8 +- .../ProfitabilityGetHistoryParams.php | 14 +-- .../ProfitabilityGetHistoryResponseItem.php | 8 +- .../ProfitabilityGetProfitabilityParams.php | 12 +-- ...fitabilityGetProfitabilityResponseItem.php | 8 +- .../TransactionGetByTypeParams.php | 12 +-- .../TransactionGetByTypeResponseItem.php | 8 +- .../TransactionGetSummaryParams.php | 12 +-- .../TransactionGetSummaryResponse.php | 8 +- .../SummaryGetEarningsOverviewParams.php | 12 +-- .../SummaryGetEarningsOverviewResponse.php | 8 +- .../SummaryGetHistoricalPerformanceParams.php | 14 +-- .../TimeRange.php | 2 +- ...ryGetHistoricalPerformanceResponseItem.php | 8 +- .../SummaryGetPeriodComparisonParams.php | 28 +++--- .../Granularity.php | 2 +- .../PeriodA.php | 8 +- .../PeriodB.php | 8 +- .../StatType.php | 2 +- .../SummaryGetPeriodComparisonResponse.php | 12 +-- .../Summary.php | 8 +- .../AuthenticatePollStatusResponse.php | 16 +-- .../Account.php | 12 +-- .../Account/OnlyfansData.php | 20 ++-- .../OnlyfansData/AgeVerificationSession.php | 8 +- .../OnlyfansData/HasNewTicketReplies.php | 8 +- .../Account/OnlyfansData/Upload.php | 12 +-- .../OnlyfansData/Upload/GeoUploadArgs.php | 12 +-- .../Upload/GeoUploadArgs/Additional.php | 8 +- .../LastAttempt.php | 8 +- .../AuthenticateReauthenticateResponse.php | 8 +- .../AuthenticateSend2faEmailResponse.php | 8 +- src/Authenticate/AuthenticateStartParams.php | 20 ++-- .../AuthenticateStartParams/AuthType.php | 2 +- .../AuthenticateStartParams/CustomProxy.php | 8 +- .../AuthenticateStartParams/ProxyCountry.php | 2 +- .../AuthenticateStartResponse.php | 16 +-- .../UnionMember0.php | 8 +- .../UnionMember1.php | 8 +- .../AuthenticateSubmit2faParams.php | 12 +-- .../AuthenticateSubmit2faResponse.php | 8 +- ...kingListAvailablePayoutSystemsResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/Payout.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Banking/BankingListCountriesResponse.php | 16 +-- .../BankingListCountriesResponse/Data.php | 8 +- .../BankingListCountriesResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- ...DetailGetAccountCountryDetailsResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Details/DetailGetBankDetailsResponse.php | 16 +-- .../DetailGetBankDetailsResponse/Data.php | 12 +-- .../Data/Payout.php | 16 +-- .../Data/Payout/Fields.php | 46 ++++----- .../Data/Payout/Fields/Address.php | 12 +-- .../Data/Payout/Fields/Address/Label.php | 8 +- .../Data/Payout/Fields/BankName.php | 12 +-- .../Data/Payout/Fields/BankName/Label.php | 8 +- .../Data/Payout/Fields/Bic.php | 12 +-- .../Data/Payout/Fields/Bic/Label.php | 8 +- .../Data/Payout/Fields/City.php | 12 +-- .../Data/Payout/Fields/City/Label.php | 8 +- .../Data/Payout/Fields/Country.php | 12 +-- .../Data/Payout/Fields/Country/Label.php | 8 +- .../Data/Payout/Fields/FirstName.php | 16 +-- .../Data/Payout/Fields/FirstName/Label.php | 8 +- .../Data/Payout/Fields/FirstName/Oninput.php | 12 +-- .../Fields/FirstName/Oninput/Replace.php | 8 +- .../Data/Payout/Fields/Iban.php | 16 +-- .../Data/Payout/Fields/Iban/Label.php | 8 +- .../Data/Payout/Fields/Iban/Regex.php | 8 +- .../Data/Payout/Fields/LastName.php | 16 +-- .../Data/Payout/Fields/LastName/Label.php | 8 +- .../Data/Payout/Fields/LastName/Oninput.php | 12 +-- .../Fields/LastName/Oninput/Replace.php | 8 +- .../Data/Payout/Fields/Postal.php | 12 +-- .../Data/Payout/Fields/Postal/Label.php | 8 +- .../Data/Payout/UiMapping.php | 20 ++-- .../Data/Payout/UiMapping/Alert.php | 12 +-- .../Data/Payout/UiMapping/Alert/Text.php | 8 +- .../Data/Payout/UiMapping/BtnSubmit.php | 8 +- .../Data/Payout/UiMapping/Title.php | 8 +- .../DetailGetBankDetailsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DetailGetDac7FormDetailsResponse.php | 16 +-- .../DetailGetDac7FormDetailsResponse/Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DetailGetLegalAndTaxStatusResponse.php | 16 +-- .../Data.php | 16 +-- .../Data/Dac7.php | 8 +- .../Data/Tax.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DetailGetLegalFormDetailsResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/DocumentType.php | 12 +-- .../Data/DocumentType/Value.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Bundles/BundleCreateParams.php | 16 +-- src/Bundles/BundleCreateParams/Discount.php | 2 +- src/Bundles/BundleCreateParams/Duration.php | 2 +- src/Bundles/BundleDeleteParams.php | 12 +-- src/Bundles/BundleDeleteResponse.php | 16 +-- src/Bundles/BundleDeleteResponse/Data.php | 8 +- src/Bundles/BundleDeleteResponse/_Meta.php | 20 ++-- .../BundleDeleteResponse/_Meta/_Cache.php | 8 +- .../BundleDeleteResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Bundles/BundleListResponse.php | 16 +-- src/Bundles/BundleListResponse/Data.php | 8 +- src/Bundles/BundleListResponse/_Meta.php | 20 ++-- .../BundleListResponse/_Meta/_Cache.php | 8 +- .../BundleListResponse/_Meta/_Credits.php | 8 +- .../BundleListResponse/_Meta/_RateLimits.php | 8 +- src/Bundles/BundleNewResponse.php | 16 +-- src/Bundles/BundleNewResponse/Data.php | 8 +- src/Bundles/BundleNewResponse/_Meta.php | 20 ++-- .../BundleNewResponse/_Meta/_Cache.php | 8 +- .../BundleNewResponse/_Meta/_Credits.php | 8 +- .../BundleNewResponse/_Meta/_RateLimits.php | 8 +- .../ChargebackCalculateRatioParams.php | 12 +-- .../ChargebackCalculateRatioResponse.php | 16 +-- .../ChargebackCalculateRatioResponse/Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chargebacks/ChargebackListParams.php | 12 +-- src/Chargebacks/ChargebackListResponse.php | 16 +-- .../ChargebackListResponse/Data.php | 12 +-- .../ChargebackListResponse/Data/List_.php | 12 +-- .../Data/List_/Payment.php | 12 +-- .../Data/List_/Payment/User.php | 8 +- .../ChargebackListResponse/_Meta.php | 20 ++-- .../ChargebackListResponse/_Meta/_Cache.php | 8 +- .../ChargebackListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../ChargebackListStatisticsParams.php | 12 +-- .../ChargebackListStatisticsResponse.php | 16 +-- .../ChargebackListStatisticsResponse/Data.php | 16 +-- .../Data/ChartAmount.php | 8 +- .../Data/ChartCount.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/ChatDeleteParams.php | 12 +-- src/Chats/ChatDeleteResponse.php | 16 +-- src/Chats/ChatDeleteResponse/Data.php | 8 +- src/Chats/ChatDeleteResponse/_Meta.php | 20 ++-- src/Chats/ChatDeleteResponse/_Meta/_Cache.php | 8 +- .../ChatDeleteResponse/_Meta/_Credits.php | 8 +- .../ChatDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Chats/ChatHideParams.php | 12 +-- src/Chats/ChatHideResponse.php | 16 +-- src/Chats/ChatHideResponse/Data.php | 8 +- src/Chats/ChatHideResponse/_Meta.php | 20 ++-- src/Chats/ChatHideResponse/_Meta/_Cache.php | 8 +- src/Chats/ChatHideResponse/_Meta/_Credits.php | 8 +- .../ChatHideResponse/_Meta/_RateLimits.php | 8 +- src/Chats/ChatListMediaParams.php | 16 +-- src/Chats/ChatListMediaParams/Type.php | 2 +- src/Chats/ChatListMediaResponse.php | 16 +-- src/Chats/ChatListMediaResponse/Data.php | 12 +-- .../ChatListMediaResponse/Data/List_.php | 16 +-- .../Data/List_/FromUser.php | 8 +- .../Data/List_/Media.php | 16 +-- .../Data/List_/Media/Files.php | 24 ++--- .../Data/List_/Media/Files/Full.php | 8 +- .../Data/List_/Media/Files/Preview.php | 8 +- .../Data/List_/Media/Files/SquarePreview.php | 8 +- .../Data/List_/Media/Files/Thumb.php | 8 +- .../Data/List_/Media/VideoSources.php | 8 +- src/Chats/ChatListMediaResponse/_Meta.php | 20 ++-- .../ChatListMediaResponse/_Meta/_Cache.php | 8 +- .../ChatListMediaResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/ChatListParams.php | 18 ++-- src/Chats/ChatListParams/Filter.php | 2 +- src/Chats/ChatListParams/Order.php | 2 +- src/Chats/ChatListParams/SkipUsers.php | 2 +- src/Chats/ChatListResponse.php | 20 ++-- src/Chats/ChatListResponse/Data.php | 16 +-- src/Chats/ChatListResponse/Data/Fan.php | 34 +++---- .../Data/Fan/AvatarThumbs.php | 8 +- .../ChatListResponse/Data/Fan/HeaderSize.php | 8 +- .../Data/Fan/HeaderThumbs.php | 8 +- .../ChatListResponse/Data/Fan/ListsState.php | 8 +- .../Data/Fan/SubscribedByData.php | 12 +-- .../Data/Fan/SubscribedByData/Subscribe.php | 8 +- .../Data/Fan/SubscribedOnData.php | 12 +-- .../Data/Fan/SubscribedOnData/Subscribe.php | 8 +- .../ChatListResponse/Data/LastMessage.php | 12 +-- .../Data/LastMessage/FromUser.php | 8 +- src/Chats/ChatListResponse/_Meta.php | 20 ++-- src/Chats/ChatListResponse/_Meta/_Cache.php | 8 +- src/Chats/ChatListResponse/_Meta/_Credits.php | 8 +- .../ChatListResponse/_Meta/_RateLimits.php | 8 +- src/Chats/ChatListResponse/_Pagination.php | 8 +- src/Chats/ChatMarkAsReadParams.php | 12 +-- src/Chats/ChatMarkAsReadResponse.php | 16 +-- src/Chats/ChatMarkAsReadResponse/Data.php | 8 +- src/Chats/ChatMarkAsReadResponse/_Meta.php | 20 ++-- .../ChatMarkAsReadResponse/_Meta/_Cache.php | 8 +- .../ChatMarkAsReadResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/ChatMarkAsUnreadParams.php | 12 +-- src/Chats/ChatMarkAsUnreadResponse.php | 16 +-- src/Chats/ChatMarkAsUnreadResponse/Data.php | 8 +- src/Chats/ChatMarkAsUnreadResponse/_Meta.php | 20 ++-- .../ChatMarkAsUnreadResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/ChatMuteParams.php | 12 +-- src/Chats/ChatMuteResponse.php | 16 +-- src/Chats/ChatMuteResponse/Data.php | 8 +- src/Chats/ChatMuteResponse/_Meta.php | 20 ++-- src/Chats/ChatMuteResponse/_Meta/_Cache.php | 8 +- src/Chats/ChatMuteResponse/_Meta/_Credits.php | 8 +- .../ChatMuteResponse/_Meta/_RateLimits.php | 8 +- src/Chats/ChatStartTypingParams.php | 12 +-- src/Chats/ChatStartTypingResponse.php | 16 +-- src/Chats/ChatStartTypingResponse/Data.php | 8 +- src/Chats/ChatStartTypingResponse/_Meta.php | 20 ++-- .../ChatStartTypingResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/ChatUnmuteParams.php | 12 +-- src/Chats/ChatUnmuteResponse.php | 16 +-- src/Chats/ChatUnmuteResponse/Data.php | 8 +- src/Chats/ChatUnmuteResponse/_Meta.php | 20 ++-- src/Chats/ChatUnmuteResponse/_Meta/_Cache.php | 8 +- .../ChatUnmuteResponse/_Meta/_Credits.php | 8 +- .../ChatUnmuteResponse/_Meta/_RateLimits.php | 8 +- .../MarkAllAsReadAllResponse.php | 16 +-- .../MarkAllAsReadAllResponse/Data.php | 8 +- .../MarkAllAsReadAllResponse/_Meta.php | 20 ++-- .../MarkAllAsReadAllResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageDeleteParams.php | 12 +-- src/Chats/Messages/MessageDeleteResponse.php | 16 +-- .../Messages/MessageDeleteResponse/Data.php | 8 +- .../Messages/MessageDeleteResponse/_Meta.php | 20 ++-- .../MessageDeleteResponse/_Meta/_Cache.php | 8 +- .../MessageDeleteResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageGetResponse.php | 16 +-- .../Messages/MessageGetResponse/Data.php | 12 +-- .../MessageGetResponse/Data/FromUser.php | 8 +- .../Messages/MessageGetResponse/_Meta.php | 20 ++-- .../MessageGetResponse/_Meta/_Cache.php | 8 +- .../MessageGetResponse/_Meta/_Credits.php | 8 +- .../MessageGetResponse/_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageLikeParams.php | 12 +-- src/Chats/Messages/MessageLikeResponse.php | 16 +-- .../Messages/MessageLikeResponse/Data.php | 8 +- .../Messages/MessageLikeResponse/_Meta.php | 20 ++-- .../MessageLikeResponse/_Meta/_Cache.php | 8 +- .../MessageLikeResponse/_Meta/_Credits.php | 8 +- .../MessageLikeResponse/_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageListParams.php | 16 +-- .../Messages/MessageListParams/Filter.php | 2 +- src/Chats/Messages/MessageListResponse.php | 20 ++-- .../Messages/MessageListResponse/Data.php | 12 +-- .../MessageListResponse/Data/FromUser.php | 8 +- .../Messages/MessageListResponse/_Meta.php | 20 ++-- .../MessageListResponse/_Meta/_Cache.php | 8 +- .../MessageListResponse/_Meta/_Credits.php | 8 +- .../MessageListResponse/_Meta/_RateLimits.php | 8 +- .../MessageListResponse/_Pagination.php | 8 +- src/Chats/Messages/MessagePinParams.php | 12 +-- src/Chats/Messages/MessagePinResponse.php | 16 +-- .../Messages/MessagePinResponse/Data.php | 8 +- .../Messages/MessagePinResponse/_Meta.php | 20 ++-- .../MessagePinResponse/_Meta/_Cache.php | 8 +- .../MessagePinResponse/_Meta/_Credits.php | 8 +- .../MessagePinResponse/_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageRetrieveParams.php | 12 +-- src/Chats/Messages/MessageSearchParams.php | 12 +-- src/Chats/Messages/MessageSearchResponse.php | 12 +-- .../Messages/MessageSearchResponse/_Meta.php | 20 ++-- .../MessageSearchResponse/_Meta/_Cache.php | 8 +- .../MessageSearchResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageSendParams.php | 14 +-- src/Chats/Messages/MessageSendResponse.php | 20 ++-- .../Messages/MessageSendResponse/Data.php | 12 +-- .../MessageSendResponse/Data/FromUser.php | 8 +- .../Messages/MessageSendResponse/_Meta.php | 20 ++-- .../MessageSendResponse/_Meta/_Cache.php | 8 +- .../MessageSendResponse/_Meta/_Credits.php | 8 +- .../MessageSendResponse/_Meta/_RateLimits.php | 8 +- .../MessageSendResponse/_Pagination.php | 8 +- src/Chats/Messages/MessageUnlikeParams.php | 12 +-- src/Chats/Messages/MessageUnlikeResponse.php | 16 +-- .../Messages/MessageUnlikeResponse/Data.php | 8 +- .../Messages/MessageUnlikeResponse/_Meta.php | 20 ++-- .../MessageUnlikeResponse/_Meta/_Cache.php | 8 +- .../MessageUnlikeResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Chats/Messages/MessageUnpinParams.php | 12 +-- src/Chats/Messages/MessageUnpinResponse.php | 16 +-- .../Messages/MessageUnpinResponse/Data.php | 8 +- .../Messages/MessageUnpinResponse/_Meta.php | 20 ++-- .../MessageUnpinResponse/_Meta/_Cache.php | 8 +- .../MessageUnpinResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Client.php | 98 +++++++++---------- .../ClientSessionCreateParams.php | 16 +-- .../ProxyCountry.php | 2 +- .../ClientSessionNewResponse.php | 16 +-- .../ClientSessionNewResponse/Data.php | 8 +- .../ClientSessionNewResponse/_Meta.php | 20 ++-- .../ClientSessionNewResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Core.php | 2 +- src/Core/Attributes/Optional.php | 6 +- src/Core/Attributes/Required.php | 12 +-- src/Core/BaseClient.php | 24 ++--- src/Core/Concerns/ResponseProxy.php | 2 +- src/Core/Concerns/SdkEnum.php | 6 +- src/Core/Concerns/SdkModel.php | 16 +-- src/Core/Concerns/SdkPage.php | 16 +-- src/Core/Concerns/SdkParams.php | 8 +- src/Core/Concerns/SdkUnion.php | 8 +- src/Core/Contracts/BaseModel.php | 4 +- src/Core/Contracts/BasePage.php | 4 +- src/Core/Contracts/BaseResponse.php | 2 +- src/Core/Contracts/BaseStream.php | 6 +- src/Core/Conversion.php | 12 +-- src/Core/Conversion/CoerceState.php | 2 +- src/Core/Conversion/Concerns/ArrayOf.php | 12 +-- src/Core/Conversion/Contracts/Converter.php | 6 +- .../Conversion/Contracts/ConverterSource.php | 2 +- src/Core/Conversion/DumpState.php | 2 +- src/Core/Conversion/EnumOf.php | 6 +- src/Core/Conversion/ListOf.php | 6 +- src/Core/Conversion/MapOf.php | 6 +- src/Core/Conversion/ModelOf.php | 12 +-- src/Core/Conversion/PropertyInfo.php | 10 +- src/Core/Conversion/UnionOf.php | 10 +- .../Exceptions/APIConnectionException.php | 4 +- src/Core/Exceptions/APIException.php | 4 +- src/Core/Exceptions/APIStatusException.php | 6 +- src/Core/Exceptions/APITimeoutException.php | 4 +- .../Exceptions/AuthenticationException.php | 4 +- src/Core/Exceptions/BadRequestException.php | 4 +- src/Core/Exceptions/ConflictException.php | 4 +- .../Exceptions/InternalServerException.php | 4 +- src/Core/Exceptions/NotFoundException.php | 4 +- ...Exception.php => OnlyFansAPIException.php} | 6 +- .../Exceptions/PermissionDeniedException.php | 4 +- src/Core/Exceptions/RateLimitException.php | 4 +- .../UnprocessableEntityException.php | 4 +- src/Core/FileParam.php | 2 +- src/Core/Implementation/RawResponse.php | 20 ++-- .../Implementation/StreamingHttpClient.php | 2 +- src/Core/Util.php | 2 +- src/DataExports/DataExportCancelResponse.php | 16 +-- .../DataExportCancelResponse/Data.php | 8 +- .../DataExportCancelResponse/_Meta.php | 20 ++-- .../DataExportCancelResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/DataExports/DataExportCreateParams.php | 18 ++-- .../DataExportCreateParams/FileType.php | 2 +- .../DataExportCreateParams/Type.php | 2 +- src/DataExports/DataExportGetResponse.php | 16 +-- .../DataExportGetResponse/Data.php | 12 +-- .../DataExportGetResponse/Data/Account.php | 8 +- .../DataExportGetResponse/_Meta.php | 20 ++-- .../DataExportGetResponse/_Meta/_Cache.php | 8 +- .../DataExportGetResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/DataExports/DataExportListParams.php | 16 +-- .../DataExportListParams/Status.php | 2 +- src/DataExports/DataExportListParams/Type.php | 2 +- src/DataExports/DataExportListResponse.php | 16 +-- .../DataExportListResponse/Data.php | 16 +-- .../DataExportListResponse/Data/Data.php | 12 +-- .../Data/Data/Account.php | 8 +- .../DataExportListResponse/Data/Meta.php | 8 +- .../DataExportListResponse/_Meta.php | 20 ++-- .../DataExportListResponse/_Meta/_Cache.php | 8 +- .../DataExportListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/DataExports/DataExportNewResponse.php | 16 +-- .../DataExportNewResponse/Data.php | 8 +- .../DataExportNewResponse/_Meta.php | 20 ++-- .../DataExportNewResponse/_Meta/_Cache.php | 8 +- .../DataExportNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/DataExports/DataExportRetrieveParams.php | 12 +-- src/DataExports/DataExportRetryResponse.php | 16 +-- .../DataExportRetryResponse/Data.php | 8 +- .../DataExportRetryResponse/_Meta.php | 20 ++-- .../DataExportRetryResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/DataExports/DataExportStartResponse.php | 16 +-- .../DataExportStartResponse/Data.php | 8 +- .../DataExportStartResponse/_Meta.php | 20 ++-- .../DataExportStartResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DirectMessageChartParams.php | 12 +-- .../DirectMessageChartResponse.php | 16 +-- .../DirectMessageChartResponse/Data.php | 16 +-- .../Data/DirectMessages.php | 12 +-- .../Data/DirectMessages/Chart.php | 8 +- .../Data/DirectMessagesPurchases.php | 12 +-- .../Data/DirectMessagesPurchases/Chart.php | 8 +- .../DirectMessageChartResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DirectMessageListParams.php | 12 +-- .../DirectMessageListResponse.php | 20 ++-- .../DirectMessageListResponse/Data.php | 12 +-- .../DirectMessageListResponse/Data/Item.php | 12 +-- .../Data/Item/Media.php | 16 +-- .../Data/Item/Media/Files.php | 24 ++--- .../Data/Item/Media/Files/Full.php | 8 +- .../Data/Item/Media/Files/Preview.php | 8 +- .../Data/Item/Media/Files/SquarePreview.php | 8 +- .../Data/Item/Media/Files/Thumb.php | 8 +- .../Data/Item/Media/VideoSources.php | 8 +- .../DirectMessageListResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../DirectMessageListResponse/_Pagination.php | 8 +- .../MassMessages/MassMessageChartParams.php | 12 +-- .../MassMessages/MassMessageChartResponse.php | 16 +-- .../MassMessageChartResponse/Data.php | 16 +-- .../Data/GroupMessages.php | 12 +-- .../Data/GroupMessages/Chart.php | 8 +- .../Data/GroupMessagesPurchases.php | 12 +-- .../Data/GroupMessagesPurchases/Chart.php | 8 +- .../MassMessageChartResponse/_Meta.php | 20 ++-- .../MassMessageChartResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessages/MassMessageListParams.php | 12 +-- .../MassMessages/MassMessageListResponse.php | 20 ++-- .../MassMessageListResponse/Data.php | 12 +-- .../MassMessageListResponse/Data/Item.php | 8 +- .../MassMessageListResponse/_Meta.php | 20 ++-- .../MassMessageListResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessageListResponse/_Pagination.php | 8 +- .../MessageGetMessageBuyersParams.php | 14 +-- .../MessageGetMessageBuyersResponse.php | 20 ++-- .../MessageGetMessageBuyersResponse/Data.php | 12 +-- .../Data/List_.php | 8 +- .../MessageGetMessageBuyersResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../Messages/MessageGetTopMessageParams.php | 12 +-- .../Messages/MessageGetTopMessageResponse.php | 16 +-- .../MessageGetTopMessageResponse/Data.php | 12 +-- .../Data/Purchases.php | 16 +-- .../Data/Purchases/Media.php | 16 +-- .../Data/Purchases/Media/Files.php | 24 ++--- .../Data/Purchases/Media/Files/Full.php | 8 +- .../Data/Purchases/Media/Files/Preview.php | 8 +- .../Purchases/Media/Files/SquarePreview.php | 8 +- .../Data/Purchases/Media/Files/Thumb.php | 8 +- .../Data/Purchases/Media/VideoSources.php | 8 +- .../Data/Purchases/Relationships.php | 12 +-- .../Data/Purchases/Relationships/Buyers.php | 8 +- .../MessageGetTopMessageResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Fans/FanGetSubscriptionHistoryParams.php | 12 +-- .../FanGetSubscriptionHistoryResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/List_.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Fans/FanListActiveParams.php | 18 ++-- src/Fans/FanListActiveParams/Filter.php | 10 +- .../FanListActiveParams/Filter/Online.php | 2 +- src/Fans/FanListActiveParams/Type.php | 2 +- src/Fans/FanListActiveResponse.php | 20 ++-- src/Fans/FanListActiveResponse/Data.php | 12 +-- src/Fans/FanListActiveResponse/Data/List_.php | 24 ++--- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/PromoOffer.php | 8 +- .../Data/List_/SubscribedOnData.php | 12 +-- .../Data/List_/SubscribedOnData/Subscribe.php | 8 +- src/Fans/FanListActiveResponse/_Meta.php | 20 ++-- .../FanListActiveResponse/_Meta/_Cache.php | 8 +- .../FanListActiveResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../FanListActiveResponse/_Pagination.php | 8 +- src/Fans/FanListAllParams.php | 18 ++-- src/Fans/FanListAllParams/Filter.php | 10 +- src/Fans/FanListAllParams/Filter/Online.php | 2 +- src/Fans/FanListAllParams/Type.php | 2 +- src/Fans/FanListAllResponse.php | 20 ++-- src/Fans/FanListAllResponse/Data.php | 12 +-- src/Fans/FanListAllResponse/Data/List_.php | 24 ++--- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/PromoOffer.php | 8 +- .../Data/List_/SubscribedOnData.php | 12 +-- .../Data/List_/SubscribedOnData/Subscribe.php | 8 +- src/Fans/FanListAllResponse/_Meta.php | 20 ++-- src/Fans/FanListAllResponse/_Meta/_Cache.php | 8 +- .../FanListAllResponse/_Meta/_Credits.php | 8 +- .../FanListAllResponse/_Meta/_RateLimits.php | 8 +- src/Fans/FanListAllResponse/_Pagination.php | 8 +- src/Fans/FanListExpiredParams.php | 18 ++-- src/Fans/FanListExpiredParams/Filter.php | 10 +- .../FanListExpiredParams/Filter/Online.php | 2 +- src/Fans/FanListExpiredParams/Type.php | 2 +- src/Fans/FanListExpiredResponse.php | 20 ++-- src/Fans/FanListExpiredResponse/Data.php | 12 +-- .../FanListExpiredResponse/Data/List_.php | 38 +++---- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../Data/List_/SubscribedOnData.php | 8 +- .../Data/List_/SubscriptionBundle.php | 8 +- src/Fans/FanListExpiredResponse/_Meta.php | 20 ++-- .../FanListExpiredResponse/_Meta/_Cache.php | 8 +- .../FanListExpiredResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../FanListExpiredResponse/_Pagination.php | 8 +- src/Fans/FanListLatestParams.php | 14 +-- src/Fans/FanListLatestParams/Type.php | 2 +- src/Fans/FanListLatestResponse.php | 20 ++-- src/Fans/FanListLatestResponse/Data.php | 12 +-- src/Fans/FanListLatestResponse/Data/User.php | 24 ++--- .../Data/User/AvatarThumbs.php | 8 +- .../Data/User/ListsState.php | 8 +- .../Data/User/PromoOffer.php | 8 +- .../Data/User/SubscribedOnData.php | 12 +-- .../Data/User/SubscribedOnData/Subscribe.php | 8 +- src/Fans/FanListLatestResponse/_Meta.php | 20 ++-- .../FanListLatestResponse/_Meta/_Cache.php | 8 +- .../FanListLatestResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../FanListLatestResponse/_Pagination.php | 8 +- src/Fans/FanListTopParams.php | 14 +-- src/Fans/FanListTopParams/By.php | 2 +- src/Fans/FanListTopResponse.php | 16 +-- src/Fans/FanListTopResponse/Data.php | 12 +-- src/Fans/FanListTopResponse/Data/User.php | 20 ++-- .../Data/User/AvatarThumbs.php | 8 +- .../Data/User/ListsState.php | 8 +- .../Data/User/SubscribedOnData.php | 8 +- src/Fans/FanListTopResponse/_Meta.php | 20 ++-- src/Fans/FanListTopResponse/_Meta/_Cache.php | 8 +- .../FanListTopResponse/_Meta/_Credits.php | 8 +- .../FanListTopResponse/_Meta/_RateLimits.php | 8 +- src/Fans/FanSetCustomNameParams.php | 12 +-- src/Fans/FanSetCustomNameResponse.php | 16 +-- src/Fans/FanSetCustomNameResponse/Data.php | 34 +++---- .../Data/AvatarThumbs.php | 8 +- .../Data/HeaderSize.php | 8 +- .../Data/HeaderThumbs.php | 8 +- .../Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 8 +- .../Data/SubscribedOnData.php | 8 +- src/Fans/FanSetCustomNameResponse/_Meta.php | 20 ++-- .../FanSetCustomNameResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Fans/Notes/NoteClearNotesParams.php | 12 +-- src/Fans/Notes/NoteClearNotesResponse.php | 16 +-- .../Notes/NoteClearNotesResponse/Data.php | 38 +++---- .../Data/AvatarThumbs.php | 8 +- .../Data/HeaderSize.php | 8 +- .../Data/HeaderThumbs.php | 8 +- .../Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- .../Notes/NoteClearNotesResponse/_Meta.php | 20 ++-- .../NoteClearNotesResponse/_Meta/_Cache.php | 8 +- .../NoteClearNotesResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Fans/Notes/NoteCreateEditNotesParams.php | 12 +-- src/Fans/Notes/NoteGetNotesParams.php | 12 +-- src/Fans/Notes/NoteGetNotesResponse.php | 16 +-- src/Fans/Notes/NoteGetNotesResponse/Data.php | 8 +- src/Fans/Notes/NoteGetNotesResponse/_Meta.php | 20 ++-- .../NoteGetNotesResponse/_Meta/_Cache.php | 8 +- .../NoteGetNotesResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Fans/Notes/NoteNewEditNotesResponse.php | 16 +-- .../Notes/NoteNewEditNotesResponse/Data.php | 38 +++---- .../Data/AvatarThumbs.php | 8 +- .../Data/HeaderSize.php | 8 +- .../Data/HeaderThumbs.php | 8 +- .../Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- .../Notes/NoteNewEditNotesResponse/_Meta.php | 20 ++-- .../NoteNewEditNotesResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Summary/SummaryGenerateSummaryParams.php | 14 +-- .../SummaryGenerateSummaryResponse.php | 8 +- src/Fans/Summary/SummaryGetSummaryParams.php | 12 +-- .../Summary/SummaryGetSummaryResponse.php | 12 +-- .../SummaryGetSummaryResponse/SummaryData.php | 8 +- src/Following/FollowingListActiveParams.php | 16 +-- .../FollowingListActiveParams/Filter.php | 12 +-- .../Filter/Online.php | 2 +- .../FollowingListActiveParams/Filter/Paid.php | 2 +- src/Following/FollowingListActiveResponse.php | 20 ++-- .../FollowingListActiveResponse/Data.php | 12 +-- .../Data/List_.php | 28 +++--- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../FollowingListActiveResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- src/Following/FollowingListAllParams.php | 16 +-- .../FollowingListAllParams/Filter.php | 12 +-- .../FollowingListAllParams/Filter/Online.php | 2 +- .../FollowingListAllParams/Filter/Paid.php | 2 +- src/Following/FollowingListAllResponse.php | 20 ++-- .../FollowingListAllResponse/Data.php | 12 +-- .../FollowingListAllResponse/Data/List_.php | 28 +++--- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../FollowingListAllResponse/_Meta.php | 20 ++-- .../FollowingListAllResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../FollowingListAllResponse/_Pagination.php | 8 +- src/Following/FollowingListExpiredParams.php | 16 +-- .../FollowingListExpiredParams/Filter.php | 12 +-- .../Filter/Online.php | 2 +- .../Filter/Paid.php | 2 +- .../FollowingListExpiredResponse.php | 20 ++-- .../FollowingListExpiredResponse/Data.php | 12 +-- .../Data/List_.php | 28 +++--- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../FollowingListExpiredResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- src/Giphy/GiphyListTrendingParams.php | 12 +-- src/Giphy/GiphyListTrendingResponse.php | 16 +-- src/Giphy/GiphyListTrendingResponse/Data.php | 12 +-- .../GiphyListTrendingResponse/Data/Images.php | 16 +-- .../Data/Images/FixedHeight.php | 8 +- .../Data/Images/Original.php | 8 +- src/Giphy/GiphyListTrendingResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Giphy/GiphySearchParams.php | 14 +-- src/Giphy/GiphySearchResponse.php | 16 +-- src/Giphy/GiphySearchResponse/Data.php | 12 +-- src/Giphy/GiphySearchResponse/Data/Images.php | 16 +-- .../Data/Images/FixedHeight.php | 8 +- .../Data/Images/Original.php | 8 +- src/Giphy/GiphySearchResponse/_Meta.php | 20 ++-- .../GiphySearchResponse/_Meta/_Cache.php | 8 +- .../GiphySearchResponse/_Meta/_Credits.php | 8 +- .../GiphySearchResponse/_Meta/_RateLimits.php | 8 +- src/LinkTags/LinkTagListParams.php | 14 +-- src/LinkTags/LinkTagListParams/Type.php | 2 +- src/LinkTags/LinkTagListResponse.php | 16 +-- src/LinkTags/LinkTagListResponse/Data.php | 8 +- src/LinkTags/LinkTagListResponse/_Meta.php | 20 ++-- .../LinkTagListResponse/_Meta/_Cache.php | 8 +- .../LinkTagListResponse/_Meta/_Credits.php | 8 +- .../LinkTagListResponse/_Meta/_RateLimits.php | 8 +- .../MassMessagingDeleteParams.php | 12 +-- .../MassMessagingDeleteResponse.php | 16 +-- .../MassMessagingDeleteResponse/Data.php | 12 +-- .../Data/Queue.php | 8 +- .../MassMessagingDeleteResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessagingGetOverviewResponse.php | 16 +-- .../MassMessagingGetOverviewResponse/Data.php | 12 +-- .../Data/Item.php | 12 +-- .../Data/Item/Media.php | 16 +-- .../Data/Item/Media/Files.php | 24 ++--- .../Data/Item/Media/Files/Full.php | 8 +- .../Data/Item/Media/Files/Preview.php | 8 +- .../Data/Item/Media/Files/SquarePreview.php | 8 +- .../Data/Item/Media/Files/Thumb.php | 8 +- .../Data/Item/Media/VideoSources.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessagingGetResponse.php | 16 +-- .../MassMessagingGetResponse/Data.php | 12 +-- .../MassMessagingGetResponse/Data/Queue.php | 8 +- .../MassMessagingGetResponse/_Meta.php | 20 ++-- .../MassMessagingGetResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessagingListResponse.php | 16 +-- .../MassMessagingListResponse/Data.php | 8 +- .../MassMessagingListResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessagingRetrieveOverviewParams.php | 12 +-- .../MassMessagingRetrieveParams.php | 12 +-- src/MassMessaging/MassMessagingSendParams.php | 14 +-- .../MassMessagingSendResponse.php | 16 +-- .../MassMessagingSendResponse/Data.php | 8 +- .../MassMessagingSendResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../MassMessagingUpdateParams.php | 14 +-- .../MassMessagingUpdateResponse.php | 16 +-- .../MassMessagingUpdateResponse/Data.php | 8 +- .../MassMessagingUpdateResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Me/MeGetModelStartDateResponse.php | 16 +-- src/Me/MeGetModelStartDateResponse/Data.php | 8 +- src/Me/MeGetModelStartDateResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Me/MeGetResponse.php | 16 +-- src/Me/MeGetResponse/Data.php | 28 +++--- src/Me/MeGetResponse/Data/AvatarThumbs.php | 8 +- .../Data/HasNewTicketReplies.php | 8 +- src/Me/MeGetResponse/Data/HeaderSize.php | 8 +- src/Me/MeGetResponse/Data/HeaderThumbs.php | 8 +- src/Me/MeGetResponse/Data/Upload.php | 12 +-- .../Data/Upload/GeoUploadArgs.php | 12 +-- .../Data/Upload/GeoUploadArgs/Additional.php | 8 +- src/Me/MeGetResponse/_Meta.php | 20 ++-- src/Me/MeGetResponse/_Meta/_Cache.php | 8 +- src/Me/MeGetResponse/_Meta/_Credits.php | 8 +- src/Me/MeGetResponse/_Meta/_RateLimits.php | 8 +- src/Me/MeGetTopPercentageResponse.php | 16 +-- src/Me/MeGetTopPercentageResponse/Data.php | 8 +- src/Me/MeGetTopPercentageResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Media/MediaDownloadParams.php | 12 +-- src/Media/MediaScrapeParams.php | 14 +-- src/Media/MediaScrapeParams/FileType.php | 2 +- src/Media/MediaScrapeResponse.php | 8 +- src/Media/MediaUploadParams.php | 16 +-- src/Media/MediaUploadParams/Type.php | 2 +- src/Media/MediaUploadResponse.php | 16 +-- src/Media/MediaUploadResponse/Additional.php | 8 +- src/Media/MediaUploadResponse/Thumb.php | 8 +- src/Media/Uploads/UploadGetStatusParams.php | 12 +-- src/Media/Uploads/UploadGetStatusResponse.php | 24 ++--- .../UploadGetStatusResponse/UnionMember0.php | 8 +- .../UploadGetStatusResponse/UnionMember1.php | 8 +- .../UploadGetStatusResponse/UnionMember2.php | 12 +-- .../UnionMember2/Media.php | 12 +-- .../UnionMember2/Media/Files.php | 12 +-- .../UnionMember2/Media/Files/Full.php | 8 +- .../UploadGetStatusResponse/UnionMember3.php | 12 +-- .../UnionMember3/Media.php | 16 +-- .../UnionMember3/Media/Additional.php | 8 +- .../UnionMember3/Media/Thumb.php | 8 +- src/Media/Vault/Lists/ListCreateParams.php | 12 +-- src/Media/Vault/Lists/ListDeleteParams.php | 12 +-- src/Media/Vault/Lists/ListDeleteResponse.php | 16 +-- .../Vault/Lists/ListDeleteResponse/Data.php | 8 +- .../Vault/Lists/ListDeleteResponse/_Meta.php | 20 ++-- .../Lists/ListDeleteResponse/_Meta/_Cache.php | 8 +- .../ListDeleteResponse/_Meta/_Credits.php | 8 +- .../ListDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/Lists/ListGetResponse.php | 16 +-- .../Vault/Lists/ListGetResponse/Data.php | 8 +- .../Vault/Lists/ListGetResponse/_Meta.php | 20 ++-- .../Lists/ListGetResponse/_Meta/_Cache.php | 8 +- .../Lists/ListGetResponse/_Meta/_Credits.php | 8 +- .../ListGetResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/Lists/ListListParams.php | 12 +-- src/Media/Vault/Lists/ListListResponse.php | 16 +-- .../Vault/Lists/ListListResponse/Data.php | 16 +-- .../Vault/Lists/ListListResponse/Data/All.php | 12 +-- .../Lists/ListListResponse/Data/All/Media.php | 8 +- .../Lists/ListListResponse/Data/List_.php | 8 +- .../Vault/Lists/ListListResponse/_Meta.php | 20 ++-- .../Lists/ListListResponse/_Meta/_Cache.php | 8 +- .../Lists/ListListResponse/_Meta/_Credits.php | 8 +- .../ListListResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/Lists/ListNewResponse.php | 16 +-- .../Vault/Lists/ListNewResponse/Data.php | 8 +- .../Vault/Lists/ListNewResponse/_Meta.php | 20 ++-- .../Lists/ListNewResponse/_Meta/_Cache.php | 8 +- .../Lists/ListNewResponse/_Meta/_Credits.php | 8 +- .../ListNewResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/Lists/ListRetrieveParams.php | 12 +-- src/Media/Vault/Lists/ListUpdateParams.php | 12 +-- src/Media/Vault/Lists/ListUpdateResponse.php | 16 +-- .../Vault/Lists/ListUpdateResponse/Data.php | 8 +- .../Vault/Lists/ListUpdateResponse/_Meta.php | 20 ++-- .../Lists/ListUpdateResponse/_Meta/_Cache.php | 8 +- .../ListUpdateResponse/_Meta/_Credits.php | 8 +- .../ListUpdateResponse/_Meta/_RateLimits.php | 8 +- .../Vault/Lists/Media/MediaAddParams.php | 12 +-- .../Vault/Lists/Media/MediaAddResponse.php | 16 +-- .../Lists/Media/MediaAddResponse/Data.php | 12 +-- .../Media/MediaAddResponse/Data/Media.php | 8 +- .../Lists/Media/MediaAddResponse/_Meta.php | 20 ++-- .../Media/MediaAddResponse/_Meta/_Cache.php | 8 +- .../Media/MediaAddResponse/_Meta/_Credits.php | 8 +- .../MediaAddResponse/_Meta/_RateLimits.php | 8 +- .../Vault/Lists/Media/MediaRemoveParams.php | 12 +-- .../Vault/Lists/Media/MediaRemoveResponse.php | 16 +-- .../Lists/Media/MediaRemoveResponse/Data.php | 8 +- .../Lists/Media/MediaRemoveResponse/_Meta.php | 20 ++-- .../MediaRemoveResponse/_Meta/_Cache.php | 8 +- .../MediaRemoveResponse/_Meta/_Credits.php | 8 +- .../MediaRemoveResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/VaultDeleteParams.php | 12 +-- src/Media/Vault/VaultDeleteResponse.php | 16 +-- src/Media/Vault/VaultDeleteResponse/Data.php | 8 +- src/Media/Vault/VaultDeleteResponse/_Meta.php | 20 ++-- .../VaultDeleteResponse/_Meta/_Cache.php | 8 +- .../VaultDeleteResponse/_Meta/_Credits.php | 8 +- .../VaultDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/VaultGetResponse.php | 16 +-- src/Media/Vault/VaultGetResponse/Data.php | 20 ++-- .../Vault/VaultGetResponse/Data/Files.php | 24 ++--- .../VaultGetResponse/Data/Files/Full.php | 8 +- .../VaultGetResponse/Data/Files/Preview.php | 8 +- .../Data/Files/SquarePreview.php | 8 +- .../VaultGetResponse/Data/Files/Thumb.php | 8 +- .../Vault/VaultGetResponse/Data/ListState.php | 8 +- .../VaultGetResponse/Data/VideoSources.php | 8 +- src/Media/Vault/VaultGetResponse/_Meta.php | 20 ++-- .../Vault/VaultGetResponse/_Meta/_Cache.php | 8 +- .../Vault/VaultGetResponse/_Meta/_Credits.php | 8 +- .../VaultGetResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/VaultListParams.php | 18 ++-- src/Media/Vault/VaultListParams/Field.php | 2 +- src/Media/Vault/VaultListParams/Sort.php | 2 +- src/Media/Vault/VaultListParams/Type.php | 2 +- src/Media/Vault/VaultListResponse.php | 16 +-- src/Media/Vault/VaultListResponse/Data.php | 12 +-- .../Vault/VaultListResponse/Data/List_.php | 24 ++--- .../VaultListResponse/Data/List_/Counters.php | 8 +- .../VaultListResponse/Data/List_/Files.php | 12 +-- .../Data/List_/Files/Full.php | 8 +- .../Data/List_/ListState.php | 8 +- .../Data/List_/VideoSources.php | 8 +- src/Media/Vault/VaultListResponse/_Meta.php | 20 ++-- .../Vault/VaultListResponse/_Meta/_Cache.php | 8 +- .../VaultListResponse/_Meta/_Credits.php | 8 +- .../VaultListResponse/_Meta/_RateLimits.php | 8 +- src/Media/Vault/VaultRetrieveParams.php | 12 +-- src/Media/Vault/VaultUploadParams.php | 14 +-- src/Media/Vault/VaultUploadResponse.php | 16 +-- src/Media/Vault/VaultUploadResponse/Data.php | 12 +-- .../Vault/VaultUploadResponse/Data/Files.php | 12 +-- .../VaultUploadResponse/Data/Files/Full.php | 8 +- src/Media/Vault/VaultUploadResponse/_Meta.php | 20 ++-- .../VaultUploadResponse/_Meta/_Cache.php | 8 +- .../VaultUploadResponse/_Meta/_Credits.php | 8 +- .../VaultUploadResponse/_Meta/_RateLimits.php | 8 +- src/Messages/MessageAttachTagsParams.php | 14 +-- src/Messages/MessageAttachTagsResponse.php | 16 +-- .../MessageAttachTagsResponse/Data.php | 8 +- .../MessageAttachTagsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../NotificationGetCountsResponse.php | 16 +-- .../NotificationGetCountsResponse/Data.php | 8 +- .../NotificationGetCountsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Notifications/NotificationListParams.php | 16 +-- .../NotificationListParams/SkipUsers.php | 2 +- .../NotificationListParams/Type.php | 2 +- .../NotificationListResponse.php | 16 +-- .../NotificationListResponse/Data.php | 12 +-- .../NotificationListResponse/Data/List_.php | 16 +-- .../Data/List_/ReplacePairs.php | 8 +- .../Data/List_/User.php | 8 +- .../NotificationListResponse/_Meta.php | 20 ++-- .../NotificationListResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../NotificationMarkAllAsReadResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../NotificationSearchUsersParams.php | 12 +-- .../NotificationSearchUsersResponse.php | 16 +-- .../NotificationSearchUsersResponse/Data.php | 20 ++-- .../Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 12 +-- .../Data/SubscribedOnData/Subscribe.php | 8 +- .../NotificationSearchUsersResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TabsOrder/TabsOrderGetResponse.php | 12 +-- .../TabsOrder/TabsOrderGetResponse/_Meta.php | 20 ++-- .../TabsOrderGetResponse/_Meta/_Cache.php | 8 +- .../TabsOrderGetResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TabsOrder/TabsOrderUpdateParams.php | 12 +-- .../TabsOrder/TabsOrderUpdateResponse.php | 16 +-- .../TabsOrderUpdateResponse/Data.php | 8 +- .../TabsOrderUpdateResponse/_Meta.php | 20 ++-- .../TabsOrderUpdateResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Payouts/PayoutGetBalancesResponse.php | 16 +-- .../PayoutGetBalancesResponse/Data.php | 12 +-- .../Data/WithdrawalPeriodOption.php | 8 +- .../PayoutGetBalancesResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../PayoutGetEarningStatisticsResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/List_.php | 16 +-- .../Data/List_/Months.php | 14 +-- .../Data/List_/Months/_1735689661.php | 16 +-- .../List_/Months/_1735689661/Subscribe.php | 8 +- .../Data/List_/Months/_1735689661/Tip.php | 8 +- .../Data/List_/Total.php | 28 +++--- .../Data/List_/Total/All.php | 8 +- .../Data/List_/Total/ChatMessages.php | 8 +- .../Data/List_/Total/Post.php | 8 +- .../Data/List_/Total/Subscribes.php | 8 +- .../Data/List_/Total/Tips.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Payouts/PayoutGetEligibilityResponse.php | 16 +-- .../PayoutGetEligibilityResponse/Data.php | 8 +- .../PayoutGetEligibilityResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Payouts/PayoutListRequestsParams.php | 12 +-- src/Payouts/PayoutListRequestsResponse.php | 16 +-- .../PayoutListRequestsResponse/Data.php | 12 +-- .../PayoutListRequestsResponse/Data/List_.php | 8 +- .../PayoutListRequestsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../PayoutRequestManualWithdrawalParams.php | 12 +-- .../PayoutRequestManualWithdrawalResponse.php | 16 +-- .../UnionMember0.php | 16 +-- .../UnionMember0/Data.php | 12 +-- .../UnionMember0/Data/List_.php | 8 +- .../UnionMember0/_Meta.php | 20 ++-- .../UnionMember0/_Meta/_Cache.php | 8 +- .../UnionMember0/_Meta/_Credits.php | 8 +- .../UnionMember0/_Meta/_RateLimits.php | 8 +- .../UnionMember1.php | 16 +-- .../UnionMember1/Data.php | 12 +-- .../UnionMember1/Data/List_.php | 8 +- .../UnionMember1/_Meta.php | 20 ++-- .../UnionMember1/_Meta/_Cache.php | 8 +- .../UnionMember1/_Meta/_Credits.php | 8 +- .../UnionMember1/_Meta/_RateLimits.php | 8 +- .../PayoutRetrieveEarningStatisticsParams.php | 12 +-- src/Payouts/PayoutUpdateFrequencyParams.php | 14 +-- .../PayoutUpdateFrequencyParams/Frequency.php | 2 +- src/Payouts/PayoutUpdateFrequencyResponse.php | 16 +-- .../PayoutUpdateFrequencyResponse/Data.php | 8 +- .../PayoutUpdateFrequencyResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentCreateParams.php | 14 +-- src/Posts/Comments/CommentDeleteParams.php | 12 +-- src/Posts/Comments/CommentDeleteResponse.php | 16 +-- .../Comments/CommentDeleteResponse/Data.php | 8 +- .../Comments/CommentDeleteResponse/_Meta.php | 20 ++-- .../CommentDeleteResponse/_Meta/_Cache.php | 8 +- .../CommentDeleteResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentLikeParams.php | 12 +-- src/Posts/Comments/CommentLikeResponse.php | 16 +-- .../Comments/CommentLikeResponse/Data.php | 8 +- .../Comments/CommentLikeResponse/_Meta.php | 20 ++-- .../CommentLikeResponse/_Meta/_Cache.php | 8 +- .../CommentLikeResponse/_Meta/_Credits.php | 8 +- .../CommentLikeResponse/_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentListParams.php | 16 +-- src/Posts/Comments/CommentListParams/Sort.php | 2 +- src/Posts/Comments/CommentListResponse.php | 16 +-- .../Comments/CommentListResponse/Data.php | 12 +-- .../CommentListResponse/Data/List_.php | 12 +-- .../CommentListResponse/Data/List_/Author.php | 8 +- .../Comments/CommentListResponse/_Meta.php | 20 ++-- .../CommentListResponse/_Meta/_Cache.php | 8 +- .../CommentListResponse/_Meta/_Credits.php | 8 +- .../CommentListResponse/_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentNewResponse.php | 16 +-- .../Comments/CommentNewResponse/Data.php | 12 +-- .../CommentNewResponse/Data/Author.php | 20 ++-- .../Data/Author/AvatarThumbs.php | 8 +- .../Data/Author/HeaderSize.php | 8 +- .../Data/Author/HeaderThumbs.php | 8 +- .../Comments/CommentNewResponse/_Meta.php | 20 ++-- .../CommentNewResponse/_Meta/_Cache.php | 8 +- .../CommentNewResponse/_Meta/_Credits.php | 8 +- .../CommentNewResponse/_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentPinParams.php | 12 +-- src/Posts/Comments/CommentPinResponse.php | 16 +-- .../Comments/CommentPinResponse/Data.php | 8 +- .../Comments/CommentPinResponse/_Meta.php | 20 ++-- .../CommentPinResponse/_Meta/_Cache.php | 8 +- .../CommentPinResponse/_Meta/_Credits.php | 8 +- .../CommentPinResponse/_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentUnlikeParams.php | 12 +-- src/Posts/Comments/CommentUnlikeResponse.php | 16 +-- .../Comments/CommentUnlikeResponse/Data.php | 8 +- .../Comments/CommentUnlikeResponse/_Meta.php | 20 ++-- .../CommentUnlikeResponse/_Meta/_Cache.php | 8 +- .../CommentUnlikeResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Posts/Comments/CommentUnpinParams.php | 12 +-- src/Posts/Comments/CommentUnpinResponse.php | 16 +-- .../Comments/CommentUnpinResponse/Data.php | 8 +- .../Comments/CommentUnpinResponse/_Meta.php | 20 ++-- .../CommentUnpinResponse/_Meta/_Cache.php | 8 +- .../CommentUnpinResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Posts/Labels/LabelCreateParams.php | 12 +-- src/Posts/Labels/LabelListParams.php | 12 +-- src/Posts/Labels/LabelListResponse.php | 16 +-- src/Posts/Labels/LabelListResponse/Data.php | 12 +-- .../Labels/LabelListResponse/Data/List_.php | 8 +- src/Posts/Labels/LabelListResponse/_Meta.php | 20 ++-- .../Labels/LabelListResponse/_Meta/_Cache.php | 8 +- .../LabelListResponse/_Meta/_Credits.php | 8 +- .../LabelListResponse/_Meta/_RateLimits.php | 8 +- src/Posts/Labels/LabelNewResponse.php | 16 +-- src/Posts/Labels/LabelNewResponse/Data.php | 8 +- src/Posts/Labels/LabelNewResponse/_Meta.php | 20 ++-- .../Labels/LabelNewResponse/_Meta/_Cache.php | 8 +- .../LabelNewResponse/_Meta/_Credits.php | 8 +- .../LabelNewResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostArchiveParams.php | 14 +-- src/Posts/PostArchiveResponse.php | 16 +-- src/Posts/PostArchiveResponse/Data.php | 16 +-- .../PostArchiveResponse/Data/Counters.php | 8 +- .../PostArchiveResponse/Data/LabelState.php | 8 +- src/Posts/PostArchiveResponse/_Meta.php | 20 ++-- .../PostArchiveResponse/_Meta/_Cache.php | 8 +- .../PostArchiveResponse/_Meta/_Credits.php | 8 +- .../PostArchiveResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostCreateParams.php | 16 +-- src/Posts/PostCreateParams/VotingType.php | 2 +- src/Posts/PostDeleteParams.php | 12 +-- src/Posts/PostDeleteResponse.php | 16 +-- src/Posts/PostDeleteResponse/Data.php | 12 +-- .../PostDeleteResponse/Data/Counters.php | 8 +- src/Posts/PostDeleteResponse/_Meta.php | 20 ++-- src/Posts/PostDeleteResponse/_Meta/_Cache.php | 8 +- .../PostDeleteResponse/_Meta/_Credits.php | 8 +- .../PostDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostGetResponse.php | 16 +-- src/Posts/PostGetResponse/Data.php | 12 +-- src/Posts/PostGetResponse/Data/Author.php | 20 ++-- .../Data/Author/AvatarThumbs.php | 8 +- .../Data/Author/HeaderSize.php | 8 +- .../Data/Author/HeaderThumbs.php | 8 +- src/Posts/PostGetResponse/_Meta.php | 20 ++-- src/Posts/PostGetResponse/_Meta/_Cache.php | 8 +- src/Posts/PostGetResponse/_Meta/_Credits.php | 8 +- .../PostGetResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostListParams.php | 16 +-- src/Posts/PostListParams/Order.php | 2 +- src/Posts/PostListParams/Sort.php | 2 +- src/Posts/PostListResponse.php | 16 +-- src/Posts/PostListResponse/Data.php | 16 +-- src/Posts/PostListResponse/Data/Counters.php | 8 +- src/Posts/PostListResponse/Data/List_.php | 12 +-- .../PostListResponse/Data/List_/Author.php | 8 +- src/Posts/PostListResponse/_Meta.php | 20 ++-- src/Posts/PostListResponse/_Meta/_Cache.php | 8 +- src/Posts/PostListResponse/_Meta/_Credits.php | 8 +- .../PostListResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostNewResponse.php | 16 +-- src/Posts/PostNewResponse/Data.php | 16 +-- src/Posts/PostNewResponse/Data/Author.php | 20 ++-- .../Data/Author/AvatarThumbs.php | 8 +- .../Data/Author/HeaderSize.php | 8 +- .../Data/Author/HeaderThumbs.php | 8 +- src/Posts/PostNewResponse/Data/Media.php | 12 +-- .../PostNewResponse/Data/Media/Files.php | 12 +-- .../PostNewResponse/Data/Media/Files/Full.php | 8 +- src/Posts/PostNewResponse/_Meta.php | 20 ++-- src/Posts/PostNewResponse/_Meta/_Cache.php | 8 +- src/Posts/PostNewResponse/_Meta/_Credits.php | 8 +- .../PostNewResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostPinParams.php | 12 +-- src/Posts/PostPinResponse.php | 16 +-- src/Posts/PostPinResponse/Data.php | 8 +- src/Posts/PostPinResponse/_Meta.php | 20 ++-- src/Posts/PostPinResponse/_Meta/_Cache.php | 8 +- src/Posts/PostPinResponse/_Meta/_Credits.php | 8 +- .../PostPinResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostRetrieveParams.php | 12 +-- src/Posts/PostStatsParams.php | 14 +-- src/Posts/PostStatsResponse.php | 16 +-- src/Posts/PostStatsResponse/Data.php | 38 +++---- .../PostStatsResponse/Data/CommentChart.php | 8 +- .../PostStatsResponse/Data/LikeChart.php | 8 +- .../PostStatsResponse/Data/LookChart.php | 8 +- .../PostStatsResponse/Data/PurchasesChart.php | 8 +- src/Posts/PostStatsResponse/Data/TipChart.php | 8 +- .../PostStatsResponse/Data/TipSumChart.php | 8 +- .../Data/UniqueLookChart.php | 8 +- src/Posts/PostStatsResponse/_Meta.php | 20 ++-- src/Posts/PostStatsResponse/_Meta/_Cache.php | 8 +- .../PostStatsResponse/_Meta/_Credits.php | 8 +- .../PostStatsResponse/_Meta/_RateLimits.php | 8 +- src/Posts/PostUnarchiveParams.php | 14 +-- src/Posts/PostUnarchiveResponse.php | 16 +-- src/Posts/PostUnarchiveResponse/Data.php | 16 +-- .../PostUnarchiveResponse/Data/Counters.php | 8 +- .../PostUnarchiveResponse/Data/LabelState.php | 8 +- src/Posts/PostUnarchiveResponse/_Meta.php | 20 ++-- .../PostUnarchiveResponse/_Meta/_Cache.php | 8 +- .../PostUnarchiveResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Posts/PostUpdateParams.php | 16 +-- src/Posts/PostUpdateParams/VotingType.php | 2 +- src/Profiles/ProfileGetResponse.php | 16 +-- src/Profiles/ProfileGetResponse/Data.php | 20 ++-- .../ProfileGetResponse/Data/AvatarThumbs.php | 8 +- .../ProfileGetResponse/Data/HeaderSize.php | 8 +- .../ProfileGetResponse/Data/HeaderThumbs.php | 8 +- src/Profiles/ProfileGetResponse/_Meta.php | 20 ++-- .../ProfileGetResponse/_Meta/_Cache.php | 8 +- .../ProfileGetResponse/_Meta/_Credits.php | 8 +- .../ProfileGetResponse/_Meta/_RateLimits.php | 8 +- src/Profiles/ProfileRetrieveParams.php | 12 +-- src/Promotions/PromotionCreateParams.php | 16 +-- src/Promotions/PromotionCreateParams/Type.php | 2 +- src/Promotions/PromotionDeleteParams.php | 12 +-- src/Promotions/PromotionDeleteResponse.php | 16 +-- .../PromotionDeleteResponse/Data.php | 8 +- .../PromotionDeleteResponse/_Meta.php | 20 ++-- .../PromotionDeleteResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Promotions/PromotionListParams.php | 12 +-- src/Promotions/PromotionListResponse.php | 16 +-- src/Promotions/PromotionListResponse/Data.php | 12 +-- .../PromotionListResponse/Data/Item.php | 8 +- .../PromotionListResponse/_Meta.php | 20 ++-- .../PromotionListResponse/_Meta/_Cache.php | 8 +- .../PromotionListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Promotions/PromotionNewResponse.php | 16 +-- src/Promotions/PromotionNewResponse/Data.php | 8 +- src/Promotions/PromotionNewResponse/_Meta.php | 20 ++-- .../PromotionNewResponse/_Meta/_Cache.php | 8 +- .../PromotionNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Promotions/PromotionStopParams.php | 12 +-- src/Promotions/PromotionStopResponse.php | 16 +-- src/Promotions/PromotionStopResponse/Data.php | 8 +- .../PromotionStopResponse/_Meta.php | 20 ++-- .../PromotionStopResponse/_Meta/_Cache.php | 8 +- .../PromotionStopResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Queue/QueueCountParams.php | 12 +-- src/Queue/QueueCountResponse.php | 16 +-- src/Queue/QueueCountResponse/Data.php | 12 +-- src/Queue/QueueCountResponse/Data/List_.php | 20 ++-- .../Data/List_/_2025_01_01.php | 8 +- .../Data/List_/_2025_01_02.php | 8 +- src/Queue/QueueCountResponse/_Meta.php | 20 ++-- src/Queue/QueueCountResponse/_Meta/_Cache.php | 8 +- .../QueueCountResponse/_Meta/_Credits.php | 8 +- .../QueueCountResponse/_Meta/_RateLimits.php | 8 +- src/Queue/QueueListParams.php | 12 +-- src/Queue/QueueListResponse.php | 16 +-- src/Queue/QueueListResponse/Data.php | 12 +-- src/Queue/QueueListResponse/Data/List_.php | 12 +-- .../QueueListResponse/Data/List_/Entity.php | 8 +- src/Queue/QueueListResponse/_Meta.php | 20 ++-- src/Queue/QueueListResponse/_Meta/_Cache.php | 8 +- .../QueueListResponse/_Meta/_Credits.php | 8 +- .../QueueListResponse/_Meta/_RateLimits.php | 8 +- src/Queue/QueuePublishParams.php | 12 +-- src/Queue/QueuePublishResponse.php | 16 +-- src/Queue/QueuePublishResponse/Data.php | 8 +- src/Queue/QueuePublishResponse/_Meta.php | 20 ++-- .../QueuePublishResponse/_Meta/_Cache.php | 8 +- .../QueuePublishResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../ReleaseFormCreateInvitationLinkParams.php | 12 +-- .../ReleaseFormCreateReleaseFormParams.php | 12 +-- .../ReleaseFormListTaggableUsersParams.php | 18 ++-- .../Filter.php | 2 +- .../Sort.php | 2 +- .../SortDirection.php | 2 +- .../ReleaseFormListTaggableUsersResponse.php | 20 ++-- .../Data.php | 12 +-- .../Data/Item.php | 12 +-- .../Data/Item/User.php | 12 +-- .../Data/Item/User/AvatarThumbs.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../ReleaseFormNewInvitationLinkResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/User.php | 12 +-- .../Data/User/AvatarThumbs.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../ReleaseFormNewReleaseFormResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/User.php | 20 ++-- .../Data/User/AvatarThumbs.php | 8 +- .../Data/User/HeaderSize.php | 8 +- .../Data/User/HeaderThumbs.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/RequestOptions.php | 10 +- .../Messages/MessageListParams.php | 12 +-- .../Messages/MessageListResponse.php | 16 +-- .../Messages/MessageListResponse/Data.php | 12 +-- .../MessageListResponse/Data/List_.php | 12 +-- .../MessageListResponse/Data/List_/Entity.php | 8 +- .../Messages/MessageListResponse/_Meta.php | 20 ++-- .../MessageListResponse/_Meta/_Cache.php | 8 +- .../MessageListResponse/_Meta/_Credits.php | 8 +- .../MessageListResponse/_Meta/_RateLimits.php | 8 +- ...ttingDisableAutomaticMessagingResponse.php | 12 +-- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- ...EnableOrUpdateAutomaticMessagingParams.php | 14 +-- .../Period.php | 2 +- ...ableOrUpdateAutomaticMessagingResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Messages/Settings/SettingGetResponse.php | 16 +-- .../Settings/SettingGetResponse/Data.php | 8 +- .../Settings/SettingGetResponse/_Meta.php | 20 ++-- .../SettingGetResponse/_Meta/_Cache.php | 8 +- .../SettingGetResponse/_Meta/_Credits.php | 8 +- .../SettingGetResponse/_Meta/_RateLimits.php | 8 +- src/SavedForLater/Posts/PostListParams.php | 12 +-- src/SavedForLater/Posts/PostListResponse.php | 16 +-- .../Posts/PostListResponse/Data.php | 12 +-- .../Posts/PostListResponse/Data/List_.php | 12 +-- .../PostListResponse/Data/List_/Entity.php | 8 +- .../Posts/PostListResponse/_Meta.php | 20 ++-- .../Posts/PostListResponse/_Meta/_Cache.php | 8 +- .../Posts/PostListResponse/_Meta/_Credits.php | 8 +- .../PostListResponse/_Meta/_RateLimits.php | 8 +- ...SettingDisableAutomaticPostingResponse.php | 12 +-- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- ...ngEnableOrUpdateAutomaticPostingParams.php | 14 +-- .../Period.php | 2 +- ...EnableOrUpdateAutomaticPostingResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Posts/Settings/SettingGetResponse.php | 16 +-- .../Settings/SettingGetResponse/Data.php | 8 +- .../Settings/SettingGetResponse/_Meta.php | 20 ++-- .../SettingGetResponse/_Meta/_Cache.php | 8 +- .../SettingGetResponse/_Meta/_Credits.php | 8 +- .../SettingGetResponse/_Meta/_RateLimits.php | 8 +- src/Search/SearchProfilesParams.php | 20 ++-- src/Search/SearchProfilesParams/Filter.php | 10 +- .../SearchProfilesParams/Filter/Gender.php | 2 +- src/Search/SearchProfilesParams/Sort.php | 2 +- .../SearchProfilesParams/SortDirection.php | 2 +- src/Search/SearchProfilesResponse.php | 20 ++-- src/Search/SearchProfilesResponse/Data.php | 8 +- src/Search/SearchProfilesResponse/_Meta.php | 20 ++-- .../SearchProfilesResponse/_Meta/_Cache.php | 8 +- .../SearchProfilesResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SearchProfilesResponse/_Pagination.php | 8 +- src/ServiceContracts/AccountsContract.php | 10 +- src/ServiceContracts/AccountsRawContract.php | 14 +-- .../Financial/ProfitabilityContract.php | 12 +-- .../Financial/ProfitabilityRawContract.php | 18 ++-- .../Financial/TransactionsContract.php | 12 +-- .../Financial/TransactionsRawContract.php | 18 ++-- .../Analytics/FinancialContract.php | 14 +-- .../Analytics/FinancialRawContract.php | 14 +-- .../Analytics/SummaryContract.php | 28 +++--- .../Analytics/SummaryRawContract.php | 22 ++--- src/ServiceContracts/AnalyticsContract.php | 2 +- src/ServiceContracts/AnalyticsRawContract.php | 2 +- src/ServiceContracts/AuthenticateContract.php | 28 +++--- .../AuthenticateRawContract.php | 26 ++--- .../Banking/DetailsContract.php | 18 ++-- .../Banking/DetailsRawContract.php | 20 ++-- src/ServiceContracts/BankingContract.php | 12 +-- src/ServiceContracts/BankingRawContract.php | 14 +-- src/ServiceContracts/BundlesContract.php | 18 ++-- src/ServiceContracts/BundlesRawContract.php | 20 ++-- src/ServiceContracts/ChargebacksContract.php | 14 +-- .../ChargebacksRawContract.php | 22 ++--- .../Chats/MarkAllAsReadContract.php | 10 +- .../Chats/MarkAllAsReadRawContract.php | 12 +-- .../Chats/MessagesContract.php | 28 +++--- .../Chats/MessagesRawContract.php | 46 ++++----- src/ServiceContracts/ChatsContract.php | 34 +++---- src/ServiceContracts/ChatsRawContract.php | 46 ++++----- .../ClientSessionsContract.php | 12 +-- .../ClientSessionsRawContract.php | 14 +-- src/ServiceContracts/DataExportsContract.php | 30 +++--- .../DataExportsRawContract.php | 28 +++--- .../Messages/DirectMessagesContract.php | 12 +-- .../Messages/DirectMessagesRawContract.php | 18 ++-- .../Messages/MassMessagesContract.php | 12 +-- .../Messages/MassMessagesRawContract.php | 18 ++-- .../Engagement/MessagesContract.php | 12 +-- .../Engagement/MessagesRawContract.php | 18 ++-- src/ServiceContracts/EngagementContract.php | 2 +- .../EngagementRawContract.php | 2 +- src/ServiceContracts/Fans/NotesContract.php | 14 +-- .../Fans/NotesRawContract.php | 22 ++--- src/ServiceContracts/Fans/SummaryContract.php | 12 +-- .../Fans/SummaryRawContract.php | 18 ++-- src/ServiceContracts/FansContract.php | 54 +++++----- src/ServiceContracts/FansRawContract.php | 38 +++---- src/ServiceContracts/FollowingContract.php | 30 +++--- src/ServiceContracts/FollowingRawContract.php | 22 ++--- src/ServiceContracts/GiphyContract.php | 12 +-- src/ServiceContracts/GiphyRawContract.php | 18 ++-- src/ServiceContracts/LinkTagsContract.php | 12 +-- src/ServiceContracts/LinkTagsRawContract.php | 14 +-- .../MassMessagingContract.php | 20 ++-- .../MassMessagingRawContract.php | 32 +++--- src/ServiceContracts/MeContract.php | 14 +-- src/ServiceContracts/MeRawContract.php | 16 +-- .../Media/UploadsContract.php | 16 +-- .../Media/UploadsRawContract.php | 20 ++-- .../Media/Vault/Lists/MediaContract.php | 12 +-- .../Media/Vault/Lists/MediaRawContract.php | 18 ++-- .../Media/Vault/ListsContract.php | 18 ++-- .../Media/Vault/ListsRawContract.php | 30 +++--- src/ServiceContracts/Media/VaultContract.php | 24 ++--- .../Media/VaultRawContract.php | 26 ++--- src/ServiceContracts/MediaContract.php | 18 ++-- src/ServiceContracts/MediaRawContract.php | 20 ++-- src/ServiceContracts/MessagesContract.php | 10 +- src/ServiceContracts/MessagesRawContract.php | 14 +-- .../Notifications/TabsOrderContract.php | 12 +-- .../Notifications/TabsOrderRawContract.php | 16 +-- .../NotificationsContract.php | 20 ++-- .../NotificationsRawContract.php | 22 ++--- src/ServiceContracts/PayoutsContract.php | 24 ++--- src/ServiceContracts/PayoutsRawContract.php | 32 +++--- .../Posts/CommentsContract.php | 24 ++--- .../Posts/CommentsRawContract.php | 38 +++---- src/ServiceContracts/Posts/LabelsContract.php | 12 +-- .../Posts/LabelsRawContract.php | 18 ++-- src/ServiceContracts/PostsContract.php | 34 +++---- src/ServiceContracts/PostsRawContract.php | 44 ++++----- src/ServiceContracts/ProfilesContract.php | 10 +- src/ServiceContracts/ProfilesRawContract.php | 14 +-- src/ServiceContracts/PromotionsContract.php | 18 ++-- .../PromotionsRawContract.php | 26 ++--- src/ServiceContracts/QueueContract.php | 14 +-- src/ServiceContracts/QueueRawContract.php | 22 ++--- src/ServiceContracts/ReleaseFormsContract.php | 20 ++-- .../ReleaseFormsRawContract.php | 22 ++--- .../Messages/SettingsContract.php | 16 +-- .../Messages/SettingsRawContract.php | 18 ++-- .../SavedForLater/MessagesContract.php | 10 +- .../SavedForLater/MessagesRawContract.php | 14 +-- .../SavedForLater/Posts/SettingsContract.php | 16 +-- .../Posts/SettingsRawContract.php | 18 ++-- .../SavedForLater/PostsContract.php | 10 +- .../SavedForLater/PostsRawContract.php | 14 +-- .../SavedForLaterContract.php | 2 +- .../SavedForLaterRawContract.php | 2 +- src/ServiceContracts/SearchContract.php | 18 ++-- src/ServiceContracts/SearchRawContract.php | 14 +-- .../Settings/BlockedCountriesContract.php | 12 +-- .../Settings/BlockedCountriesRawContract.php | 16 +-- .../Settings/SocialMediaButtonsContract.php | 20 ++-- .../SocialMediaButtonsRawContract.php | 28 +++--- .../Settings/WelcomeMessageContract.php | 14 +-- .../Settings/WelcomeMessageRawContract.php | 20 ++-- src/ServiceContracts/SettingsContract.php | 16 +-- src/ServiceContracts/SettingsRawContract.php | 24 ++--- .../SharedTrackingLinks/TagsContract.php | 14 +-- .../SharedTrackingLinks/TagsRawContract.php | 22 ++--- .../SharedTrackingLinksContract.php | 12 +-- .../SharedTrackingLinksRawContract.php | 18 ++-- .../SharedTrialLinks/TagsContract.php | 14 +-- .../SharedTrialLinks/TagsRawContract.php | 22 ++--- .../SharedTrialLinksContract.php | 12 +-- .../SharedTrialLinksRawContract.php | 18 ++-- .../SmartLinkPostbacksContract.php | 22 ++--- .../SmartLinkPostbacksRawContract.php | 22 ++--- src/ServiceContracts/SmartLinksContract.php | 34 +++---- .../SmartLinksRawContract.php | 44 ++++----- .../Statistics/ReachContract.php | 18 ++-- .../Statistics/ReachRawContract.php | 18 ++-- .../Statistics/StatementsContract.php | 12 +-- .../Statistics/StatementsRawContract.php | 14 +-- src/ServiceContracts/StatisticsContract.php | 16 +-- .../StatisticsRawContract.php | 22 ++--- src/ServiceContracts/StoredContract.php | 38 +++---- src/ServiceContracts/StoredRawContract.php | 26 ++--- .../Stories/HighlightsContract.php | 22 ++--- .../Stories/HighlightsRawContract.php | 38 +++---- src/ServiceContracts/StoriesContract.php | 24 ++--- src/ServiceContracts/StoriesRawContract.php | 40 ++++---- src/ServiceContracts/SubscribersContract.php | 12 +-- .../SubscribersRawContract.php | 14 +-- .../TrackingLinks/TagsContract.php | 14 +-- .../TrackingLinks/TagsRawContract.php | 22 ++--- .../TrackingLinksContract.php | 28 +++--- .../TrackingLinksRawContract.php | 40 ++++---- src/ServiceContracts/TransactionsContract.php | 10 +- .../TransactionsRawContract.php | 14 +-- .../TrialLinks/TagsContract.php | 14 +-- .../TrialLinks/TagsRawContract.php | 22 ++--- src/ServiceContracts/TrialLinksContract.php | 32 +++--- .../TrialLinksRawContract.php | 40 ++++---- .../UserLists/UsersContract.php | 20 ++-- .../UserLists/UsersRawContract.php | 34 +++---- src/ServiceContracts/UserListsContract.php | 18 ++-- src/ServiceContracts/UserListsRawContract.php | 30 +++--- src/ServiceContracts/Users/BlockContract.php | 12 +-- .../Users/BlockRawContract.php | 18 ++-- .../Users/RestrictContract.php | 12 +-- .../Users/RestrictRawContract.php | 18 ++-- .../Users/SubscribeContract.php | 12 +-- .../Users/SubscribeRawContract.php | 18 ++-- src/ServiceContracts/UsersContract.php | 12 +-- src/ServiceContracts/UsersRawContract.php | 18 ++-- src/ServiceContracts/WebhooksContract.php | 18 ++-- src/ServiceContracts/WebhooksRawContract.php | 24 ++--- src/ServiceContracts/WhoamiContract.php | 10 +- src/ServiceContracts/WhoamiRawContract.php | 12 +-- src/Services/AccountsRawService.php | 24 ++--- src/Services/AccountsService.php | 16 +-- .../Financial/ProfitabilityRawService.php | 26 ++--- .../Financial/ProfitabilityService.php | 18 ++-- .../Financial/TransactionsRawService.php | 24 ++--- .../Financial/TransactionsService.php | 18 ++-- .../Analytics/FinancialRawService.php | 22 ++--- src/Services/Analytics/FinancialService.php | 24 ++--- src/Services/Analytics/SummaryRawService.php | 42 ++++---- src/Services/Analytics/SummaryService.php | 34 +++---- src/Services/AnalyticsRawService.php | 6 +- src/Services/AnalyticsService.php | 10 +- src/Services/AuthenticateRawService.php | 40 ++++---- src/Services/AuthenticateService.php | 36 +++---- src/Services/Banking/DetailsRawService.php | 24 ++--- src/Services/Banking/DetailsService.php | 22 ++--- src/Services/BankingRawService.php | 18 ++-- src/Services/BankingService.php | 18 ++-- src/Services/BundlesRawService.php | 28 +++--- src/Services/BundlesService.php | 24 ++--- src/Services/ChargebacksRawService.php | 28 +++--- src/Services/ChargebacksService.php | 20 ++-- .../Chats/MarkAllAsReadRawService.php | 16 +-- src/Services/Chats/MarkAllAsReadService.php | 14 +-- src/Services/Chats/MessagesRawService.php | 54 +++++----- src/Services/Chats/MessagesService.php | 36 +++---- src/Services/ChatsRawService.php | 60 ++++++------ src/Services/ChatsService.php | 46 ++++----- src/Services/ClientSessionsRawService.php | 20 ++-- src/Services/ClientSessionsService.php | 18 ++-- src/Services/DataExportsRawService.php | 40 ++++---- src/Services/DataExportsService.php | 38 +++---- .../Messages/DirectMessagesRawService.php | 22 ++--- .../Messages/DirectMessagesService.php | 18 ++-- .../Messages/MassMessagesRawService.php | 22 ++--- .../Messages/MassMessagesService.php | 18 ++-- .../Engagement/MessagesRawService.php | 24 ++--- src/Services/Engagement/MessagesService.php | 22 ++--- src/Services/EngagementRawService.php | 6 +- src/Services/EngagementService.php | 8 +- src/Services/Fans/NotesRawService.php | 26 ++--- src/Services/Fans/NotesService.php | 20 ++-- src/Services/Fans/SummaryRawService.php | 22 ++--- src/Services/Fans/SummaryService.php | 18 ++-- src/Services/FansRawService.php | 56 +++++------ src/Services/FansService.php | 64 ++++++------ src/Services/FollowingRawService.php | 34 +++---- src/Services/FollowingService.php | 36 +++---- src/Services/GiphyRawService.php | 22 ++--- src/Services/GiphyService.php | 18 ++-- src/Services/LinkTagsRawService.php | 20 ++-- src/Services/LinkTagsService.php | 18 ++-- src/Services/MassMessagingRawService.php | 36 +++---- src/Services/MassMessagingService.php | 26 ++--- src/Services/MeRawService.php | 20 ++-- src/Services/MeService.php | 18 ++-- src/Services/Media/UploadsRawService.php | 26 ++--- src/Services/Media/UploadsService.php | 22 ++--- .../Media/Vault/Lists/MediaRawService.php | 22 ++--- .../Media/Vault/Lists/MediaService.php | 18 ++-- src/Services/Media/Vault/ListsRawService.php | 34 +++---- src/Services/Media/Vault/ListsService.php | 28 +++--- src/Services/Media/VaultRawService.php | 38 +++---- src/Services/Media/VaultService.php | 34 +++---- src/Services/MediaRawService.php | 30 +++--- src/Services/MediaService.php | 30 +++--- src/Services/MessagesRawService.php | 18 ++-- src/Services/MessagesService.php | 16 +-- .../Notifications/TabsOrderRawService.php | 20 ++-- .../Notifications/TabsOrderService.php | 18 ++-- src/Services/NotificationsRawService.php | 32 +++--- src/Services/NotificationsService.php | 30 +++--- src/Services/PayoutsRawService.php | 40 ++++---- src/Services/PayoutsService.php | 32 +++--- src/Services/Posts/CommentsRawService.php | 46 ++++----- src/Services/Posts/CommentsService.php | 32 +++--- src/Services/Posts/LabelsRawService.php | 22 ++--- src/Services/Posts/LabelsService.php | 18 ++-- src/Services/PostsRawService.php | 56 +++++------ src/Services/PostsService.php | 46 ++++----- src/Services/ProfilesRawService.php | 18 ++-- src/Services/ProfilesService.php | 16 +-- src/Services/PromotionsRawService.php | 32 +++--- src/Services/PromotionsService.php | 26 ++--- src/Services/QueueRawService.php | 26 ++--- src/Services/QueueService.php | 20 ++-- src/Services/ReleaseFormsRawService.php | 32 +++--- src/Services/ReleaseFormsService.php | 26 ++--- .../Messages/SettingsRawService.php | 24 ++--- .../Messages/SettingsService.php | 22 ++--- .../SavedForLater/MessagesRawService.php | 18 ++-- .../SavedForLater/MessagesService.php | 18 ++-- .../Posts/SettingsRawService.php | 24 ++--- .../SavedForLater/Posts/SettingsService.php | 22 ++--- .../SavedForLater/PostsRawService.php | 18 ++-- src/Services/SavedForLater/PostsService.php | 18 ++-- src/Services/SavedForLaterRawService.php | 6 +- src/Services/SavedForLaterService.php | 10 +- src/Services/SearchRawService.php | 28 +++--- src/Services/SearchService.php | 24 ++--- .../Settings/BlockedCountriesRawService.php | 20 ++-- .../Settings/BlockedCountriesService.php | 18 ++-- .../Settings/SocialMediaButtonsRawService.php | 34 +++---- .../Settings/SocialMediaButtonsService.php | 28 +++--- .../Settings/WelcomeMessageRawService.php | 24 ++--- .../Settings/WelcomeMessageService.php | 20 ++-- src/Services/SettingsRawService.php | 28 +++--- src/Services/SettingsService.php | 30 +++--- .../SharedTrackingLinks/TagsRawService.php | 26 ++--- .../SharedTrackingLinks/TagsService.php | 20 ++-- .../SharedTrackingLinksRawService.php | 22 ++--- src/Services/SharedTrackingLinksService.php | 20 ++-- .../SharedTrialLinks/TagsRawService.php | 26 ++--- src/Services/SharedTrialLinks/TagsService.php | 20 ++-- src/Services/SharedTrialLinksRawService.php | 22 ++--- src/Services/SharedTrialLinksService.php | 20 ++-- src/Services/SmartLinkPostbacksRawService.php | 30 +++--- src/Services/SmartLinkPostbacksService.php | 30 +++--- src/Services/SmartLinksRawService.php | 58 +++++------ src/Services/SmartLinksService.php | 42 ++++---- src/Services/Statistics/ReachRawService.php | 30 +++--- src/Services/Statistics/ReachService.php | 24 ++--- .../Statistics/StatementsRawService.php | 22 ++--- src/Services/Statistics/StatementsService.php | 18 ++-- src/Services/StatisticsRawService.php | 30 +++--- src/Services/StatisticsService.php | 28 +++--- src/Services/StoredRawService.php | 40 ++++---- src/Services/StoredService.php | 46 ++++----- src/Services/Stories/HighlightsRawService.php | 42 ++++---- src/Services/Stories/HighlightsService.php | 30 +++--- src/Services/StoriesRawService.php | 44 ++++----- src/Services/StoriesService.php | 34 +++---- src/Services/SubscribersRawService.php | 22 ++--- src/Services/SubscribersService.php | 18 ++-- src/Services/TrackingLinks/TagsRawService.php | 26 ++--- src/Services/TrackingLinks/TagsService.php | 20 ++-- src/Services/TrackingLinksRawService.php | 52 +++++----- src/Services/TrackingLinksService.php | 36 +++---- src/Services/TransactionsRawService.php | 18 ++-- src/Services/TransactionsService.php | 16 +-- src/Services/TrialLinks/TagsRawService.php | 26 ++--- src/Services/TrialLinks/TagsService.php | 20 ++-- src/Services/TrialLinksRawService.php | 56 +++++------ src/Services/TrialLinksService.php | 40 ++++---- src/Services/UserLists/UsersRawService.php | 38 +++---- src/Services/UserLists/UsersService.php | 28 +++--- src/Services/UserListsRawService.php | 34 +++---- src/Services/UserListsService.php | 28 +++--- src/Services/Users/BlockRawService.php | 22 ++--- src/Services/Users/BlockService.php | 18 ++-- src/Services/Users/RestrictRawService.php | 22 ++--- src/Services/Users/RestrictService.php | 18 ++-- src/Services/Users/SubscribeRawService.php | 22 ++--- src/Services/Users/SubscribeService.php | 18 ++-- src/Services/UsersRawService.php | 22 ++--- src/Services/UsersService.php | 24 ++--- src/Services/WebhooksRawService.php | 30 +++--- src/Services/WebhooksService.php | 26 ++--- src/Services/WhoamiRawService.php | 16 +-- src/Services/WhoamiService.php | 14 +-- .../BlockedCountryGetResponse.php | 16 +-- .../BlockedCountryGetResponse/Data.php | 8 +- .../BlockedCountryGetResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../BlockedCountryUpdateParams.php | 14 +-- .../BlockedCountryUpdateResponse.php | 16 +-- .../BlockedCountryUpdateResponse/Data.php | 8 +- .../BlockedCountryUpdateResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- ...SettingCheckUsernameAvailabilityParams.php | 12 +-- ...ttingCheckUsernameAvailabilityResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Settings/SettingGetResponse.php | 16 +-- src/Settings/SettingGetResponse/Data.php | 12 +-- .../Data/CanAddSubscriberByBundle.php | 16 +-- .../CanAddSubscriberByBundle/Discounts.php | 8 +- .../CanAddSubscriberByBundle/Durations.php | 8 +- src/Settings/SettingGetResponse/_Meta.php | 20 ++-- .../SettingGetResponse/_Meta/_Cache.php | 8 +- .../SettingGetResponse/_Meta/_Credits.php | 8 +- .../SettingGetResponse/_Meta/_RateLimits.php | 8 +- src/Settings/SettingUpdateProfileParams.php | 12 +-- src/Settings/SettingUpdateProfileResponse.php | 16 +-- .../SettingUpdateProfileResponse/Data.php | 8 +- .../SettingUpdateProfileResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SettingUpdateSubscriptionPriceParams.php | 12 +-- ...SettingUpdateSubscriptionPriceResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SocialMediaButtonAddParams.php | 14 +-- .../SocialMediaButtonAddParams/Type.php | 2 +- .../SocialMediaButtonAddResponse.php | 16 +-- .../SocialMediaButtonAddResponse/Data.php | 8 +- .../SocialMediaButtonAddResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SocialMediaButtonDeleteParams.php | 12 +-- .../SocialMediaButtonDeleteResponse.php | 16 +-- .../SocialMediaButtonDeleteResponse/Data.php | 8 +- .../SocialMediaButtonDeleteResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SocialMediaButtonListResponse.php | 16 +-- .../SocialMediaButtonListResponse/Data.php | 8 +- .../SocialMediaButtonListResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SocialMediaButtonReorderParams.php | 12 +-- .../SocialMediaButtonReorderResponse.php | 16 +-- .../SocialMediaButtonReorderResponse/Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SocialMediaButtonUpdateParams.php | 12 +-- .../SocialMediaButtonUpdateResponse.php | 16 +-- .../SocialMediaButtonUpdateResponse/Data.php | 8 +- .../SocialMediaButtonUpdateResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../WelcomeMessageGetResponse.php | 16 +-- .../WelcomeMessageGetResponse/Data.php | 12 +-- .../WelcomeMessageGetResponse/Data/Media.php | 16 +-- .../Data/Media/Files.php | 24 ++--- .../Data/Media/Files/Full.php | 8 +- .../Data/Media/Files/Preview.php | 8 +- .../Data/Media/Files/SquarePreview.php | 8 +- .../Data/Media/Files/Thumb.php | 8 +- .../Data/Media/VideoSources.php | 8 +- .../WelcomeMessageGetResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../WelcomeMessageToggleParams.php | 12 +-- .../WelcomeMessageToggleResponse.php | 16 +-- .../WelcomeMessageToggleResponse/Data.php | 8 +- .../WelcomeMessageToggleResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../WelcomeMessageUpdateParams.php | 12 +-- .../WelcomeMessageUpdateResponse.php | 16 +-- .../WelcomeMessageUpdateResponse/Data.php | 12 +-- .../Data/Media.php | 16 +-- .../Data/Media/Files.php | 24 ++--- .../Data/Media/Files/Full.php | 8 +- .../Data/Media/Files/Preview.php | 8 +- .../Data/Media/Files/SquarePreview.php | 8 +- .../Data/Media/Files/Thumb.php | 8 +- .../Data/Media/VideoSources.php | 8 +- .../WelcomeMessageUpdateResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SharedTrackingLinkListParams.php | 12 +-- .../SharedTrackingLinkListResponse.php | 20 ++-- .../SharedTrackingLinkListResponse/Data.php | 12 +-- .../Data/List_.php | 12 +-- .../Data/List_/Owner.php | 8 +- .../SharedTrackingLinkListResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../SharedTrackingLinkRevokeAccessParams.php | 12 +-- ...SharedTrackingLinkRevokeAccessResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/SharedTrackingLinks/Tags/TagAddParams.php | 12 +-- .../Tags/TagAddResponse.php | 16 +-- .../Tags/TagAddResponse/Data.php | 8 +- .../Tags/TagAddResponse/_Meta.php | 20 ++-- .../Tags/TagAddResponse/_Meta/_Cache.php | 8 +- .../Tags/TagAddResponse/_Meta/_Credits.php | 8 +- .../Tags/TagAddResponse/_Meta/_RateLimits.php | 8 +- .../Tags/TagListParams.php | 12 +-- .../Tags/TagListResponse.php | 16 +-- .../Tags/TagListResponse/Data.php | 8 +- .../Tags/TagListResponse/_Meta.php | 20 ++-- .../Tags/TagListResponse/_Meta/_Cache.php | 8 +- .../Tags/TagListResponse/_Meta/_Credits.php | 8 +- .../TagListResponse/_Meta/_RateLimits.php | 8 +- .../Tags/TagRemoveParams.php | 12 +-- .../Tags/TagRemoveResponse.php | 16 +-- .../Tags/TagRemoveResponse/Data.php | 8 +- .../Tags/TagRemoveResponse/_Meta.php | 20 ++-- .../Tags/TagRemoveResponse/_Meta/_Cache.php | 8 +- .../Tags/TagRemoveResponse/_Meta/_Credits.php | 8 +- .../TagRemoveResponse/_Meta/_RateLimits.php | 8 +- .../SharedTrialLinkListParams.php | 12 +-- .../SharedTrialLinkListResponse.php | 20 ++-- .../SharedTrialLinkListResponse/Data.php | 12 +-- .../Data/List_.php | 12 +-- .../Data/List_/Owner.php | 8 +- .../SharedTrialLinkListResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../SharedTrialLinkRevokeAccessParams.php | 12 +-- .../SharedTrialLinkRevokeAccessResponse.php | 16 +-- .../Data.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/SharedTrialLinks/Tags/TagAddParams.php | 12 +-- src/SharedTrialLinks/Tags/TagAddResponse.php | 16 +-- .../Tags/TagAddResponse/Data.php | 8 +- .../Tags/TagAddResponse/_Meta.php | 20 ++-- .../Tags/TagAddResponse/_Meta/_Cache.php | 8 +- .../Tags/TagAddResponse/_Meta/_Credits.php | 8 +- .../Tags/TagAddResponse/_Meta/_RateLimits.php | 8 +- src/SharedTrialLinks/Tags/TagListParams.php | 12 +-- src/SharedTrialLinks/Tags/TagListResponse.php | 16 +-- .../Tags/TagListResponse/Data.php | 8 +- .../Tags/TagListResponse/_Meta.php | 20 ++-- .../Tags/TagListResponse/_Meta/_Cache.php | 8 +- .../Tags/TagListResponse/_Meta/_Credits.php | 8 +- .../TagListResponse/_Meta/_RateLimits.php | 8 +- src/SharedTrialLinks/Tags/TagRemoveParams.php | 12 +-- .../Tags/TagRemoveResponse.php | 16 +-- .../Tags/TagRemoveResponse/Data.php | 8 +- .../Tags/TagRemoveResponse/_Meta.php | 20 ++-- .../Tags/TagRemoveResponse/_Meta/_Cache.php | 8 +- .../Tags/TagRemoveResponse/_Meta/_Credits.php | 8 +- .../TagRemoveResponse/_Meta/_RateLimits.php | 8 +- .../SmartLinkPostbackCreateParams.php | 16 +-- .../SmartLinkScope.php | 2 +- .../SmartLinkPostbackGetResponse.php | 16 +-- .../SmartLinkPostbackGetResponse/Data.php | 12 +-- .../Data/SmartLink.php | 8 +- .../SmartLinkPostbackGetResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../SmartLinkPostbackListResponse.php | 16 +-- .../SmartLinkPostbackListResponse/Data.php | 16 +-- .../Data/LatestResponse.php | 8 +- .../Data/SmartLink.php | 8 +- .../SmartLinkPostbackListResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../SmartLinkPostbackNewResponse.php | 16 +-- .../SmartLinkPostbackNewResponse/Data.php | 8 +- .../SmartLinkPostbackNewResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../SmartLinkPostbackUpdateParams.php | 16 +-- .../SmartLinkScope.php | 2 +- .../SmartLinkPostbackUpdateResponse.php | 16 +-- .../SmartLinkPostbackUpdateResponse/Data.php | 12 +-- .../Data/SmartLink.php | 8 +- .../SmartLinkPostbackUpdateResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/SmartLinks/SmartLinkCreateParams.php | 16 +-- .../SmartLinkCreateParams/LinkType.php | 2 +- src/SmartLinks/SmartLinkDeleteResponse.php | 16 +-- .../SmartLinkDeleteResponse/Data.php | 8 +- .../SmartLinkDeleteResponse/_Meta.php | 20 ++-- .../SmartLinkDeleteResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/SmartLinks/SmartLinkGetResponse.php | 16 +-- src/SmartLinks/SmartLinkGetResponse/Data.php | 16 +-- .../SmartLinkGetResponse/Data/Account.php | 8 +- .../SmartLinkGetResponse/Data/Cost.php | 8 +- src/SmartLinks/SmartLinkGetResponse/_Meta.php | 20 ++-- .../SmartLinkGetResponse/_Meta/_Cache.php | 8 +- .../SmartLinkGetResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/SmartLinks/SmartLinkGetStatsResponse.php | 16 +-- .../SmartLinkGetStatsResponse/Data.php | 20 ++-- .../Data/DailyMetric.php | 8 +- .../Data/MonthlyMetric.php | 8 +- .../Data/Summary.php | 8 +- .../SmartLinkGetStatsResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/SmartLinks/SmartLinkListClicksParams.php | 12 +-- .../SmartLinkListClicksResponse.php | 16 +-- .../SmartLinkListClicksResponse/Data.php | 24 ++--- .../Data/Chart.php | 8 +- .../Data/Filters.php | 8 +- .../SmartLinkListClicksResponse/Data/Row.php | 8 +- .../Data/Summary.php | 8 +- .../SmartLinkListClicksResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../SmartLinkListConversionsParams.php | 14 +-- .../ConversionType.php | 2 +- .../SmartLinkListConversionsResponse.php | 16 +-- .../SmartLinkListConversionsResponse/Data.php | 24 ++--- .../Data/Chart.php | 8 +- .../Data/Filters.php | 8 +- .../Data/Row.php | 16 +-- .../Data/Row/Click.php | 8 +- .../Data/Row/Fan.php | 8 +- .../Data/Summary.php | 8 +- .../_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/SmartLinks/SmartLinkListFansParams.php | 14 +-- .../SmartLinkListFansParams/Sort.php | 2 +- src/SmartLinks/SmartLinkListFansResponse.php | 16 +-- .../SmartLinkListFansResponse/Data.php | 20 ++-- .../Data/Filters.php | 8 +- .../SmartLinkListFansResponse/Data/Row.php | 8 +- .../Data/Summary.php | 8 +- .../SmartLinkListFansResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/SmartLinks/SmartLinkListParams.php | 12 +-- src/SmartLinks/SmartLinkListResponse.php | 16 +-- src/SmartLinks/SmartLinkListResponse/Data.php | 16 +-- .../SmartLinkListResponse/Data/Account.php | 8 +- .../SmartLinkListResponse/Data/Cost.php | 8 +- .../SmartLinkListResponse/_Meta.php | 20 ++-- .../SmartLinkListResponse/_Meta/_Cache.php | 8 +- .../SmartLinkListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SmartLinkListSpendersParams.php | 12 +-- .../SmartLinkListSpendersResponse.php | 16 +-- .../SmartLinkListSpendersResponse/Data.php | 12 +-- .../Data/Revenue.php | 8 +- .../SmartLinkListSpendersResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/SmartLinks/SmartLinkNewResponse.php | 16 +-- src/SmartLinks/SmartLinkNewResponse/Data.php | 16 +-- .../SmartLinkNewResponse/Data/Account.php | 8 +- .../SmartLinkNewResponse/Data/Cost.php | 8 +- src/SmartLinks/SmartLinkNewResponse/_Meta.php | 20 ++-- .../SmartLinkNewResponse/_Meta/_Cache.php | 8 +- .../SmartLinkNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SmartLinkRetrieveCohortArpsParams.php | 14 +-- .../RevenueBasis.php | 2 +- .../SmartLinkRetrieveStatsParams.php | 12 +-- .../Reach/ReachGetProfileVisitorsParams.php | 18 ++-- .../ReachGetProfileVisitorsParams/Filter.php | 2 +- .../ReachGetProfileVisitorsParams/Type.php | 2 +- .../Reach/ReachGetProfileVisitorsResponse.php | 20 ++-- .../UnionMember0.php | 16 +-- .../UnionMember0/Data.php | 24 ++--- .../UnionMember0/Data/Chart.php | 16 +-- .../UnionMember0/Data/Chart/Duration.php | 8 +- .../UnionMember0/Data/Chart/Visitor.php | 8 +- .../UnionMember0/Data/TopCountries.php | 16 +-- .../UnionMember0/Data/TopCountries/Row.php | 12 +-- .../Data/TopCountries/Row/ViewsCount.php | 8 +- .../UnionMember0/Data/TopCountries/Totals.php | 8 +- .../UnionMember0/Data/TopDurationUsers.php | 12 +-- .../Data/TopDurationUsers/Totals.php | 8 +- .../UnionMember0/Data/Total.php | 8 +- .../UnionMember0/_Meta.php | 20 ++-- .../UnionMember0/_Meta/_Cache.php | 8 +- .../UnionMember0/_Meta/_Credits.php | 8 +- .../UnionMember0/_Meta/_RateLimits.php | 8 +- .../UnionMember1.php | 16 +-- .../UnionMember1/Data.php | 16 +-- .../UnionMember1/Data/Chart.php | 16 +-- .../UnionMember1/Data/Chart/Duration.php | 8 +- .../UnionMember1/Data/Chart/Visitor.php | 8 +- .../UnionMember1/Data/Total.php | 8 +- .../UnionMember1/_Meta.php | 20 ++-- .../UnionMember1/_Meta/_Cache.php | 8 +- .../UnionMember1/_Meta/_Credits.php | 8 +- .../UnionMember1/_Meta/_RateLimits.php | 8 +- .../UnionMember2.php | 16 +-- .../UnionMember2/Data.php | 12 +-- .../UnionMember2/Data/TopCountries.php | 16 +-- .../UnionMember2/Data/TopCountries/Row.php | 12 +-- .../Data/TopCountries/Row/ViewsCount.php | 8 +- .../UnionMember2/Data/TopCountries/Totals.php | 8 +- .../UnionMember2/_Meta.php | 20 ++-- .../UnionMember2/_Meta/_Cache.php | 8 +- .../UnionMember2/_Meta/_Credits.php | 8 +- .../UnionMember2/_Meta/_RateLimits.php | 8 +- .../Statements/StatementGetEarningsParams.php | 16 +-- .../StatementGetEarningsParams/Type.php | 2 +- .../StatementGetEarningsResponse.php | 16 +-- .../StatementGetEarningsResponse/Data.php | 12 +-- .../Data/Total.php | 16 +-- .../Data/Total/ChartAmount.php | 8 +- .../Data/Total/ChartCount.php | 8 +- .../StatementGetEarningsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- ...tisticCalculateTotalTransactionsParams.php | 12 +-- ...sticCalculateTotalTransactionsResponse.php | 8 +- src/Statistics/StatisticGetOverviewParams.php | 14 +-- .../StatisticGetOverviewParams/Type.php | 2 +- .../StatisticGetOverviewResponse.php | 16 +-- .../StatisticGetOverviewResponse/Data.php | 28 +++--- .../Data/Earning.php | 8 +- .../Data/MassMessages.php | 24 ++--- .../Data/MassMessages/ChartData.php | 8 +- .../Data/MassMessages/Count.php | 8 +- .../Data/MassMessages/Earnings.php | 8 +- .../Data/MassMessages/Views.php | 8 +- .../Data/Posts.php | 24 ++--- .../Data/Posts/ChartData.php | 8 +- .../Data/Posts/Count.php | 8 +- .../Data/Posts/Earnings.php | 8 +- .../Data/Posts/Views.php | 8 +- .../Data/Streams.php | 24 ++--- .../Data/Streams/ChartData.php | 8 +- .../Data/Streams/Count.php | 8 +- .../Data/Streams/Earnings.php | 8 +- .../Data/Streams/Views.php | 8 +- .../Data/Visitors.php | 24 ++--- .../Data/Visitors/ChartData.php | 8 +- .../Data/Visitors/Earnings.php | 8 +- .../Data/Visitors/Subscriptions.php | 16 +-- .../Data/Visitors/Subscriptions/New_.php | 8 +- .../Data/Visitors/Subscriptions/Renew.php | 8 +- .../Data/Visitors/Visitors.php | 8 +- .../StatisticGetOverviewResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../StatisticGetSubscriberMetricsParams.php | 14 +-- .../StatisticGetSubscriberMetricsResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/Detailed.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../StoredListSharedTrackingLinksParams.php | 16 +-- .../Filter.php | 8 +- .../StoredListSharedTrackingLinksResponse.php | 20 ++-- .../Data.php | 12 +-- .../Data/List_.php | 12 +-- .../Data/List_/Owner.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../StoredListSharedTrialLinksParams.php | 16 +-- .../Filter.php | 8 +- .../StoredListSharedTrialLinksResponse.php | 20 ++-- .../Data.php | 12 +-- .../Data/List_.php | 12 +-- .../Data/List_/Owner.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- src/Stored/StoredListTrackingLinksParams.php | 16 +-- .../StoredListTrackingLinksParams/Filter.php | 8 +- .../StoredListTrackingLinksResponse.php | 20 ++-- .../StoredListTrackingLinksResponse/Data.php | 12 +-- .../Data/List_.php | 20 ++-- .../Data/List_/Cost.php | 8 +- .../Data/List_/Links.php | 12 +-- .../Data/List_/Links/Related.php | 8 +- .../Data/List_/Revenue.php | 8 +- .../StoredListTrackingLinksResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- src/Stored/StoredListTrialLinksParams.php | 16 +-- .../StoredListTrialLinksParams/Filter.php | 8 +- src/Stored/StoredListTrialLinksResponse.php | 20 ++-- .../StoredListTrialLinksResponse/Data.php | 12 +-- .../Data/List_.php | 20 ++-- .../Data/List_/Cost.php | 8 +- .../Data/List_/Links.php | 12 +-- .../Data/List_/Links/Related.php | 8 +- .../Data/List_/Revenue.php | 8 +- .../StoredListTrialLinksResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../_Pagination.php | 8 +- .../Highlights/HighlightAddStoryParams.php | 12 +-- .../Highlights/HighlightAddStoryResponse.php | 16 +-- .../HighlightAddStoryResponse/Data.php | 8 +- .../HighlightAddStoryResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightCreateParams.php | 12 +-- .../Highlights/HighlightDeleteParams.php | 12 +-- .../Highlights/HighlightDeleteResponse.php | 16 +-- .../HighlightDeleteResponse/Data.php | 8 +- .../HighlightDeleteResponse/_Meta.php | 20 ++-- .../HighlightDeleteResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightGetResponse.php | 16 +-- .../Highlights/HighlightGetResponse/Data.php | 12 +-- .../HighlightGetResponse/Data/Story.php | 16 +-- .../HighlightGetResponse/Data/Story/Media.php | 16 +-- .../Data/Story/Media/Files.php | 24 ++--- .../Data/Story/Media/Files/Full.php | 8 +- .../Data/Story/Media/Files/Preview.php | 12 +-- .../Story/Media/Files/Preview/Sources.php | 8 +- .../Data/Story/Media/Files/SquarePreview.php | 12 +-- .../Media/Files/SquarePreview/Sources.php | 8 +- .../Data/Story/Media/Files/Thumb.php | 8 +- .../Data/Story/Media/VideoSources.php | 8 +- .../HighlightGetResponse/Data/Story/Text.php | 8 +- .../Highlights/HighlightGetResponse/_Meta.php | 20 ++-- .../HighlightGetResponse/_Meta/_Cache.php | 8 +- .../HighlightGetResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightListParams.php | 12 +-- .../Highlights/HighlightListResponse.php | 16 +-- .../Highlights/HighlightListResponse/Data.php | 12 +-- .../HighlightListResponse/Data/List_.php | 8 +- .../HighlightListResponse/_Meta.php | 20 ++-- .../HighlightListResponse/_Meta/_Cache.php | 8 +- .../HighlightListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightNewResponse.php | 16 +-- .../Highlights/HighlightNewResponse/Data.php | 8 +- .../Highlights/HighlightNewResponse/_Meta.php | 20 ++-- .../HighlightNewResponse/_Meta/_Cache.php | 8 +- .../HighlightNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightRemoveStoryParams.php | 12 +-- .../HighlightRemoveStoryResponse.php | 16 +-- .../HighlightRemoveStoryResponse/Data.php | 8 +- .../HighlightRemoveStoryResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../Highlights/HighlightRetrieveParams.php | 12 +-- .../Highlights/HighlightUpdateParams.php | 12 +-- .../Highlights/HighlightUpdateResponse.php | 16 +-- .../HighlightUpdateResponse/Data.php | 8 +- .../HighlightUpdateResponse/_Meta.php | 20 ++-- .../HighlightUpdateResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryCreateParams.php | 12 +-- src/Stories/StoryDeleteParams.php | 12 +-- src/Stories/StoryDeleteResponse.php | 16 +-- src/Stories/StoryDeleteResponse/Data.php | 8 +- src/Stories/StoryDeleteResponse/_Meta.php | 20 ++-- .../StoryDeleteResponse/_Meta/_Cache.php | 8 +- .../StoryDeleteResponse/_Meta/_Credits.php | 8 +- .../StoryDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Stories/StoryGetResponse.php | 16 +-- src/Stories/StoryGetResponse/Data.php | 12 +-- src/Stories/StoryGetResponse/Data/Media.php | 16 +-- .../StoryGetResponse/Data/Media/Files.php | 24 ++--- .../Data/Media/Files/Full.php | 8 +- .../Data/Media/Files/Preview.php | 12 +-- .../Data/Media/Files/Preview/Sources.php | 8 +- .../Data/Media/Files/SquarePreview.php | 12 +-- .../Media/Files/SquarePreview/Sources.php | 8 +- .../Data/Media/Files/Thumb.php | 8 +- .../Data/Media/VideoSources.php | 8 +- src/Stories/StoryGetResponse/_Meta.php | 20 ++-- src/Stories/StoryGetResponse/_Meta/_Cache.php | 8 +- .../StoryGetResponse/_Meta/_Credits.php | 8 +- .../StoryGetResponse/_Meta/_RateLimits.php | 8 +- src/Stories/StoryGetStatsResponse.php | 16 +-- src/Stories/StoryGetStatsResponse/Data.php | 28 +++--- .../Data/StoryCommentChart.php | 8 +- .../Data/StoryLikeChart.php | 8 +- .../Data/StoryLookChart.php | 8 +- .../Data/StoryTipChart.php | 8 +- .../Data/StoryTipSumChart.php | 8 +- src/Stories/StoryGetStatsResponse/_Meta.php | 20 ++-- .../StoryGetStatsResponse/_Meta/_Cache.php | 8 +- .../StoryGetStatsResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryListActiveResponse.php | 16 +-- src/Stories/StoryListActiveResponse/Data.php | 12 +-- .../StoryListActiveResponse/Data/Media.php | 16 +-- .../Data/Media/Files.php | 24 ++--- .../Data/Media/Files/Full.php | 8 +- .../Data/Media/Files/Preview.php | 12 +-- .../Data/Media/Files/Preview/Sources.php | 8 +- .../Data/Media/Files/SquarePreview.php | 12 +-- .../Media/Files/SquarePreview/Sources.php | 8 +- .../Data/Media/Files/Thumb.php | 8 +- .../Data/Media/VideoSources.php | 8 +- src/Stories/StoryListActiveResponse/_Meta.php | 20 ++-- .../StoryListActiveResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryListArchiveParams.php | 12 +-- src/Stories/StoryListArchiveResponse.php | 16 +-- src/Stories/StoryListArchiveResponse/Data.php | 12 +-- .../StoryListArchiveResponse/Data/List_.php | 12 +-- .../Data/List_/Media.php | 16 +-- .../Data/List_/Media/Files.php | 24 ++--- .../Data/List_/Media/Files/Full.php | 8 +- .../Data/List_/Media/Files/Preview.php | 12 +-- .../List_/Media/Files/Preview/Sources.php | 8 +- .../Data/List_/Media/Files/SquarePreview.php | 12 +-- .../Media/Files/SquarePreview/Sources.php | 8 +- .../Data/List_/Media/Files/Thumb.php | 8 +- .../Data/List_/Media/VideoSources.php | 8 +- .../StoryListArchiveResponse/_Meta.php | 20 ++-- .../StoryListArchiveResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryListViewersParams.php | 14 +-- src/Stories/StoryListViewersResponse.php | 16 +-- src/Stories/StoryListViewersResponse/Data.php | 12 +-- .../StoryListViewersResponse/Data/List_.php | 12 +-- .../Data/List_/ListsState.php | 8 +- .../StoryListViewersResponse/_Meta.php | 20 ++-- .../StoryListViewersResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryMarkAsWatchedParams.php | 12 +-- src/Stories/StoryMarkAsWatchedResponse.php | 16 +-- .../StoryMarkAsWatchedResponse/Data.php | 8 +- .../StoryMarkAsWatchedResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Stories/StoryNewResponse.php | 16 +-- src/Stories/StoryNewResponse/Data.php | 12 +-- src/Stories/StoryNewResponse/Data/Media.php | 12 +-- .../StoryNewResponse/Data/Media/Files.php | 12 +-- .../Data/Media/Files/Full.php | 8 +- src/Stories/StoryNewResponse/_Meta.php | 20 ++-- src/Stories/StoryNewResponse/_Meta/_Cache.php | 8 +- .../StoryNewResponse/_Meta/_Credits.php | 8 +- .../StoryNewResponse/_Meta/_RateLimits.php | 8 +- src/Stories/StoryRetrieveParams.php | 12 +-- src/Stories/StoryRetrieveStatsParams.php | 12 +-- .../SubscriberGetStatisticsResponse.php | 16 +-- .../SubscriberGetStatisticsResponse/Data.php | 16 +-- .../Data/Earning.php | 8 +- .../Data/Subscribe.php | 8 +- .../SubscriberGetStatisticsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../SubscriberRetrieveStatisticsParams.php | 14 +-- .../Type.php | 2 +- src/TrackingLinks/Tags/TagAddParams.php | 12 +-- src/TrackingLinks/Tags/TagAddResponse.php | 16 +-- .../Tags/TagAddResponse/Data.php | 8 +- .../Tags/TagAddResponse/_Meta.php | 20 ++-- .../Tags/TagAddResponse/_Meta/_Cache.php | 8 +- .../Tags/TagAddResponse/_Meta/_Credits.php | 8 +- .../Tags/TagAddResponse/_Meta/_RateLimits.php | 8 +- src/TrackingLinks/Tags/TagListParams.php | 12 +-- src/TrackingLinks/Tags/TagListResponse.php | 16 +-- .../Tags/TagListResponse/Data.php | 8 +- .../Tags/TagListResponse/_Meta.php | 20 ++-- .../Tags/TagListResponse/_Meta/_Cache.php | 8 +- .../Tags/TagListResponse/_Meta/_Credits.php | 8 +- .../TagListResponse/_Meta/_RateLimits.php | 8 +- src/TrackingLinks/Tags/TagRemoveParams.php | 12 +-- src/TrackingLinks/Tags/TagRemoveResponse.php | 16 +-- .../Tags/TagRemoveResponse/Data.php | 8 +- .../Tags/TagRemoveResponse/_Meta.php | 20 ++-- .../Tags/TagRemoveResponse/_Meta/_Cache.php | 8 +- .../Tags/TagRemoveResponse/_Meta/_Credits.php | 8 +- .../TagRemoveResponse/_Meta/_RateLimits.php | 8 +- .../TrackingLinkCreateParams.php | 14 +-- .../TrackingLinkDeleteParams.php | 12 +-- .../TrackingLinkDeleteResponse.php | 16 +-- .../TrackingLinkDeleteResponse/Data.php | 8 +- .../TrackingLinkDeleteResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrackingLinkGetCohortArpsParams.php | 16 +-- .../RevenueBasis.php | 2 +- src/TrackingLinks/TrackingLinkGetResponse.php | 16 +-- .../TrackingLinkGetResponse/Data.php | 20 ++-- .../TrackingLinkGetResponse/Data/Cost.php | 8 +- .../TrackingLinkGetResponse/Data/Links.php | 12 +-- .../Data/Links/Related.php | 8 +- .../TrackingLinkGetResponse/Data/Revenue.php | 8 +- .../TrackingLinkGetResponse/_Meta.php | 20 ++-- .../TrackingLinkGetResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrackingLinkGetStatsParams.php | 14 +-- .../TrackingLinkGetStatsResponse.php | 16 +-- .../TrackingLinkGetStatsResponse/Data.php | 20 ++-- .../Data/DailyMetric.php | 8 +- .../Data/MonthlyMetric.php | 8 +- .../Data/Summary.php | 8 +- .../TrackingLinkGetStatsResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/TrackingLinks/TrackingLinkListParams.php | 16 +-- .../TrackingLinkListParams/Sort.php | 2 +- .../TrackingLinkListParams/Sortby.php | 2 +- .../TrackingLinkListResponse.php | 20 ++-- .../TrackingLinkListResponse/Data.php | 12 +-- .../TrackingLinkListResponse/Data/List_.php | 16 +-- .../Data/List_/Links.php | 12 +-- .../Data/List_/Links/Related.php | 8 +- .../Data/List_/Revenue.php | 8 +- .../TrackingLinkListResponse/_Meta.php | 20 ++-- .../TrackingLinkListResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrackingLinkListResponse/_Pagination.php | 8 +- .../TrackingLinkListSpendersParams.php | 14 +-- .../TrackingLinkListSpendersResponse.php | 16 +-- .../TrackingLinkListSpendersResponse/Data.php | 12 +-- .../Data/Revenue.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrackingLinkListSubscribersParams.php | 12 +-- .../TrackingLinkListSubscribersResponse.php | 16 +-- .../Data.php | 12 +-- .../Data/List_.php | 12 +-- .../Data/List_/AvatarThumbs.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/TrackingLinks/TrackingLinkNewResponse.php | 16 +-- .../TrackingLinkNewResponse/Data.php | 8 +- .../TrackingLinkNewResponse/_Meta.php | 20 ++-- .../TrackingLinkNewResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrackingLinkRetrieveParams.php | 12 +-- src/Transactions/TransactionListParams.php | 12 +-- src/Transactions/TransactionListResponse.php | 20 ++-- .../TransactionListResponse/Data.php | 12 +-- .../TransactionListResponse/Data/List_.php | 12 +-- .../Data/List_/User.php | 12 +-- .../Data/List_/User/AvatarThumbs.php | 8 +- .../TransactionListResponse/_Meta.php | 20 ++-- .../TransactionListResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TransactionListResponse/_Pagination.php | 8 +- src/TrialLinks/Tags/TagAddParams.php | 12 +-- src/TrialLinks/Tags/TagAddResponse.php | 16 +-- src/TrialLinks/Tags/TagAddResponse/Data.php | 8 +- src/TrialLinks/Tags/TagAddResponse/_Meta.php | 20 ++-- .../Tags/TagAddResponse/_Meta/_Cache.php | 8 +- .../Tags/TagAddResponse/_Meta/_Credits.php | 8 +- .../Tags/TagAddResponse/_Meta/_RateLimits.php | 8 +- src/TrialLinks/Tags/TagListParams.php | 12 +-- src/TrialLinks/Tags/TagListResponse.php | 16 +-- src/TrialLinks/Tags/TagListResponse/Data.php | 8 +- src/TrialLinks/Tags/TagListResponse/_Meta.php | 20 ++-- .../Tags/TagListResponse/_Meta/_Cache.php | 8 +- .../Tags/TagListResponse/_Meta/_Credits.php | 8 +- .../TagListResponse/_Meta/_RateLimits.php | 8 +- src/TrialLinks/Tags/TagRemoveParams.php | 12 +-- src/TrialLinks/Tags/TagRemoveResponse.php | 16 +-- .../Tags/TagRemoveResponse/Data.php | 8 +- .../Tags/TagRemoveResponse/_Meta.php | 20 ++-- .../Tags/TagRemoveResponse/_Meta/_Cache.php | 8 +- .../Tags/TagRemoveResponse/_Meta/_Credits.php | 8 +- .../TagRemoveResponse/_Meta/_RateLimits.php | 8 +- src/TrialLinks/TrialLinkCreateParams.php | 18 ++-- .../TrialLinkCreateParams/Duration.php | 2 +- .../TrialLinkCreateParams/OfferLimit.php | 2 +- src/TrialLinks/TrialLinkDeleteParams.php | 12 +-- src/TrialLinks/TrialLinkDeleteResponse.php | 16 +-- .../TrialLinkDeleteResponse/Data.php | 8 +- .../TrialLinkDeleteResponse/_Meta.php | 20 ++-- .../TrialLinkDeleteResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/TrialLinks/TrialLinkGetResponse.php | 16 +-- src/TrialLinks/TrialLinkGetResponse/Data.php | 20 ++-- .../TrialLinkGetResponse/Data/Cost.php | 8 +- .../TrialLinkGetResponse/Data/Links.php | 12 +-- .../Data/Links/Related.php | 8 +- .../TrialLinkGetResponse/Data/Revenue.php | 8 +- src/TrialLinks/TrialLinkGetResponse/_Meta.php | 20 ++-- .../TrialLinkGetResponse/_Meta/_Cache.php | 8 +- .../TrialLinkGetResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/TrialLinks/TrialLinkGetStatsResponse.php | 16 +-- .../TrialLinkGetStatsResponse/Data.php | 20 ++-- .../Data/DailyMetric.php | 8 +- .../Data/MonthlyMetric.php | 8 +- .../Data/Summary.php | 8 +- .../TrialLinkGetStatsResponse/_Meta.php | 16 +-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/TrialLinks/TrialLinkListParams.php | 18 ++-- src/TrialLinks/TrialLinkListParams/Field.php | 2 +- src/TrialLinks/TrialLinkListParams/Sort.php | 2 +- src/TrialLinks/TrialLinkListResponse.php | 20 ++-- src/TrialLinks/TrialLinkListResponse/Data.php | 12 +-- .../TrialLinkListResponse/Data/List_.php | 16 +-- .../Data/List_/Links.php | 12 +-- .../Data/List_/Links/Related.php | 8 +- .../Data/List_/Revenue.php | 8 +- .../TrialLinkListResponse/_Meta.php | 20 ++-- .../TrialLinkListResponse/_Meta/_Cache.php | 8 +- .../TrialLinkListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrialLinkListResponse/_Pagination.php | 8 +- .../TrialLinkListSpendersParams.php | 14 +-- .../TrialLinkListSpendersResponse.php | 16 +-- .../TrialLinkListSpendersResponse/Data.php | 12 +-- .../Data/Revenue.php | 8 +- .../TrialLinkListSpendersResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrialLinkListSubscribersParams.php | 12 +-- .../TrialLinkListSubscribersResponse.php | 16 +-- .../TrialLinkListSubscribersResponse/Data.php | 12 +-- .../Data/List_.php | 38 +++---- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/PromoOffer.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../Data/List_/SubscribedOnData.php | 12 +-- .../Data/List_/SubscribedOnData/Subscribe.php | 8 +- .../_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/TrialLinks/TrialLinkNewResponse.php | 20 ++-- src/TrialLinks/TrialLinkNewResponse/Data.php | 8 +- src/TrialLinks/TrialLinkNewResponse/_Meta.php | 20 ++-- .../TrialLinkNewResponse/_Meta/_Cache.php | 8 +- .../TrialLinkNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- .../TrialLinkNewResponse/_Pagination.php | 8 +- .../TrialLinkRetrieveCohortArpsParams.php | 16 +-- .../RevenueBasis.php | 2 +- src/TrialLinks/TrialLinkRetrieveParams.php | 12 +-- .../TrialLinkRetrieveStatsParams.php | 14 +-- src/UserLists/UserListCreateParams.php | 12 +-- src/UserLists/UserListDeleteParams.php | 12 +-- src/UserLists/UserListDeleteResponse.php | 16 +-- src/UserLists/UserListDeleteResponse/Data.php | 8 +- .../UserListDeleteResponse/_Meta.php | 20 ++-- .../UserListDeleteResponse/_Meta/_Cache.php | 8 +- .../UserListDeleteResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/UserLists/UserListGetResponse.php | 16 +-- src/UserLists/UserListGetResponse/Data.php | 12 +-- .../UserListGetResponse/Data/User.php | 12 +-- .../Data/User/AvatarThumbs.php | 8 +- src/UserLists/UserListGetResponse/_Meta.php | 20 ++-- .../UserListGetResponse/_Meta/_Cache.php | 8 +- .../UserListGetResponse/_Meta/_Credits.php | 8 +- .../UserListGetResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/UserListListParams.php | 12 +-- src/UserLists/UserListListResponse.php | 16 +-- src/UserLists/UserListListResponse/Data.php | 8 +- src/UserLists/UserListListResponse/_Meta.php | 20 ++-- .../UserListListResponse/_Meta/_Cache.php | 8 +- .../UserListListResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/UserLists/UserListNewResponse.php | 16 +-- src/UserLists/UserListNewResponse/Data.php | 8 +- src/UserLists/UserListNewResponse/_Meta.php | 20 ++-- .../UserListNewResponse/_Meta/_Cache.php | 8 +- .../UserListNewResponse/_Meta/_Credits.php | 8 +- .../UserListNewResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/UserListRetrieveParams.php | 12 +-- src/UserLists/UserListUpdateParams.php | 14 +-- src/UserLists/UserListUpdateResponse.php | 16 +-- src/UserLists/UserListUpdateResponse/Data.php | 8 +- .../UserListUpdateResponse/_Meta.php | 20 ++-- .../UserListUpdateResponse/_Meta/_Cache.php | 8 +- .../UserListUpdateResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserAddParams.php | 12 +-- src/UserLists/Users/UserAddResponse.php | 16 +-- src/UserLists/Users/UserAddResponse/Data.php | 8 +- src/UserLists/Users/UserAddResponse/_Meta.php | 20 ++-- .../Users/UserAddResponse/_Meta/_Cache.php | 8 +- .../Users/UserAddResponse/_Meta/_Credits.php | 8 +- .../UserAddResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserClearParams.php | 12 +-- src/UserLists/Users/UserClearResponse.php | 16 +-- .../Users/UserClearResponse/Data.php | 8 +- .../Users/UserClearResponse/_Meta.php | 20 ++-- .../Users/UserClearResponse/_Meta/_Cache.php | 8 +- .../UserClearResponse/_Meta/_Credits.php | 8 +- .../UserClearResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserListParams.php | 14 +-- src/UserLists/Users/UserListPinnedParams.php | 14 +-- .../Users/UserListPinnedResponse.php | 16 +-- .../Users/UserListPinnedResponse/Data.php | 12 +-- .../UserListPinnedResponse/Data/List_.php | 38 +++---- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/PromoOffer.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../Data/List_/SubscribedOnData.php | 12 +-- .../Data/List_/SubscribedOnData/Subscribe.php | 8 +- .../Users/UserListPinnedResponse/_Meta.php | 20 ++-- .../UserListPinnedResponse/_Meta/_Cache.php | 8 +- .../UserListPinnedResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserListResponse.php | 16 +-- src/UserLists/Users/UserListResponse/Data.php | 12 +-- .../Users/UserListResponse/Data/List_.php | 38 +++---- .../Data/List_/AvatarThumbs.php | 8 +- .../Data/List_/HeaderSize.php | 8 +- .../Data/List_/HeaderThumbs.php | 8 +- .../Data/List_/ListsState.php | 8 +- .../Data/List_/PromoOffer.php | 8 +- .../Data/List_/SubscribedByData.php | 12 +-- .../Data/List_/SubscribedByData/Subscribe.php | 8 +- .../Data/List_/SubscribedOnData.php | 12 +-- .../Data/List_/SubscribedOnData/Subscribe.php | 8 +- .../Users/UserListResponse/_Meta.php | 20 ++-- .../Users/UserListResponse/_Meta/_Cache.php | 8 +- .../Users/UserListResponse/_Meta/_Credits.php | 8 +- .../UserListResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserPinParams.php | 12 +-- src/UserLists/Users/UserPinResponse.php | 16 +-- src/UserLists/Users/UserPinResponse/Data.php | 8 +- src/UserLists/Users/UserPinResponse/_Meta.php | 20 ++-- .../Users/UserPinResponse/_Meta/_Cache.php | 8 +- .../Users/UserPinResponse/_Meta/_Credits.php | 8 +- .../UserPinResponse/_Meta/_RateLimits.php | 8 +- src/UserLists/Users/UserRemoveParams.php | 12 +-- src/UserLists/Users/UserRemoveResponse.php | 16 +-- .../Users/UserRemoveResponse/Data.php | 16 +-- .../Users/UserRemoveResponse/Data/List_.php | 12 +-- .../UserRemoveResponse/Data/List_/User.php | 12 +-- .../Data/List_/User/AvatarThumbs.php | 8 +- .../UserRemoveResponse/Data/UserState.php | 8 +- .../Users/UserRemoveResponse/_Meta.php | 20 ++-- .../Users/UserRemoveResponse/_Meta/_Cache.php | 8 +- .../UserRemoveResponse/_Meta/_Credits.php | 8 +- .../UserRemoveResponse/_Meta/_RateLimits.php | 8 +- src/Users/Block/BlockCreateParams.php | 12 +-- src/Users/Block/BlockDeleteParams.php | 12 +-- src/Users/Block/BlockDeleteResponse.php | 16 +-- src/Users/Block/BlockDeleteResponse/Data.php | 38 +++---- .../BlockDeleteResponse/Data/AvatarThumbs.php | 8 +- .../BlockDeleteResponse/Data/HeaderSize.php | 8 +- .../BlockDeleteResponse/Data/HeaderThumbs.php | 8 +- .../BlockDeleteResponse/Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- src/Users/Block/BlockDeleteResponse/_Meta.php | 20 ++-- .../BlockDeleteResponse/_Meta/_Cache.php | 8 +- .../BlockDeleteResponse/_Meta/_Credits.php | 8 +- .../BlockDeleteResponse/_Meta/_RateLimits.php | 8 +- src/Users/Block/BlockNewResponse.php | 16 +-- src/Users/Block/BlockNewResponse/Data.php | 38 +++---- .../BlockNewResponse/Data/AvatarThumbs.php | 8 +- .../BlockNewResponse/Data/HeaderSize.php | 8 +- .../BlockNewResponse/Data/HeaderThumbs.php | 8 +- .../BlockNewResponse/Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- src/Users/Block/BlockNewResponse/_Meta.php | 20 ++-- .../Block/BlockNewResponse/_Meta/_Cache.php | 8 +- .../Block/BlockNewResponse/_Meta/_Credits.php | 8 +- .../BlockNewResponse/_Meta/_RateLimits.php | 8 +- src/Users/Restrict/RestrictCreateParams.php | 12 +-- src/Users/Restrict/RestrictDeleteParams.php | 12 +-- src/Users/Restrict/RestrictDeleteResponse.php | 16 +-- .../Restrict/RestrictDeleteResponse/Data.php | 38 +++---- .../Data/AvatarThumbs.php | 8 +- .../Data/HeaderSize.php | 8 +- .../Data/HeaderThumbs.php | 8 +- .../Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- .../Restrict/RestrictDeleteResponse/_Meta.php | 20 ++-- .../RestrictDeleteResponse/_Meta/_Cache.php | 8 +- .../RestrictDeleteResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Users/Restrict/RestrictNewResponse.php | 16 +-- .../Restrict/RestrictNewResponse/Data.php | 38 +++---- .../RestrictNewResponse/Data/AvatarThumbs.php | 8 +- .../RestrictNewResponse/Data/HeaderSize.php | 8 +- .../RestrictNewResponse/Data/HeaderThumbs.php | 8 +- .../RestrictNewResponse/Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- .../Restrict/RestrictNewResponse/_Meta.php | 20 ++-- .../RestrictNewResponse/_Meta/_Cache.php | 8 +- .../RestrictNewResponse/_Meta/_Credits.php | 8 +- .../RestrictNewResponse/_Meta/_RateLimits.php | 8 +- src/Users/Subscribe/SubscribeCreateParams.php | 12 +-- src/Users/Subscribe/SubscribeDeleteParams.php | 12 +-- .../Subscribe/SubscribeDeleteResponse.php | 16 +-- .../SubscribeDeleteResponse/Data.php | 8 +- .../SubscribeDeleteResponse/_Meta.php | 16 +-- .../SubscribeDeleteResponse/_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- src/Users/Subscribe/SubscribeNewResponse.php | 16 +-- .../Subscribe/SubscribeNewResponse/Data.php | 28 +++--- .../Data/AvatarThumbs.php | 8 +- .../SubscribeNewResponse/Data/HeaderSize.php | 8 +- .../Data/HeaderThumbs.php | 8 +- .../SubscribeNewResponse/Data/ListsState.php | 8 +- .../Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../Subscribe/SubscribeNewResponse/_Meta.php | 20 ++-- .../SubscribeNewResponse/_Meta/_Cache.php | 8 +- .../SubscribeNewResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Users/UserGetResponse.php | 16 +-- src/Users/UserGetResponse/Data.php | 38 +++---- .../UserGetResponse/Data/AvatarThumbs.php | 8 +- src/Users/UserGetResponse/Data/HeaderSize.php | 8 +- .../UserGetResponse/Data/HeaderThumbs.php | 8 +- src/Users/UserGetResponse/Data/ListsState.php | 8 +- .../UserGetResponse/Data/SubscribedByData.php | 12 +-- .../Data/SubscribedByData/Subscribe.php | 8 +- .../UserGetResponse/Data/SubscribedOnData.php | 8 +- .../Data/SubscriptionBundle.php | 8 +- src/Users/UserGetResponse/_Meta.php | 20 ++-- src/Users/UserGetResponse/_Meta/_Cache.php | 8 +- src/Users/UserGetResponse/_Meta/_Credits.php | 8 +- .../UserGetResponse/_Meta/_RateLimits.php | 8 +- src/Users/UserListParams.php | 12 +-- src/Users/UserListResponse.php | 16 +-- src/Users/UserListResponse/Data.php | 14 +-- src/Users/UserListResponse/Data/_1000000.php | 24 ++--- .../Data/_1000000/AvatarThumbs.php | 8 +- .../Data/_1000000/ListsState.php | 8 +- .../Data/_1000000/SubscribedByData.php | 12 +-- .../_1000000/SubscribedByData/Subscribe.php | 8 +- .../Data/_1000000/SubscribedOnData.php | 8 +- src/Users/UserListResponse/_Meta.php | 20 ++-- src/Users/UserListResponse/_Meta/_Cache.php | 8 +- src/Users/UserListResponse/_Meta/_Credits.php | 8 +- .../UserListResponse/_Meta/_RateLimits.php | 8 +- src/Users/UserRetrieveParams.php | 12 +-- src/Version.php | 2 +- src/Webhooks/WebhookCreateParams.php | 14 +-- src/Webhooks/WebhookGetResponse.php | 16 +-- src/Webhooks/WebhookGetResponse/Data.php | 8 +- src/Webhooks/WebhookGetResponse/_Meta.php | 20 ++-- .../WebhookGetResponse/_Meta/_Cache.php | 8 +- .../WebhookGetResponse/_Meta/_Credits.php | 8 +- .../WebhookGetResponse/_Meta/_RateLimits.php | 8 +- src/Webhooks/WebhookListEventsResponse.php | 16 +-- .../WebhookListEventsResponse/Data.php | 8 +- .../WebhookListEventsResponse/_Meta.php | 20 ++-- .../_Meta/_Cache.php | 8 +- .../_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Webhooks/WebhookListResponse.php | 16 +-- src/Webhooks/WebhookListResponse/Data.php | 8 +- src/Webhooks/WebhookListResponse/_Meta.php | 20 ++-- .../WebhookListResponse/_Meta/_Cache.php | 8 +- .../WebhookListResponse/_Meta/_Credits.php | 8 +- .../WebhookListResponse/_Meta/_RateLimits.php | 8 +- src/Webhooks/WebhookNewResponse.php | 16 +-- src/Webhooks/WebhookNewResponse/Data.php | 8 +- src/Webhooks/WebhookNewResponse/_Meta.php | 20 ++-- .../WebhookNewResponse/_Meta/_Cache.php | 8 +- .../WebhookNewResponse/_Meta/_Credits.php | 8 +- .../WebhookNewResponse/_Meta/_RateLimits.php | 8 +- src/Webhooks/WebhookUpdateParams.php | 14 +-- src/Webhooks/WebhookUpdateResponse.php | 16 +-- src/Webhooks/WebhookUpdateResponse/Data.php | 8 +- src/Webhooks/WebhookUpdateResponse/_Meta.php | 20 ++-- .../WebhookUpdateResponse/_Meta/_Cache.php | 8 +- .../WebhookUpdateResponse/_Meta/_Credits.php | 8 +- .../_Meta/_RateLimits.php | 8 +- src/Whoami/WhoamiGetResponse.php | 16 +-- src/Whoami/WhoamiGetResponse/APIKey.php | 8 +- src/Whoami/WhoamiGetResponse/Team.php | 8 +- tests/ClientTest.php | 4 +- tests/Core/ModelTest.php | 8 +- tests/Core/StreamingTransportTest.php | 6 +- tests/Core/UtilTest.php | 2 +- tests/Services/AccountsTest.php | 4 +- .../Analytics/Financial/ProfitabilityTest.php | 4 +- .../Analytics/Financial/TransactionsTest.php | 6 +- tests/Services/Analytics/FinancialTest.php | 6 +- tests/Services/Analytics/SummaryTest.php | 8 +- tests/Services/AuthenticateTest.php | 12 +-- tests/Services/Banking/DetailsTest.php | 14 +-- tests/Services/BankingTest.php | 8 +- tests/Services/BundlesTest.php | 10 +- tests/Services/ChargebacksTest.php | 10 +- tests/Services/Chats/MarkAllAsReadTest.php | 6 +- tests/Services/Chats/MessagesTest.php | 22 ++--- tests/Services/ChatsTest.php | 22 ++--- tests/Services/ClientSessionsTest.php | 6 +- tests/Services/DataExportsTest.php | 16 +-- .../Messages/DirectMessagesTest.php | 8 +- .../Engagement/Messages/MassMessagesTest.php | 8 +- tests/Services/Engagement/MessagesTest.php | 8 +- tests/Services/Fans/NotesTest.php | 10 +- tests/Services/Fans/SummaryTest.php | 8 +- tests/Services/FansTest.php | 18 ++-- tests/Services/FollowingTest.php | 10 +- tests/Services/GiphyTest.php | 8 +- tests/Services/LinkTagsTest.php | 6 +- tests/Services/MassMessagingTest.php | 16 +-- tests/Services/MeTest.php | 10 +- tests/Services/Media/UploadsTest.php | 4 +- .../Services/Media/Vault/Lists/MediaTest.php | 8 +- tests/Services/Media/Vault/ListsTest.php | 14 +-- tests/Services/Media/VaultTest.php | 12 +-- tests/Services/MediaTest.php | 8 +- tests/Services/MessagesTest.php | 6 +- .../Services/Notifications/TabsOrderTest.php | 8 +- tests/Services/NotificationsTest.php | 12 +-- tests/Services/PayoutsTest.php | 14 +-- tests/Services/Posts/CommentsTest.php | 18 ++-- tests/Services/Posts/LabelsTest.php | 8 +- tests/Services/PostsTest.php | 20 ++-- tests/Services/ProfilesTest.php | 6 +- tests/Services/PromotionsTest.php | 12 +-- tests/Services/QueueTest.php | 10 +- tests/Services/ReleaseFormsTest.php | 10 +- .../SavedForLater/Messages/SettingsTest.php | 10 +- tests/Services/SavedForLater/MessagesTest.php | 6 +- .../SavedForLater/Posts/SettingsTest.php | 10 +- tests/Services/SavedForLater/PostsTest.php | 6 +- tests/Services/SearchTest.php | 6 +- .../Settings/BlockedCountriesTest.php | 8 +- .../Settings/SocialMediaButtonsTest.php | 14 +-- .../Services/Settings/WelcomeMessageTest.php | 10 +- tests/Services/SettingsTest.php | 12 +-- .../Services/SharedTrackingLinks/TagsTest.php | 10 +- tests/Services/SharedTrackingLinksTest.php | 8 +- tests/Services/SharedTrialLinks/TagsTest.php | 10 +- tests/Services/SharedTrialLinksTest.php | 8 +- tests/Services/SmartLinkPostbacksTest.php | 12 +-- tests/Services/SmartLinksTest.php | 22 ++--- tests/Services/Statistics/ReachTest.php | 4 +- tests/Services/Statistics/StatementsTest.php | 6 +- tests/Services/StatisticsTest.php | 10 +- tests/Services/StoredTest.php | 12 +-- tests/Services/Stories/HighlightsTest.php | 18 ++-- tests/Services/StoriesTest.php | 20 ++-- tests/Services/SubscribersTest.php | 6 +- tests/Services/TrackingLinks/TagsTest.php | 10 +- tests/Services/TrackingLinksTest.php | 18 ++-- tests/Services/TransactionsTest.php | 6 +- tests/Services/TrialLinks/TagsTest.php | 10 +- tests/Services/TrialLinksTest.php | 18 ++-- tests/Services/UserLists/UsersTest.php | 16 +-- tests/Services/UserListsTest.php | 14 +-- tests/Services/Users/BlockTest.php | 8 +- tests/Services/Users/RestrictTest.php | 8 +- tests/Services/Users/SubscribeTest.php | 8 +- tests/Services/UsersTest.php | 8 +- tests/Services/WebhooksTest.php | 14 +-- tests/Services/WhoamiTest.php | 6 +- 2836 files changed, 17866 insertions(+), 17866 deletions(-) rename src/Core/Exceptions/{OnlyfansapiException.php => OnlyFansAPIException.php} (62%) diff --git a/.stats.yml b/.stats.yml index 858be979..46252709 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ad938f500376cbcae3299507132eab0c74bdb34628abb43b9be1c74bf72b9772.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b9b67bf32f2b519e3230760d49e20c30e66107a6991f1a1f1a108f6c578c2fde.yml openapi_spec_hash: da475361c28b843ddd1b45bbea333762 -config_hash: 91d6546a82dc433b7ba1747dbe1ce4a6 +config_hash: a522aab696c4535f715ae59ddfe8222f diff --git a/README.md b/README.md index 6257c8db..a6b43f8f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Parameters with a default value must be set by name. ```php withName("Joey")`. ### Handling errors -When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `Onlyfansapi\Core\Exceptions\APIException` will be thrown: +When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `OnlyFansAPI\Core\Exceptions\APIException` will be thrown: ```php whoami->retrieve(); @@ -105,7 +105,7 @@ You can use the `maxRetries` option to configure or disable this: ```php 0]); @@ -121,7 +121,7 @@ Request parameters that correspond to file uploads can be passed as a resource r ```php , diff --git a/src/Analytics/Financial/FinancialGetForecastParams/Metric.php b/src/Analytics/Financial/FinancialGetForecastParams/Metric.php index f1f35c73..631be46e 100644 --- a/src/Analytics/Financial/FinancialGetForecastParams/Metric.php +++ b/src/Analytics/Financial/FinancialGetForecastParams/Metric.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastParams; +namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams; /** * The metric to forecast. diff --git a/src/Analytics/Financial/FinancialGetForecastParams/Model.php b/src/Analytics/Financial/FinancialGetForecastParams/Model.php index 2fa4c1e7..6fe991ba 100644 --- a/src/Analytics/Financial/FinancialGetForecastParams/Model.php +++ b/src/Analytics/Financial/FinancialGetForecastParams/Model.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastParams; +namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams; /** * The forecasting model to use. diff --git a/src/Analytics/Financial/FinancialGetForecastResponse.php b/src/Analytics/Financial/FinancialGetForecastResponse.php index bb341f81..b4700697 100644 --- a/src/Analytics/Financial/FinancialGetForecastResponse.php +++ b/src/Analytics/Financial/FinancialGetForecastResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial; +namespace OnlyFansAPI\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse\Forecast; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse\Historical; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse\Forecast; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse\Historical; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ForecastShape from \Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse\Forecast - * @phpstan-import-type HistoricalShape from \Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse\Historical + * @phpstan-import-type ForecastShape from \OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse\Forecast + * @phpstan-import-type HistoricalShape from \OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse\Historical * * @phpstan-type FinancialGetForecastResponseShape = array{ * forecast?: list|null, diff --git a/src/Analytics/Financial/FinancialGetForecastResponse/Forecast.php b/src/Analytics/Financial/FinancialGetForecastResponse/Forecast.php index eda85934..8f2a702a 100644 --- a/src/Analytics/Financial/FinancialGetForecastResponse/Forecast.php +++ b/src/Analytics/Financial/FinancialGetForecastResponse/Forecast.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; +namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ForecastShape = array{date?: string|null, value?: float|null} diff --git a/src/Analytics/Financial/FinancialGetForecastResponse/Historical.php b/src/Analytics/Financial/FinancialGetForecastResponse/Historical.php index bd3e3f65..b597cb5e 100644 --- a/src/Analytics/Financial/FinancialGetForecastResponse/Historical.php +++ b/src/Analytics/Financial/FinancialGetForecastResponse/Historical.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; +namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HistoricalShape = array{date?: string|null, value?: float|null} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryParams.php b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryParams.php index 9ae29b89..cc759ebe 100644 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryParams.php +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Profitability; +namespace OnlyFansAPI\Analytics\Financial\Profitability; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get historical profitability data for a specific account over multiple months. * - * @see Onlyfansapi\Services\Analytics\Financial\ProfitabilityService::getHistory() + * @see OnlyFansAPI\Services\Analytics\Financial\ProfitabilityService::getHistory() * * @phpstan-type ProfitabilityGetHistoryParamsShape = array{ * accountPrefixedID: string, months?: int|null diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php index ce67005f..c5580158 100644 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Profitability; +namespace OnlyFansAPI\Analytics\Financial\Profitability; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ProfitabilityGetHistoryResponseItemShape = array{ diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityParams.php b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityParams.php index 5ada5349..e0e7669d 100644 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityParams.php +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Profitability; +namespace OnlyFansAPI\Analytics\Financial\Profitability; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Calculate profitability for creators including revenue, costs, commissions, and margins for a specific month. * - * @see Onlyfansapi\Services\Analytics\Financial\ProfitabilityService::getProfitability() + * @see OnlyFansAPI\Services\Analytics\Financial\ProfitabilityService::getProfitability() * * @phpstan-type ProfitabilityGetProfitabilityParamsShape = array{ * accountIDs: list, month: int, year: int diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php index 6c0a5a46..58ba9bb6 100644 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Profitability; +namespace OnlyFansAPI\Analytics\Financial\Profitability; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ProfitabilityGetProfitabilityResponseItemShape = array{ diff --git a/src/Analytics/Financial/Transactions/TransactionGetByTypeParams.php b/src/Analytics/Financial/Transactions/TransactionGetByTypeParams.php index 378bb66f..5b86042b 100644 --- a/src/Analytics/Financial/Transactions/TransactionGetByTypeParams.php +++ b/src/Analytics/Financial/Transactions/TransactionGetByTypeParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Transactions; +namespace OnlyFansAPI\Analytics\Financial\Transactions; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get transaction totals grouped by transaction type (subscriptions, tips, messages, etc.). * - * @see Onlyfansapi\Services\Analytics\Financial\TransactionsService::getByType() + * @see OnlyFansAPI\Services\Analytics\Financial\TransactionsService::getByType() * * @phpstan-type TransactionGetByTypeParamsShape = array{ * accountIDs: list, endDate: string, startDate: string diff --git a/src/Analytics/Financial/Transactions/TransactionGetByTypeResponseItem.php b/src/Analytics/Financial/Transactions/TransactionGetByTypeResponseItem.php index 41e4c297..85bcae4b 100644 --- a/src/Analytics/Financial/Transactions/TransactionGetByTypeResponseItem.php +++ b/src/Analytics/Financial/Transactions/TransactionGetByTypeResponseItem.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Transactions; +namespace OnlyFansAPI\Analytics\Financial\Transactions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TransactionGetByTypeResponseItemShape = array{ diff --git a/src/Analytics/Financial/Transactions/TransactionGetSummaryParams.php b/src/Analytics/Financial/Transactions/TransactionGetSummaryParams.php index 790fe301..456c9a0a 100644 --- a/src/Analytics/Financial/Transactions/TransactionGetSummaryParams.php +++ b/src/Analytics/Financial/Transactions/TransactionGetSummaryParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Transactions; +namespace OnlyFansAPI\Analytics\Financial\Transactions; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get transaction summary including counts for succeeded, refunded, and disputed transactions, plus gross, net, and fee totals. * - * @see Onlyfansapi\Services\Analytics\Financial\TransactionsService::getSummary() + * @see OnlyFansAPI\Services\Analytics\Financial\TransactionsService::getSummary() * * @phpstan-type TransactionGetSummaryParamsShape = array{ * accountIDs: list, endDate: string, startDate: string diff --git a/src/Analytics/Financial/Transactions/TransactionGetSummaryResponse.php b/src/Analytics/Financial/Transactions/TransactionGetSummaryResponse.php index 5d48476f..8c549c34 100644 --- a/src/Analytics/Financial/Transactions/TransactionGetSummaryResponse.php +++ b/src/Analytics/Financial/Transactions/TransactionGetSummaryResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Financial\Transactions; +namespace OnlyFansAPI\Analytics\Financial\Transactions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TransactionGetSummaryResponseShape = array{ diff --git a/src/Analytics/Summary/SummaryGetEarningsOverviewParams.php b/src/Analytics/Summary/SummaryGetEarningsOverviewParams.php index 4f754ff1..b13f7b41 100644 --- a/src/Analytics/Summary/SummaryGetEarningsOverviewParams.php +++ b/src/Analytics/Summary/SummaryGetEarningsOverviewParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; +namespace OnlyFansAPI\Analytics\Summary; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get earnings overview by category for selected accounts within a date range. Returns total earnings, subscriptions, posts, messages, tips, streams, and content stats. * - * @see Onlyfansapi\Services\Analytics\SummaryService::getEarningsOverview() + * @see OnlyFansAPI\Services\Analytics\SummaryService::getEarningsOverview() * * @phpstan-type SummaryGetEarningsOverviewParamsShape = array{ * accountIDs: list, endDate: string, startDate: string diff --git a/src/Analytics/Summary/SummaryGetEarningsOverviewResponse.php b/src/Analytics/Summary/SummaryGetEarningsOverviewResponse.php index 83c82208..6c41cd6a 100644 --- a/src/Analytics/Summary/SummaryGetEarningsOverviewResponse.php +++ b/src/Analytics/Summary/SummaryGetEarningsOverviewResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; +namespace OnlyFansAPI\Analytics\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryGetEarningsOverviewResponseShape = array{ diff --git a/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams.php b/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams.php index 4b522903..31e6c820 100644 --- a/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams.php +++ b/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; +namespace OnlyFansAPI\Analytics\Summary; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get historical earnings chart data for the team. Returns monthly aggregated revenue data for the specified time range. * - * @see Onlyfansapi\Services\Analytics\SummaryService::getHistoricalPerformance() + * @see OnlyFansAPI\Services\Analytics\SummaryService::getHistoricalPerformance() * * @phpstan-type SummaryGetHistoricalPerformanceParamsShape = array{ * timeRange?: null|TimeRange|value-of diff --git a/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams/TimeRange.php b/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams/TimeRange.php index 777e2a9e..d1230101 100644 --- a/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams/TimeRange.php +++ b/src/Analytics/Summary/SummaryGetHistoricalPerformanceParams/TimeRange.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams; /** * The time range for historical data. diff --git a/src/Analytics/Summary/SummaryGetHistoricalPerformanceResponseItem.php b/src/Analytics/Summary/SummaryGetHistoricalPerformanceResponseItem.php index 9c10b946..a604aa03 100644 --- a/src/Analytics/Summary/SummaryGetHistoricalPerformanceResponseItem.php +++ b/src/Analytics/Summary/SummaryGetHistoricalPerformanceResponseItem.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; +namespace OnlyFansAPI\Analytics\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryGetHistoricalPerformanceResponseItemShape = array{ diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonParams.php b/src/Analytics/Summary/SummaryGetPeriodComparisonParams.php index dbbcc219..4043feb7 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonParams.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonParams.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; - -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +namespace OnlyFansAPI\Analytics\Summary; + +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Compare two time periods to analyze performance changes. Returns summary, breakdown, and chart data for the comparison. * - * @see Onlyfansapi\Services\Analytics\SummaryService::getPeriodComparison() + * @see OnlyFansAPI\Services\Analytics\SummaryService::getPeriodComparison() * - * @phpstan-import-type PeriodAShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA - * @phpstan-import-type PeriodBShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB + * @phpstan-import-type PeriodAShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA + * @phpstan-import-type PeriodBShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB * * @phpstan-type SummaryGetPeriodComparisonParamsShape = array{ * accountIDs: list, diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/Granularity.php b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/Granularity.php index 8e38229d..5855d876 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/Granularity.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/Granularity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; /** * Comparison granularity. diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodA.php b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodA.php index 13264d59..51af838f 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodA.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodA.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * First period to compare. diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodB.php b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodB.php index d5bca042..45b0659c 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodB.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/PeriodB.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Second period to compare. diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/StatType.php b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/StatType.php index 1450404c..737025ac 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonParams/StatType.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonParams/StatType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; /** * The statistic type to compare. diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonResponse.php b/src/Analytics/Summary/SummaryGetPeriodComparisonResponse.php index 94aab1f3..4732fc74 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonResponse.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary; +namespace OnlyFansAPI\Analytics\Summary; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type SummaryShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse\Summary + * @phpstan-import-type SummaryShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse\Summary * * @phpstan-type SummaryGetPeriodComparisonResponseShape = array{ * breakdown?: list|null, diff --git a/src/Analytics/Summary/SummaryGetPeriodComparisonResponse/Summary.php b/src/Analytics/Summary/SummaryGetPeriodComparisonResponse/Summary.php index ed625439..f1cb67f9 100644 --- a/src/Analytics/Summary/SummaryGetPeriodComparisonResponse/Summary.php +++ b/src/Analytics/Summary/SummaryGetPeriodComparisonResponse/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; +namespace OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/Authenticate/AuthenticatePollStatusResponse.php b/src/Authenticate/AuthenticatePollStatusResponse.php index 33e1254d..04568414 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse.php +++ b/src/Authenticate/AuthenticatePollStatusResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\LastAttempt; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\LastAttempt; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AccountShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account - * @phpstan-import-type LastAttemptShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\LastAttempt + * @phpstan-import-type AccountShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account + * @phpstan-import-type LastAttemptShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\LastAttempt * * @phpstan-type AuthenticatePollStatusResponseShape = array{ * account?: null|Account|AccountShape, diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account.php b/src/Authenticate/AuthenticatePollStatusResponse/Account.php index 5cbf911d..a73664bd 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type OnlyfansDataShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData + * @phpstan-import-type OnlyfansDataShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData * * @phpstan-type AccountShape = array{ * id?: string|null, diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData.php index 92dd5bd2..6f693d8f 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\AgeVerificationSession; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\HasNewTicketReplies; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\AgeVerificationSession; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\HasNewTicketReplies; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AgeVerificationSessionShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\AgeVerificationSession - * @phpstan-import-type HasNewTicketRepliesShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\HasNewTicketReplies - * @phpstan-import-type UploadShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload + * @phpstan-import-type AgeVerificationSessionShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\AgeVerificationSession + * @phpstan-import-type HasNewTicketRepliesShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\HasNewTicketReplies + * @phpstan-import-type UploadShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload * * @phpstan-type OnlyfansDataShape = array{ * id?: int|null, diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/AgeVerificationSession.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/AgeVerificationSession.php index 7ecc3a0c..2fa71c2a 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/AgeVerificationSession.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/AgeVerificationSession.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AgeVerificationSessionShape = array{ diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/HasNewTicketReplies.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/HasNewTicketReplies.php index ac536d6c..8253d4c3 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/HasNewTicketReplies.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/HasNewTicketReplies.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HasNewTicketRepliesShape = array{ diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload.php index 44afb9d7..6b88af9a 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type GeoUploadArgsShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs + * @phpstan-import-type GeoUploadArgsShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs * * @phpstan-type UploadShape = array{ * geoUploadArgs?: null|GeoUploadArgs|GeoUploadArgsShape diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs.php index 0f7c2a55..41208853 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs\Additional; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs\Additional; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AdditionalShape from \Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs\Additional + * @phpstan-import-type AdditionalShape from \OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs\Additional * * @phpstan-type GeoUploadArgsShape = array{ * additional?: null|Additional|AdditionalShape, diff --git a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs/Additional.php b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs/Additional.php index c78a3ad4..0095a748 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs/Additional.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/Account/OnlyfansData/Upload/GeoUploadArgs/Additional.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse\Account\OnlyfansData\Upload\GeoUploadArgs; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AdditionalShape = array{user?: string|null} diff --git a/src/Authenticate/AuthenticatePollStatusResponse/LastAttempt.php b/src/Authenticate/AuthenticatePollStatusResponse/LastAttempt.php index 3fa751c4..31d89a64 100644 --- a/src/Authenticate/AuthenticatePollStatusResponse/LastAttempt.php +++ b/src/Authenticate/AuthenticatePollStatusResponse/LastAttempt.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; +namespace OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LastAttemptShape = array{ diff --git a/src/Authenticate/AuthenticateReauthenticateResponse.php b/src/Authenticate/AuthenticateReauthenticateResponse.php index 31c00104..97d46234 100644 --- a/src/Authenticate/AuthenticateReauthenticateResponse.php +++ b/src/Authenticate/AuthenticateReauthenticateResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AuthenticateReauthenticateResponseShape = array{ diff --git a/src/Authenticate/AuthenticateSend2faEmailResponse.php b/src/Authenticate/AuthenticateSend2faEmailResponse.php index f9257010..81f2f018 100644 --- a/src/Authenticate/AuthenticateSend2faEmailResponse.php +++ b/src/Authenticate/AuthenticateSend2faEmailResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AuthenticateSend2faEmailResponseShape = array{ diff --git a/src/Authenticate/AuthenticateStartParams.php b/src/Authenticate/AuthenticateStartParams.php index 8c4988b2..fc692544 100644 --- a/src/Authenticate/AuthenticateStartParams.php +++ b/src/Authenticate/AuthenticateStartParams.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Authenticate\AuthenticateStartParams\AuthType; -use Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy; -use Onlyfansapi\Authenticate\AuthenticateStartParams\ProxyCountry; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\AuthType; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\ProxyCountry; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Start the authentication process for a new account. Supports three methods: email/password (default), cookies & headers (raw_data), or FansAPI Auth+ mobile app (mobile_app). For email/password, our systems will bypass Captcha and ask you for 2FA if required. For raw_data, provide session cookies directly for instant authentication. For mobile_app, the response includes a `mobile_auth_session_deeplink` that the creator opens on their phone (or scans as a QR code) to complete authentication via the FansAPI Auth+ mobile app. All credentials are stored securely and encrypted at rest. * - * @see Onlyfansapi\Services\AuthenticateService::start() + * @see OnlyFansAPI\Services\AuthenticateService::start() * - * @phpstan-import-type CustomProxyShape from \Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy + * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy * * @phpstan-type AuthenticateStartParamsShape = array{ * authID?: string|null, diff --git a/src/Authenticate/AuthenticateStartParams/AuthType.php b/src/Authenticate/AuthenticateStartParams/AuthType.php index 48c225ce..878e76a9 100644 --- a/src/Authenticate/AuthenticateStartParams/AuthType.php +++ b/src/Authenticate/AuthenticateStartParams/AuthType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticateStartParams; +namespace OnlyFansAPI\Authenticate\AuthenticateStartParams; /** * The authentication method to use. Defaults to `email_password` if omitted. Use `mobile_app` to authenticate via the FansAPI Auth+ mobile app (no credential fields required). diff --git a/src/Authenticate/AuthenticateStartParams/CustomProxy.php b/src/Authenticate/AuthenticateStartParams/CustomProxy.php index fa6fac1b..8d11af40 100644 --- a/src/Authenticate/AuthenticateStartParams/CustomProxy.php +++ b/src/Authenticate/AuthenticateStartParams/CustomProxy.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticateStartParams; +namespace OnlyFansAPI\Authenticate\AuthenticateStartParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Custom proxy configuration. Cannot be used together with proxyCountry. diff --git a/src/Authenticate/AuthenticateStartParams/ProxyCountry.php b/src/Authenticate/AuthenticateStartParams/ProxyCountry.php index ca258bf6..861bcdc0 100644 --- a/src/Authenticate/AuthenticateStartParams/ProxyCountry.php +++ b/src/Authenticate/AuthenticateStartParams/ProxyCountry.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticateStartParams; +namespace OnlyFansAPI\Authenticate\AuthenticateStartParams; /** * The country of the managed proxy server you want to use. Eg. "us" for United States. Cannot be used together with customProxy. diff --git a/src/Authenticate/AuthenticateStartResponse.php b/src/Authenticate/AuthenticateStartResponse.php index ffb9528b..c487ace5 100644 --- a/src/Authenticate/AuthenticateStartResponse.php +++ b/src/Authenticate/AuthenticateStartResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1; -use Onlyfansapi\Core\Concerns\SdkUnion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1; +use OnlyFansAPI\Core\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; /** * For email_password or raw_data auth types. * - * @phpstan-import-type UnionMember0Shape from \Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0 - * @phpstan-import-type UnionMember1Shape from \Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1 + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1 * * @phpstan-type AuthenticateStartResponseVariants = UnionMember0|UnionMember1 * @phpstan-type AuthenticateStartResponseShape = AuthenticateStartResponseVariants|UnionMember0Shape|UnionMember1Shape diff --git a/src/Authenticate/AuthenticateStartResponse/UnionMember0.php b/src/Authenticate/AuthenticateStartResponse/UnionMember0.php index f22f9d35..9b03ad9c 100644 --- a/src/Authenticate/AuthenticateStartResponse/UnionMember0.php +++ b/src/Authenticate/AuthenticateStartResponse/UnionMember0.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticateStartResponse; +namespace OnlyFansAPI\Authenticate\AuthenticateStartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * For email_password or raw_data auth types. diff --git a/src/Authenticate/AuthenticateStartResponse/UnionMember1.php b/src/Authenticate/AuthenticateStartResponse/UnionMember1.php index 6aa3bc0b..8935d714 100644 --- a/src/Authenticate/AuthenticateStartResponse/UnionMember1.php +++ b/src/Authenticate/AuthenticateStartResponse/UnionMember1.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate\AuthenticateStartResponse; +namespace OnlyFansAPI\Authenticate\AuthenticateStartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * For mobile_app auth type — includes the session code to scan with the FansAPI Auth+ app. diff --git a/src/Authenticate/AuthenticateSubmit2faParams.php b/src/Authenticate/AuthenticateSubmit2faParams.php index 43fd8186..b4af80ac 100644 --- a/src/Authenticate/AuthenticateSubmit2faParams.php +++ b/src/Authenticate/AuthenticateSubmit2faParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Submit the 2FA code, or Selfie Verification status, for the authentication process. * - * @see Onlyfansapi\Services\AuthenticateService::submit2fa() + * @see OnlyFansAPI\Services\AuthenticateService::submit2fa() * * @phpstan-type AuthenticateSubmit2faParamsShape = array{ * code?: string|null, selfieVerificationCompleted?: mixed diff --git a/src/Authenticate/AuthenticateSubmit2faResponse.php b/src/Authenticate/AuthenticateSubmit2faResponse.php index 97240d9a..1dee22f5 100644 --- a/src/Authenticate/AuthenticateSubmit2faResponse.php +++ b/src/Authenticate/AuthenticateSubmit2faResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Authenticate; +namespace OnlyFansAPI\Authenticate; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AuthenticateSubmit2faResponseShape = array{message?: string|null} diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse.php b/src/Banking/BankingListAvailablePayoutSystemsResponse.php index a0fcb8a9..13361d13 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking; +namespace OnlyFansAPI\Banking; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\Data * * @phpstan-type BankingListAvailablePayoutSystemsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/Data.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/Data.php index 05ba6248..78755e17 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/Data.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\Data\Payout; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\Data\Payout; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type PayoutShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\Data\Payout + * @phpstan-import-type PayoutShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\Data\Payout * * @phpstan-type DataShape = array{ * payoutCode?: string|null, payouts?: list|null diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/Data/Payout.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/Data/Payout.php index 0d05bf7c..bb6bd214 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/Data/Payout.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/Data/Payout.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\Data; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PayoutShape = array{ diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta.php index 2b8fcddf..a82ce45c 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Cache; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Credits; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Cache.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Cache.php index 4acf7b20..19a1e091 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Cache.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Credits.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Credits.php index 8b71f3e0..9099548c 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Credits.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_RateLimits.php b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_RateLimits.php index 88b90ec2..fb28b508 100644 --- a/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_RateLimits.php +++ b/src/Banking/BankingListAvailablePayoutSystemsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/BankingListCountriesResponse.php b/src/Banking/BankingListCountriesResponse.php index dbb68bb6..ef89d035 100644 --- a/src/Banking/BankingListCountriesResponse.php +++ b/src/Banking/BankingListCountriesResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking; +namespace OnlyFansAPI\Banking; -use Onlyfansapi\Banking\BankingListCountriesResponse\_Meta; -use Onlyfansapi\Banking\BankingListCountriesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta; +use OnlyFansAPI\Banking\BankingListCountriesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\BankingListCountriesResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\BankingListCountriesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\BankingListCountriesResponse\Data * * @phpstan-type BankingListCountriesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Banking/BankingListCountriesResponse/Data.php b/src/Banking/BankingListCountriesResponse/Data.php index 3fc9ddbd..7aa91d1a 100644 --- a/src/Banking/BankingListCountriesResponse/Data.php +++ b/src/Banking/BankingListCountriesResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListCountriesResponse; +namespace OnlyFansAPI\Banking\BankingListCountriesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Banking/BankingListCountriesResponse/_Meta.php b/src/Banking/BankingListCountriesResponse/_Meta.php index 0ac2f006..6281c74e 100644 --- a/src/Banking/BankingListCountriesResponse/_Meta.php +++ b/src/Banking/BankingListCountriesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListCountriesResponse; +namespace OnlyFansAPI\Banking\BankingListCountriesResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_Cache; -use Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_Credits; -use Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\BankingListCountriesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/BankingListCountriesResponse/_Meta/_Cache.php b/src/Banking/BankingListCountriesResponse/_Meta/_Cache.php index cdf6cf11..b4e6a207 100644 --- a/src/Banking/BankingListCountriesResponse/_Meta/_Cache.php +++ b/src/Banking/BankingListCountriesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListCountriesResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/BankingListCountriesResponse/_Meta/_Credits.php b/src/Banking/BankingListCountriesResponse/_Meta/_Credits.php index 60ae76f6..e5f8b2b5 100644 --- a/src/Banking/BankingListCountriesResponse/_Meta/_Credits.php +++ b/src/Banking/BankingListCountriesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListCountriesResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/BankingListCountriesResponse/_Meta/_RateLimits.php b/src/Banking/BankingListCountriesResponse/_Meta/_RateLimits.php index ce8e0145..530658d2 100644 --- a/src/Banking/BankingListCountriesResponse/_Meta/_RateLimits.php +++ b/src/Banking/BankingListCountriesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\BankingListCountriesResponse\_Meta; +namespace OnlyFansAPI\Banking\BankingListCountriesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse.php index 9598a550..9f5872cc 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details; +namespace OnlyFansAPI\Banking\Details; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\Data * * @phpstan-type DetailGetAccountCountryDetailsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/Data.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/Data.php index bc8a05db..a68b5c90 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/Data.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta.php index c423f381..453bcc4f 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Cache; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Credits; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Cache.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Cache.php index eded3c61..435f38f2 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Cache.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Credits.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Credits.php index 50589f92..f3b51814 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Credits.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_RateLimits.php b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_RateLimits.php index cd5fe7b3..4223f5f2 100644 --- a/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_RateLimits.php +++ b/src/Banking/Details/DetailGetAccountCountryDetailsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/Details/DetailGetBankDetailsResponse.php b/src/Banking/Details/DetailGetBankDetailsResponse.php index 6e488d23..5d07d466 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details; +namespace OnlyFansAPI\Banking\Details; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data * * @phpstan-type DetailGetBankDetailsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data.php index f9604431..416e1e26 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type PayoutShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout + * @phpstan-import-type PayoutShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout * * @phpstan-type DataShape = array{ * isPayoutDataFilled?: bool|null, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout.php index f3cb7252..f4cbadef 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FieldsShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields - * @phpstan-import-type UiMappingShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping + * @phpstan-import-type FieldsShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields + * @phpstan-import-type UiMappingShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping * * @phpstan-type PayoutShape = array{ * code?: string|null, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields.php index 6f76fb0c..6ac42403 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; - -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; + +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AddressShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address - * @phpstan-import-type BankNameShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName - * @phpstan-import-type BicShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic - * @phpstan-import-type CityShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City - * @phpstan-import-type CountryShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country - * @phpstan-import-type FirstNameShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName - * @phpstan-import-type IbanShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban - * @phpstan-import-type LastNameShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName - * @phpstan-import-type PostalShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal + * @phpstan-import-type AddressShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address + * @phpstan-import-type BankNameShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName + * @phpstan-import-type BicShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic + * @phpstan-import-type CityShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City + * @phpstan-import-type CountryShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country + * @phpstan-import-type FirstNameShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName + * @phpstan-import-type IbanShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban + * @phpstan-import-type LastNameShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName + * @phpstan-import-type PostalShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal * * @phpstan-type FieldsShape = array{ * address?: null|Address|AddressShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address.php index 95347981..3a171bd0 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address\Label * * @phpstan-type AddressShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address/Label.php index 23d25e40..fa0c5a31 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Address/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Address; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName.php index 246c7274..73b62dd8 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName\Label * * @phpstan-type BankNameShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName/Label.php index bfdf2f6e..834d139b 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/BankName/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\BankName; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic.php index d123397f..1ba4e717 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic\Label * * @phpstan-type BicShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic/Label.php index 44c14245..8c66c381 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Bic/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Bic; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City.php index 7bbcfd56..ad34dd70 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City\Label * * @phpstan-type CityShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City/Label.php index 268c26e5..6f0d7998 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/City/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\City; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country.php index 3076923d..37751868 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country\Label * * @phpstan-type CountryShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country/Label.php index cc33bd54..af17fd02 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Country/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Country; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName.php index 05df77b7..97899d20 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Label; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Label; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Label - * @phpstan-import-type OninputShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Label + * @phpstan-import-type OninputShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput * * @phpstan-type FirstNameShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Label.php index 55f49c68..4c628591 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput.php index a93bf039..889ae40f 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput\Replace; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput\Replace; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ReplaceShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput\Replace + * @phpstan-import-type ReplaceShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput\Replace * * @phpstan-type OninputShape = array{replace?: null|Replace|ReplaceShape} */ diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput/Replace.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput/Replace.php index c510aff1..3a199d51 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput/Replace.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/FirstName/Oninput/Replace.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\FirstName\Oninput; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ReplaceShape = array{flag?: string|null, pattern?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban.php index c8978876..8a006e40 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Label; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Regex; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Label; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Regex; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Label - * @phpstan-import-type RegexShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Regex + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Label + * @phpstan-import-type RegexShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban\Regex * * @phpstan-type IbanShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Label.php index 7ebfb12a..203e2f45 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Regex.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Regex.php index d49fa539..60e2bcaf 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Regex.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Iban/Regex.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Iban; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RegexShape = array{flag?: string|null, pattern?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName.php index c00a7eff..d88ec2d7 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Label; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Label; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Label - * @phpstan-import-type OninputShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Label + * @phpstan-import-type OninputShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput * * @phpstan-type LastNameShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Label.php index 29ae2d46..cd592435 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput.php index 0b745ea3..d78d075c 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput\Replace; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput\Replace; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ReplaceShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput\Replace + * @phpstan-import-type ReplaceShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput\Replace * * @phpstan-type OninputShape = array{replace?: null|Replace|ReplaceShape} */ diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput/Replace.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput/Replace.php index 135acf46..6fb38ed7 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput/Replace.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/LastName/Oninput/Replace.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\LastName\Oninput; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ReplaceShape = array{flag?: string|null, pattern?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal.php index 8075ed3e..6dc47b35 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal\Label; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal\Label; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type LabelShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal\Label + * @phpstan-import-type LabelShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal\Label * * @phpstan-type PostalShape = array{ * label?: null|Label|LabelShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal/Label.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal/Label.php index da440515..c0bb516d 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal/Label.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/Fields/Postal/Label.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\Fields\Postal; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping.php index cc74a879..1a9dcf47 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\BtnSubmit; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Title; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\BtnSubmit; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Title; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AlertShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert - * @phpstan-import-type BtnSubmitShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\BtnSubmit - * @phpstan-import-type TitleShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Title + * @phpstan-import-type AlertShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert + * @phpstan-import-type BtnSubmitShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\BtnSubmit + * @phpstan-import-type TitleShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Title * * @phpstan-type UiMappingShape = array{ * alert?: null|Alert|AlertShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert.php index b8607ae9..8e71a26b 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert\Text; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert\Text; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type TextShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert\Text + * @phpstan-import-type TextShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert\Text * * @phpstan-type AlertShape = array{ * class?: string|null, text?: null|Text|TextShape diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert/Text.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert/Text.php index c808bc3b..b0036d86 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert/Text.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Alert/Text.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping\Alert; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TextShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/BtnSubmit.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/BtnSubmit.php index 97a33999..221e5798 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/BtnSubmit.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/BtnSubmit.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type BtnSubmitShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Title.php b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Title.php index b4891e3c..7a539582 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Title.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/Data/Payout/UiMapping/Title.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\Data\Payout\UiMapping; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TitleShape = array{key?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta.php b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta.php index b63d4e4d..76b5471e 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Cache; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Credits; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Cache.php b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Cache.php index 65809147..2f96352d 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Cache.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Credits.php b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Credits.php index ff3b0ec4..35abd2d9 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Credits.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_RateLimits.php b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_RateLimits.php index ce3672bb..5d0cd1d3 100644 --- a/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_RateLimits.php +++ b/src/Banking/Details/DetailGetBankDetailsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse.php index 3c6dd957..d5b030ca 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details; +namespace OnlyFansAPI\Banking\Details; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\Data * * @phpstan-type DetailGetDac7FormDetailsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse/Data.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse/Data.php index c5786234..e2ee0962 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse/Data.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta.php index 1c78b772..01e572ff 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Cache; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Credits; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Cache.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Cache.php index 765f643b..6f20aea4 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Cache.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Credits.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Credits.php index d3001f02..2773d355 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Credits.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_RateLimits.php b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_RateLimits.php index 45ddf745..601d7138 100644 --- a/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_RateLimits.php +++ b/src/Banking/Details/DetailGetDac7FormDetailsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse.php index 7fa5d65a..3158acb2 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details; +namespace OnlyFansAPI\Banking\Details; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data * * @phpstan-type DetailGetLegalAndTaxStatusResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data.php index d481ceb3..881d6851 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Dac7; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Tax; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Dac7; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Tax; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type Dac7Shape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Dac7 - * @phpstan-import-type TaxShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Tax + * @phpstan-import-type Dac7Shape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Dac7 + * @phpstan-import-type TaxShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data\Tax * * @phpstan-type DataShape = array{ * canChangePayoutType?: bool|null, diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Dac7.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Dac7.php index 3da293f9..52a015ba 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Dac7.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Dac7.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type Dac7Shape = array{ diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Tax.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Tax.php index bffe9c67..97f5ddf4 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Tax.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/Data/Tax.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TaxShape = array{ diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta.php index d99e7903..9ca4a229 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Cache; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Credits; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Cache.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Cache.php index 13e66d65..e5774174 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Cache.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Credits.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Credits.php index 12b2b373..db95d1b9 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Credits.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_RateLimits.php b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_RateLimits.php index 26aad909..8ff5d263 100644 --- a/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_RateLimits.php +++ b/src/Banking/Details/DetailGetLegalAndTaxStatusResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse.php index 10302399..13796e54 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details; +namespace OnlyFansAPI\Banking\Details; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data * * @phpstan-type DetailGetLegalFormDetailsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data.php index ee0ce218..54b16ab1 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type DocumentTypeShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType + * @phpstan-import-type DocumentTypeShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType * * @phpstan-type DataShape = array{ * dateOfBirth?: string|null, diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType.php index f6604405..00b294fa 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType\Value; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType\Value; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ValueShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType\Value + * @phpstan-import-type ValueShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType\Value * * @phpstan-type DocumentTypeShape = array{values?: list|null} */ diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType/Value.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType/Value.php index 7976498a..3d22a4d0 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType/Value.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/Data/DocumentType/Value.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\Data\DocumentType; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ValueShape = array{code?: string|null, name?: string|null} diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta.php index 6acd2b49..b5471ed3 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Cache; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Credits; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Cache; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Credits; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Cache.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Cache.php index 501bb1d3..321cc4cb 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Cache.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Credits.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Credits.php index 790e1630..3267b7b7 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Credits.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_RateLimits.php b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_RateLimits.php index ebb52dc1..85367495 100644 --- a/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_RateLimits.php +++ b/src/Banking/Details/DetailGetLegalFormDetailsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; +namespace OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Bundles/BundleCreateParams.php b/src/Bundles/BundleCreateParams.php index c8f4cfaf..dcaf115b 100644 --- a/src/Bundles/BundleCreateParams.php +++ b/src/Bundles/BundleCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles; +namespace OnlyFansAPI\Bundles; -use Onlyfansapi\Bundles\BundleCreateParams\Discount; -use Onlyfansapi\Bundles\BundleCreateParams\Duration; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleCreateParams\Discount; +use OnlyFansAPI\Bundles\BundleCreateParams\Duration; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new bundle for the account. * - * @see Onlyfansapi\Services\BundlesService::create() + * @see OnlyFansAPI\Services\BundlesService::create() * * @phpstan-type BundleCreateParamsShape = array{ * discount: Discount|value-of, duration: Duration|value-of diff --git a/src/Bundles/BundleCreateParams/Discount.php b/src/Bundles/BundleCreateParams/Discount.php index 33e7f371..6d78071c 100644 --- a/src/Bundles/BundleCreateParams/Discount.php +++ b/src/Bundles/BundleCreateParams/Discount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleCreateParams; +namespace OnlyFansAPI\Bundles\BundleCreateParams; /** * The bundle's discount percentage. diff --git a/src/Bundles/BundleCreateParams/Duration.php b/src/Bundles/BundleCreateParams/Duration.php index 1d0bcd97..997976e8 100644 --- a/src/Bundles/BundleCreateParams/Duration.php +++ b/src/Bundles/BundleCreateParams/Duration.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleCreateParams; +namespace OnlyFansAPI\Bundles\BundleCreateParams; /** * The bundle's duration in months. diff --git a/src/Bundles/BundleDeleteParams.php b/src/Bundles/BundleDeleteParams.php index b63e9658..dfc0eb84 100644 --- a/src/Bundles/BundleDeleteParams.php +++ b/src/Bundles/BundleDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles; +namespace OnlyFansAPI\Bundles; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a bundle for the account. * - * @see Onlyfansapi\Services\BundlesService::delete() + * @see OnlyFansAPI\Services\BundlesService::delete() * * @phpstan-type BundleDeleteParamsShape = array{account: string} */ diff --git a/src/Bundles/BundleDeleteResponse.php b/src/Bundles/BundleDeleteResponse.php index 951c7bd3..875ca825 100644 --- a/src/Bundles/BundleDeleteResponse.php +++ b/src/Bundles/BundleDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles; +namespace OnlyFansAPI\Bundles; -use Onlyfansapi\Bundles\BundleDeleteResponse\_Meta; -use Onlyfansapi\Bundles\BundleDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta; +use OnlyFansAPI\Bundles\BundleDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Bundles\BundleDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Bundles\BundleDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Bundles\BundleDeleteResponse\Data * * @phpstan-type BundleDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Bundles/BundleDeleteResponse/Data.php b/src/Bundles/BundleDeleteResponse/Data.php index 70cd7773..810cf438 100644 --- a/src/Bundles/BundleDeleteResponse/Data.php +++ b/src/Bundles/BundleDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleDeleteResponse; +namespace OnlyFansAPI\Bundles\BundleDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Bundles/BundleDeleteResponse/_Meta.php b/src/Bundles/BundleDeleteResponse/_Meta.php index 09819d2e..7f5badcf 100644 --- a/src/Bundles/BundleDeleteResponse/_Meta.php +++ b/src/Bundles/BundleDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleDeleteResponse; +namespace OnlyFansAPI\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Bundles\BundleDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Bundles/BundleDeleteResponse/_Meta/_Cache.php b/src/Bundles/BundleDeleteResponse/_Meta/_Cache.php index 711a738e..b9bd3272 100644 --- a/src/Bundles/BundleDeleteResponse/_Meta/_Cache.php +++ b/src/Bundles/BundleDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleDeleteResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Bundles/BundleDeleteResponse/_Meta/_Credits.php b/src/Bundles/BundleDeleteResponse/_Meta/_Credits.php index 85a88ead..2e80432d 100644 --- a/src/Bundles/BundleDeleteResponse/_Meta/_Credits.php +++ b/src/Bundles/BundleDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleDeleteResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Bundles/BundleDeleteResponse/_Meta/_RateLimits.php b/src/Bundles/BundleDeleteResponse/_Meta/_RateLimits.php index ef865c4d..337b87e0 100644 --- a/src/Bundles/BundleDeleteResponse/_Meta/_RateLimits.php +++ b/src/Bundles/BundleDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleDeleteResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Bundles/BundleListResponse.php b/src/Bundles/BundleListResponse.php index 34765722..6a4cac4e 100644 --- a/src/Bundles/BundleListResponse.php +++ b/src/Bundles/BundleListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles; +namespace OnlyFansAPI\Bundles; -use Onlyfansapi\Bundles\BundleListResponse\_Meta; -use Onlyfansapi\Bundles\BundleListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleListResponse\_Meta; +use OnlyFansAPI\Bundles\BundleListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Bundles\BundleListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Bundles\BundleListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Bundles\BundleListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Bundles\BundleListResponse\Data * * @phpstan-type BundleListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Bundles/BundleListResponse/Data.php b/src/Bundles/BundleListResponse/Data.php index 9969cf82..f6bd381d 100644 --- a/src/Bundles/BundleListResponse/Data.php +++ b/src/Bundles/BundleListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleListResponse; +namespace OnlyFansAPI\Bundles\BundleListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Bundles/BundleListResponse/_Meta.php b/src/Bundles/BundleListResponse/_Meta.php index 7b702da0..6d75b55b 100644 --- a/src/Bundles/BundleListResponse/_Meta.php +++ b/src/Bundles/BundleListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleListResponse; +namespace OnlyFansAPI\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleListResponse\_Meta\_Cache; -use Onlyfansapi\Bundles\BundleListResponse\_Meta\_Credits; -use Onlyfansapi\Bundles\BundleListResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleListResponse\_Meta\_Cache; +use OnlyFansAPI\Bundles\BundleListResponse\_Meta\_Credits; +use OnlyFansAPI\Bundles\BundleListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Bundles\BundleListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Bundles\BundleListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Bundles\BundleListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Bundles\BundleListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Bundles\BundleListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Bundles\BundleListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Bundles/BundleListResponse/_Meta/_Cache.php b/src/Bundles/BundleListResponse/_Meta/_Cache.php index 1c73dfa8..6a569eef 100644 --- a/src/Bundles/BundleListResponse/_Meta/_Cache.php +++ b/src/Bundles/BundleListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleListResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Bundles/BundleListResponse/_Meta/_Credits.php b/src/Bundles/BundleListResponse/_Meta/_Credits.php index 5c74776d..bd6ad17f 100644 --- a/src/Bundles/BundleListResponse/_Meta/_Credits.php +++ b/src/Bundles/BundleListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleListResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Bundles/BundleListResponse/_Meta/_RateLimits.php b/src/Bundles/BundleListResponse/_Meta/_RateLimits.php index 8128a211..4f81ed8e 100644 --- a/src/Bundles/BundleListResponse/_Meta/_RateLimits.php +++ b/src/Bundles/BundleListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleListResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Bundles/BundleNewResponse.php b/src/Bundles/BundleNewResponse.php index 3841323f..c1000967 100644 --- a/src/Bundles/BundleNewResponse.php +++ b/src/Bundles/BundleNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles; +namespace OnlyFansAPI\Bundles; -use Onlyfansapi\Bundles\BundleNewResponse\_Meta; -use Onlyfansapi\Bundles\BundleNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleNewResponse\_Meta; +use OnlyFansAPI\Bundles\BundleNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Bundles\BundleNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Bundles\BundleNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Bundles\BundleNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Bundles\BundleNewResponse\Data * * @phpstan-type BundleNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Bundles/BundleNewResponse/Data.php b/src/Bundles/BundleNewResponse/Data.php index 6d6bd4ae..25305b8f 100644 --- a/src/Bundles/BundleNewResponse/Data.php +++ b/src/Bundles/BundleNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleNewResponse; +namespace OnlyFansAPI\Bundles\BundleNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Bundles/BundleNewResponse/_Meta.php b/src/Bundles/BundleNewResponse/_Meta.php index 51a6361a..5d0e97b1 100644 --- a/src/Bundles/BundleNewResponse/_Meta.php +++ b/src/Bundles/BundleNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleNewResponse; +namespace OnlyFansAPI\Bundles\BundleNewResponse; -use Onlyfansapi\Bundles\BundleNewResponse\_Meta\_Cache; -use Onlyfansapi\Bundles\BundleNewResponse\_Meta\_Credits; -use Onlyfansapi\Bundles\BundleNewResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_Cache; +use OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_Credits; +use OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Bundles\BundleNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Bundles\BundleNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Bundles\BundleNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Bundles\BundleNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Bundles/BundleNewResponse/_Meta/_Cache.php b/src/Bundles/BundleNewResponse/_Meta/_Cache.php index 1baa721c..2426db15 100644 --- a/src/Bundles/BundleNewResponse/_Meta/_Cache.php +++ b/src/Bundles/BundleNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleNewResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Bundles/BundleNewResponse/_Meta/_Credits.php b/src/Bundles/BundleNewResponse/_Meta/_Credits.php index 8817c35c..37b78807 100644 --- a/src/Bundles/BundleNewResponse/_Meta/_Credits.php +++ b/src/Bundles/BundleNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleNewResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Bundles/BundleNewResponse/_Meta/_RateLimits.php b/src/Bundles/BundleNewResponse/_Meta/_RateLimits.php index ae8d7720..b76a92be 100644 --- a/src/Bundles/BundleNewResponse/_Meta/_RateLimits.php +++ b/src/Bundles/BundleNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Bundles\BundleNewResponse\_Meta; +namespace OnlyFansAPI\Bundles\BundleNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chargebacks/ChargebackCalculateRatioParams.php b/src/Chargebacks/ChargebackCalculateRatioParams.php index b4a5aa63..0c5d9245 100644 --- a/src/Chargebacks/ChargebackCalculateRatioParams.php +++ b/src/Chargebacks/ChargebackCalculateRatioParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * The Chargeback Ratio reflects the number of chargebacks compared to the total number of payments as a percentage. Ideally, your Chargeback Ratio should be under 1%. * - * @see Onlyfansapi\Services\ChargebacksService::calculateRatio() + * @see OnlyFansAPI\Services\ChargebacksService::calculateRatio() * * @phpstan-type ChargebackCalculateRatioParamsShape = array{ * endDate?: string|null, startDate?: string|null diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse.php b/src/Chargebacks/ChargebackCalculateRatioResponse.php index fff9fb31..c9ba2d3b 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\Data * * @phpstan-type ChargebackCalculateRatioResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse/Data.php b/src/Chargebacks/ChargebackCalculateRatioResponse/Data.php index 33b37550..f28bef6e 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse/Data.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{chargebacksRatio?: float|null} diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta.php b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta.php index 43e65817..d65e2d40 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Cache; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Credits; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Cache; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Credits; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Cache.php b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Cache.php index 75275e96..9b29e80d 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Cache.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Credits.php b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Credits.php index 28724267..04b5967a 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Credits.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_RateLimits.php b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_RateLimits.php index 81996d3a..024614c5 100644 --- a/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_RateLimits.php +++ b/src/Chargebacks/ChargebackCalculateRatioResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chargebacks/ChargebackListParams.php b/src/Chargebacks/ChargebackListParams.php index 33ff7c21..a9f7dfe0 100644 --- a/src/Chargebacks/ChargebackListParams.php +++ b/src/Chargebacks/ChargebackListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve a list of chargebacks within a specified date range. Possible statuses are `loading`, `done`, `undo`. * - * @see Onlyfansapi\Services\ChargebacksService::list() + * @see OnlyFansAPI\Services\ChargebacksService::list() * * @phpstan-type ChargebackListParamsShape = array{ * endDate?: string|null, diff --git a/src/Chargebacks/ChargebackListResponse.php b/src/Chargebacks/ChargebackListResponse.php index 66766994..dfdc5e40 100644 --- a/src/Chargebacks/ChargebackListResponse.php +++ b/src/Chargebacks/ChargebackListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta; -use Onlyfansapi\Chargebacks\ChargebackListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\Data * * @phpstan-type ChargebackListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chargebacks/ChargebackListResponse/Data.php b/src/Chargebacks/ChargebackListResponse/Data.php index 16ea89a9..ac497767 100644 --- a/src/Chargebacks/ChargebackListResponse/Data.php +++ b/src/Chargebacks/ChargebackListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_ * * @phpstan-type DataShape = array{ * list?: list|null, marker?: int|null diff --git a/src/Chargebacks/ChargebackListResponse/Data/List_.php b/src/Chargebacks/ChargebackListResponse/Data/List_.php index df02653c..334a7e6a 100644 --- a/src/Chargebacks/ChargebackListResponse/Data/List_.php +++ b/src/Chargebacks/ChargebackListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\Data; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\Data; -use Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_\Payment; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_\Payment; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type PaymentShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_\Payment + * @phpstan-import-type PaymentShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_\Payment * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Chargebacks/ChargebackListResponse/Data/List_/Payment.php b/src/Chargebacks/ChargebackListResponse/Data/List_/Payment.php index 20219cef..56aa1c5c 100644 --- a/src/Chargebacks/ChargebackListResponse/Data/List_/Payment.php +++ b/src/Chargebacks/ChargebackListResponse/Data/List_/Payment.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_; -use Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_\Payment\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_\Payment\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type UserShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_\Payment\User + * @phpstan-import-type UserShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_\Payment\User * * @phpstan-type PaymentShape = array{ * id?: string|null, diff --git a/src/Chargebacks/ChargebackListResponse/Data/List_/Payment/User.php b/src/Chargebacks/ChargebackListResponse/Data/List_/Payment/User.php index c2ca54e3..13d3d98f 100644 --- a/src/Chargebacks/ChargebackListResponse/Data/List_/Payment/User.php +++ b/src/Chargebacks/ChargebackListResponse/Data/List_/Payment/User.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\Data\List_\Payment; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\Data\List_\Payment; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type UserShape = array{ diff --git a/src/Chargebacks/ChargebackListResponse/_Meta.php b/src/Chargebacks/ChargebackListResponse/_Meta.php index 8dc0159c..72f08027 100644 --- a/src/Chargebacks/ChargebackListResponse/_Meta.php +++ b/src/Chargebacks/ChargebackListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_Cache; -use Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_Credits; -use Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_Cache; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_Credits; +use OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chargebacks/ChargebackListResponse/_Meta/_Cache.php b/src/Chargebacks/ChargebackListResponse/_Meta/_Cache.php index af19128a..3c26c721 100644 --- a/src/Chargebacks/ChargebackListResponse/_Meta/_Cache.php +++ b/src/Chargebacks/ChargebackListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chargebacks/ChargebackListResponse/_Meta/_Credits.php b/src/Chargebacks/ChargebackListResponse/_Meta/_Credits.php index bb3d3c7e..470103b0 100644 --- a/src/Chargebacks/ChargebackListResponse/_Meta/_Credits.php +++ b/src/Chargebacks/ChargebackListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chargebacks/ChargebackListResponse/_Meta/_RateLimits.php b/src/Chargebacks/ChargebackListResponse/_Meta/_RateLimits.php index ec961534..777936b5 100644 --- a/src/Chargebacks/ChargebackListResponse/_Meta/_RateLimits.php +++ b/src/Chargebacks/ChargebackListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chargebacks/ChargebackListStatisticsParams.php b/src/Chargebacks/ChargebackListStatisticsParams.php index 40f8b511..6861c08f 100644 --- a/src/Chargebacks/ChargebackListStatisticsParams.php +++ b/src/Chargebacks/ChargebackListStatisticsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List chargeback counts & amounts per hour, day or month. * - * @see Onlyfansapi\Services\ChargebacksService::listStatistics() + * @see OnlyFansAPI\Services\ChargebacksService::listStatistics() * * @phpstan-type ChargebackListStatisticsParamsShape = array{ * endDate?: string|null, startDate?: string|null diff --git a/src/Chargebacks/ChargebackListStatisticsResponse.php b/src/Chargebacks/ChargebackListStatisticsResponse.php index e2c9ca3c..db2581b4 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks; +namespace OnlyFansAPI\Chargebacks; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data * * @phpstan-type ChargebackListStatisticsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/Data.php b/src/Chargebacks/ChargebackListStatisticsResponse/Data.php index caff3025..ff4c6f46 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/Data.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data\ChartAmount; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data\ChartCount; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data\ChartAmount; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data\ChartCount; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ChartAmountShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data\ChartAmount - * @phpstan-import-type ChartCountShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data\ChartCount + * @phpstan-import-type ChartAmountShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data\ChartAmount + * @phpstan-import-type ChartCountShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data\ChartCount * * @phpstan-type DataShape = array{ * chartAmount?: list|null, diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartAmount.php b/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartAmount.php index d69f5e96..b96992ba 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartAmount.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartAmount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartAmountShape = array{count?: float|null, date?: string|null} diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartCount.php b/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartCount.php index a4f586a6..ebfd883e 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartCount.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/Data/ChartCount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\Data; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartCountShape = array{count?: int|null, date?: string|null} diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta.php b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta.php index 30492be4..aa947d44 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Cache; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Credits; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Cache; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Credits; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Cache.php b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Cache.php index 926c2787..a680097c 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Cache.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Credits.php b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Credits.php index 15c902af..5110a8ce 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Credits.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_RateLimits.php b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_RateLimits.php index 19edc8a1..6457c82a 100644 --- a/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_RateLimits.php +++ b/src/Chargebacks/ChargebackListStatisticsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse\_Meta; +namespace OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatDeleteParams.php b/src/Chats/ChatDeleteParams.php index f1b79439..7ad634a4 100644 --- a/src/Chats/ChatDeleteParams.php +++ b/src/Chats/ChatDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a specific chat. * - * @see Onlyfansapi\Services\ChatsService::delete() + * @see OnlyFansAPI\Services\ChatsService::delete() * * @phpstan-type ChatDeleteParamsShape = array{account: string} */ diff --git a/src/Chats/ChatDeleteResponse.php b/src/Chats/ChatDeleteResponse.php index 0e683963..e102b3a7 100644 --- a/src/Chats/ChatDeleteResponse.php +++ b/src/Chats/ChatDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatDeleteResponse\_Meta; -use Onlyfansapi\Chats\ChatDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatDeleteResponse\_Meta; +use OnlyFansAPI\Chats\ChatDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatDeleteResponse\Data * * @phpstan-type ChatDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatDeleteResponse/Data.php b/src/Chats/ChatDeleteResponse/Data.php index 5c2b844d..2928bd17 100644 --- a/src/Chats/ChatDeleteResponse/Data.php +++ b/src/Chats/ChatDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatDeleteResponse; +namespace OnlyFansAPI\Chats\ChatDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatDeleteResponse/_Meta.php b/src/Chats/ChatDeleteResponse/_Meta.php index 279c4b3c..054f8125 100644 --- a/src/Chats/ChatDeleteResponse/_Meta.php +++ b/src/Chats/ChatDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatDeleteResponse; +namespace OnlyFansAPI\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatDeleteResponse/_Meta/_Cache.php b/src/Chats/ChatDeleteResponse/_Meta/_Cache.php index 0dbbdc54..29590ccb 100644 --- a/src/Chats/ChatDeleteResponse/_Meta/_Cache.php +++ b/src/Chats/ChatDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatDeleteResponse/_Meta/_Credits.php b/src/Chats/ChatDeleteResponse/_Meta/_Credits.php index 87743d2d..e1098101 100644 --- a/src/Chats/ChatDeleteResponse/_Meta/_Credits.php +++ b/src/Chats/ChatDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatDeleteResponse/_Meta/_RateLimits.php b/src/Chats/ChatDeleteResponse/_Meta/_RateLimits.php index e9658b21..8ecfab42 100644 --- a/src/Chats/ChatDeleteResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatHideParams.php b/src/Chats/ChatHideParams.php index 1db3c487..12cabb37 100644 --- a/src/Chats/ChatHideParams.php +++ b/src/Chats/ChatHideParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Hide a specific chat from the chat list. To unhide this chat, send a new message to the user. * - * @see Onlyfansapi\Services\ChatsService::hide() + * @see OnlyFansAPI\Services\ChatsService::hide() * * @phpstan-type ChatHideParamsShape = array{account: string} */ diff --git a/src/Chats/ChatHideResponse.php b/src/Chats/ChatHideResponse.php index f5070676..87ce55de 100644 --- a/src/Chats/ChatHideResponse.php +++ b/src/Chats/ChatHideResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatHideResponse\_Meta; -use Onlyfansapi\Chats\ChatHideResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatHideResponse\_Meta; +use OnlyFansAPI\Chats\ChatHideResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatHideResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatHideResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatHideResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatHideResponse\Data * * @phpstan-type ChatHideResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatHideResponse/Data.php b/src/Chats/ChatHideResponse/Data.php index 59408bbb..039cf91c 100644 --- a/src/Chats/ChatHideResponse/Data.php +++ b/src/Chats/ChatHideResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatHideResponse; +namespace OnlyFansAPI\Chats\ChatHideResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatHideResponse/_Meta.php b/src/Chats/ChatHideResponse/_Meta.php index b9836c11..abf8316f 100644 --- a/src/Chats/ChatHideResponse/_Meta.php +++ b/src/Chats/ChatHideResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatHideResponse; +namespace OnlyFansAPI\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatHideResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatHideResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatHideResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatHideResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatHideResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatHideResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatHideResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatHideResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatHideResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatHideResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatHideResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatHideResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatHideResponse/_Meta/_Cache.php b/src/Chats/ChatHideResponse/_Meta/_Cache.php index 97216a3a..473609fc 100644 --- a/src/Chats/ChatHideResponse/_Meta/_Cache.php +++ b/src/Chats/ChatHideResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatHideResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatHideResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatHideResponse/_Meta/_Credits.php b/src/Chats/ChatHideResponse/_Meta/_Credits.php index 6b09511a..e5592898 100644 --- a/src/Chats/ChatHideResponse/_Meta/_Credits.php +++ b/src/Chats/ChatHideResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatHideResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatHideResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatHideResponse/_Meta/_RateLimits.php b/src/Chats/ChatHideResponse/_Meta/_RateLimits.php index 390828a4..018f773e 100644 --- a/src/Chats/ChatHideResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatHideResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatHideResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatHideResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatListMediaParams.php b/src/Chats/ChatListMediaParams.php index 05063d15..2b86d46b 100644 --- a/src/Chats/ChatListMediaParams.php +++ b/src/Chats/ChatListMediaParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatListMediaParams\Type; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List media files shared in a specific chat. * - * @see Onlyfansapi\Services\ChatsService::listMedia() + * @see OnlyFansAPI\Services\ChatsService::listMedia() * * @phpstan-type ChatListMediaParamsShape = array{ * account: string, diff --git a/src/Chats/ChatListMediaParams/Type.php b/src/Chats/ChatListMediaParams/Type.php index 3afde23f..1ab96804 100644 --- a/src/Chats/ChatListMediaParams/Type.php +++ b/src/Chats/ChatListMediaParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaParams; +namespace OnlyFansAPI\Chats\ChatListMediaParams; /** * Filter by specific media types. Keep empty to return all. diff --git a/src/Chats/ChatListMediaResponse.php b/src/Chats/ChatListMediaResponse.php index 6b6f5d05..0b275ee2 100644 --- a/src/Chats/ChatListMediaResponse.php +++ b/src/Chats/ChatListMediaResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatListMediaResponse\_Meta; -use Onlyfansapi\Chats\ChatListMediaResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\_Meta; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatListMediaResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatListMediaResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data * * @phpstan-type ChatListMediaResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatListMediaResponse/Data.php b/src/Chats/ChatListMediaResponse/Data.php index c7085013..bcbae533 100644 --- a/src/Chats/ChatListMediaResponse/Data.php +++ b/src/Chats/ChatListMediaResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse; +namespace OnlyFansAPI\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, diff --git a/src/Chats/ChatListMediaResponse/Data/List_.php b/src/Chats/ChatListMediaResponse/Data/List_.php index 79318ed0..ed8910c7 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_.php +++ b/src/Chats/ChatListMediaResponse/Data/List_.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\FromUser; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\FromUser; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FromUserShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\FromUser - * @phpstan-import-type MediaShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media + * @phpstan-import-type FromUserShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\FromUser + * @phpstan-import-type MediaShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Chats/ChatListMediaResponse/Data/List_/FromUser.php b/src/Chats/ChatListMediaResponse/Data/List_/FromUser.php index e47ef84c..157b1359 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/FromUser.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/FromUser.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FromUserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media.php b/src/Chats/ChatListMediaResponse/Data/List_/Media.php index 84f45b89..4be96b64 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\VideoSources; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files.php index e0ad89e3..d0892593 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Full; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Preview; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\SquarePreview; -use Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Thumb; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Full; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Preview; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\SquarePreview; +use OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Full.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Full.php index 889069ae..6fa320ca 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Full.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Preview.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Preview.php index d40d702e..7f035b9e 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Preview.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/SquarePreview.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/SquarePreview.php index 41eadd82..464ca688 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/SquarePreview.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Thumb.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Thumb.php index c4e99838..053763a0 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Thumb.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Chats/ChatListMediaResponse/Data/List_/Media/VideoSources.php b/src/Chats/ChatListMediaResponse/Data/List_/Media/VideoSources.php index 711f629d..07ce8e82 100644 --- a/src/Chats/ChatListMediaResponse/Data/List_/Media/VideoSources.php +++ b/src/Chats/ChatListMediaResponse/Data/List_/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\Data\List_\Media; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\Data\List_\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Chats/ChatListMediaResponse/_Meta.php b/src/Chats/ChatListMediaResponse/_Meta.php index 1690e130..f3889d46 100644 --- a/src/Chats/ChatListMediaResponse/_Meta.php +++ b/src/Chats/ChatListMediaResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse; +namespace OnlyFansAPI\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatListMediaResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatListMediaResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatListMediaResponse/_Meta/_Cache.php b/src/Chats/ChatListMediaResponse/_Meta/_Cache.php index 3ace076d..2b147ed8 100644 --- a/src/Chats/ChatListMediaResponse/_Meta/_Cache.php +++ b/src/Chats/ChatListMediaResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatListMediaResponse/_Meta/_Credits.php b/src/Chats/ChatListMediaResponse/_Meta/_Credits.php index be99df2d..c3fbd120 100644 --- a/src/Chats/ChatListMediaResponse/_Meta/_Credits.php +++ b/src/Chats/ChatListMediaResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatListMediaResponse/_Meta/_RateLimits.php b/src/Chats/ChatListMediaResponse/_Meta/_RateLimits.php index e2ec0f49..b1a584dd 100644 --- a/src/Chats/ChatListMediaResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatListMediaResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListMediaResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListMediaResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatListParams.php b/src/Chats/ChatListParams.php index bc9f9d52..519991a6 100644 --- a/src/Chats/ChatListParams.php +++ b/src/Chats/ChatListParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatListParams\Filter; -use Onlyfansapi\Chats\ChatListParams\Order; -use Onlyfansapi\Chats\ChatListParams\SkipUsers; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListParams\Filter; +use OnlyFansAPI\Chats\ChatListParams\Order; +use OnlyFansAPI\Chats\ChatListParams\SkipUsers; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get the list of chats for an Account. * - * @see Onlyfansapi\Services\ChatsService::list() + * @see OnlyFansAPI\Services\ChatsService::list() * * @phpstan-type ChatListParamsShape = array{ * filter?: null|Filter|value-of, diff --git a/src/Chats/ChatListParams/Filter.php b/src/Chats/ChatListParams/Filter.php index f6d30f8d..a78bb143 100644 --- a/src/Chats/ChatListParams/Filter.php +++ b/src/Chats/ChatListParams/Filter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListParams; +namespace OnlyFansAPI\Chats\ChatListParams; /** * Optionally, filter the chats by type. diff --git a/src/Chats/ChatListParams/Order.php b/src/Chats/ChatListParams/Order.php index 46040522..c4648bfd 100644 --- a/src/Chats/ChatListParams/Order.php +++ b/src/Chats/ChatListParams/Order.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListParams; +namespace OnlyFansAPI\Chats\ChatListParams; /** * Sort order for chats (recent or old). Default = recent. diff --git a/src/Chats/ChatListParams/SkipUsers.php b/src/Chats/ChatListParams/SkipUsers.php index d6b6b7e2..dbf5ba4c 100644 --- a/src/Chats/ChatListParams/SkipUsers.php +++ b/src/Chats/ChatListParams/SkipUsers.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListParams; +namespace OnlyFansAPI\Chats\ChatListParams; /** * Whether to skip user details in response (all or none). Default = all. diff --git a/src/Chats/ChatListResponse.php b/src/Chats/ChatListResponse.php index 029f6dd4..601b05e1 100644 --- a/src/Chats/ChatListResponse.php +++ b/src/Chats/ChatListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatListResponse\_Meta; -use Onlyfansapi\Chats\ChatListResponse\_Pagination; -use Onlyfansapi\Chats\ChatListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\_Meta; +use OnlyFansAPI\Chats\ChatListResponse\_Pagination; +use OnlyFansAPI\Chats\ChatListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Chats\ChatListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Chats\ChatListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatListResponse\Data * * @phpstan-type ChatListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Chats/ChatListResponse/Data.php b/src/Chats/ChatListResponse/Data.php index 7a8e7edb..fda3f567 100644 --- a/src/Chats/ChatListResponse/Data.php +++ b/src/Chats/ChatListResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse; +namespace OnlyFansAPI\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Chats\ChatListResponse\Data\LastMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan; +use OnlyFansAPI\Chats\ChatListResponse\Data\LastMessage; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FanShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan - * @phpstan-import-type LastMessageShape from \Onlyfansapi\Chats\ChatListResponse\Data\LastMessage + * @phpstan-import-type FanShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan + * @phpstan-import-type LastMessageShape from \OnlyFansAPI\Chats\ChatListResponse\Data\LastMessage * * @phpstan-type DataShape = array{ * canGoToProfile?: bool|null, diff --git a/src/Chats/ChatListResponse/Data/Fan.php b/src/Chats/ChatListResponse/Data/Fan.php index ffe793a9..745a5e3d 100644 --- a/src/Chats/ChatListResponse/Data/Fan.php +++ b/src/Chats/ChatListResponse/Data/Fan.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data; - -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\AvatarThumbs; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\HeaderSize; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\HeaderThumbs; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\ListsState; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedByData; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +namespace OnlyFansAPI\Chats\ChatListResponse\Data; + +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\AvatarThumbs; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\HeaderSize; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\HeaderThumbs; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\ListsState; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedByData; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedOnData * * @phpstan-type FanShape = array{ * id?: int|null, diff --git a/src/Chats/ChatListResponse/Data/Fan/AvatarThumbs.php b/src/Chats/ChatListResponse/Data/Fan/AvatarThumbs.php index ffd56909..01e57d69 100644 --- a/src/Chats/ChatListResponse/Data/Fan/AvatarThumbs.php +++ b/src/Chats/ChatListResponse/Data/Fan/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Chats/ChatListResponse/Data/Fan/HeaderSize.php b/src/Chats/ChatListResponse/Data/Fan/HeaderSize.php index 7dbda97b..c1a64fec 100644 --- a/src/Chats/ChatListResponse/Data/Fan/HeaderSize.php +++ b/src/Chats/ChatListResponse/Data/Fan/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Chats/ChatListResponse/Data/Fan/HeaderThumbs.php b/src/Chats/ChatListResponse/Data/Fan/HeaderThumbs.php index ed142a0f..a4984dd1 100644 --- a/src/Chats/ChatListResponse/Data/Fan/HeaderThumbs.php +++ b/src/Chats/ChatListResponse/Data/Fan/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Chats/ChatListResponse/Data/Fan/ListsState.php b/src/Chats/ChatListResponse/Data/Fan/ListsState.php index c7de6365..0fd43fba 100644 --- a/src/Chats/ChatListResponse/Data/Fan/ListsState.php +++ b/src/Chats/ChatListResponse/Data/Fan/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Chats/ChatListResponse/Data/Fan/SubscribedByData.php b/src/Chats/ChatListResponse/Data/Fan/SubscribedByData.php index 64da8c4d..5896a4a9 100644 --- a/src/Chats/ChatListResponse/Data/Fan/SubscribedByData.php +++ b/src/Chats/ChatListResponse/Data/Fan/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedByData\Subscribe; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Chats/ChatListResponse/Data/Fan/SubscribedByData/Subscribe.php b/src/Chats/ChatListResponse/Data/Fan/SubscribedByData/Subscribe.php index bcddf703..10fed819 100644 --- a/src/Chats/ChatListResponse/Data/Fan/SubscribedByData/Subscribe.php +++ b/src/Chats/ChatListResponse/Data/Fan/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedByData; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData.php b/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData.php index ca0eb8f3..88dd2726 100644 --- a/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData.php +++ b/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan; -use Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedOnData\Subscribe; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData/Subscribe.php b/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData/Subscribe.php index e117a4b7..cea02c6a 100644 --- a/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData/Subscribe.php +++ b/src/Chats/ChatListResponse/Data/Fan/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\Fan\SubscribedOnData; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\Fan\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Chats/ChatListResponse/Data/LastMessage.php b/src/Chats/ChatListResponse/Data/LastMessage.php index 1771a1f9..7dd7d4d5 100644 --- a/src/Chats/ChatListResponse/Data/LastMessage.php +++ b/src/Chats/ChatListResponse/Data/LastMessage.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data; +namespace OnlyFansAPI\Chats\ChatListResponse\Data; -use Onlyfansapi\Chats\ChatListResponse\Data\LastMessage\FromUser; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\Data\LastMessage\FromUser; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FromUserShape from \Onlyfansapi\Chats\ChatListResponse\Data\LastMessage\FromUser + * @phpstan-import-type FromUserShape from \OnlyFansAPI\Chats\ChatListResponse\Data\LastMessage\FromUser * * @phpstan-type LastMessageShape = array{ * id?: int|null, diff --git a/src/Chats/ChatListResponse/Data/LastMessage/FromUser.php b/src/Chats/ChatListResponse/Data/LastMessage/FromUser.php index b7189cbd..9a913a1c 100644 --- a/src/Chats/ChatListResponse/Data/LastMessage/FromUser.php +++ b/src/Chats/ChatListResponse/Data/LastMessage/FromUser.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\Data\LastMessage; +namespace OnlyFansAPI\Chats\ChatListResponse\Data\LastMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FromUserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Chats/ChatListResponse/_Meta.php b/src/Chats/ChatListResponse/_Meta.php index fbef5c33..84f76575 100644 --- a/src/Chats/ChatListResponse/_Meta.php +++ b/src/Chats/ChatListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse; +namespace OnlyFansAPI\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatListResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatListResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatListResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatListResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatListResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatListResponse/_Meta/_Cache.php b/src/Chats/ChatListResponse/_Meta/_Cache.php index 3f70f4c7..cfc98909 100644 --- a/src/Chats/ChatListResponse/_Meta/_Cache.php +++ b/src/Chats/ChatListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatListResponse/_Meta/_Credits.php b/src/Chats/ChatListResponse/_Meta/_Credits.php index e0ad88a2..5e95994e 100644 --- a/src/Chats/ChatListResponse/_Meta/_Credits.php +++ b/src/Chats/ChatListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatListResponse/_Meta/_RateLimits.php b/src/Chats/ChatListResponse/_Meta/_RateLimits.php index 4440990c..5f6c4d03 100644 --- a/src/Chats/ChatListResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatListResponse/_Pagination.php b/src/Chats/ChatListResponse/_Pagination.php index b77955b5..ea29e969 100644 --- a/src/Chats/ChatListResponse/_Pagination.php +++ b/src/Chats/ChatListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatListResponse; +namespace OnlyFansAPI\Chats\ChatListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Chats/ChatMarkAsReadParams.php b/src/Chats/ChatMarkAsReadParams.php index 6de20329..675b6e7e 100644 --- a/src/Chats/ChatMarkAsReadParams.php +++ b/src/Chats/ChatMarkAsReadParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Mark a specific chat as read. Alternative to List Chat Messages endpoint, if you just want to mark the chat as read without fetching messages. * - * @see Onlyfansapi\Services\ChatsService::markAsRead() + * @see OnlyFansAPI\Services\ChatsService::markAsRead() * * @phpstan-type ChatMarkAsReadParamsShape = array{account: string} */ diff --git a/src/Chats/ChatMarkAsReadResponse.php b/src/Chats/ChatMarkAsReadResponse.php index 27620880..1bf75180 100644 --- a/src/Chats/ChatMarkAsReadResponse.php +++ b/src/Chats/ChatMarkAsReadResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta; -use Onlyfansapi\Chats\ChatMarkAsReadResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatMarkAsReadResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatMarkAsReadResponse\Data * * @phpstan-type ChatMarkAsReadResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatMarkAsReadResponse/Data.php b/src/Chats/ChatMarkAsReadResponse/Data.php index f0854299..6bcd6302 100644 --- a/src/Chats/ChatMarkAsReadResponse/Data.php +++ b/src/Chats/ChatMarkAsReadResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsReadResponse; +namespace OnlyFansAPI\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatMarkAsReadResponse/_Meta.php b/src/Chats/ChatMarkAsReadResponse/_Meta.php index 2aea1f56..74279283 100644 --- a/src/Chats/ChatMarkAsReadResponse/_Meta.php +++ b/src/Chats/ChatMarkAsReadResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsReadResponse; +namespace OnlyFansAPI\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatMarkAsReadResponse/_Meta/_Cache.php b/src/Chats/ChatMarkAsReadResponse/_Meta/_Cache.php index 1ebc5c93..061889c8 100644 --- a/src/Chats/ChatMarkAsReadResponse/_Meta/_Cache.php +++ b/src/Chats/ChatMarkAsReadResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatMarkAsReadResponse/_Meta/_Credits.php b/src/Chats/ChatMarkAsReadResponse/_Meta/_Credits.php index 24042836..8ed07740 100644 --- a/src/Chats/ChatMarkAsReadResponse/_Meta/_Credits.php +++ b/src/Chats/ChatMarkAsReadResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatMarkAsReadResponse/_Meta/_RateLimits.php b/src/Chats/ChatMarkAsReadResponse/_Meta/_RateLimits.php index 7ab43ad0..47353529 100644 --- a/src/Chats/ChatMarkAsReadResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatMarkAsReadResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsReadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatMarkAsUnreadParams.php b/src/Chats/ChatMarkAsUnreadParams.php index df4fc0bd..20c8dc68 100644 --- a/src/Chats/ChatMarkAsUnreadParams.php +++ b/src/Chats/ChatMarkAsUnreadParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Mark a specific chat as unread. * - * @see Onlyfansapi\Services\ChatsService::markAsUnread() + * @see OnlyFansAPI\Services\ChatsService::markAsUnread() * * @phpstan-type ChatMarkAsUnreadParamsShape = array{account: string} */ diff --git a/src/Chats/ChatMarkAsUnreadResponse.php b/src/Chats/ChatMarkAsUnreadResponse.php index 9a1ff087..bc8257f5 100644 --- a/src/Chats/ChatMarkAsUnreadResponse.php +++ b/src/Chats/ChatMarkAsUnreadResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatMarkAsUnreadResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\Data * * @phpstan-type ChatMarkAsUnreadResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatMarkAsUnreadResponse/Data.php b/src/Chats/ChatMarkAsUnreadResponse/Data.php index 1222d4be..ea7e32fe 100644 --- a/src/Chats/ChatMarkAsUnreadResponse/Data.php +++ b/src/Chats/ChatMarkAsUnreadResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsUnreadResponse; +namespace OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatMarkAsUnreadResponse/_Meta.php b/src/Chats/ChatMarkAsUnreadResponse/_Meta.php index cb9d90cf..a88f107b 100644 --- a/src/Chats/ChatMarkAsUnreadResponse/_Meta.php +++ b/src/Chats/ChatMarkAsUnreadResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsUnreadResponse; +namespace OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Cache.php b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Cache.php index 87207062..baa27561 100644 --- a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Cache.php +++ b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Credits.php b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Credits.php index 8e05619e..f2d05eb9 100644 --- a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Credits.php +++ b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_RateLimits.php b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_RateLimits.php index dbd9cb62..89c2556d 100644 --- a/src/Chats/ChatMarkAsUnreadResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatMarkAsUnreadResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMarkAsUnreadResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMarkAsUnreadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatMuteParams.php b/src/Chats/ChatMuteParams.php index 4f28d2fe..e586ac5c 100644 --- a/src/Chats/ChatMuteParams.php +++ b/src/Chats/ChatMuteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Mute notifications for a specific chat. * - * @see Onlyfansapi\Services\ChatsService::mute() + * @see OnlyFansAPI\Services\ChatsService::mute() * * @phpstan-type ChatMuteParamsShape = array{account: string} */ diff --git a/src/Chats/ChatMuteResponse.php b/src/Chats/ChatMuteResponse.php index e21552d9..562a54da 100644 --- a/src/Chats/ChatMuteResponse.php +++ b/src/Chats/ChatMuteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatMuteResponse\_Meta; -use Onlyfansapi\Chats\ChatMuteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMuteResponse\_Meta; +use OnlyFansAPI\Chats\ChatMuteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatMuteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatMuteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatMuteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatMuteResponse\Data * * @phpstan-type ChatMuteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatMuteResponse/Data.php b/src/Chats/ChatMuteResponse/Data.php index 71496aed..24e9d2ff 100644 --- a/src/Chats/ChatMuteResponse/Data.php +++ b/src/Chats/ChatMuteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMuteResponse; +namespace OnlyFansAPI\Chats\ChatMuteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatMuteResponse/_Meta.php b/src/Chats/ChatMuteResponse/_Meta.php index 063b1a24..7c52dba8 100644 --- a/src/Chats/ChatMuteResponse/_Meta.php +++ b/src/Chats/ChatMuteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMuteResponse; +namespace OnlyFansAPI\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatMuteResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatMuteResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatMuteResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatMuteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatMuteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatMuteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatMuteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatMuteResponse/_Meta/_Cache.php b/src/Chats/ChatMuteResponse/_Meta/_Cache.php index 70553570..e4f06d0f 100644 --- a/src/Chats/ChatMuteResponse/_Meta/_Cache.php +++ b/src/Chats/ChatMuteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatMuteResponse/_Meta/_Credits.php b/src/Chats/ChatMuteResponse/_Meta/_Credits.php index 4571e3af..c3c45eef 100644 --- a/src/Chats/ChatMuteResponse/_Meta/_Credits.php +++ b/src/Chats/ChatMuteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatMuteResponse/_Meta/_RateLimits.php b/src/Chats/ChatMuteResponse/_Meta/_RateLimits.php index 400903da..3143ff82 100644 --- a/src/Chats/ChatMuteResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatMuteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatMuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatMuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatStartTypingParams.php b/src/Chats/ChatStartTypingParams.php index 51fb09d2..0ba62bc0 100644 --- a/src/Chats/ChatStartTypingParams.php +++ b/src/Chats/ChatStartTypingParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Calling this endpoint will show the target fan a "Model is typing..." note in the chat for ~4 seconds. If you want to continue showing the indicator call this endpoint multiple times. Free - no credits charged. * - * @see Onlyfansapi\Services\ChatsService::startTyping() + * @see OnlyFansAPI\Services\ChatsService::startTyping() * * @phpstan-type ChatStartTypingParamsShape = array{account: string} */ diff --git a/src/Chats/ChatStartTypingResponse.php b/src/Chats/ChatStartTypingResponse.php index 9885f44a..db39eadf 100644 --- a/src/Chats/ChatStartTypingResponse.php +++ b/src/Chats/ChatStartTypingResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatStartTypingResponse\_Meta; -use Onlyfansapi\Chats\ChatStartTypingResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta; +use OnlyFansAPI\Chats\ChatStartTypingResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatStartTypingResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatStartTypingResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatStartTypingResponse\Data * * @phpstan-type ChatStartTypingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatStartTypingResponse/Data.php b/src/Chats/ChatStartTypingResponse/Data.php index 40e5bb61..332ad4d8 100644 --- a/src/Chats/ChatStartTypingResponse/Data.php +++ b/src/Chats/ChatStartTypingResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatStartTypingResponse; +namespace OnlyFansAPI\Chats\ChatStartTypingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatStartTypingResponse/_Meta.php b/src/Chats/ChatStartTypingResponse/_Meta.php index 37e15b09..cfd1729e 100644 --- a/src/Chats/ChatStartTypingResponse/_Meta.php +++ b/src/Chats/ChatStartTypingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatStartTypingResponse; +namespace OnlyFansAPI\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatStartTypingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatStartTypingResponse/_Meta/_Cache.php b/src/Chats/ChatStartTypingResponse/_Meta/_Cache.php index b00d6964..6b8639c5 100644 --- a/src/Chats/ChatStartTypingResponse/_Meta/_Cache.php +++ b/src/Chats/ChatStartTypingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatStartTypingResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatStartTypingResponse/_Meta/_Credits.php b/src/Chats/ChatStartTypingResponse/_Meta/_Credits.php index b0fa2b15..8860d824 100644 --- a/src/Chats/ChatStartTypingResponse/_Meta/_Credits.php +++ b/src/Chats/ChatStartTypingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatStartTypingResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatStartTypingResponse/_Meta/_RateLimits.php b/src/Chats/ChatStartTypingResponse/_Meta/_RateLimits.php index 62a85851..04086f8c 100644 --- a/src/Chats/ChatStartTypingResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatStartTypingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatStartTypingResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatStartTypingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/ChatUnmuteParams.php b/src/Chats/ChatUnmuteParams.php index 0c533cfc..2e0a4b51 100644 --- a/src/Chats/ChatUnmuteParams.php +++ b/src/Chats/ChatUnmuteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unmute notifications for a specific chat. * - * @see Onlyfansapi\Services\ChatsService::unmute() + * @see OnlyFansAPI\Services\ChatsService::unmute() * * @phpstan-type ChatUnmuteParamsShape = array{account: string} */ diff --git a/src/Chats/ChatUnmuteResponse.php b/src/Chats/ChatUnmuteResponse.php index 99a5f8ad..f062645b 100644 --- a/src/Chats/ChatUnmuteResponse.php +++ b/src/Chats/ChatUnmuteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats; +namespace OnlyFansAPI\Chats; -use Onlyfansapi\Chats\ChatUnmuteResponse\_Meta; -use Onlyfansapi\Chats\ChatUnmuteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta; +use OnlyFansAPI\Chats\ChatUnmuteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\ChatUnmuteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\ChatUnmuteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\ChatUnmuteResponse\Data * * @phpstan-type ChatUnmuteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/ChatUnmuteResponse/Data.php b/src/Chats/ChatUnmuteResponse/Data.php index 0855751d..fd977ee3 100644 --- a/src/Chats/ChatUnmuteResponse/Data.php +++ b/src/Chats/ChatUnmuteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatUnmuteResponse; +namespace OnlyFansAPI\Chats\ChatUnmuteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/ChatUnmuteResponse/_Meta.php b/src/Chats/ChatUnmuteResponse/_Meta.php index ae44f9e4..726b040e 100644 --- a/src/Chats/ChatUnmuteResponse/_Meta.php +++ b/src/Chats/ChatUnmuteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatUnmuteResponse; +namespace OnlyFansAPI\Chats\ChatUnmuteResponse; -use Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_Cache; -use Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_Credits; -use Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\ChatUnmuteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/ChatUnmuteResponse/_Meta/_Cache.php b/src/Chats/ChatUnmuteResponse/_Meta/_Cache.php index df225679..7d9e5497 100644 --- a/src/Chats/ChatUnmuteResponse/_Meta/_Cache.php +++ b/src/Chats/ChatUnmuteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatUnmuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/ChatUnmuteResponse/_Meta/_Credits.php b/src/Chats/ChatUnmuteResponse/_Meta/_Credits.php index 2a84865f..4496fd62 100644 --- a/src/Chats/ChatUnmuteResponse/_Meta/_Credits.php +++ b/src/Chats/ChatUnmuteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatUnmuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/ChatUnmuteResponse/_Meta/_RateLimits.php b/src/Chats/ChatUnmuteResponse/_Meta/_RateLimits.php index 7f4cc8d6..e87b7016 100644 --- a/src/Chats/ChatUnmuteResponse/_Meta/_RateLimits.php +++ b/src/Chats/ChatUnmuteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\ChatUnmuteResponse\_Meta; +namespace OnlyFansAPI\Chats\ChatUnmuteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse.php index 47b2b0e1..9681ed29 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead; +namespace OnlyFansAPI\Chats\MarkAllAsRead; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\Data * * @phpstan-type MarkAllAsReadAllResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/Data.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/Data.php index b8daf0f8..cb3826b6 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/Data.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +namespace OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta.php index d864242f..10eea0c9 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +namespace OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Cache; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Credits; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Cache.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Cache.php index 5df4553a..c5107049 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Cache.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; +namespace OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Credits.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Credits.php index ce7f1b42..6cc4aaf6 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Credits.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; +namespace OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_RateLimits.php b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_RateLimits.php index 165ff5c6..2cbbc717 100644 --- a/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_RateLimits.php +++ b/src/Chats/MarkAllAsRead/MarkAllAsReadAllResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; +namespace OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageDeleteParams.php b/src/Chats/Messages/MessageDeleteParams.php index af3196dd..594904a8 100644 --- a/src/Chats/Messages/MessageDeleteParams.php +++ b/src/Chats/Messages/MessageDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a message from a chat. Please note that ONLY messages sent less than 24 hours ago can be deleted. * - * @see Onlyfansapi\Services\Chats\MessagesService::delete() + * @see OnlyFansAPI\Services\Chats\MessagesService::delete() * * @phpstan-type MessageDeleteParamsShape = array{account: string, chatID: string} */ diff --git a/src/Chats/Messages/MessageDeleteResponse.php b/src/Chats/Messages/MessageDeleteResponse.php index 0c6822b7..31f4f0c1 100644 --- a/src/Chats/Messages/MessageDeleteResponse.php +++ b/src/Chats/Messages/MessageDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageDeleteResponse\Data * * @phpstan-type MessageDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessageDeleteResponse/Data.php b/src/Chats/Messages/MessageDeleteResponse/Data.php index b842e9ae..ba97efe6 100644 --- a/src/Chats/Messages/MessageDeleteResponse/Data.php +++ b/src/Chats/Messages/MessageDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageDeleteResponse; +namespace OnlyFansAPI\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/Messages/MessageDeleteResponse/_Meta.php b/src/Chats/Messages/MessageDeleteResponse/_Meta.php index 1b5fa29f..f417d252 100644 --- a/src/Chats/Messages/MessageDeleteResponse/_Meta.php +++ b/src/Chats/Messages/MessageDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageDeleteResponse; +namespace OnlyFansAPI\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageDeleteResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageDeleteResponse/_Meta/_Cache.php index 0cad2252..6cf48ee3 100644 --- a/src/Chats/Messages/MessageDeleteResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageDeleteResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageDeleteResponse/_Meta/_Credits.php index f17eae65..3b038655 100644 --- a/src/Chats/Messages/MessageDeleteResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageDeleteResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageDeleteResponse/_Meta/_RateLimits.php index 3b66bf1b..5a99f86d 100644 --- a/src/Chats/Messages/MessageDeleteResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageDeleteResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageGetResponse.php b/src/Chats/Messages/MessageGetResponse.php index 2c1ab9bb..eccda48f 100644 --- a/src/Chats/Messages/MessageGetResponse.php +++ b/src/Chats/Messages/MessageGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\Data * * @phpstan-type MessageGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessageGetResponse/Data.php b/src/Chats/Messages/MessageGetResponse/Data.php index 90366b19..2eaed2af 100644 --- a/src/Chats/Messages/MessageGetResponse/Data.php +++ b/src/Chats/Messages/MessageGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse\Data\FromUser; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\Data\FromUser; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FromUserShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\Data\FromUser + * @phpstan-import-type FromUserShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\Data\FromUser * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Chats/Messages/MessageGetResponse/Data/FromUser.php b/src/Chats/Messages/MessageGetResponse/Data/FromUser.php index efd2f57b..4c1b5089 100644 --- a/src/Chats/Messages/MessageGetResponse/Data/FromUser.php +++ b/src/Chats/Messages/MessageGetResponse/Data/FromUser.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse\Data; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FromUserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Chats/Messages/MessageGetResponse/_Meta.php b/src/Chats/Messages/MessageGetResponse/_Meta.php index ca1a801a..45f9e7c2 100644 --- a/src/Chats/Messages/MessageGetResponse/_Meta.php +++ b/src/Chats/Messages/MessageGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageGetResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageGetResponse/_Meta/_Cache.php index cbfdcfbd..5171d075 100644 --- a/src/Chats/Messages/MessageGetResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageGetResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageGetResponse/_Meta/_Credits.php index da461fd9..86c4e15d 100644 --- a/src/Chats/Messages/MessageGetResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageGetResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageGetResponse/_Meta/_RateLimits.php index 55d884d8..625c2f1d 100644 --- a/src/Chats/Messages/MessageGetResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageGetResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageLikeParams.php b/src/Chats/Messages/MessageLikeParams.php index 8b75f000..76b2615c 100644 --- a/src/Chats/Messages/MessageLikeParams.php +++ b/src/Chats/Messages/MessageLikeParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Like a chat message. * - * @see Onlyfansapi\Services\Chats\MessagesService::like() + * @see OnlyFansAPI\Services\Chats\MessagesService::like() * * @phpstan-type MessageLikeParamsShape = array{account: string, chatID: string} */ diff --git a/src/Chats/Messages/MessageLikeResponse.php b/src/Chats/Messages/MessageLikeResponse.php index 17fc3ede..e57ee9bf 100644 --- a/src/Chats/Messages/MessageLikeResponse.php +++ b/src/Chats/Messages/MessageLikeResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageLikeResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageLikeResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageLikeResponse\Data * * @phpstan-type MessageLikeResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessageLikeResponse/Data.php b/src/Chats/Messages/MessageLikeResponse/Data.php index 31aa4d3b..6aea42ff 100644 --- a/src/Chats/Messages/MessageLikeResponse/Data.php +++ b/src/Chats/Messages/MessageLikeResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageLikeResponse; +namespace OnlyFansAPI\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{isLiked?: bool|null, success?: bool|null} diff --git a/src/Chats/Messages/MessageLikeResponse/_Meta.php b/src/Chats/Messages/MessageLikeResponse/_Meta.php index c257466c..1d4b4d3d 100644 --- a/src/Chats/Messages/MessageLikeResponse/_Meta.php +++ b/src/Chats/Messages/MessageLikeResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageLikeResponse; +namespace OnlyFansAPI\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageLikeResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageLikeResponse/_Meta/_Cache.php index 975dc305..1e16ff48 100644 --- a/src/Chats/Messages/MessageLikeResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageLikeResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageLikeResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageLikeResponse/_Meta/_Credits.php index 7f7d2c15..6cc8e4bf 100644 --- a/src/Chats/Messages/MessageLikeResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageLikeResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageLikeResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageLikeResponse/_Meta/_RateLimits.php index 1c60650e..db4d828a 100644 --- a/src/Chats/Messages/MessageLikeResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageLikeResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageLikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageListParams.php b/src/Chats/Messages/MessageListParams.php index 6711cd8f..591ef9b4 100644 --- a/src/Chats/Messages/MessageListParams.php +++ b/src/Chats/Messages/MessageListParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageListParams\Filter; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageListParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get messages from a specific chat. * - * @see Onlyfansapi\Services\Chats\MessagesService::list() + * @see OnlyFansAPI\Services\Chats\MessagesService::list() * * @phpstan-type MessageListParamsShape = array{ * account: string, diff --git a/src/Chats/Messages/MessageListParams/Filter.php b/src/Chats/Messages/MessageListParams/Filter.php index c13222db..271464e2 100644 --- a/src/Chats/Messages/MessageListParams/Filter.php +++ b/src/Chats/Messages/MessageListParams/Filter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListParams; +namespace OnlyFansAPI\Chats\Messages\MessageListParams; /** * Filter by certain messages. Currently, only pins are filterable. diff --git a/src/Chats/Messages/MessageListResponse.php b/src/Chats/Messages/MessageListResponse.php index 12e6db92..336d9ceb 100644 --- a/src/Chats/Messages/MessageListResponse.php +++ b/src/Chats/Messages/MessageListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageListResponse\_Pagination; -use Onlyfansapi\Chats\Messages\MessageListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageListResponse\_Pagination; +use OnlyFansAPI\Chats\Messages\MessageListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Chats\Messages\MessageListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\Data * * @phpstan-type MessageListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Chats/Messages/MessageListResponse/Data.php b/src/Chats/Messages/MessageListResponse/Data.php index 37d435f0..ceef75b1 100644 --- a/src/Chats/Messages/MessageListResponse/Data.php +++ b/src/Chats/Messages/MessageListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessageListResponse\Data\FromUser; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageListResponse\Data\FromUser; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FromUserShape from \Onlyfansapi\Chats\Messages\MessageListResponse\Data\FromUser + * @phpstan-import-type FromUserShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\Data\FromUser * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Chats/Messages/MessageListResponse/Data/FromUser.php b/src/Chats/Messages/MessageListResponse/Data/FromUser.php index 854b169a..fc42a6c3 100644 --- a/src/Chats/Messages/MessageListResponse/Data/FromUser.php +++ b/src/Chats/Messages/MessageListResponse/Data/FromUser.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse\Data; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FromUserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Chats/Messages/MessageListResponse/_Meta.php b/src/Chats/Messages/MessageListResponse/_Meta.php index e550c2e6..0370dc6b 100644 --- a/src/Chats/Messages/MessageListResponse/_Meta.php +++ b/src/Chats/Messages/MessageListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageListResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageListResponse/_Meta/_Cache.php index 74d35c64..bb4c141a 100644 --- a/src/Chats/Messages/MessageListResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageListResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageListResponse/_Meta/_Credits.php index 86414435..dd531883 100644 --- a/src/Chats/Messages/MessageListResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageListResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageListResponse/_Meta/_RateLimits.php index a12227ec..2b9596c5 100644 --- a/src/Chats/Messages/MessageListResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageListResponse/_Pagination.php b/src/Chats/Messages/MessageListResponse/_Pagination.php index c58ce33c..657ac373 100644 --- a/src/Chats/Messages/MessageListResponse/_Pagination.php +++ b/src/Chats/Messages/MessageListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageListResponse; +namespace OnlyFansAPI\Chats\Messages\MessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Chats/Messages/MessagePinParams.php b/src/Chats/Messages/MessagePinParams.php index e3ea6d42..20980f52 100644 --- a/src/Chats/Messages/MessagePinParams.php +++ b/src/Chats/Messages/MessagePinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Pin a message from a chat. * - * @see Onlyfansapi\Services\Chats\MessagesService::pin() + * @see OnlyFansAPI\Services\Chats\MessagesService::pin() * * @phpstan-type MessagePinParamsShape = array{account: string, chatID: string} */ diff --git a/src/Chats/Messages/MessagePinResponse.php b/src/Chats/Messages/MessagePinResponse.php index 92dbb214..a38975bb 100644 --- a/src/Chats/Messages/MessagePinResponse.php +++ b/src/Chats/Messages/MessagePinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessagePinResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessagePinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessagePinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessagePinResponse\Data * * @phpstan-type MessagePinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessagePinResponse/Data.php b/src/Chats/Messages/MessagePinResponse/Data.php index 339dc55f..b83b6017 100644 --- a/src/Chats/Messages/MessagePinResponse/Data.php +++ b/src/Chats/Messages/MessagePinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessagePinResponse; +namespace OnlyFansAPI\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/Messages/MessagePinResponse/_Meta.php b/src/Chats/Messages/MessagePinResponse/_Meta.php index a6370b7a..d2c456d9 100644 --- a/src/Chats/Messages/MessagePinResponse/_Meta.php +++ b/src/Chats/Messages/MessagePinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessagePinResponse; +namespace OnlyFansAPI\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessagePinResponse/_Meta/_Cache.php b/src/Chats/Messages/MessagePinResponse/_Meta/_Cache.php index 74aa8dcc..177326a8 100644 --- a/src/Chats/Messages/MessagePinResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessagePinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessagePinResponse/_Meta/_Credits.php b/src/Chats/Messages/MessagePinResponse/_Meta/_Credits.php index 9318453a..a15440ae 100644 --- a/src/Chats/Messages/MessagePinResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessagePinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessagePinResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessagePinResponse/_Meta/_RateLimits.php index 9afe22a1..8d717c8f 100644 --- a/src/Chats/Messages/MessagePinResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessagePinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessagePinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessagePinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageRetrieveParams.php b/src/Chats/Messages/MessageRetrieveParams.php index 9ef3a4ed..9be5fcd3 100644 --- a/src/Chats/Messages/MessageRetrieveParams.php +++ b/src/Chats/Messages/MessageRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get a single chat message by its ID. Returns a 404 if the message does not exist in the chat. * - * @see Onlyfansapi\Services\Chats\MessagesService::retrieve() + * @see OnlyFansAPI\Services\Chats\MessagesService::retrieve() * * @phpstan-type MessageRetrieveParamsShape = array{ * account: string, chatID: string diff --git a/src/Chats/Messages/MessageSearchParams.php b/src/Chats/Messages/MessageSearchParams.php index ece3b05c..80c22bf4 100644 --- a/src/Chats/Messages/MessageSearchParams.php +++ b/src/Chats/Messages/MessageSearchParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Search messages in a specific chat. Returns a list of message IDs matching the search query. * - * @see Onlyfansapi\Services\Chats\MessagesService::search() + * @see OnlyFansAPI\Services\Chats\MessagesService::search() * * @phpstan-type MessageSearchParamsShape = array{account: string, query: string} */ diff --git a/src/Chats/Messages/MessageSearchResponse.php b/src/Chats/Messages/MessageSearchResponse.php index 3bdfb71b..aee6bc40 100644 --- a/src/Chats/Messages/MessageSearchResponse.php +++ b/src/Chats/Messages/MessageSearchResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta * * @phpstan-type MessageSearchResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Chats/Messages/MessageSearchResponse/_Meta.php b/src/Chats/Messages/MessageSearchResponse/_Meta.php index 0939d52d..5f37af23 100644 --- a/src/Chats/Messages/MessageSearchResponse/_Meta.php +++ b/src/Chats/Messages/MessageSearchResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSearchResponse; +namespace OnlyFansAPI\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageSearchResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageSearchResponse/_Meta/_Cache.php index 5c0d0799..bc23232b 100644 --- a/src/Chats/Messages/MessageSearchResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageSearchResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageSearchResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageSearchResponse/_Meta/_Credits.php index 81f48a85..bc85a602 100644 --- a/src/Chats/Messages/MessageSearchResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageSearchResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageSearchResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageSearchResponse/_Meta/_RateLimits.php index fe1b8dd5..486d32dd 100644 --- a/src/Chats/Messages/MessageSearchResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageSearchResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSearchResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageSendParams.php b/src/Chats/Messages/MessageSendParams.php index ac73919b..e604427d 100644 --- a/src/Chats/Messages/MessageSendParams.php +++ b/src/Chats/Messages/MessageSendParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Send a new message to a chat. * - * @see Onlyfansapi\Services\Chats\MessagesService::send() + * @see OnlyFansAPI\Services\Chats\MessagesService::send() * * @phpstan-type MessageSendParamsShape = array{ * account: string, diff --git a/src/Chats/Messages/MessageSendResponse.php b/src/Chats/Messages/MessageSendResponse.php index b1e67e63..c6431cec 100644 --- a/src/Chats/Messages/MessageSendResponse.php +++ b/src/Chats/Messages/MessageSendResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageSendResponse\_Pagination; -use Onlyfansapi\Chats\Messages\MessageSendResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\_Pagination; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\Data * * @phpstan-type MessageSendResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Chats/Messages/MessageSendResponse/Data.php b/src/Chats/Messages/MessageSendResponse/Data.php index 4f92ab6b..370478fe 100644 --- a/src/Chats/Messages/MessageSendResponse/Data.php +++ b/src/Chats/Messages/MessageSendResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageSendResponse\Data\FromUser; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\Data\FromUser; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type FromUserShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\Data\FromUser + * @phpstan-import-type FromUserShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\Data\FromUser * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Chats/Messages/MessageSendResponse/Data/FromUser.php b/src/Chats/Messages/MessageSendResponse/Data/FromUser.php index 6b97ba5f..f47eb6a5 100644 --- a/src/Chats/Messages/MessageSendResponse/Data/FromUser.php +++ b/src/Chats/Messages/MessageSendResponse/Data/FromUser.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse\Data; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FromUserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Chats/Messages/MessageSendResponse/_Meta.php b/src/Chats/Messages/MessageSendResponse/_Meta.php index 4c485825..c7302ce9 100644 --- a/src/Chats/Messages/MessageSendResponse/_Meta.php +++ b/src/Chats/Messages/MessageSendResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageSendResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageSendResponse/_Meta/_Cache.php index 30779b5f..dcd9a01f 100644 --- a/src/Chats/Messages/MessageSendResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageSendResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageSendResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageSendResponse/_Meta/_Credits.php index aaa56dda..ef1ece6d 100644 --- a/src/Chats/Messages/MessageSendResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageSendResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageSendResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageSendResponse/_Meta/_RateLimits.php index cd179f24..f85d7e3d 100644 --- a/src/Chats/Messages/MessageSendResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageSendResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageSendResponse/_Pagination.php b/src/Chats/Messages/MessageSendResponse/_Pagination.php index badb4d91..bb64e6be 100644 --- a/src/Chats/Messages/MessageSendResponse/_Pagination.php +++ b/src/Chats/Messages/MessageSendResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageSendResponse; +namespace OnlyFansAPI\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Chats/Messages/MessageUnlikeParams.php b/src/Chats/Messages/MessageUnlikeParams.php index 199dd2ed..9928c8a6 100644 --- a/src/Chats/Messages/MessageUnlikeParams.php +++ b/src/Chats/Messages/MessageUnlikeParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unlike a chat message. * - * @see Onlyfansapi\Services\Chats\MessagesService::unlike() + * @see OnlyFansAPI\Services\Chats\MessagesService::unlike() * * @phpstan-type MessageUnlikeParamsShape = array{account: string, chatID: string} */ diff --git a/src/Chats/Messages/MessageUnlikeResponse.php b/src/Chats/Messages/MessageUnlikeResponse.php index 25f40aac..f4f1acae 100644 --- a/src/Chats/Messages/MessageUnlikeResponse.php +++ b/src/Chats/Messages/MessageUnlikeResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageUnlikeResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\Data * * @phpstan-type MessageUnlikeResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessageUnlikeResponse/Data.php b/src/Chats/Messages/MessageUnlikeResponse/Data.php index 33d1f844..e0846c32 100644 --- a/src/Chats/Messages/MessageUnlikeResponse/Data.php +++ b/src/Chats/Messages/MessageUnlikeResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnlikeResponse; +namespace OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{isLiked?: bool|null, success?: bool|null} diff --git a/src/Chats/Messages/MessageUnlikeResponse/_Meta.php b/src/Chats/Messages/MessageUnlikeResponse/_Meta.php index 138f7281..3938d1e9 100644 --- a/src/Chats/Messages/MessageUnlikeResponse/_Meta.php +++ b/src/Chats/Messages/MessageUnlikeResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnlikeResponse; +namespace OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Cache.php index 9aebb039..f1d2422a 100644 --- a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Credits.php index 2a4b016f..50799045 100644 --- a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_RateLimits.php index 44b18f9d..4af5e6c5 100644 --- a/src/Chats/Messages/MessageUnlikeResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageUnlikeResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnlikeResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Chats/Messages/MessageUnpinParams.php b/src/Chats/Messages/MessageUnpinParams.php index 55c59b99..d7f288a6 100644 --- a/src/Chats/Messages/MessageUnpinParams.php +++ b/src/Chats/Messages/MessageUnpinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unpin a message from a chat. * - * @see Onlyfansapi\Services\Chats\MessagesService::unpin() + * @see OnlyFansAPI\Services\Chats\MessagesService::unpin() * * @phpstan-type MessageUnpinParamsShape = array{account: string, chatID: string} */ diff --git a/src/Chats/Messages/MessageUnpinResponse.php b/src/Chats/Messages/MessageUnpinResponse.php index e1d34642..4e976959 100644 --- a/src/Chats/Messages/MessageUnpinResponse.php +++ b/src/Chats/Messages/MessageUnpinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages; +namespace OnlyFansAPI\Chats\Messages; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Chats\Messages\MessageUnpinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Chats\Messages\MessageUnpinResponse\Data * * @phpstan-type MessageUnpinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Chats/Messages/MessageUnpinResponse/Data.php b/src/Chats/Messages/MessageUnpinResponse/Data.php index e0aa4970..54404901 100644 --- a/src/Chats/Messages/MessageUnpinResponse/Data.php +++ b/src/Chats/Messages/MessageUnpinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnpinResponse; +namespace OnlyFansAPI\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Chats/Messages/MessageUnpinResponse/_Meta.php b/src/Chats/Messages/MessageUnpinResponse/_Meta.php index 12b25c50..2429e9b6 100644 --- a/src/Chats/Messages/MessageUnpinResponse/_Meta.php +++ b/src/Chats/Messages/MessageUnpinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnpinResponse; +namespace OnlyFansAPI\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_Cache; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_Credits; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_Cache; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_Credits; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Chats/Messages/MessageUnpinResponse/_Meta/_Cache.php b/src/Chats/Messages/MessageUnpinResponse/_Meta/_Cache.php index dc9bbc50..315eb104 100644 --- a/src/Chats/Messages/MessageUnpinResponse/_Meta/_Cache.php +++ b/src/Chats/Messages/MessageUnpinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Chats/Messages/MessageUnpinResponse/_Meta/_Credits.php b/src/Chats/Messages/MessageUnpinResponse/_Meta/_Credits.php index 3130acfe..d5e0fa86 100644 --- a/src/Chats/Messages/MessageUnpinResponse/_Meta/_Credits.php +++ b/src/Chats/Messages/MessageUnpinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Chats/Messages/MessageUnpinResponse/_Meta/_RateLimits.php b/src/Chats/Messages/MessageUnpinResponse/_Meta/_RateLimits.php index 90e45859..d801194d 100644 --- a/src/Chats/Messages/MessageUnpinResponse/_Meta/_RateLimits.php +++ b/src/Chats/Messages/MessageUnpinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Chats\Messages\MessageUnpinResponse\_Meta; +namespace OnlyFansAPI\Chats\Messages\MessageUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Client.php b/src/Client.php index c765ef7a..9dc8331a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -2,60 +2,60 @@ declare(strict_types=1); -namespace Onlyfansapi; +namespace OnlyFansAPI; use Http\Discovery\Psr17FactoryDiscovery; use Http\Discovery\Psr18ClientDiscovery; -use Onlyfansapi\Core\BaseClient; -use Onlyfansapi\Core\Implementation\StreamingHttpClient; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Services\AccountsService; -use Onlyfansapi\Services\AnalyticsService; -use Onlyfansapi\Services\AuthenticateService; -use Onlyfansapi\Services\BankingService; -use Onlyfansapi\Services\BundlesService; -use Onlyfansapi\Services\ChargebacksService; -use Onlyfansapi\Services\ChatsService; -use Onlyfansapi\Services\ClientSessionsService; -use Onlyfansapi\Services\DataExportsService; -use Onlyfansapi\Services\EngagementService; -use Onlyfansapi\Services\FansService; -use Onlyfansapi\Services\FollowingService; -use Onlyfansapi\Services\GiphyService; -use Onlyfansapi\Services\LinkTagsService; -use Onlyfansapi\Services\MassMessagingService; -use Onlyfansapi\Services\MediaService; -use Onlyfansapi\Services\MeService; -use Onlyfansapi\Services\MessagesService; -use Onlyfansapi\Services\NotificationsService; -use Onlyfansapi\Services\PayoutsService; -use Onlyfansapi\Services\PostsService; -use Onlyfansapi\Services\ProfilesService; -use Onlyfansapi\Services\PromotionsService; -use Onlyfansapi\Services\QueueService; -use Onlyfansapi\Services\ReleaseFormsService; -use Onlyfansapi\Services\SavedForLaterService; -use Onlyfansapi\Services\SearchService; -use Onlyfansapi\Services\SettingsService; -use Onlyfansapi\Services\SharedTrackingLinksService; -use Onlyfansapi\Services\SharedTrialLinksService; -use Onlyfansapi\Services\SmartLinkPostbacksService; -use Onlyfansapi\Services\SmartLinksService; -use Onlyfansapi\Services\StatisticsService; -use Onlyfansapi\Services\StoredService; -use Onlyfansapi\Services\StoriesService; -use Onlyfansapi\Services\SubscribersService; -use Onlyfansapi\Services\TrackingLinksService; -use Onlyfansapi\Services\TransactionsService; -use Onlyfansapi\Services\TrialLinksService; -use Onlyfansapi\Services\UserListsService; -use Onlyfansapi\Services\UsersService; -use Onlyfansapi\Services\WebhooksService; -use Onlyfansapi\Services\WhoamiService; +use OnlyFansAPI\Core\BaseClient; +use OnlyFansAPI\Core\Implementation\StreamingHttpClient; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Services\AccountsService; +use OnlyFansAPI\Services\AnalyticsService; +use OnlyFansAPI\Services\AuthenticateService; +use OnlyFansAPI\Services\BankingService; +use OnlyFansAPI\Services\BundlesService; +use OnlyFansAPI\Services\ChargebacksService; +use OnlyFansAPI\Services\ChatsService; +use OnlyFansAPI\Services\ClientSessionsService; +use OnlyFansAPI\Services\DataExportsService; +use OnlyFansAPI\Services\EngagementService; +use OnlyFansAPI\Services\FansService; +use OnlyFansAPI\Services\FollowingService; +use OnlyFansAPI\Services\GiphyService; +use OnlyFansAPI\Services\LinkTagsService; +use OnlyFansAPI\Services\MassMessagingService; +use OnlyFansAPI\Services\MediaService; +use OnlyFansAPI\Services\MeService; +use OnlyFansAPI\Services\MessagesService; +use OnlyFansAPI\Services\NotificationsService; +use OnlyFansAPI\Services\PayoutsService; +use OnlyFansAPI\Services\PostsService; +use OnlyFansAPI\Services\ProfilesService; +use OnlyFansAPI\Services\PromotionsService; +use OnlyFansAPI\Services\QueueService; +use OnlyFansAPI\Services\ReleaseFormsService; +use OnlyFansAPI\Services\SavedForLaterService; +use OnlyFansAPI\Services\SearchService; +use OnlyFansAPI\Services\SettingsService; +use OnlyFansAPI\Services\SharedTrackingLinksService; +use OnlyFansAPI\Services\SharedTrialLinksService; +use OnlyFansAPI\Services\SmartLinkPostbacksService; +use OnlyFansAPI\Services\SmartLinksService; +use OnlyFansAPI\Services\StatisticsService; +use OnlyFansAPI\Services\StoredService; +use OnlyFansAPI\Services\StoriesService; +use OnlyFansAPI\Services\SubscribersService; +use OnlyFansAPI\Services\TrackingLinksService; +use OnlyFansAPI\Services\TransactionsService; +use OnlyFansAPI\Services\TrialLinksService; +use OnlyFansAPI\Services\UserListsService; +use OnlyFansAPI\Services\UsersService; +use OnlyFansAPI\Services\WebhooksService; +use OnlyFansAPI\Services\WhoamiService; /** - * @phpstan-import-type NormalizedRequest from \Onlyfansapi\Core\BaseClient - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type NormalizedRequest from \OnlyFansAPI\Core\BaseClient + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ class Client extends BaseClient { diff --git a/src/ClientSessions/ClientSessionCreateParams.php b/src/ClientSessions/ClientSessionCreateParams.php index 9b9fc09d..34d7163f 100644 --- a/src/ClientSessions/ClientSessionCreateParams.php +++ b/src/ClientSessions/ClientSessionCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions; +namespace OnlyFansAPI\ClientSessions; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams\ProxyCountry; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams\ProxyCountry; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create Client Session Token for later use in embedded auth components - eg. via @onlyfansapi/auth npm package. * - * @see Onlyfansapi\Services\ClientSessionsService::create() + * @see OnlyFansAPI\Services\ClientSessionsService::create() * * @phpstan-type ClientSessionCreateParamsShape = array{ * displayName: string, diff --git a/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php b/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php index 5db6011b..54e1fe2e 100644 --- a/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php +++ b/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionCreateParams; +namespace OnlyFansAPI\ClientSessions\ClientSessionCreateParams; enum ProxyCountry: string { diff --git a/src/ClientSessions/ClientSessionNewResponse.php b/src/ClientSessions/ClientSessionNewResponse.php index a9edad23..2747baa6 100644 --- a/src/ClientSessions/ClientSessionNewResponse.php +++ b/src/ClientSessions/ClientSessionNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions; +namespace OnlyFansAPI\ClientSessions; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\ClientSessions\ClientSessionNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\ClientSessions\ClientSessionNewResponse\Data * * @phpstan-type ClientSessionNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/ClientSessions/ClientSessionNewResponse/Data.php b/src/ClientSessions/ClientSessionNewResponse/Data.php index f772ead4..8ac7ee7c 100644 --- a/src/ClientSessions/ClientSessionNewResponse/Data.php +++ b/src/ClientSessions/ClientSessionNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionNewResponse; +namespace OnlyFansAPI\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/ClientSessions/ClientSessionNewResponse/_Meta.php b/src/ClientSessions/ClientSessionNewResponse/_Meta.php index 293b3ddd..a7984943 100644 --- a/src/ClientSessions/ClientSessionNewResponse/_Meta.php +++ b/src/ClientSessions/ClientSessionNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionNewResponse; +namespace OnlyFansAPI\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_Cache; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_Credits; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_RateLimits; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_Cache; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_Credits; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/ClientSessions/ClientSessionNewResponse/_Meta/_Cache.php b/src/ClientSessions/ClientSessionNewResponse/_Meta/_Cache.php index 5f132e58..574f97ac 100644 --- a/src/ClientSessions/ClientSessionNewResponse/_Meta/_Cache.php +++ b/src/ClientSessions/ClientSessionNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta; +namespace OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/ClientSessions/ClientSessionNewResponse/_Meta/_Credits.php b/src/ClientSessions/ClientSessionNewResponse/_Meta/_Credits.php index b6e0d67e..a359676d 100644 --- a/src/ClientSessions/ClientSessionNewResponse/_Meta/_Credits.php +++ b/src/ClientSessions/ClientSessionNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta; +namespace OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/ClientSessions/ClientSessionNewResponse/_Meta/_RateLimits.php b/src/ClientSessions/ClientSessionNewResponse/_Meta/_RateLimits.php index 8e1fc55b..8cc13b24 100644 --- a/src/ClientSessions/ClientSessionNewResponse/_Meta/_RateLimits.php +++ b/src/ClientSessions/ClientSessionNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ClientSessions\ClientSessionNewResponse\_Meta; +namespace OnlyFansAPI\ClientSessions\ClientSessionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Core.php b/src/Core.php index 04cc1048..6e2888da 100644 --- a/src/Core.php +++ b/src/Core.php @@ -2,4 +2,4 @@ declare(strict_types=1); -namespace Onlyfansapi\Core; +namespace OnlyFansAPI\Core; diff --git a/src/Core/Attributes/Optional.php b/src/Core/Attributes/Optional.php index 189e501a..952ec18f 100644 --- a/src/Core/Attributes/Optional.php +++ b/src/Core/Attributes/Optional.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Attributes; +namespace OnlyFansAPI\Core\Attributes; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; /** * @internal diff --git a/src/Core/Attributes/Required.php b/src/Core/Attributes/Required.php index a67a7236..e929e503 100644 --- a/src/Core/Attributes/Required.php +++ b/src/Core/Attributes/Required.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Attributes; +namespace OnlyFansAPI\Core\Attributes; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Conversion\EnumOf; -use Onlyfansapi\Core\Conversion\ListOf; -use Onlyfansapi\Core\Conversion\MapOf; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\EnumOf; +use OnlyFansAPI\Core\Conversion\ListOf; +use OnlyFansAPI\Core\Conversion\MapOf; /** * @internal diff --git a/src/Core/BaseClient.php b/src/Core/BaseClient.php index d82bb4da..1c4ad375 100644 --- a/src/Core/BaseClient.php +++ b/src/Core/BaseClient.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Core; - -use Onlyfansapi\Core\Contracts\BasePage; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Contracts\BaseStream; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Exceptions\APIConnectionException; -use Onlyfansapi\Core\Exceptions\APIStatusException; -use Onlyfansapi\Core\Implementation\RawResponse; -use Onlyfansapi\RequestOptions; +namespace OnlyFansAPI\Core; + +use OnlyFansAPI\Core\Contracts\BasePage; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Contracts\BaseStream; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Exceptions\APIConnectionException; +use OnlyFansAPI\Core\Exceptions\APIStatusException; +use OnlyFansAPI\Core\Implementation\RawResponse; +use OnlyFansAPI\RequestOptions; use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\UriInterface; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions * * @phpstan-type NormalizedRequest = array{ * method: string, diff --git a/src/Core/Concerns/ResponseProxy.php b/src/Core/Concerns/ResponseProxy.php index 98871e53..db91c968 100644 --- a/src/Core/Concerns/ResponseProxy.php +++ b/src/Core/Concerns/ResponseProxy.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; +namespace OnlyFansAPI\Core\Concerns; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\StreamInterface; diff --git a/src/Core/Concerns/SdkEnum.php b/src/Core/Concerns/SdkEnum.php index b1e12c17..308f8459 100644 --- a/src/Core/Concerns/SdkEnum.php +++ b/src/Core/Concerns/SdkEnum.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; +namespace OnlyFansAPI\Core\Concerns; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\EnumOf; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\EnumOf; /** * @internal diff --git a/src/Core/Concerns/SdkModel.php b/src/Core/Concerns/SdkModel.php index 4c7ea8a5..a3e86742 100644 --- a/src/Core/Concerns/SdkModel.php +++ b/src/Core/Concerns/SdkModel.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; - -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\CoerceState; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\ModelOf; -use Onlyfansapi\Core\Util; +namespace OnlyFansAPI\Core\Concerns; + +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\CoerceState; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\ModelOf; +use OnlyFansAPI\Core\Util; /** * @internal diff --git a/src/Core/Concerns/SdkPage.php b/src/Core/Concerns/SdkPage.php index b89aa12d..df721197 100644 --- a/src/Core/Concerns/SdkPage.php +++ b/src/Core/Concerns/SdkPage.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; +namespace OnlyFansAPI\Core\Concerns; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Exceptions\APIStatusException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Exceptions\APIStatusException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type NormalizedRequest from \Onlyfansapi\Core\BaseClient + * @phpstan-import-type NormalizedRequest from \OnlyFansAPI\Core\BaseClient * * @internal * diff --git a/src/Core/Concerns/SdkParams.php b/src/Core/Concerns/SdkParams.php index 5c2a27a7..29a94eec 100644 --- a/src/Core/Concerns/SdkParams.php +++ b/src/Core/Concerns/SdkParams.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; +namespace OnlyFansAPI\Core\Concerns; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\DumpState; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\DumpState; +use OnlyFansAPI\RequestOptions; /** * @internal diff --git a/src/Core/Concerns/SdkUnion.php b/src/Core/Concerns/SdkUnion.php index 3dfafb07..386fce4f 100644 --- a/src/Core/Concerns/SdkUnion.php +++ b/src/Core/Concerns/SdkUnion.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Concerns; +namespace OnlyFansAPI\Core\Concerns; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Conversion\UnionOf; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\UnionOf; /** * @internal diff --git a/src/Core/Contracts/BaseModel.php b/src/Core/Contracts/BaseModel.php index aed348a0..61f47b81 100644 --- a/src/Core/Contracts/BaseModel.php +++ b/src/Core/Contracts/BaseModel.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Contracts; +namespace OnlyFansAPI\Core\Contracts; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; /** * @internal diff --git a/src/Core/Contracts/BasePage.php b/src/Core/Contracts/BasePage.php index 41c71b87..794d5b6f 100644 --- a/src/Core/Contracts/BasePage.php +++ b/src/Core/Contracts/BasePage.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Contracts; +namespace OnlyFansAPI\Core\Contracts; /** - * @phpstan-import-type NormalizedRequest from \Onlyfansapi\Core\BaseClient + * @phpstan-import-type NormalizedRequest from \OnlyFansAPI\Core\BaseClient * * @internal * diff --git a/src/Core/Contracts/BaseResponse.php b/src/Core/Contracts/BaseResponse.php index 3b13861c..4c60e262 100644 --- a/src/Core/Contracts/BaseResponse.php +++ b/src/Core/Contracts/BaseResponse.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Contracts; +namespace OnlyFansAPI\Core\Contracts; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; diff --git a/src/Core/Contracts/BaseStream.php b/src/Core/Contracts/BaseStream.php index eb975fbc..755ba9c5 100644 --- a/src/Core/Contracts/BaseStream.php +++ b/src/Core/Contracts/BaseStream.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Contracts; +namespace OnlyFansAPI\Core\Contracts; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; diff --git a/src/Core/Conversion.php b/src/Core/Conversion.php index 43a147e6..37211669 100644 --- a/src/Core/Conversion.php +++ b/src/Core/Conversion.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Core; +namespace OnlyFansAPI\Core; -use Onlyfansapi\Core\Conversion\CoerceState; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Conversion\DumpState; -use Onlyfansapi\Core\Conversion\EnumOf; +use OnlyFansAPI\Core\Conversion\CoerceState; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\DumpState; +use OnlyFansAPI\Core\Conversion\EnumOf; /** * @internal diff --git a/src/Core/Conversion/CoerceState.php b/src/Core/Conversion/CoerceState.php index 778cf02e..1bcee5fe 100644 --- a/src/Core/Conversion/CoerceState.php +++ b/src/Core/Conversion/CoerceState.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; /** * @internal diff --git a/src/Core/Conversion/Concerns/ArrayOf.php b/src/Core/Conversion/Concerns/ArrayOf.php index 331ddad5..06c6b55b 100644 --- a/src/Core/Conversion/Concerns/ArrayOf.php +++ b/src/Core/Conversion/Concerns/ArrayOf.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion\Concerns; +namespace OnlyFansAPI\Core\Conversion\Concerns; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\CoerceState; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Core\Conversion\DumpState; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\CoerceState; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Conversion\DumpState; /** * @internal diff --git a/src/Core/Conversion/Contracts/Converter.php b/src/Core/Conversion/Contracts/Converter.php index 1287cf70..3f98f037 100644 --- a/src/Core/Conversion/Contracts/Converter.php +++ b/src/Core/Conversion/Contracts/Converter.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion\Contracts; +namespace OnlyFansAPI\Core\Conversion\Contracts; -use Onlyfansapi\Core\Conversion\CoerceState; -use Onlyfansapi\Core\Conversion\DumpState; +use OnlyFansAPI\Core\Conversion\CoerceState; +use OnlyFansAPI\Core\Conversion\DumpState; /** * @internal diff --git a/src/Core/Conversion/Contracts/ConverterSource.php b/src/Core/Conversion/Contracts/ConverterSource.php index 488b517d..bc8b2afc 100644 --- a/src/Core/Conversion/Contracts/ConverterSource.php +++ b/src/Core/Conversion/Contracts/ConverterSource.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion\Contracts; +namespace OnlyFansAPI\Core\Conversion\Contracts; /** * @internal diff --git a/src/Core/Conversion/DumpState.php b/src/Core/Conversion/DumpState.php index 4a440027..cfbf660f 100644 --- a/src/Core/Conversion/DumpState.php +++ b/src/Core/Conversion/DumpState.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; /** * @internal diff --git a/src/Core/Conversion/EnumOf.php b/src/Core/Conversion/EnumOf.php index b878f66f..ccd2ec01 100644 --- a/src/Core/Conversion/EnumOf.php +++ b/src/Core/Conversion/EnumOf.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; /** * @internal diff --git a/src/Core/Conversion/ListOf.php b/src/Core/Conversion/ListOf.php index a8fab014..10911814 100644 --- a/src/Core/Conversion/ListOf.php +++ b/src/Core/Conversion/ListOf.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Conversion\Concerns\ArrayOf; -use Onlyfansapi\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Concerns\ArrayOf; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; /** * @internal diff --git a/src/Core/Conversion/MapOf.php b/src/Core/Conversion/MapOf.php index 0d2a73e4..4beafd8d 100644 --- a/src/Core/Conversion/MapOf.php +++ b/src/Core/Conversion/MapOf.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Conversion\Concerns\ArrayOf; -use Onlyfansapi\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Concerns\ArrayOf; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; /** * @internal diff --git a/src/Core/Conversion/ModelOf.php b/src/Core/Conversion/ModelOf.php index bdfaaf12..e740792e 100644 --- a/src/Core/Conversion/ModelOf.php +++ b/src/Core/Conversion/ModelOf.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; /** * @internal diff --git a/src/Core/Conversion/PropertyInfo.php b/src/Core/Conversion/PropertyInfo.php index 883e47de..8b4acebf 100644 --- a/src/Core/Conversion/PropertyInfo.php +++ b/src/Core/Conversion/PropertyInfo.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; /** * @internal diff --git a/src/Core/Conversion/UnionOf.php b/src/Core/Conversion/UnionOf.php index 426faf33..cb15bf45 100644 --- a/src/Core/Conversion/UnionOf.php +++ b/src/Core/Conversion/UnionOf.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Core\Conversion; +namespace OnlyFansAPI\Core\Conversion; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Core\Conversion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Conversion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; /** * @internal diff --git a/src/Core/Exceptions/APIConnectionException.php b/src/Core/Exceptions/APIConnectionException.php index 50571ba8..6e301fa8 100644 --- a/src/Core/Exceptions/APIConnectionException.php +++ b/src/Core/Exceptions/APIConnectionException.php @@ -1,9 +1,9 @@ |null, + * data?: list<\OnlyFansAPI\DataExports\DataExportListResponse\Data\Data|DataShape1>|null, * meta?: null|Meta|MetaShape, * } */ diff --git a/src/DataExports/DataExportListResponse/Data/Data.php b/src/DataExports/DataExportListResponse/Data/Data.php index f4c58ba0..cad7beab 100644 --- a/src/DataExports/DataExportListResponse/Data/Data.php +++ b/src/DataExports/DataExportListResponse/Data/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\Data; +namespace OnlyFansAPI\DataExports\DataExportListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportListResponse\Data\Data\Account; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportListResponse\Data\Data\Account; /** - * @phpstan-import-type AccountShape from \Onlyfansapi\DataExports\DataExportListResponse\Data\Data\Account + * @phpstan-import-type AccountShape from \OnlyFansAPI\DataExports\DataExportListResponse\Data\Data\Account * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/DataExports/DataExportListResponse/Data/Data/Account.php b/src/DataExports/DataExportListResponse/Data/Data/Account.php index bccb53dd..f42ff9cf 100644 --- a/src/DataExports/DataExportListResponse/Data/Data/Account.php +++ b/src/DataExports/DataExportListResponse/Data/Data/Account.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\Data\Data; +namespace OnlyFansAPI\DataExports\DataExportListResponse\Data\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AccountShape = array{id?: string|null, displayName?: string|null} diff --git a/src/DataExports/DataExportListResponse/Data/Meta.php b/src/DataExports/DataExportListResponse/Data/Meta.php index 050ffd03..480af17c 100644 --- a/src/DataExports/DataExportListResponse/Data/Meta.php +++ b/src/DataExports/DataExportListResponse/Data/Meta.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\Data; +namespace OnlyFansAPI\DataExports\DataExportListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MetaShape = array{ diff --git a/src/DataExports/DataExportListResponse/_Meta.php b/src/DataExports/DataExportListResponse/_Meta.php index 05ca44c7..c9c4852c 100644 --- a/src/DataExports/DataExportListResponse/_Meta.php +++ b/src/DataExports/DataExportListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse; +namespace OnlyFansAPI\DataExports\DataExportListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportListResponse\_Meta\_Cache; -use Onlyfansapi\DataExports\DataExportListResponse\_Meta\_Credits; -use Onlyfansapi\DataExports\DataExportListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_Cache; +use OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_Credits; +use OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\DataExports\DataExportListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\DataExports\DataExportListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\DataExports\DataExportListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\DataExports\DataExportListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/DataExports/DataExportListResponse/_Meta/_Cache.php b/src/DataExports/DataExportListResponse/_Meta/_Cache.php index cfb40810..b7b2f298 100644 --- a/src/DataExports/DataExportListResponse/_Meta/_Cache.php +++ b/src/DataExports/DataExportListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/DataExports/DataExportListResponse/_Meta/_Credits.php b/src/DataExports/DataExportListResponse/_Meta/_Credits.php index d86b52a4..e1ef452a 100644 --- a/src/DataExports/DataExportListResponse/_Meta/_Credits.php +++ b/src/DataExports/DataExportListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/DataExports/DataExportListResponse/_Meta/_RateLimits.php b/src/DataExports/DataExportListResponse/_Meta/_RateLimits.php index c356be09..7f929dcc 100644 --- a/src/DataExports/DataExportListResponse/_Meta/_RateLimits.php +++ b/src/DataExports/DataExportListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportListResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/DataExports/DataExportNewResponse.php b/src/DataExports/DataExportNewResponse.php index 98bcf599..5a329c15 100644 --- a/src/DataExports/DataExportNewResponse.php +++ b/src/DataExports/DataExportNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports; +namespace OnlyFansAPI\DataExports; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportNewResponse\_Meta; -use Onlyfansapi\DataExports\DataExportNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportNewResponse\_Meta; +use OnlyFansAPI\DataExports\DataExportNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\DataExports\DataExportNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\DataExports\DataExportNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\DataExports\DataExportNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\DataExports\DataExportNewResponse\Data * * @phpstan-type DataExportNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/DataExports/DataExportNewResponse/Data.php b/src/DataExports/DataExportNewResponse/Data.php index 182852c2..8f9ba7c8 100644 --- a/src/DataExports/DataExportNewResponse/Data.php +++ b/src/DataExports/DataExportNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportNewResponse; +namespace OnlyFansAPI\DataExports\DataExportNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/DataExports/DataExportNewResponse/_Meta.php b/src/DataExports/DataExportNewResponse/_Meta.php index 02f0076d..04704e9c 100644 --- a/src/DataExports/DataExportNewResponse/_Meta.php +++ b/src/DataExports/DataExportNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportNewResponse; +namespace OnlyFansAPI\DataExports\DataExportNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_Cache; -use Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_Credits; -use Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_Cache; +use OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_Credits; +use OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\DataExports\DataExportNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\DataExports\DataExportNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/DataExports/DataExportNewResponse/_Meta/_Cache.php b/src/DataExports/DataExportNewResponse/_Meta/_Cache.php index 3b731c72..5c6fd35a 100644 --- a/src/DataExports/DataExportNewResponse/_Meta/_Cache.php +++ b/src/DataExports/DataExportNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportNewResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/DataExports/DataExportNewResponse/_Meta/_Credits.php b/src/DataExports/DataExportNewResponse/_Meta/_Credits.php index f53e194b..9bcbaf7c 100644 --- a/src/DataExports/DataExportNewResponse/_Meta/_Credits.php +++ b/src/DataExports/DataExportNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportNewResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/DataExports/DataExportNewResponse/_Meta/_RateLimits.php b/src/DataExports/DataExportNewResponse/_Meta/_RateLimits.php index 1db5bf4d..3919ac43 100644 --- a/src/DataExports/DataExportNewResponse/_Meta/_RateLimits.php +++ b/src/DataExports/DataExportNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportNewResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/DataExports/DataExportRetrieveParams.php b/src/DataExports/DataExportRetrieveParams.php index c746ff9a..095efa5e 100644 --- a/src/DataExports/DataExportRetrieveParams.php +++ b/src/DataExports/DataExportRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports; +namespace OnlyFansAPI\DataExports; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get the current status and progress of a data export. * - * @see Onlyfansapi\Services\DataExportsService::retrieve() + * @see OnlyFansAPI\Services\DataExportsService::retrieve() * * @phpstan-type DataExportRetrieveParamsShape = array{ * downloadURLExpiresIn?: int|null diff --git a/src/DataExports/DataExportRetryResponse.php b/src/DataExports/DataExportRetryResponse.php index 34106166..747097e0 100644 --- a/src/DataExports/DataExportRetryResponse.php +++ b/src/DataExports/DataExportRetryResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports; +namespace OnlyFansAPI\DataExports; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportRetryResponse\_Meta; -use Onlyfansapi\DataExports\DataExportRetryResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta; +use OnlyFansAPI\DataExports\DataExportRetryResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\DataExports\DataExportRetryResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\DataExports\DataExportRetryResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\DataExports\DataExportRetryResponse\Data * * @phpstan-type DataExportRetryResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/DataExports/DataExportRetryResponse/Data.php b/src/DataExports/DataExportRetryResponse/Data.php index 10079e60..15ac1695 100644 --- a/src/DataExports/DataExportRetryResponse/Data.php +++ b/src/DataExports/DataExportRetryResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportRetryResponse; +namespace OnlyFansAPI\DataExports\DataExportRetryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/DataExports/DataExportRetryResponse/_Meta.php b/src/DataExports/DataExportRetryResponse/_Meta.php index d6afc5d3..d679f9e7 100644 --- a/src/DataExports/DataExportRetryResponse/_Meta.php +++ b/src/DataExports/DataExportRetryResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportRetryResponse; +namespace OnlyFansAPI\DataExports\DataExportRetryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_Cache; -use Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_Credits; -use Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_Cache; +use OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_Credits; +use OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\DataExports\DataExportRetryResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/DataExports/DataExportRetryResponse/_Meta/_Cache.php b/src/DataExports/DataExportRetryResponse/_Meta/_Cache.php index 8f9ac081..66715d7a 100644 --- a/src/DataExports/DataExportRetryResponse/_Meta/_Cache.php +++ b/src/DataExports/DataExportRetryResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportRetryResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/DataExports/DataExportRetryResponse/_Meta/_Credits.php b/src/DataExports/DataExportRetryResponse/_Meta/_Credits.php index b5dc9061..cd62639b 100644 --- a/src/DataExports/DataExportRetryResponse/_Meta/_Credits.php +++ b/src/DataExports/DataExportRetryResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportRetryResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/DataExports/DataExportRetryResponse/_Meta/_RateLimits.php b/src/DataExports/DataExportRetryResponse/_Meta/_RateLimits.php index 0e52dff7..0ceb5409 100644 --- a/src/DataExports/DataExportRetryResponse/_Meta/_RateLimits.php +++ b/src/DataExports/DataExportRetryResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportRetryResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportRetryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/DataExports/DataExportStartResponse.php b/src/DataExports/DataExportStartResponse.php index 8663fb25..4ef0c143 100644 --- a/src/DataExports/DataExportStartResponse.php +++ b/src/DataExports/DataExportStartResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports; +namespace OnlyFansAPI\DataExports; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportStartResponse\_Meta; -use Onlyfansapi\DataExports\DataExportStartResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportStartResponse\_Meta; +use OnlyFansAPI\DataExports\DataExportStartResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\DataExports\DataExportStartResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\DataExports\DataExportStartResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\DataExports\DataExportStartResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\DataExports\DataExportStartResponse\Data * * @phpstan-type DataExportStartResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/DataExports/DataExportStartResponse/Data.php b/src/DataExports/DataExportStartResponse/Data.php index 058bfb32..a300dd1e 100644 --- a/src/DataExports/DataExportStartResponse/Data.php +++ b/src/DataExports/DataExportStartResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportStartResponse; +namespace OnlyFansAPI\DataExports\DataExportStartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/DataExports/DataExportStartResponse/_Meta.php b/src/DataExports/DataExportStartResponse/_Meta.php index bb5348ba..f1dab7ad 100644 --- a/src/DataExports/DataExportStartResponse/_Meta.php +++ b/src/DataExports/DataExportStartResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportStartResponse; +namespace OnlyFansAPI\DataExports\DataExportStartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_Cache; -use Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_Credits; -use Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_Cache; +use OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_Credits; +use OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\DataExports\DataExportStartResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\DataExports\DataExportStartResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/DataExports/DataExportStartResponse/_Meta/_Cache.php b/src/DataExports/DataExportStartResponse/_Meta/_Cache.php index fcc70766..f2550523 100644 --- a/src/DataExports/DataExportStartResponse/_Meta/_Cache.php +++ b/src/DataExports/DataExportStartResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportStartResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportStartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/DataExports/DataExportStartResponse/_Meta/_Credits.php b/src/DataExports/DataExportStartResponse/_Meta/_Credits.php index 7712f365..62d68410 100644 --- a/src/DataExports/DataExportStartResponse/_Meta/_Credits.php +++ b/src/DataExports/DataExportStartResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportStartResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportStartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/DataExports/DataExportStartResponse/_Meta/_RateLimits.php b/src/DataExports/DataExportStartResponse/_Meta/_RateLimits.php index 8747b5e5..d79119b9 100644 --- a/src/DataExports/DataExportStartResponse/_Meta/_RateLimits.php +++ b/src/DataExports/DataExportStartResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\DataExports\DataExportStartResponse\_Meta; +namespace OnlyFansAPI\DataExports\DataExportStartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php index 418889df..7aa45ed1 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get engagement chart metrics for direct messages: sent count and purchase amount over time. * - * @see Onlyfansapi\Services\Engagement\Messages\DirectMessagesService::chart() + * @see OnlyFansAPI\Services\Engagement\Messages\DirectMessagesService::chart() * * @phpstan-type DirectMessageChartParamsShape = array{ * endDate?: string|null, startDate?: string|null, withTotal?: bool|null diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse.php index efd83f05..abb8c1c9 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data * * @phpstan-type DirectMessageChartResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data.php index a0be54d6..b84b1f1d 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases; /** - * @phpstan-import-type DirectMessagesShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages - * @phpstan-import-type DirectMessagesPurchasesShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases + * @phpstan-import-type DirectMessagesShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages + * @phpstan-import-type DirectMessagesPurchasesShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases * * @phpstan-type DataShape = array{ * directMessages?: null|DirectMessages|DirectMessagesShape, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages.php index 53907296..90085229 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages\Chart; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages\Chart; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages\Chart + * @phpstan-import-type ChartShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages\Chart * * @phpstan-type DirectMessagesShape = array{ * chart?: list|null, delta?: int|null, total?: int|null diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages/Chart.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages/Chart.php index 8d738683..a52f12a5 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages/Chart.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessages/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases.php index 152f86d0..ae535036 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases\Chart; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases\Chart; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases\Chart + * @phpstan-import-type ChartShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases\Chart * * @phpstan-type DirectMessagesPurchasesShape = array{ * chart?: list|null, delta?: float|null, total?: float|null diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases/Chart.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases/Chart.php index 25989312..aad68a38 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases/Chart.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/Data/DirectMessagesPurchases/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\Data\DirectMessagesPurchases; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{count?: float|null, date?: string|null} diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta.php index 37bcafe3..c441fd16 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Cache.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Cache.php index af3d2c09..4c9e5869 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Credits.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Credits.php index 6ca5a53a..f163c8a4 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_RateLimits.php index 52654475..84d67e6d 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php b/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php index dbbdeb29..8f7a6c7f 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List sent direct messages with engagement stats (sent, viewed, purchased, etc.). * - * @see Onlyfansapi\Services\Engagement\Messages\DirectMessagesService::list() + * @see OnlyFansAPI\Services\Engagement\Messages\DirectMessagesService::list() * * @phpstan-type DirectMessageListParamsShape = array{ * endDate?: string|null, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse.php index 79b97eea..911b3de0 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Pagination; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Pagination; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data * * @phpstan-type DirectMessageListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data.php index 64ec1159..f97c7781 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item; /** - * @phpstan-import-type ItemShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item + * @phpstan-import-type ItemShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item * * @phpstan-type DataShape = array{ * hasMore?: bool|null, items?: list|null diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item.php index 1e08a072..f7a6d370 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media * * @phpstan-type ItemShape = array{ * id?: int|null, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media.php index 946bebba..44b49da8 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files.php index 806599f5..73ef072e 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Full; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Preview; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\SquarePreview; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Full; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Preview; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\SquarePreview; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Full.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Full.php index 657ba1f8..a6f73a72 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Full.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Preview.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Preview.php index e36ee929..888aec8d 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Preview.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/SquarePreview.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/SquarePreview.php index d1e6708b..c8cdf1e4 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/SquarePreview.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Thumb.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Thumb.php index 1a43c2bd..5ce36562 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Thumb.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/VideoSources.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/VideoSources.php index b597ddc1..495c27a0 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/VideoSources.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/Data/Item/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\Data\Item\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta.php index da3233d5..b5d1be87 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Cache.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Cache.php index ccc5f645..bad1fecf 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Credits.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Credits.php index 3baebef4..68a10bef 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_RateLimits.php index e1b58de8..a1a32c84 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Pagination.php b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Pagination.php index 7b632860..cc71084d 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Pagination.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartParams.php b/src/Engagement/Messages/MassMessages/MassMessageChartParams.php index 4f62b226..c2c75f44 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartParams.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages; +namespace OnlyFansAPI\Engagement\Messages\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get engagement chart metrics for mass messages: sent count and purchase amount over time. * - * @see Onlyfansapi\Services\Engagement\Messages\MassMessagesService::chart() + * @see OnlyFansAPI\Services\Engagement\Messages\MassMessagesService::chart() * * @phpstan-type MassMessageChartParamsShape = array{ * endDate?: string|null, startDate?: string|null, withTotal?: bool|null diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse.php index 621477d8..2c862821 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages; +namespace OnlyFansAPI\Engagement\Messages\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data * * @phpstan-type MassMessageChartResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data.php index 03568094..46f22f2a 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases; /** - * @phpstan-import-type GroupMessagesShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages - * @phpstan-import-type GroupMessagesPurchasesShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases + * @phpstan-import-type GroupMessagesShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages + * @phpstan-import-type GroupMessagesPurchasesShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases * * @phpstan-type DataShape = array{ * groupMessages?: null|GroupMessages|GroupMessagesShape, diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages.php index 4eed391e..3658d017 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages\Chart; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages\Chart; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages\Chart + * @phpstan-import-type ChartShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages\Chart * * @phpstan-type GroupMessagesShape = array{ * chart?: list|null, delta?: float|null, total?: int|null diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages/Chart.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages/Chart.php index 03deefac..3cbb1e44 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages/Chart.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessages/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases.php index 40920c24..cfdf47c1 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases\Chart; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases\Chart; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases\Chart + * @phpstan-import-type ChartShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases\Chart * * @phpstan-type GroupMessagesPurchasesShape = array{ * chart?: list|null, delta?: float|null, total?: int|null diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases/Chart.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases/Chart.php index e3610408..e5471c38 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases/Chart.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/Data/GroupMessagesPurchases/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\Data\GroupMessagesPurchases; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{count?: float|null, date?: string|null} diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta.php index 101a00a4..4e3f921b 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Cache.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Cache.php index f7f45d8a..30f4f66e 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Credits.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Credits.php index c483edee..7fc66233 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_RateLimits.php index 0455c899..b3c5e594 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/MassMessages/MassMessageListParams.php b/src/Engagement/Messages/MassMessages/MassMessageListParams.php index da96c7d2..cf60cf8f 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListParams.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages; +namespace OnlyFansAPI\Engagement\Messages\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List sent mass messages with engagement stats (sent, viewed, purchased, etc.). * - * @see Onlyfansapi\Services\Engagement\Messages\MassMessagesService::list() + * @see OnlyFansAPI\Services\Engagement\Messages\MassMessagesService::list() * * @phpstan-type MassMessageListParamsShape = array{ * endDate?: string|null, diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse.php index 67b1cf02..3ca849d3 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages; +namespace OnlyFansAPI\Engagement\Messages\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Pagination; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Pagination; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\Data * * @phpstan-type MassMessageListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data.php index 52f74058..5191fa29 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\Data\Item; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\Data\Item; /** - * @phpstan-import-type ItemShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\Data\Item + * @phpstan-import-type ItemShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\Data\Item * * @phpstan-type DataShape = array{ * hasMore?: bool|null, items?: list|null diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data/Item.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data/Item.php index 91df837e..b4fb3b44 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data/Item.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/Data/Item.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ItemShape = array{ diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta.php index 873e0286..4233ea00 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Cache.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Cache.php index e43a223b..9ebde678 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Credits.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Credits.php index 5251eee9..6838bf88 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_RateLimits.php index ae7e5913..d1af55be 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Pagination.php b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Pagination.php index b0343949..8790fa3c 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Pagination.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; +namespace OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Engagement/Messages/MessageGetMessageBuyersParams.php b/src/Engagement/Messages/MessageGetMessageBuyersParams.php index 59ce7278..3e223e70 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersParams.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages; +namespace OnlyFansAPI\Engagement\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List buyers for a specific message. * - * @see Onlyfansapi\Services\Engagement\MessagesService::getMessageBuyers() + * @see OnlyFansAPI\Services\Engagement\MessagesService::getMessageBuyers() * * @phpstan-type MessageGetMessageBuyersParamsShape = array{ * account: string, diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse.php index e2a3d7f9..7523409a 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages; +namespace OnlyFansAPI\Engagement\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Pagination; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Pagination; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\Data * * @phpstan-type MessageGetMessageBuyersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data.php index 28e7f7ec..b3998dd3 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, marker?: int|null diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data/List_.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data/List_.php index e2c38032..62235750 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data/List_.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta.php index abda51e9..1ed58bbf 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Cache.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Cache.php index 9a7dd6f4..3a24e7e5 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Credits.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Credits.php index c7876bf1..c0686939 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_RateLimits.php index ef057257..f581b2f7 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Pagination.php b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Pagination.php index f34aefac..099fcf44 100644 --- a/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Pagination.php +++ b/src/Engagement/Messages/MessageGetMessageBuyersResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; +namespace OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Engagement/Messages/MessageGetTopMessageParams.php b/src/Engagement/Messages/MessageGetTopMessageParams.php index a6a9062b..e4f90295 100644 --- a/src/Engagement/Messages/MessageGetTopMessageParams.php +++ b/src/Engagement/Messages/MessageGetTopMessageParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages; +namespace OnlyFansAPI\Engagement\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get the top performing message by purchases in the selected timeframe. * - * @see Onlyfansapi\Services\Engagement\MessagesService::getTopMessage() + * @see OnlyFansAPI\Services\Engagement\MessagesService::getTopMessage() * * @phpstan-type MessageGetTopMessageParamsShape = array{ * endDate?: string|null, startDate?: string|null diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse.php b/src/Engagement/Messages/MessageGetTopMessageResponse.php index d8deba76..c5f6ed46 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages; +namespace OnlyFansAPI\Engagement\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data * * @phpstan-type MessageGetTopMessageResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data.php index 370afda7..68c7edbb 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; /** - * @phpstan-import-type PurchasesShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases + * @phpstan-import-type PurchasesShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases * * @phpstan-type DataShape = array{purchases?: null|Purchases|PurchasesShape} */ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases.php index 7a5e283f..cda8f80d 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media - * @phpstan-import-type RelationshipsShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships + * @phpstan-import-type MediaShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media + * @phpstan-import-type RelationshipsShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships * * @phpstan-type PurchasesShape = array{ * id?: int|null, diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media.php index 95ca52a6..9b447424 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files.php index 2ab36ae6..f5db9a35 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Full; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Preview; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\SquarePreview; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Full; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Preview; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\SquarePreview; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Full.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Full.php index f85bdd73..9756293d 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Full.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Preview.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Preview.php index 84b78602..19a9284a 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Preview.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/SquarePreview.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/SquarePreview.php index af431457..d12e836e 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/SquarePreview.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Thumb.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Thumb.php index a17684c0..34b7ce19 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Thumb.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/VideoSources.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/VideoSources.php index cf96ce2b..ecf49d22 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/VideoSources.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships.php index 57660f1b..25f92499 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships\Buyers; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships\Buyers; /** - * @phpstan-import-type BuyersShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships\Buyers + * @phpstan-import-type BuyersShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships\Buyers * * @phpstan-type RelationshipsShape = array{buyers?: null|Buyers|BuyersShape} */ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships/Buyers.php b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships/Buyers.php index 70156ecc..ef558e70 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships/Buyers.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/Data/Purchases/Relationships/Buyers.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\Data\Purchases\Relationships; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type BuyersShape = array{href?: string|null, method?: string|null} diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta.php b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta.php index c6f1ee65..f3254733 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Cache; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Credits; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Cache; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Credits; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Cache.php b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Cache.php index 72d0e8f2..9152d6b6 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Cache.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Credits.php b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Credits.php index 56d6f9f6..51dddb25 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Credits.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_RateLimits.php b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_RateLimits.php index 2ec9bc63..eff7f188 100644 --- a/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_RateLimits.php +++ b/src/Engagement/Messages/MessageGetTopMessageResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse\_Meta; +namespace OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanGetSubscriptionHistoryParams.php b/src/Fans/FanGetSubscriptionHistoryParams.php index 69e04235..f0d9cdd9 100644 --- a/src/Fans/FanGetSubscriptionHistoryParams.php +++ b/src/Fans/FanGetSubscriptionHistoryParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get Subscription History for a given OnlyFans User ID. This can be useful, for example, when the user's subscribed to your account for the first time. * - * @see Onlyfansapi\Services\FansService::getSubscriptionHistory() + * @see OnlyFansAPI\Services\FansService::getSubscriptionHistory() * * @phpstan-type FanGetSubscriptionHistoryParamsShape = array{account: string} */ diff --git a/src/Fans/FanGetSubscriptionHistoryResponse.php b/src/Fans/FanGetSubscriptionHistoryResponse.php index 45bcb1c8..a43b232a 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\Data * * @phpstan-type FanGetSubscriptionHistoryResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/Data.php b/src/Fans/FanGetSubscriptionHistoryResponse/Data.php index a1d627b6..7cd94e29 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/Data.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/Data/List_.php b/src/Fans/FanGetSubscriptionHistoryResponse/Data/List_.php index 14e43d32..c11d4f0a 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/Data/List_.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\Data; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta.php b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta.php index 9b0c0eb6..8698daf3 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Cache.php b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Cache.php index 73f65787..28217e51 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Cache.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Credits.php b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Credits.php index 251a0b3a..588af0f2 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Credits.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_RateLimits.php b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_RateLimits.php index e1d0118d..15f8b1c1 100644 --- a/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanGetSubscriptionHistoryResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse\_Meta; +namespace OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanListActiveParams.php b/src/Fans/FanListActiveParams.php index 0c0215c3..2441c559 100644 --- a/src/Fans/FanListActiveParams.php +++ b/src/Fans/FanListActiveParams.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveParams\Filter; -use Onlyfansapi\Fans\FanListActiveParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveParams\Filter; +use OnlyFansAPI\Fans\FanListActiveParams\Type; /** * Get a paginated list of fans for an Account. Newest fans are first. * - * @see Onlyfansapi\Services\FansService::listActive() + * @see OnlyFansAPI\Services\FansService::listActive() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListActiveParams\Filter * * @phpstan-type FanListActiveParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Fans/FanListActiveParams/Filter.php b/src/Fans/FanListActiveParams/Filter.php index 74adf3cc..d0073d70 100644 --- a/src/Fans/FanListActiveParams/Filter.php +++ b/src/Fans/FanListActiveParams/Filter.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveParams; +namespace OnlyFansAPI\Fans\FanListActiveParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveParams\Filter\Online; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveParams\Filter\Online; /** * @phpstan-type FilterShape = array{ diff --git a/src/Fans/FanListActiveParams/Filter/Online.php b/src/Fans/FanListActiveParams/Filter/Online.php index 8ce487d7..8e419d7d 100644 --- a/src/Fans/FanListActiveParams/Filter/Online.php +++ b/src/Fans/FanListActiveParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveParams\Filter; +namespace OnlyFansAPI\Fans\FanListActiveParams\Filter; /** * Filter by online status (`1` for online fans). diff --git a/src/Fans/FanListActiveParams/Type.php b/src/Fans/FanListActiveParams/Type.php index b984af29..1f739f6c 100644 --- a/src/Fans/FanListActiveParams/Type.php +++ b/src/Fans/FanListActiveParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveParams; +namespace OnlyFansAPI\Fans\FanListActiveParams; /** * Filter by fan type. diff --git a/src/Fans/FanListActiveResponse.php b/src/Fans/FanListActiveResponse.php index d01b9a24..c9893f75 100644 --- a/src/Fans/FanListActiveResponse.php +++ b/src/Fans/FanListActiveResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveResponse\_Meta; -use Onlyfansapi\Fans\FanListActiveResponse\_Pagination; -use Onlyfansapi\Fans\FanListActiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveResponse\_Meta; +use OnlyFansAPI\Fans\FanListActiveResponse\_Pagination; +use OnlyFansAPI\Fans\FanListActiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanListActiveResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Fans\FanListActiveResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanListActiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanListActiveResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Fans\FanListActiveResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data * * @phpstan-type FanListActiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Fans/FanListActiveResponse/Data.php b/src/Fans/FanListActiveResponse/Data.php index 5566eb03..2cd916d2 100644 --- a/src/Fans/FanListActiveResponse/Data.php +++ b/src/Fans/FanListActiveResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse; +namespace OnlyFansAPI\Fans\FanListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Fans/FanListActiveResponse/Data/List_.php b/src/Fans/FanListActiveResponse/Data/List_.php index b42caa41..72508e76 100644 --- a/src/Fans/FanListActiveResponse/Data/List_.php +++ b/src/Fans/FanListActiveResponse/Data/List_.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_\ListsState; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_\PromoOffer; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\ListsState; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\PromoOffer; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_\AvatarThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_\PromoOffer - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\AvatarThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\PromoOffer + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\SubscribedOnData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Fans/FanListActiveResponse/Data/List_/AvatarThumbs.php b/src/Fans/FanListActiveResponse/Data/List_/AvatarThumbs.php index 0ca4d5c4..116cf558 100644 --- a/src/Fans/FanListActiveResponse/Data/List_/AvatarThumbs.php +++ b/src/Fans/FanListActiveResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanListActiveResponse/Data/List_/ListsState.php b/src/Fans/FanListActiveResponse/Data/List_/ListsState.php index a6787e72..6f663025 100644 --- a/src/Fans/FanListActiveResponse/Data/List_/ListsState.php +++ b/src/Fans/FanListActiveResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanListActiveResponse/Data/List_/PromoOffer.php b/src/Fans/FanListActiveResponse/Data/List_/PromoOffer.php index dcd8eb8a..605bdbd2 100644 --- a/src/Fans/FanListActiveResponse/Data/List_/PromoOffer.php +++ b/src/Fans/FanListActiveResponse/Data/List_/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData.php b/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData.php index 6d135b2f..10d87926 100644 --- a/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData.php +++ b/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveResponse\Data\List_\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\FanListActiveResponse\Data\List_\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData/Subscribe.php b/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData/Subscribe.php index a0481f2c..3d6d74b1 100644 --- a/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData/Subscribe.php +++ b/src/Fans/FanListActiveResponse/Data/List_/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\Fans\FanListActiveResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/FanListActiveResponse/_Meta.php b/src/Fans/FanListActiveResponse/_Meta.php index 35047dbd..f5d69c49 100644 --- a/src/Fans/FanListActiveResponse/_Meta.php +++ b/src/Fans/FanListActiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse; +namespace OnlyFansAPI\Fans\FanListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListActiveResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanListActiveResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanListActiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanListActiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanListActiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanListActiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanListActiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanListActiveResponse/_Meta/_Cache.php b/src/Fans/FanListActiveResponse/_Meta/_Cache.php index 169a5139..0afe10fd 100644 --- a/src/Fans/FanListActiveResponse/_Meta/_Cache.php +++ b/src/Fans/FanListActiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanListActiveResponse/_Meta/_Credits.php b/src/Fans/FanListActiveResponse/_Meta/_Credits.php index 7d6cac0a..17f330ab 100644 --- a/src/Fans/FanListActiveResponse/_Meta/_Credits.php +++ b/src/Fans/FanListActiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanListActiveResponse/_Meta/_RateLimits.php b/src/Fans/FanListActiveResponse/_Meta/_RateLimits.php index 85a7de8d..9b9d3dbb 100644 --- a/src/Fans/FanListActiveResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanListActiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanListActiveResponse/_Pagination.php b/src/Fans/FanListActiveResponse/_Pagination.php index 4fdbcfe7..77e1d838 100644 --- a/src/Fans/FanListActiveResponse/_Pagination.php +++ b/src/Fans/FanListActiveResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListActiveResponse; +namespace OnlyFansAPI\Fans\FanListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Fans/FanListAllParams.php b/src/Fans/FanListAllParams.php index 0ecf6a0b..f9264ada 100644 --- a/src/Fans/FanListAllParams.php +++ b/src/Fans/FanListAllParams.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllParams\Filter; -use Onlyfansapi\Fans\FanListAllParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllParams\Filter; +use OnlyFansAPI\Fans\FanListAllParams\Type; /** * Get a paginated list of fans for an Account. Newest fans are first. * - * @see Onlyfansapi\Services\FansService::listAll() + * @see OnlyFansAPI\Services\FansService::listAll() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListAllParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListAllParams\Filter * * @phpstan-type FanListAllParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Fans/FanListAllParams/Filter.php b/src/Fans/FanListAllParams/Filter.php index 82fa05b4..e4b0ce8a 100644 --- a/src/Fans/FanListAllParams/Filter.php +++ b/src/Fans/FanListAllParams/Filter.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllParams; +namespace OnlyFansAPI\Fans\FanListAllParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllParams\Filter\Online; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllParams\Filter\Online; /** * @phpstan-type FilterShape = array{ diff --git a/src/Fans/FanListAllParams/Filter/Online.php b/src/Fans/FanListAllParams/Filter/Online.php index 459d1833..f94cc530 100644 --- a/src/Fans/FanListAllParams/Filter/Online.php +++ b/src/Fans/FanListAllParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllParams\Filter; +namespace OnlyFansAPI\Fans\FanListAllParams\Filter; /** * Filter by online status (`1` for online fans). diff --git a/src/Fans/FanListAllParams/Type.php b/src/Fans/FanListAllParams/Type.php index 6c6f2524..567e2d5b 100644 --- a/src/Fans/FanListAllParams/Type.php +++ b/src/Fans/FanListAllParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllParams; +namespace OnlyFansAPI\Fans\FanListAllParams; /** * Filter by fan type. diff --git a/src/Fans/FanListAllResponse.php b/src/Fans/FanListAllResponse.php index fd9de1f9..460172be 100644 --- a/src/Fans/FanListAllResponse.php +++ b/src/Fans/FanListAllResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllResponse\_Meta; -use Onlyfansapi\Fans\FanListAllResponse\_Pagination; -use Onlyfansapi\Fans\FanListAllResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllResponse\_Meta; +use OnlyFansAPI\Fans\FanListAllResponse\_Pagination; +use OnlyFansAPI\Fans\FanListAllResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanListAllResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Fans\FanListAllResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanListAllResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanListAllResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Fans\FanListAllResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanListAllResponse\Data * * @phpstan-type FanListAllResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Fans/FanListAllResponse/Data.php b/src/Fans/FanListAllResponse/Data.php index 996309b0..ee7a8435 100644 --- a/src/Fans/FanListAllResponse/Data.php +++ b/src/Fans/FanListAllResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse; +namespace OnlyFansAPI\Fans\FanListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Fans/FanListAllResponse/Data/List_.php b/src/Fans/FanListAllResponse/Data/List_.php index ec078b67..9ba4dc7e 100644 --- a/src/Fans/FanListAllResponse/Data/List_.php +++ b/src/Fans/FanListAllResponse/Data/List_.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_\ListsState; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_\PromoOffer; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_\ListsState; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_\PromoOffer; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_\AvatarThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_\PromoOffer - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_\AvatarThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_\PromoOffer + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_\SubscribedOnData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Fans/FanListAllResponse/Data/List_/AvatarThumbs.php b/src/Fans/FanListAllResponse/Data/List_/AvatarThumbs.php index cc91af7c..8944ec13 100644 --- a/src/Fans/FanListAllResponse/Data/List_/AvatarThumbs.php +++ b/src/Fans/FanListAllResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanListAllResponse/Data/List_/ListsState.php b/src/Fans/FanListAllResponse/Data/List_/ListsState.php index 3be057bb..0be1c83e 100644 --- a/src/Fans/FanListAllResponse/Data/List_/ListsState.php +++ b/src/Fans/FanListAllResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanListAllResponse/Data/List_/PromoOffer.php b/src/Fans/FanListAllResponse/Data/List_/PromoOffer.php index 5d3e50b8..b1900e93 100644 --- a/src/Fans/FanListAllResponse/Data/List_/PromoOffer.php +++ b/src/Fans/FanListAllResponse/Data/List_/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData.php b/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData.php index 968bc481..a7136ece 100644 --- a/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData.php +++ b/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllResponse\Data\List_\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllResponse\Data\List_\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\FanListAllResponse\Data\List_\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\FanListAllResponse\Data\List_\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData/Subscribe.php b/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData/Subscribe.php index f3c883b0..af335a41 100644 --- a/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData/Subscribe.php +++ b/src/Fans/FanListAllResponse/Data/List_/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\Fans\FanListAllResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/FanListAllResponse/_Meta.php b/src/Fans/FanListAllResponse/_Meta.php index 052732b8..7d499d22 100644 --- a/src/Fans/FanListAllResponse/_Meta.php +++ b/src/Fans/FanListAllResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse; +namespace OnlyFansAPI\Fans\FanListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListAllResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanListAllResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanListAllResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListAllResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanListAllResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanListAllResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanListAllResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanListAllResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanListAllResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanListAllResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanListAllResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanListAllResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanListAllResponse/_Meta/_Cache.php b/src/Fans/FanListAllResponse/_Meta/_Cache.php index 7b413453..8ed167eb 100644 --- a/src/Fans/FanListAllResponse/_Meta/_Cache.php +++ b/src/Fans/FanListAllResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanListAllResponse/_Meta/_Credits.php b/src/Fans/FanListAllResponse/_Meta/_Credits.php index a51cb450..a86637e6 100644 --- a/src/Fans/FanListAllResponse/_Meta/_Credits.php +++ b/src/Fans/FanListAllResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanListAllResponse/_Meta/_RateLimits.php b/src/Fans/FanListAllResponse/_Meta/_RateLimits.php index d7ead3a7..b990523d 100644 --- a/src/Fans/FanListAllResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanListAllResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanListAllResponse/_Pagination.php b/src/Fans/FanListAllResponse/_Pagination.php index 7d944836..3baeacba 100644 --- a/src/Fans/FanListAllResponse/_Pagination.php +++ b/src/Fans/FanListAllResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListAllResponse; +namespace OnlyFansAPI\Fans\FanListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Fans/FanListExpiredParams.php b/src/Fans/FanListExpiredParams.php index 4030b966..08a7df9a 100644 --- a/src/Fans/FanListExpiredParams.php +++ b/src/Fans/FanListExpiredParams.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredParams\Filter; -use Onlyfansapi\Fans\FanListExpiredParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredParams\Filter; +use OnlyFansAPI\Fans\FanListExpiredParams\Type; /** * Get a paginated list of expired fans for an Account. Newest fans are first. * - * @see Onlyfansapi\Services\FansService::listExpired() + * @see OnlyFansAPI\Services\FansService::listExpired() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListExpiredParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListExpiredParams\Filter * * @phpstan-type FanListExpiredParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Fans/FanListExpiredParams/Filter.php b/src/Fans/FanListExpiredParams/Filter.php index a30d9978..cf98c854 100644 --- a/src/Fans/FanListExpiredParams/Filter.php +++ b/src/Fans/FanListExpiredParams/Filter.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredParams; +namespace OnlyFansAPI\Fans\FanListExpiredParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredParams\Filter\Online; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredParams\Filter\Online; /** * @phpstan-type FilterShape = array{ diff --git a/src/Fans/FanListExpiredParams/Filter/Online.php b/src/Fans/FanListExpiredParams/Filter/Online.php index 032f6a01..fccd08cd 100644 --- a/src/Fans/FanListExpiredParams/Filter/Online.php +++ b/src/Fans/FanListExpiredParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredParams\Filter; +namespace OnlyFansAPI\Fans\FanListExpiredParams\Filter; /** * Filter by online status (`1` for online fans). diff --git a/src/Fans/FanListExpiredParams/Type.php b/src/Fans/FanListExpiredParams/Type.php index 842959f7..8e55efc5 100644 --- a/src/Fans/FanListExpiredParams/Type.php +++ b/src/Fans/FanListExpiredParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredParams; +namespace OnlyFansAPI\Fans\FanListExpiredParams; /** * Filter by fan type. diff --git a/src/Fans/FanListExpiredResponse.php b/src/Fans/FanListExpiredResponse.php index 1de6f9a3..426c27a2 100644 --- a/src/Fans/FanListExpiredResponse.php +++ b/src/Fans/FanListExpiredResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredResponse\_Meta; -use Onlyfansapi\Fans\FanListExpiredResponse\_Pagination; -use Onlyfansapi\Fans\FanListExpiredResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredResponse\_Meta; +use OnlyFansAPI\Fans\FanListExpiredResponse\_Pagination; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanListExpiredResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Fans\FanListExpiredResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanListExpiredResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Fans\FanListExpiredResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data * * @phpstan-type FanListExpiredResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Fans/FanListExpiredResponse/Data.php b/src/Fans/FanListExpiredResponse/Data.php index 93bbbe8d..e858bd09 100644 --- a/src/Fans/FanListExpiredResponse/Data.php +++ b/src/Fans/FanListExpiredResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse; +namespace OnlyFansAPI\Fans\FanListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Fans/FanListExpiredResponse/Data/List_.php b/src/Fans/FanListExpiredResponse/Data/List_.php index 4a93c2f9..8d272de8 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_.php +++ b/src/Fans/FanListExpiredResponse/Data/List_.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\HeaderSize; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\ListsState; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscriptionBundle; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\HeaderSize; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\ListsState; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedOnData; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscriptionBundle * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Fans/FanListExpiredResponse/Data/List_/AvatarThumbs.php b/src/Fans/FanListExpiredResponse/Data/List_/AvatarThumbs.php index 6b285317..bbd40036 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/AvatarThumbs.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanListExpiredResponse/Data/List_/HeaderSize.php b/src/Fans/FanListExpiredResponse/Data/List_/HeaderSize.php index 7cc4f91a..5a12284a 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/HeaderSize.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Fans/FanListExpiredResponse/Data/List_/HeaderThumbs.php b/src/Fans/FanListExpiredResponse/Data/List_/HeaderThumbs.php index 6d9835f1..f5f997c6 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/HeaderThumbs.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Fans/FanListExpiredResponse/Data/List_/ListsState.php b/src/Fans/FanListExpiredResponse/Data/List_/ListsState.php index 5c8e1bd4..da978b45 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/ListsState.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData.php b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData.php index 324b53e5..170a4232 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php index 18e7a672..0268359e 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedOnData.php b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedOnData.php index 23940e57..7c458466 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/SubscribedOnData.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Fans/FanListExpiredResponse/Data/List_/SubscriptionBundle.php b/src/Fans/FanListExpiredResponse/Data/List_/SubscriptionBundle.php index 018a5c8b..96e3bfc1 100644 --- a/src/Fans/FanListExpiredResponse/Data/List_/SubscriptionBundle.php +++ b/src/Fans/FanListExpiredResponse/Data/List_/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Fans/FanListExpiredResponse/_Meta.php b/src/Fans/FanListExpiredResponse/_Meta.php index 363077d2..1ef048f9 100644 --- a/src/Fans/FanListExpiredResponse/_Meta.php +++ b/src/Fans/FanListExpiredResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse; +namespace OnlyFansAPI\Fans\FanListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanListExpiredResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanListExpiredResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanListExpiredResponse/_Meta/_Cache.php b/src/Fans/FanListExpiredResponse/_Meta/_Cache.php index 9e9e88dd..9926fb75 100644 --- a/src/Fans/FanListExpiredResponse/_Meta/_Cache.php +++ b/src/Fans/FanListExpiredResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanListExpiredResponse/_Meta/_Credits.php b/src/Fans/FanListExpiredResponse/_Meta/_Credits.php index b4cb45ce..318fef3c 100644 --- a/src/Fans/FanListExpiredResponse/_Meta/_Credits.php +++ b/src/Fans/FanListExpiredResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanListExpiredResponse/_Meta/_RateLimits.php b/src/Fans/FanListExpiredResponse/_Meta/_RateLimits.php index 4a4d26d8..ace6053d 100644 --- a/src/Fans/FanListExpiredResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanListExpiredResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanListExpiredResponse/_Pagination.php b/src/Fans/FanListExpiredResponse/_Pagination.php index 36e1ac40..5901adec 100644 --- a/src/Fans/FanListExpiredResponse/_Pagination.php +++ b/src/Fans/FanListExpiredResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListExpiredResponse; +namespace OnlyFansAPI\Fans\FanListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Fans/FanListLatestParams.php b/src/Fans/FanListLatestParams.php index 42c566c8..74ef9b2a 100644 --- a/src/Fans/FanListLatestParams.php +++ b/src/Fans/FanListLatestParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestParams\Type; /** * Get a paginated list fans, filterable by total, only new subscribers, or only renewals. Newest fans are first. * - * @see Onlyfansapi\Services\FansService::listLatest() + * @see OnlyFansAPI\Services\FansService::listLatest() * * @phpstan-type FanListLatestParamsShape = array{ * endDate?: string|null, diff --git a/src/Fans/FanListLatestParams/Type.php b/src/Fans/FanListLatestParams/Type.php index 067b8898..f52af484 100644 --- a/src/Fans/FanListLatestParams/Type.php +++ b/src/Fans/FanListLatestParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestParams; +namespace OnlyFansAPI\Fans\FanListLatestParams; /** * Filter by type: total, renew, or new. diff --git a/src/Fans/FanListLatestResponse.php b/src/Fans/FanListLatestResponse.php index b674d959..78d88250 100644 --- a/src/Fans/FanListLatestResponse.php +++ b/src/Fans/FanListLatestResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestResponse\_Meta; -use Onlyfansapi\Fans\FanListLatestResponse\_Pagination; -use Onlyfansapi\Fans\FanListLatestResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestResponse\_Meta; +use OnlyFansAPI\Fans\FanListLatestResponse\_Pagination; +use OnlyFansAPI\Fans\FanListLatestResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanListLatestResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Fans\FanListLatestResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanListLatestResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanListLatestResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Fans\FanListLatestResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data * * @phpstan-type FanListLatestResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Fans/FanListLatestResponse/Data.php b/src/Fans/FanListLatestResponse/Data.php index bba2ad9b..6e4bb7b5 100644 --- a/src/Fans/FanListLatestResponse/Data.php +++ b/src/Fans/FanListLatestResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse; +namespace OnlyFansAPI\Fans\FanListLatestResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User + * @phpstan-import-type UserShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User * * @phpstan-type DataShape = array{ * hasMore?: bool|null, offset?: int|null, users?: list|null diff --git a/src/Fans/FanListLatestResponse/Data/User.php b/src/Fans/FanListLatestResponse/Data/User.php index 14784dc9..8092923a 100644 --- a/src/Fans/FanListLatestResponse/Data/User.php +++ b/src/Fans/FanListLatestResponse/Data/User.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User\AvatarThumbs; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User\ListsState; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User\PromoOffer; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User\AvatarThumbs; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User\ListsState; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User\PromoOffer; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User\AvatarThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User\PromoOffer - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User\AvatarThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User\PromoOffer + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User\SubscribedOnData * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/Fans/FanListLatestResponse/Data/User/AvatarThumbs.php b/src/Fans/FanListLatestResponse/Data/User/AvatarThumbs.php index c0d4829b..e08dddb7 100644 --- a/src/Fans/FanListLatestResponse/Data/User/AvatarThumbs.php +++ b/src/Fans/FanListLatestResponse/Data/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanListLatestResponse/Data/User/ListsState.php b/src/Fans/FanListLatestResponse/Data/User/ListsState.php index 674249b4..91d2d371 100644 --- a/src/Fans/FanListLatestResponse/Data/User/ListsState.php +++ b/src/Fans/FanListLatestResponse/Data/User/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanListLatestResponse/Data/User/PromoOffer.php b/src/Fans/FanListLatestResponse/Data/User/PromoOffer.php index d189fe20..6523592c 100644 --- a/src/Fans/FanListLatestResponse/Data/User/PromoOffer.php +++ b/src/Fans/FanListLatestResponse/Data/User/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData.php b/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData.php index e3bcf6ef..d02b3314 100644 --- a/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData.php +++ b/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestResponse\Data\User\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestResponse\Data\User\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\FanListLatestResponse\Data\User\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\FanListLatestResponse\Data\User\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData/Subscribe.php b/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData/Subscribe.php index 1dbef6c6..bfd7bb36 100644 --- a/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData/Subscribe.php +++ b/src/Fans/FanListLatestResponse/Data/User/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\Data\User\SubscribedOnData; +namespace OnlyFansAPI\Fans\FanListLatestResponse\Data\User\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/FanListLatestResponse/_Meta.php b/src/Fans/FanListLatestResponse/_Meta.php index 52e34076..e0572380 100644 --- a/src/Fans/FanListLatestResponse/_Meta.php +++ b/src/Fans/FanListLatestResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse; +namespace OnlyFansAPI\Fans\FanListLatestResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListLatestResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanListLatestResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanListLatestResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanListLatestResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanListLatestResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanListLatestResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanListLatestResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanListLatestResponse/_Meta/_Cache.php b/src/Fans/FanListLatestResponse/_Meta/_Cache.php index ca79d104..2637a377 100644 --- a/src/Fans/FanListLatestResponse/_Meta/_Cache.php +++ b/src/Fans/FanListLatestResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListLatestResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanListLatestResponse/_Meta/_Credits.php b/src/Fans/FanListLatestResponse/_Meta/_Credits.php index 07dbdb68..e74bc582 100644 --- a/src/Fans/FanListLatestResponse/_Meta/_Credits.php +++ b/src/Fans/FanListLatestResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListLatestResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanListLatestResponse/_Meta/_RateLimits.php b/src/Fans/FanListLatestResponse/_Meta/_RateLimits.php index e05a5d58..1611ba47 100644 --- a/src/Fans/FanListLatestResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanListLatestResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListLatestResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanListLatestResponse/_Pagination.php b/src/Fans/FanListLatestResponse/_Pagination.php index a9b8356d..1f41a384 100644 --- a/src/Fans/FanListLatestResponse/_Pagination.php +++ b/src/Fans/FanListLatestResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListLatestResponse; +namespace OnlyFansAPI\Fans\FanListLatestResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Fans/FanListTopParams.php b/src/Fans/FanListTopParams.php index 9fee7c6a..f4924d57 100644 --- a/src/Fans/FanListTopParams.php +++ b/src/Fans/FanListTopParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListTopParams\By; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListTopParams\By; /** * Get a list of top fans sorted by spending. Filterable by total, subscriptions, tips, messages, posts, or streams. * - * @see Onlyfansapi\Services\FansService::listTop() + * @see OnlyFansAPI\Services\FansService::listTop() * * @phpstan-type FanListTopParamsShape = array{ * by?: null|By|value-of, endDate?: string|null, startDate?: string|null diff --git a/src/Fans/FanListTopParams/By.php b/src/Fans/FanListTopParams/By.php index 7c12f0fb..91b98af9 100644 --- a/src/Fans/FanListTopParams/By.php +++ b/src/Fans/FanListTopParams/By.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopParams; +namespace OnlyFansAPI\Fans\FanListTopParams; /** * Sort by: total (default), subscribes, tips, messages, post, streams. diff --git a/src/Fans/FanListTopResponse.php b/src/Fans/FanListTopResponse.php index 8de233b6..d7bb0316 100644 --- a/src/Fans/FanListTopResponse.php +++ b/src/Fans/FanListTopResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListTopResponse\_Meta; -use Onlyfansapi\Fans\FanListTopResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListTopResponse\_Meta; +use OnlyFansAPI\Fans\FanListTopResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanListTopResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanListTopResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanListTopResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanListTopResponse\Data * * @phpstan-type FanListTopResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/FanListTopResponse/Data.php b/src/Fans/FanListTopResponse/Data.php index 0e354a68..be53e682 100644 --- a/src/Fans/FanListTopResponse/Data.php +++ b/src/Fans/FanListTopResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse; +namespace OnlyFansAPI\Fans\FanListTopResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListTopResponse\Data\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListTopResponse\Data\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\Fans\FanListTopResponse\Data\User + * @phpstan-import-type UserShape from \OnlyFansAPI\Fans\FanListTopResponse\Data\User * * @phpstan-type DataShape = array{users?: list|null} */ diff --git a/src/Fans/FanListTopResponse/Data/User.php b/src/Fans/FanListTopResponse/Data/User.php index 081e37d2..e80e603d 100644 --- a/src/Fans/FanListTopResponse/Data/User.php +++ b/src/Fans/FanListTopResponse/Data/User.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\Data; +namespace OnlyFansAPI\Fans\FanListTopResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListTopResponse\Data\User\AvatarThumbs; -use Onlyfansapi\Fans\FanListTopResponse\Data\User\ListsState; -use Onlyfansapi\Fans\FanListTopResponse\Data\User\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListTopResponse\Data\User\AvatarThumbs; +use OnlyFansAPI\Fans\FanListTopResponse\Data\User\ListsState; +use OnlyFansAPI\Fans\FanListTopResponse\Data\User\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanListTopResponse\Data\User\AvatarThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanListTopResponse\Data\User\ListsState - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanListTopResponse\Data\User\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanListTopResponse\Data\User\AvatarThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanListTopResponse\Data\User\ListsState + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanListTopResponse\Data\User\SubscribedOnData * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/Fans/FanListTopResponse/Data/User/AvatarThumbs.php b/src/Fans/FanListTopResponse/Data/User/AvatarThumbs.php index 108953d7..4569501a 100644 --- a/src/Fans/FanListTopResponse/Data/User/AvatarThumbs.php +++ b/src/Fans/FanListTopResponse/Data/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListTopResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanListTopResponse/Data/User/ListsState.php b/src/Fans/FanListTopResponse/Data/User/ListsState.php index 8400b7fb..6bbbb049 100644 --- a/src/Fans/FanListTopResponse/Data/User/ListsState.php +++ b/src/Fans/FanListTopResponse/Data/User/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListTopResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanListTopResponse/Data/User/SubscribedOnData.php b/src/Fans/FanListTopResponse/Data/User/SubscribedOnData.php index 884d9949..b302cee9 100644 --- a/src/Fans/FanListTopResponse/Data/User/SubscribedOnData.php +++ b/src/Fans/FanListTopResponse/Data/User/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\Data\User; +namespace OnlyFansAPI\Fans\FanListTopResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Fans/FanListTopResponse/_Meta.php b/src/Fans/FanListTopResponse/_Meta.php index c07f78d9..5efac547 100644 --- a/src/Fans/FanListTopResponse/_Meta.php +++ b/src/Fans/FanListTopResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse; +namespace OnlyFansAPI\Fans\FanListTopResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanListTopResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanListTopResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanListTopResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanListTopResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanListTopResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanListTopResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanListTopResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanListTopResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanListTopResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanListTopResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanListTopResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanListTopResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanListTopResponse/_Meta/_Cache.php b/src/Fans/FanListTopResponse/_Meta/_Cache.php index c358217e..2763ce3c 100644 --- a/src/Fans/FanListTopResponse/_Meta/_Cache.php +++ b/src/Fans/FanListTopResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListTopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanListTopResponse/_Meta/_Credits.php b/src/Fans/FanListTopResponse/_Meta/_Credits.php index 88f71b65..993bace0 100644 --- a/src/Fans/FanListTopResponse/_Meta/_Credits.php +++ b/src/Fans/FanListTopResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListTopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanListTopResponse/_Meta/_RateLimits.php b/src/Fans/FanListTopResponse/_Meta/_RateLimits.php index 1dd88fcd..bc14b306 100644 --- a/src/Fans/FanListTopResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanListTopResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanListTopResponse\_Meta; +namespace OnlyFansAPI\Fans\FanListTopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/FanSetCustomNameParams.php b/src/Fans/FanSetCustomNameParams.php index f559d885..73ca8ec6 100644 --- a/src/Fans/FanSetCustomNameParams.php +++ b/src/Fans/FanSetCustomNameParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Change the Fan's Custom Name shown in OnlyFans. * - * @see Onlyfansapi\Services\FansService::setCustomName() + * @see OnlyFansAPI\Services\FansService::setCustomName() * * @phpstan-type FanSetCustomNameParamsShape = array{ * account: string, customName: string diff --git a/src/Fans/FanSetCustomNameResponse.php b/src/Fans/FanSetCustomNameResponse.php index b3d767b2..2d340ae5 100644 --- a/src/Fans/FanSetCustomNameResponse.php +++ b/src/Fans/FanSetCustomNameResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans; +namespace OnlyFansAPI\Fans; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data * * @phpstan-type FanSetCustomNameResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/FanSetCustomNameResponse/Data.php b/src/Fans/FanSetCustomNameResponse/Data.php index 5e1bcc8a..f2a1671b 100644 --- a/src/Fans/FanSetCustomNameResponse/Data.php +++ b/src/Fans/FanSetCustomNameResponse/Data.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\AvatarThumbs; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\HeaderSize; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\HeaderThumbs; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\ListsState; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\SubscribedByData; -use Onlyfansapi\Fans\FanSetCustomNameResponse\Data\SubscribedOnData; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\AvatarThumbs; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\HeaderSize; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\HeaderThumbs; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\ListsState; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\SubscribedByData; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\Data\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\Data\SubscribedOnData * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Fans/FanSetCustomNameResponse/Data/AvatarThumbs.php b/src/Fans/FanSetCustomNameResponse/Data/AvatarThumbs.php index cfd43066..ffc17b8e 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/AvatarThumbs.php +++ b/src/Fans/FanSetCustomNameResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/FanSetCustomNameResponse/Data/HeaderSize.php b/src/Fans/FanSetCustomNameResponse/Data/HeaderSize.php index 88d4b94c..d435cf47 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/HeaderSize.php +++ b/src/Fans/FanSetCustomNameResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Fans/FanSetCustomNameResponse/Data/HeaderThumbs.php b/src/Fans/FanSetCustomNameResponse/Data/HeaderThumbs.php index 8f9ff34d..194b2c6a 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/HeaderThumbs.php +++ b/src/Fans/FanSetCustomNameResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Fans/FanSetCustomNameResponse/Data/ListsState.php b/src/Fans/FanSetCustomNameResponse/Data/ListsState.php index c9a71861..50e19b3b 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/ListsState.php +++ b/src/Fans/FanSetCustomNameResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/FanSetCustomNameResponse/Data/SubscribedByData.php b/src/Fans/FanSetCustomNameResponse/Data/SubscribedByData.php index 238e3e77..e93145d7 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/SubscribedByData.php +++ b/src/Fans/FanSetCustomNameResponse/Data/SubscribedByData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedByDataShape = array{ diff --git a/src/Fans/FanSetCustomNameResponse/Data/SubscribedOnData.php b/src/Fans/FanSetCustomNameResponse/Data/SubscribedOnData.php index ae46b48d..827b6676 100644 --- a/src/Fans/FanSetCustomNameResponse/Data/SubscribedOnData.php +++ b/src/Fans/FanSetCustomNameResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\Data; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Fans/FanSetCustomNameResponse/_Meta.php b/src/Fans/FanSetCustomNameResponse/_Meta.php index 5ff3d7f7..49527e1e 100644 --- a/src/Fans/FanSetCustomNameResponse/_Meta.php +++ b/src/Fans/FanSetCustomNameResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_Cache; -use Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_Credits; -use Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/FanSetCustomNameResponse/_Meta/_Cache.php b/src/Fans/FanSetCustomNameResponse/_Meta/_Cache.php index 3e718f97..2fa6af9e 100644 --- a/src/Fans/FanSetCustomNameResponse/_Meta/_Cache.php +++ b/src/Fans/FanSetCustomNameResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/FanSetCustomNameResponse/_Meta/_Credits.php b/src/Fans/FanSetCustomNameResponse/_Meta/_Credits.php index c496e2db..4dd4202f 100644 --- a/src/Fans/FanSetCustomNameResponse/_Meta/_Credits.php +++ b/src/Fans/FanSetCustomNameResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/FanSetCustomNameResponse/_Meta/_RateLimits.php b/src/Fans/FanSetCustomNameResponse/_Meta/_RateLimits.php index a9ca2b14..f6d8127f 100644 --- a/src/Fans/FanSetCustomNameResponse/_Meta/_RateLimits.php +++ b/src/Fans/FanSetCustomNameResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\FanSetCustomNameResponse\_Meta; +namespace OnlyFansAPI\Fans\FanSetCustomNameResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesParams.php b/src/Fans/Notes/NoteClearNotesParams.php index 5cd43c2a..3b91a278 100644 --- a/src/Fans/Notes/NoteClearNotesParams.php +++ b/src/Fans/Notes/NoteClearNotesParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Clear notes for a specific fan. * - * @see Onlyfansapi\Services\Fans\NotesService::clearNotes() + * @see OnlyFansAPI\Services\Fans\NotesService::clearNotes() * * @phpstan-type NoteClearNotesParamsShape = array{account: string} */ diff --git a/src/Fans/Notes/NoteClearNotesResponse.php b/src/Fans/Notes/NoteClearNotesResponse.php index 7543f9e2..48c6aa74 100644 --- a/src/Fans/Notes/NoteClearNotesResponse.php +++ b/src/Fans/Notes/NoteClearNotesResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data * * @phpstan-type NoteClearNotesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data.php b/src/Fans/Notes/NoteClearNotesResponse/Data.php index 0feaba88..5e96b3d9 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\AvatarThumbs; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\HeaderSize; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\HeaderThumbs; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\ListsState; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedOnData; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\AvatarThumbs; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\HeaderSize; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\HeaderThumbs; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\ListsState; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedOnData; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/AvatarThumbs.php b/src/Fans/Notes/NoteClearNotesResponse/Data/AvatarThumbs.php index 3453e8e2..2c650d4a 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/AvatarThumbs.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderSize.php b/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderSize.php index aa6e6663..e32fe3fa 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderSize.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderThumbs.php b/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderThumbs.php index 5cf0baf9..266dfe60 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderThumbs.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/ListsState.php b/src/Fans/Notes/NoteClearNotesResponse/Data/ListsState.php index b9da9e40..f5697d0b 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/ListsState.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData.php b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData.php index 9d16b920..1743e857 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData/Subscribe.php b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData/Subscribe.php index afc2319b..07755bf6 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedOnData.php b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedOnData.php index 56deceda..0cd4a20f 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedOnData.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscriptionBundle.php b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscriptionBundle.php index 2a7c5e5f..803844a6 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/Data/SubscriptionBundle.php +++ b/src/Fans/Notes/NoteClearNotesResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesResponse/_Meta.php b/src/Fans/Notes/NoteClearNotesResponse/_Meta.php index 7bb09eb1..8a90a736 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/_Meta.php +++ b/src/Fans/Notes/NoteClearNotesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_Cache; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_Credits; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Cache.php b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Cache.php index 3fec2ce6..016c2ea0 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Cache.php +++ b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Credits.php b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Credits.php index 3d677ce3..cf99c1b2 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Credits.php +++ b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_RateLimits.php b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_RateLimits.php index 6f340eeb..0c3ee0e6 100644 --- a/src/Fans/Notes/NoteClearNotesResponse/_Meta/_RateLimits.php +++ b/src/Fans/Notes/NoteClearNotesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteClearNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteClearNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/Notes/NoteCreateEditNotesParams.php b/src/Fans/Notes/NoteCreateEditNotesParams.php index d0183b86..7bcbe8d0 100644 --- a/src/Fans/Notes/NoteCreateEditNotesParams.php +++ b/src/Fans/Notes/NoteCreateEditNotesParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create or edit notes for a specific fan. * - * @see Onlyfansapi\Services\Fans\NotesService::createEditNotes() + * @see OnlyFansAPI\Services\Fans\NotesService::createEditNotes() * * @phpstan-type NoteCreateEditNotesParamsShape = array{ * account: string, notes: string diff --git a/src/Fans/Notes/NoteGetNotesParams.php b/src/Fans/Notes/NoteGetNotesParams.php index 358ee02a..320ed5b3 100644 --- a/src/Fans/Notes/NoteGetNotesParams.php +++ b/src/Fans/Notes/NoteGetNotesParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve notes for a specific fan. * - * @see Onlyfansapi\Services\Fans\NotesService::getNotes() + * @see OnlyFansAPI\Services\Fans\NotesService::getNotes() * * @phpstan-type NoteGetNotesParamsShape = array{account: string} */ diff --git a/src/Fans/Notes/NoteGetNotesResponse.php b/src/Fans/Notes/NoteGetNotesResponse.php index f1548fee..d5df0f52 100644 --- a/src/Fans/Notes/NoteGetNotesResponse.php +++ b/src/Fans/Notes/NoteGetNotesResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\Notes\NoteGetNotesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\Data * * @phpstan-type NoteGetNotesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/Notes/NoteGetNotesResponse/Data.php b/src/Fans/Notes/NoteGetNotesResponse/Data.php index bf61bcff..b2aa1f09 100644 --- a/src/Fans/Notes/NoteGetNotesResponse/Data.php +++ b/src/Fans/Notes/NoteGetNotesResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteGetNotesResponse; +namespace OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{notes?: string|null} diff --git a/src/Fans/Notes/NoteGetNotesResponse/_Meta.php b/src/Fans/Notes/NoteGetNotesResponse/_Meta.php index e18e35c6..deacac89 100644 --- a/src/Fans/Notes/NoteGetNotesResponse/_Meta.php +++ b/src/Fans/Notes/NoteGetNotesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteGetNotesResponse; +namespace OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_Cache; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_Credits; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Cache.php b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Cache.php index 2d75f624..beacddb8 100644 --- a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Cache.php +++ b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Credits.php b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Credits.php index 86246ecf..40b5e374 100644 --- a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Credits.php +++ b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_RateLimits.php b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_RateLimits.php index 80b8d381..0360a23c 100644 --- a/src/Fans/Notes/NoteGetNotesResponse/_Meta/_RateLimits.php +++ b/src/Fans/Notes/NoteGetNotesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteGetNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteGetNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse.php b/src/Fans/Notes/NoteNewEditNotesResponse.php index fe2c29fe..9afea3b8 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes; +namespace OnlyFansAPI\Fans\Notes; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data * * @phpstan-type NoteNewEditNotesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data.php index 7f24e509..33c318d5 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\AvatarThumbs; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderSize; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderThumbs; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\ListsState; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedOnData; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\AvatarThumbs; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderSize; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderThumbs; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\ListsState; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedOnData; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/AvatarThumbs.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/AvatarThumbs.php index 27d34a4e..c05e6c54 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/AvatarThumbs.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderSize.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderSize.php index c1540ff1..737fec0e 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderSize.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderThumbs.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderThumbs.php index aa040696..371d469f 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderThumbs.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/ListsState.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/ListsState.php index 2b2d4908..d8fe69ed 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/ListsState.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData.php index e60b0206..aad5a051 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData/Subscribe.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData/Subscribe.php index 71473725..e3180a24 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedOnData.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedOnData.php index ec43bc40..82520fd5 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedOnData.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscriptionBundle.php b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscriptionBundle.php index 4b532df4..94363df5 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscriptionBundle.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\Data; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta.php b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta.php index 55ca2422..8778fc98 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Cache; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Credits; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Cache; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Credits; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Cache.php b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Cache.php index b47d78b6..1af78b32 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Cache.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Credits.php b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Credits.php index 7f882fce..e731b606 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Credits.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_RateLimits.php b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_RateLimits.php index 481537b0..1563e644 100644 --- a/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_RateLimits.php +++ b/src/Fans/Notes/NoteNewEditNotesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse\_Meta; +namespace OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Fans/Summary/SummaryGenerateSummaryParams.php b/src/Fans/Summary/SummaryGenerateSummaryParams.php index 9c15d20d..20566d30 100644 --- a/src/Fans/Summary/SummaryGenerateSummaryParams.php +++ b/src/Fans/Summary/SummaryGenerateSummaryParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Summary; +namespace OnlyFansAPI\Fans\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Queue generation or regeneration of an AI profile summary for a fan. Costs 200 credits (charged on completion). Use the GET endpoint to poll for results. To regenerate an existing summary, pass `regenerate: true`. * - * @see Onlyfansapi\Services\Fans\SummaryService::generateSummary() + * @see OnlyFansAPI\Services\Fans\SummaryService::generateSummary() * * @phpstan-type SummaryGenerateSummaryParamsShape = array{ * account: string, regenerate?: bool|null diff --git a/src/Fans/Summary/SummaryGenerateSummaryResponse.php b/src/Fans/Summary/SummaryGenerateSummaryResponse.php index fc005afd..c12a84d0 100644 --- a/src/Fans/Summary/SummaryGenerateSummaryResponse.php +++ b/src/Fans/Summary/SummaryGenerateSummaryResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Summary; +namespace OnlyFansAPI\Fans\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryGenerateSummaryResponseShape = array{ diff --git a/src/Fans/Summary/SummaryGetSummaryParams.php b/src/Fans/Summary/SummaryGetSummaryParams.php index 4f3fb22b..560d69fc 100644 --- a/src/Fans/Summary/SummaryGetSummaryParams.php +++ b/src/Fans/Summary/SummaryGetSummaryParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Summary; +namespace OnlyFansAPI\Fans\Summary; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve the AI profile summary for a fan. Poll this endpoint after triggering a generation to check for completion. * - * @see Onlyfansapi\Services\Fans\SummaryService::getSummary() + * @see OnlyFansAPI\Services\Fans\SummaryService::getSummary() * * @phpstan-type SummaryGetSummaryParamsShape = array{account: string} */ diff --git a/src/Fans/Summary/SummaryGetSummaryResponse.php b/src/Fans/Summary/SummaryGetSummaryResponse.php index 9025cc59..f434a0f4 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Summary; +namespace OnlyFansAPI\Fans\Summary; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse\SummaryData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\SummaryData; /** - * @phpstan-import-type SummaryDataShape from \Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse\SummaryData + * @phpstan-import-type SummaryDataShape from \OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\SummaryData * * @phpstan-type SummaryGetSummaryResponseShape = array{ * analyzedMessageCount?: int|null, diff --git a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php index 49a7362a..46fd17c7 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; +namespace OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryDataShape = array{ diff --git a/src/Following/FollowingListActiveParams.php b/src/Following/FollowingListActiveParams.php index 2647b17a..9162eb96 100644 --- a/src/Following/FollowingListActiveParams.php +++ b/src/Following/FollowingListActiveParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter; /** * Get a paginated list of followings for an Account. Newest followings are first. * - * @see Onlyfansapi\Services\FollowingService::listActive() + * @see OnlyFansAPI\Services\FollowingService::listActive() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListActiveParams\Filter * * @phpstan-type FollowingListActiveParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Following/FollowingListActiveParams/Filter.php b/src/Following/FollowingListActiveParams/Filter.php index ca27a2ea..a4ea7d74 100644 --- a/src/Following/FollowingListActiveParams/Filter.php +++ b/src/Following/FollowingListActiveParams/Filter.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveParams; +namespace OnlyFansAPI\Following\FollowingListActiveParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveParams\Filter\Online; -use Onlyfansapi\Following\FollowingListActiveParams\Filter\Paid; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter\Online; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter\Paid; /** * @phpstan-type FilterShape = array{ diff --git a/src/Following/FollowingListActiveParams/Filter/Online.php b/src/Following/FollowingListActiveParams/Filter/Online.php index 0a410af7..fdf42456 100644 --- a/src/Following/FollowingListActiveParams/Filter/Online.php +++ b/src/Following/FollowingListActiveParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveParams\Filter; +namespace OnlyFansAPI\Following\FollowingListActiveParams\Filter; /** * Filter by online status (1 for online, 0 for offline, null for all). diff --git a/src/Following/FollowingListActiveParams/Filter/Paid.php b/src/Following/FollowingListActiveParams/Filter/Paid.php index 48c46fe7..53695db4 100644 --- a/src/Following/FollowingListActiveParams/Filter/Paid.php +++ b/src/Following/FollowingListActiveParams/Filter/Paid.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveParams\Filter; +namespace OnlyFansAPI\Following\FollowingListActiveParams\Filter; /** * Filter by paid status (1 for paid, 0 for free, null for all). diff --git a/src/Following/FollowingListActiveResponse.php b/src/Following/FollowingListActiveResponse.php index 7a59dec4..68e5d291 100644 --- a/src/Following/FollowingListActiveResponse.php +++ b/src/Following/FollowingListActiveResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveResponse\_Meta; -use Onlyfansapi\Following\FollowingListActiveResponse\_Pagination; -use Onlyfansapi\Following\FollowingListActiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveResponse\_Meta; +use OnlyFansAPI\Following\FollowingListActiveResponse\_Pagination; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Following\FollowingListActiveResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Following\FollowingListActiveResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Following\FollowingListActiveResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Following\FollowingListActiveResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data * * @phpstan-type FollowingListActiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Following/FollowingListActiveResponse/Data.php b/src/Following/FollowingListActiveResponse/Data.php index 2fc51577..597e87b2 100644 --- a/src/Following/FollowingListActiveResponse/Data.php +++ b/src/Following/FollowingListActiveResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse; +namespace OnlyFansAPI\Following\FollowingListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Following/FollowingListActiveResponse/Data/List_.php b/src/Following/FollowingListActiveResponse/Data/List_.php index e2e9ca01..5d9bdbc7 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_.php +++ b/src/Following/FollowingListActiveResponse/Data/List_.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\HeaderSize; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\ListsState; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\HeaderSize; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\ListsState; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\SubscribedByData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\SubscribedByData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\SubscribedByData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Following/FollowingListActiveResponse/Data/List_/AvatarThumbs.php b/src/Following/FollowingListActiveResponse/Data/List_/AvatarThumbs.php index 782597ad..02da6c91 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/AvatarThumbs.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Following/FollowingListActiveResponse/Data/List_/HeaderSize.php b/src/Following/FollowingListActiveResponse/Data/List_/HeaderSize.php index 732e5b46..b760925d 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/HeaderSize.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Following/FollowingListActiveResponse/Data/List_/HeaderThumbs.php b/src/Following/FollowingListActiveResponse/Data/List_/HeaderThumbs.php index 0d6d5a15..27105860 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/HeaderThumbs.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Following/FollowingListActiveResponse/Data/List_/ListsState.php b/src/Following/FollowingListActiveResponse/Data/List_/ListsState.php index e85600ed..54e6fb24 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/ListsState.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData.php b/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData.php index f094352e..01f95f38 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData/Subscribe.php b/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData/Subscribe.php index 9f1f184a..ad24ae99 100644 --- a/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/Following/FollowingListActiveResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Following/FollowingListActiveResponse/_Meta.php b/src/Following/FollowingListActiveResponse/_Meta.php index 8791352b..0c2d939e 100644 --- a/src/Following/FollowingListActiveResponse/_Meta.php +++ b/src/Following/FollowingListActiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse; +namespace OnlyFansAPI\Following\FollowingListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_Cache; -use Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_Credits; -use Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_Cache; +use OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_Credits; +use OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Following\FollowingListActiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Following\FollowingListActiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Following/FollowingListActiveResponse/_Meta/_Cache.php b/src/Following/FollowingListActiveResponse/_Meta/_Cache.php index 39382d52..f43e131d 100644 --- a/src/Following/FollowingListActiveResponse/_Meta/_Cache.php +++ b/src/Following/FollowingListActiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Following/FollowingListActiveResponse/_Meta/_Credits.php b/src/Following/FollowingListActiveResponse/_Meta/_Credits.php index 8bdbe6fc..baf9ad83 100644 --- a/src/Following/FollowingListActiveResponse/_Meta/_Credits.php +++ b/src/Following/FollowingListActiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Following/FollowingListActiveResponse/_Meta/_RateLimits.php b/src/Following/FollowingListActiveResponse/_Meta/_RateLimits.php index 10b2d231..88b342e2 100644 --- a/src/Following/FollowingListActiveResponse/_Meta/_RateLimits.php +++ b/src/Following/FollowingListActiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Following/FollowingListActiveResponse/_Pagination.php b/src/Following/FollowingListActiveResponse/_Pagination.php index c4e31081..d3c3badf 100644 --- a/src/Following/FollowingListActiveResponse/_Pagination.php +++ b/src/Following/FollowingListActiveResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListActiveResponse; +namespace OnlyFansAPI\Following\FollowingListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Following/FollowingListAllParams.php b/src/Following/FollowingListAllParams.php index 864bdad7..67473b27 100644 --- a/src/Following/FollowingListAllParams.php +++ b/src/Following/FollowingListAllParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllParams\Filter; /** * Get a paginated list of followings for an Account. Newest followings are first. * - * @see Onlyfansapi\Services\FollowingService::listAll() + * @see OnlyFansAPI\Services\FollowingService::listAll() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListAllParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListAllParams\Filter * * @phpstan-type FollowingListAllParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Following/FollowingListAllParams/Filter.php b/src/Following/FollowingListAllParams/Filter.php index 5ff788cc..0e907048 100644 --- a/src/Following/FollowingListAllParams/Filter.php +++ b/src/Following/FollowingListAllParams/Filter.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllParams; +namespace OnlyFansAPI\Following\FollowingListAllParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllParams\Filter\Online; -use Onlyfansapi\Following\FollowingListAllParams\Filter\Paid; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllParams\Filter\Online; +use OnlyFansAPI\Following\FollowingListAllParams\Filter\Paid; /** * @phpstan-type FilterShape = array{ diff --git a/src/Following/FollowingListAllParams/Filter/Online.php b/src/Following/FollowingListAllParams/Filter/Online.php index 54dbbb29..97f7d639 100644 --- a/src/Following/FollowingListAllParams/Filter/Online.php +++ b/src/Following/FollowingListAllParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllParams\Filter; +namespace OnlyFansAPI\Following\FollowingListAllParams\Filter; /** * Filter by online status (1 for online, 0 for offline, null for all). diff --git a/src/Following/FollowingListAllParams/Filter/Paid.php b/src/Following/FollowingListAllParams/Filter/Paid.php index 5dd508d0..84f243e3 100644 --- a/src/Following/FollowingListAllParams/Filter/Paid.php +++ b/src/Following/FollowingListAllParams/Filter/Paid.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllParams\Filter; +namespace OnlyFansAPI\Following\FollowingListAllParams\Filter; /** * Filter by paid status (1 for paid, 0 for free, null for all). diff --git a/src/Following/FollowingListAllResponse.php b/src/Following/FollowingListAllResponse.php index ddca5ad6..ee9debd5 100644 --- a/src/Following/FollowingListAllResponse.php +++ b/src/Following/FollowingListAllResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllResponse\_Meta; -use Onlyfansapi\Following\FollowingListAllResponse\_Pagination; -use Onlyfansapi\Following\FollowingListAllResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllResponse\_Meta; +use OnlyFansAPI\Following\FollowingListAllResponse\_Pagination; +use OnlyFansAPI\Following\FollowingListAllResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Following\FollowingListAllResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Following\FollowingListAllResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Following\FollowingListAllResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Following\FollowingListAllResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Following\FollowingListAllResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data * * @phpstan-type FollowingListAllResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Following/FollowingListAllResponse/Data.php b/src/Following/FollowingListAllResponse/Data.php index 74613b2f..af07c3a8 100644 --- a/src/Following/FollowingListAllResponse/Data.php +++ b/src/Following/FollowingListAllResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse; +namespace OnlyFansAPI\Following\FollowingListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Following/FollowingListAllResponse/Data/List_.php b/src/Following/FollowingListAllResponse/Data/List_.php index 8205f6dc..75fb89ca 100644 --- a/src/Following/FollowingListAllResponse/Data/List_.php +++ b/src/Following/FollowingListAllResponse/Data/List_.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\HeaderSize; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\ListsState; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\HeaderSize; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\ListsState; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\SubscribedByData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\SubscribedByData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\SubscribedByData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Following/FollowingListAllResponse/Data/List_/AvatarThumbs.php b/src/Following/FollowingListAllResponse/Data/List_/AvatarThumbs.php index 3815d588..ff98ddfd 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/AvatarThumbs.php +++ b/src/Following/FollowingListAllResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Following/FollowingListAllResponse/Data/List_/HeaderSize.php b/src/Following/FollowingListAllResponse/Data/List_/HeaderSize.php index b28052e2..683af106 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/HeaderSize.php +++ b/src/Following/FollowingListAllResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Following/FollowingListAllResponse/Data/List_/HeaderThumbs.php b/src/Following/FollowingListAllResponse/Data/List_/HeaderThumbs.php index b35b8aa9..d0f15489 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/HeaderThumbs.php +++ b/src/Following/FollowingListAllResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Following/FollowingListAllResponse/Data/List_/ListsState.php b/src/Following/FollowingListAllResponse/Data/List_/ListsState.php index ef4a4eee..c27cb8e4 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/ListsState.php +++ b/src/Following/FollowingListAllResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData.php b/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData.php index 7343096b..04b1b876 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData.php +++ b/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Following\FollowingListAllResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData/Subscribe.php b/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData/Subscribe.php index d879ec73..be580918 100644 --- a/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/Following/FollowingListAllResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\Following\FollowingListAllResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Following/FollowingListAllResponse/_Meta.php b/src/Following/FollowingListAllResponse/_Meta.php index f4449828..c5ff69b0 100644 --- a/src/Following/FollowingListAllResponse/_Meta.php +++ b/src/Following/FollowingListAllResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse; +namespace OnlyFansAPI\Following\FollowingListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListAllResponse\_Meta\_Cache; -use Onlyfansapi\Following\FollowingListAllResponse\_Meta\_Credits; -use Onlyfansapi\Following\FollowingListAllResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_Cache; +use OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_Credits; +use OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Following\FollowingListAllResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Following\FollowingListAllResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Following\FollowingListAllResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Following\FollowingListAllResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Following/FollowingListAllResponse/_Meta/_Cache.php b/src/Following/FollowingListAllResponse/_Meta/_Cache.php index c0f8ce67..c25fd14f 100644 --- a/src/Following/FollowingListAllResponse/_Meta/_Cache.php +++ b/src/Following/FollowingListAllResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Following/FollowingListAllResponse/_Meta/_Credits.php b/src/Following/FollowingListAllResponse/_Meta/_Credits.php index d4c46ae4..19ddd3e4 100644 --- a/src/Following/FollowingListAllResponse/_Meta/_Credits.php +++ b/src/Following/FollowingListAllResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Following/FollowingListAllResponse/_Meta/_RateLimits.php b/src/Following/FollowingListAllResponse/_Meta/_RateLimits.php index bbdc037d..03d4981c 100644 --- a/src/Following/FollowingListAllResponse/_Meta/_RateLimits.php +++ b/src/Following/FollowingListAllResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListAllResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Following/FollowingListAllResponse/_Pagination.php b/src/Following/FollowingListAllResponse/_Pagination.php index 269250c3..6f02252c 100644 --- a/src/Following/FollowingListAllResponse/_Pagination.php +++ b/src/Following/FollowingListAllResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListAllResponse; +namespace OnlyFansAPI\Following\FollowingListAllResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Following/FollowingListExpiredParams.php b/src/Following/FollowingListExpiredParams.php index f65d1f23..54f45235 100644 --- a/src/Following/FollowingListExpiredParams.php +++ b/src/Following/FollowingListExpiredParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredParams\Filter; /** * Get a paginated list of expired followings for an Account. Newest followings are first. * - * @see Onlyfansapi\Services\FollowingService::listExpired() + * @see OnlyFansAPI\Services\FollowingService::listExpired() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListExpiredParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListExpiredParams\Filter * * @phpstan-type FollowingListExpiredParamsShape = array{ * filter?: null|Filter|FilterShape, diff --git a/src/Following/FollowingListExpiredParams/Filter.php b/src/Following/FollowingListExpiredParams/Filter.php index 3f29f93c..3f83af1e 100644 --- a/src/Following/FollowingListExpiredParams/Filter.php +++ b/src/Following/FollowingListExpiredParams/Filter.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredParams; +namespace OnlyFansAPI\Following\FollowingListExpiredParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredParams\Filter\Online; -use Onlyfansapi\Following\FollowingListExpiredParams\Filter\Paid; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredParams\Filter\Online; +use OnlyFansAPI\Following\FollowingListExpiredParams\Filter\Paid; /** * @phpstan-type FilterShape = array{ diff --git a/src/Following/FollowingListExpiredParams/Filter/Online.php b/src/Following/FollowingListExpiredParams/Filter/Online.php index ba6759c9..5dc872f3 100644 --- a/src/Following/FollowingListExpiredParams/Filter/Online.php +++ b/src/Following/FollowingListExpiredParams/Filter/Online.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredParams\Filter; +namespace OnlyFansAPI\Following\FollowingListExpiredParams\Filter; /** * Filter by online status (1 for online, 0 for offline, null for all). diff --git a/src/Following/FollowingListExpiredParams/Filter/Paid.php b/src/Following/FollowingListExpiredParams/Filter/Paid.php index 293b0f47..67a3ecce 100644 --- a/src/Following/FollowingListExpiredParams/Filter/Paid.php +++ b/src/Following/FollowingListExpiredParams/Filter/Paid.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredParams\Filter; +namespace OnlyFansAPI\Following\FollowingListExpiredParams\Filter; /** * Filter by paid status (1 for paid, 0 for free, null for all). diff --git a/src/Following/FollowingListExpiredResponse.php b/src/Following/FollowingListExpiredResponse.php index e74b7e07..a7a7cfd1 100644 --- a/src/Following/FollowingListExpiredResponse.php +++ b/src/Following/FollowingListExpiredResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following; +namespace OnlyFansAPI\Following; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredResponse\_Meta; -use Onlyfansapi\Following\FollowingListExpiredResponse\_Pagination; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta; +use OnlyFansAPI\Following\FollowingListExpiredResponse\_Pagination; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Following\FollowingListExpiredResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Following\FollowingListExpiredResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data * * @phpstan-type FollowingListExpiredResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Following/FollowingListExpiredResponse/Data.php b/src/Following/FollowingListExpiredResponse/Data.php index 0dc8b413..3709ebab 100644 --- a/src/Following/FollowingListExpiredResponse/Data.php +++ b/src/Following/FollowingListExpiredResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Following/FollowingListExpiredResponse/Data/List_.php b/src/Following/FollowingListExpiredResponse/Data/List_.php index efda97ab..a899eaca 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\HeaderSize; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\ListsState; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\HeaderSize; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\ListsState; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/AvatarThumbs.php b/src/Following/FollowingListExpiredResponse/Data/List_/AvatarThumbs.php index ebbc68db..289e9797 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/AvatarThumbs.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/HeaderSize.php b/src/Following/FollowingListExpiredResponse/Data/List_/HeaderSize.php index fcfaabbd..c3c92291 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/HeaderSize.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/HeaderThumbs.php b/src/Following/FollowingListExpiredResponse/Data/List_/HeaderThumbs.php index 78d1acb7..f37fffce 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/HeaderThumbs.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/ListsState.php b/src/Following/FollowingListExpiredResponse/Data/List_/ListsState.php index 3f7bef31..82a79dae 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/ListsState.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData.php b/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData.php index 44a39641..3229f552 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php b/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php index 6d30ccb4..6c06929a 100644 --- a/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/Following/FollowingListExpiredResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Following/FollowingListExpiredResponse/_Meta.php b/src/Following/FollowingListExpiredResponse/_Meta.php index 5b63db23..d54a8e1e 100644 --- a/src/Following/FollowingListExpiredResponse/_Meta.php +++ b/src/Following/FollowingListExpiredResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_Cache; -use Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_Credits; -use Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_Cache; +use OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_Credits; +use OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Following\FollowingListExpiredResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Following/FollowingListExpiredResponse/_Meta/_Cache.php b/src/Following/FollowingListExpiredResponse/_Meta/_Cache.php index 9c206483..87a2a01b 100644 --- a/src/Following/FollowingListExpiredResponse/_Meta/_Cache.php +++ b/src/Following/FollowingListExpiredResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Following/FollowingListExpiredResponse/_Meta/_Credits.php b/src/Following/FollowingListExpiredResponse/_Meta/_Credits.php index fdddb818..cba26037 100644 --- a/src/Following/FollowingListExpiredResponse/_Meta/_Credits.php +++ b/src/Following/FollowingListExpiredResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Following/FollowingListExpiredResponse/_Meta/_RateLimits.php b/src/Following/FollowingListExpiredResponse/_Meta/_RateLimits.php index d750d772..19c8a2ee 100644 --- a/src/Following/FollowingListExpiredResponse/_Meta/_RateLimits.php +++ b/src/Following/FollowingListExpiredResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse\_Meta; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Following/FollowingListExpiredResponse/_Pagination.php b/src/Following/FollowingListExpiredResponse/_Pagination.php index 41b8f706..3552a508 100644 --- a/src/Following/FollowingListExpiredResponse/_Pagination.php +++ b/src/Following/FollowingListExpiredResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Following\FollowingListExpiredResponse; +namespace OnlyFansAPI\Following\FollowingListExpiredResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Giphy/GiphyListTrendingParams.php b/src/Giphy/GiphyListTrendingParams.php index eda41cd8..d7d60c31 100644 --- a/src/Giphy/GiphyListTrendingParams.php +++ b/src/Giphy/GiphyListTrendingParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy; +namespace OnlyFansAPI\Giphy; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get trending GIFs from the OnlyFans Giphy proxy. Use the returned `id` as the `giphyId` body param when sending a chat or mass message. * - * @see Onlyfansapi\Services\GiphyService::listTrending() + * @see OnlyFansAPI\Services\GiphyService::listTrending() * * @phpstan-type GiphyListTrendingParamsShape = array{ * limit?: int|null, offset?: int|null diff --git a/src/Giphy/GiphyListTrendingResponse.php b/src/Giphy/GiphyListTrendingResponse.php index e68232f8..4ef912bd 100644 --- a/src/Giphy/GiphyListTrendingResponse.php +++ b/src/Giphy/GiphyListTrendingResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy; +namespace OnlyFansAPI\Giphy; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data * * @phpstan-type GiphyListTrendingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Giphy/GiphyListTrendingResponse/Data.php b/src/Giphy/GiphyListTrendingResponse/Data.php index 28ce7110..58a73647 100644 --- a/src/Giphy/GiphyListTrendingResponse/Data.php +++ b/src/Giphy/GiphyListTrendingResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images; /** - * @phpstan-import-type ImagesShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images + * @phpstan-import-type ImagesShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/Giphy/GiphyListTrendingResponse/Data/Images.php b/src/Giphy/GiphyListTrendingResponse/Data/Images.php index 60242918..d2332369 100644 --- a/src/Giphy/GiphyListTrendingResponse/Data/Images.php +++ b/src/Giphy/GiphyListTrendingResponse/Data/Images.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\Data; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images\FixedHeight; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images\Original; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images\FixedHeight; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images\Original; /** - * @phpstan-import-type FixedHeightShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images\FixedHeight - * @phpstan-import-type OriginalShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images\Original + * @phpstan-import-type FixedHeightShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images\FixedHeight + * @phpstan-import-type OriginalShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images\Original * * @phpstan-type ImagesShape = array{ * fixedHeight?: null|FixedHeight|FixedHeightShape, diff --git a/src/Giphy/GiphyListTrendingResponse/Data/Images/FixedHeight.php b/src/Giphy/GiphyListTrendingResponse/Data/Images/FixedHeight.php index 7347939e..8f13c168 100644 --- a/src/Giphy/GiphyListTrendingResponse/Data/Images/FixedHeight.php +++ b/src/Giphy/GiphyListTrendingResponse/Data/Images/FixedHeight.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FixedHeightShape = array{ diff --git a/src/Giphy/GiphyListTrendingResponse/Data/Images/Original.php b/src/Giphy/GiphyListTrendingResponse/Data/Images/Original.php index b6c4f256..aaa373d0 100644 --- a/src/Giphy/GiphyListTrendingResponse/Data/Images/Original.php +++ b/src/Giphy/GiphyListTrendingResponse/Data/Images/Original.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\Data\Images; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\Data\Images; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OriginalShape = array{ diff --git a/src/Giphy/GiphyListTrendingResponse/_Meta.php b/src/Giphy/GiphyListTrendingResponse/_Meta.php index 6908f1f5..fd045178 100644 --- a/src/Giphy/GiphyListTrendingResponse/_Meta.php +++ b/src/Giphy/GiphyListTrendingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_Cache; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_Credits; -use Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_Cache; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_Credits; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Giphy/GiphyListTrendingResponse/_Meta/_Cache.php b/src/Giphy/GiphyListTrendingResponse/_Meta/_Cache.php index 0c468fa9..587f13a1 100644 --- a/src/Giphy/GiphyListTrendingResponse/_Meta/_Cache.php +++ b/src/Giphy/GiphyListTrendingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Giphy/GiphyListTrendingResponse/_Meta/_Credits.php b/src/Giphy/GiphyListTrendingResponse/_Meta/_Credits.php index 5f901e7c..8a25a20a 100644 --- a/src/Giphy/GiphyListTrendingResponse/_Meta/_Credits.php +++ b/src/Giphy/GiphyListTrendingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Giphy/GiphyListTrendingResponse/_Meta/_RateLimits.php b/src/Giphy/GiphyListTrendingResponse/_Meta/_RateLimits.php index 9c6e7667..e0e67f35 100644 --- a/src/Giphy/GiphyListTrendingResponse/_Meta/_RateLimits.php +++ b/src/Giphy/GiphyListTrendingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphyListTrendingResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphyListTrendingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Giphy/GiphySearchParams.php b/src/Giphy/GiphySearchParams.php index 429d3ed5..1ce8274e 100644 --- a/src/Giphy/GiphySearchParams.php +++ b/src/Giphy/GiphySearchParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy; +namespace OnlyFansAPI\Giphy; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Search GIFs from the OnlyFans Giphy proxy. Use the returned `id` as the `giphyId` body param when sending a chat or mass message. * - * @see Onlyfansapi\Services\GiphyService::search() + * @see OnlyFansAPI\Services\GiphyService::search() * * @phpstan-type GiphySearchParamsShape = array{ * q: string, limit?: int|null, offset?: int|null diff --git a/src/Giphy/GiphySearchResponse.php b/src/Giphy/GiphySearchResponse.php index 13264a9a..abd8daaa 100644 --- a/src/Giphy/GiphySearchResponse.php +++ b/src/Giphy/GiphySearchResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy; +namespace OnlyFansAPI\Giphy; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphySearchResponse\_Meta; -use Onlyfansapi\Giphy\GiphySearchResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphySearchResponse\_Meta; +use OnlyFansAPI\Giphy\GiphySearchResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Giphy\GiphySearchResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Giphy\GiphySearchResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Giphy\GiphySearchResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Giphy\GiphySearchResponse\Data * * @phpstan-type GiphySearchResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Giphy/GiphySearchResponse/Data.php b/src/Giphy/GiphySearchResponse/Data.php index f3047f34..dae09e27 100644 --- a/src/Giphy/GiphySearchResponse/Data.php +++ b/src/Giphy/GiphySearchResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse; +namespace OnlyFansAPI\Giphy\GiphySearchResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphySearchResponse\Data\Images; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images; /** - * @phpstan-import-type ImagesShape from \Onlyfansapi\Giphy\GiphySearchResponse\Data\Images + * @phpstan-import-type ImagesShape from \OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/Giphy/GiphySearchResponse/Data/Images.php b/src/Giphy/GiphySearchResponse/Data/Images.php index 118ff88c..1bac8e9b 100644 --- a/src/Giphy/GiphySearchResponse/Data/Images.php +++ b/src/Giphy/GiphySearchResponse/Data/Images.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\Data; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphySearchResponse\Data\Images\FixedHeight; -use Onlyfansapi\Giphy\GiphySearchResponse\Data\Images\Original; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images\FixedHeight; +use OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images\Original; /** - * @phpstan-import-type FixedHeightShape from \Onlyfansapi\Giphy\GiphySearchResponse\Data\Images\FixedHeight - * @phpstan-import-type OriginalShape from \Onlyfansapi\Giphy\GiphySearchResponse\Data\Images\Original + * @phpstan-import-type FixedHeightShape from \OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images\FixedHeight + * @phpstan-import-type OriginalShape from \OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images\Original * * @phpstan-type ImagesShape = array{ * fixedHeight?: null|FixedHeight|FixedHeightShape, diff --git a/src/Giphy/GiphySearchResponse/Data/Images/FixedHeight.php b/src/Giphy/GiphySearchResponse/Data/Images/FixedHeight.php index 426f75db..58e124af 100644 --- a/src/Giphy/GiphySearchResponse/Data/Images/FixedHeight.php +++ b/src/Giphy/GiphySearchResponse/Data/Images/FixedHeight.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\Data\Images; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FixedHeightShape = array{ diff --git a/src/Giphy/GiphySearchResponse/Data/Images/Original.php b/src/Giphy/GiphySearchResponse/Data/Images/Original.php index b0a36d32..1e0a4b9a 100644 --- a/src/Giphy/GiphySearchResponse/Data/Images/Original.php +++ b/src/Giphy/GiphySearchResponse/Data/Images/Original.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\Data\Images; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\Data\Images; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OriginalShape = array{ diff --git a/src/Giphy/GiphySearchResponse/_Meta.php b/src/Giphy/GiphySearchResponse/_Meta.php index 195aa5d5..97798da2 100644 --- a/src/Giphy/GiphySearchResponse/_Meta.php +++ b/src/Giphy/GiphySearchResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse; +namespace OnlyFansAPI\Giphy\GiphySearchResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_Cache; -use Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_Credits; -use Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_Cache; +use OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_Credits; +use OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Giphy\GiphySearchResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Giphy\GiphySearchResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Giphy/GiphySearchResponse/_Meta/_Cache.php b/src/Giphy/GiphySearchResponse/_Meta/_Cache.php index 323ab293..233354b1 100644 --- a/src/Giphy/GiphySearchResponse/_Meta/_Cache.php +++ b/src/Giphy/GiphySearchResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Giphy/GiphySearchResponse/_Meta/_Credits.php b/src/Giphy/GiphySearchResponse/_Meta/_Credits.php index e9ce52cf..b85afb1d 100644 --- a/src/Giphy/GiphySearchResponse/_Meta/_Credits.php +++ b/src/Giphy/GiphySearchResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Giphy/GiphySearchResponse/_Meta/_RateLimits.php b/src/Giphy/GiphySearchResponse/_Meta/_RateLimits.php index 0dd37339..381deeb2 100644 --- a/src/Giphy/GiphySearchResponse/_Meta/_RateLimits.php +++ b/src/Giphy/GiphySearchResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Giphy\GiphySearchResponse\_Meta; +namespace OnlyFansAPI\Giphy\GiphySearchResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/LinkTags/LinkTagListParams.php b/src/LinkTags/LinkTagListParams.php index 7c204913..9bca5b26 100644 --- a/src/LinkTags/LinkTagListParams.php +++ b/src/LinkTags/LinkTagListParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags; +namespace OnlyFansAPI\LinkTags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\LinkTags\LinkTagListParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\LinkTags\LinkTagListParams\Type; /** * Get all existing tags that have been used on free trial links and/or tracking links for this account. This is a free endpoint. * - * @see Onlyfansapi\Services\LinkTagsService::list() + * @see OnlyFansAPI\Services\LinkTagsService::list() * * @phpstan-type LinkTagListParamsShape = array{type?: null|Type|value-of} */ diff --git a/src/LinkTags/LinkTagListParams/Type.php b/src/LinkTags/LinkTagListParams/Type.php index 913b3040..db4f2554 100644 --- a/src/LinkTags/LinkTagListParams/Type.php +++ b/src/LinkTags/LinkTagListParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListParams; +namespace OnlyFansAPI\LinkTags\LinkTagListParams; /** * Filter by link type. If not provided, returns tags for both types. diff --git a/src/LinkTags/LinkTagListResponse.php b/src/LinkTags/LinkTagListResponse.php index ab504a7c..2a763d6d 100644 --- a/src/LinkTags/LinkTagListResponse.php +++ b/src/LinkTags/LinkTagListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags; +namespace OnlyFansAPI\LinkTags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\LinkTags\LinkTagListResponse\_Meta; -use Onlyfansapi\LinkTags\LinkTagListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta; +use OnlyFansAPI\LinkTags\LinkTagListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\LinkTags\LinkTagListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\LinkTags\LinkTagListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\LinkTags\LinkTagListResponse\Data * * @phpstan-type LinkTagListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/LinkTags/LinkTagListResponse/Data.php b/src/LinkTags/LinkTagListResponse/Data.php index c52b0075..423354b5 100644 --- a/src/LinkTags/LinkTagListResponse/Data.php +++ b/src/LinkTags/LinkTagListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListResponse; +namespace OnlyFansAPI\LinkTags\LinkTagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/LinkTags/LinkTagListResponse/_Meta.php b/src/LinkTags/LinkTagListResponse/_Meta.php index bab27ef4..ff16b8d6 100644 --- a/src/LinkTags/LinkTagListResponse/_Meta.php +++ b/src/LinkTags/LinkTagListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListResponse; +namespace OnlyFansAPI\LinkTags\LinkTagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_Cache; -use Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_Credits; -use Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_Cache; +use OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_Credits; +use OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\LinkTags\LinkTagListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/LinkTags/LinkTagListResponse/_Meta/_Cache.php b/src/LinkTags/LinkTagListResponse/_Meta/_Cache.php index 0495a9ec..603fff0a 100644 --- a/src/LinkTags/LinkTagListResponse/_Meta/_Cache.php +++ b/src/LinkTags/LinkTagListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListResponse\_Meta; +namespace OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/LinkTags/LinkTagListResponse/_Meta/_Credits.php b/src/LinkTags/LinkTagListResponse/_Meta/_Credits.php index c5f1c354..17c0e1a1 100644 --- a/src/LinkTags/LinkTagListResponse/_Meta/_Credits.php +++ b/src/LinkTags/LinkTagListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListResponse\_Meta; +namespace OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/LinkTags/LinkTagListResponse/_Meta/_RateLimits.php b/src/LinkTags/LinkTagListResponse/_Meta/_RateLimits.php index 9b979784..e87e74f5 100644 --- a/src/LinkTags/LinkTagListResponse/_Meta/_RateLimits.php +++ b/src/LinkTags/LinkTagListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\LinkTags\LinkTagListResponse\_Meta; +namespace OnlyFansAPI\LinkTags\LinkTagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingDeleteParams.php b/src/MassMessaging/MassMessagingDeleteParams.php index a4469c28..feec7c4b 100644 --- a/src/MassMessaging/MassMessagingDeleteParams.php +++ b/src/MassMessaging/MassMessagingDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unsend a recently sent mass message, or delete a scheduled/saved message. When unsending, purchased content will continue to be able to viewable. * - * @see Onlyfansapi\Services\MassMessagingService::delete() + * @see OnlyFansAPI\Services\MassMessagingService::delete() * * @phpstan-type MassMessagingDeleteParamsShape = array{account: string} */ diff --git a/src/MassMessaging/MassMessagingDeleteResponse.php b/src/MassMessaging/MassMessagingDeleteResponse.php index 4935f141..3375e514 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse.php +++ b/src/MassMessaging/MassMessagingDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\Data * * @phpstan-type MassMessagingDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/MassMessaging/MassMessagingDeleteResponse/Data.php b/src/MassMessaging/MassMessagingDeleteResponse/Data.php index c0b26e61..381e3a81 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/Data.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\Data\Queue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\Data\Queue; /** - * @phpstan-import-type QueueShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\Data\Queue + * @phpstan-import-type QueueShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\Data\Queue * * @phpstan-type DataShape = array{ * queue?: null|Queue|QueueShape, success?: bool|null diff --git a/src/MassMessaging/MassMessagingDeleteResponse/Data/Queue.php b/src/MassMessaging/MassMessagingDeleteResponse/Data/Queue.php index 94a253be..455a8ab4 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/Data/Queue.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/Data/Queue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\Data; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type QueueShape = array{ diff --git a/src/MassMessaging/MassMessagingDeleteResponse/_Meta.php b/src/MassMessaging/MassMessagingDeleteResponse/_Meta.php index 91d8f29c..a03a5972 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Cache.php index 93721410..fd949932 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Credits.php index bd15f306..ad5c4c89 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_RateLimits.php index d28b45b8..a86277ee 100644 --- a/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingDeleteResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse.php b/src/MassMessaging/MassMessagingGetOverviewResponse.php index e819d2ee..a31a46d7 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data * * @phpstan-type MassMessagingGetOverviewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data.php index fd0336ec..3395f03f 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item; /** - * @phpstan-import-type ItemShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item + * @phpstan-import-type ItemShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item * * @phpstan-type DataShape = array{ * hasMore?: bool|null, items?: list|null diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item.php index 9ee3ac28..e32043a7 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media * * @phpstan-type ItemShape = array{ * id?: int|null, diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media.php index d9fc9406..cdc0ca6c 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files.php index 263fd446..39680514 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Full; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Preview; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\SquarePreview; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Full; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Preview; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\SquarePreview; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Full.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Full.php index cd14aa98..cf18d442 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Full.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Preview.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Preview.php index 4e6f7a47..a5afbbe0 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Preview.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/SquarePreview.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/SquarePreview.php index fb36fd6d..343d4e90 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/SquarePreview.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Thumb.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Thumb.php index 438d00a7..198563e4 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Thumb.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/VideoSources.php b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/VideoSources.php index 83395812..2f18acf4 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/VideoSources.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/Data/Item/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\Data\Item\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta.php b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta.php index b6999008..ce66779b 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Cache.php index 7e765ec4..99551f0a 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Credits.php index d959fda0..73e9fd7f 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_RateLimits.php index a8700a62..94b89da8 100644 --- a/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingGetOverviewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingGetResponse.php b/src/MassMessaging/MassMessagingGetResponse.php index bdf8770d..5b457690 100644 --- a/src/MassMessaging/MassMessagingGetResponse.php +++ b/src/MassMessaging/MassMessagingGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\Data * * @phpstan-type MassMessagingGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/MassMessaging/MassMessagingGetResponse/Data.php b/src/MassMessaging/MassMessagingGetResponse/Data.php index 100607f8..3e85d68e 100644 --- a/src/MassMessaging/MassMessagingGetResponse/Data.php +++ b/src/MassMessaging/MassMessagingGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\Data\Queue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\Data\Queue; /** - * @phpstan-import-type QueueShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\Data\Queue + * @phpstan-import-type QueueShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\Data\Queue * * @phpstan-type DataShape = array{ * queue?: null|Queue|QueueShape, success?: bool|null diff --git a/src/MassMessaging/MassMessagingGetResponse/Data/Queue.php b/src/MassMessaging/MassMessagingGetResponse/Data/Queue.php index 49cc3a99..3bcc0891 100644 --- a/src/MassMessaging/MassMessagingGetResponse/Data/Queue.php +++ b/src/MassMessaging/MassMessagingGetResponse/Data/Queue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse\Data; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type QueueShape = array{ diff --git a/src/MassMessaging/MassMessagingGetResponse/_Meta.php b/src/MassMessaging/MassMessagingGetResponse/_Meta.php index 0210da28..1aec0503 100644 --- a/src/MassMessaging/MassMessagingGetResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingGetResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingGetResponse/_Meta/_Cache.php index c00999de..219119af 100644 --- a/src/MassMessaging/MassMessagingGetResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingGetResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingGetResponse/_Meta/_Credits.php index 9856da77..2bfc5d23 100644 --- a/src/MassMessaging/MassMessagingGetResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingGetResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingGetResponse/_Meta/_RateLimits.php index 70d50d28..898f304e 100644 --- a/src/MassMessaging/MassMessagingGetResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingGetResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingListResponse.php b/src/MassMessaging/MassMessagingListResponse.php index 3ab203b2..592da216 100644 --- a/src/MassMessaging/MassMessagingListResponse.php +++ b/src/MassMessaging/MassMessagingListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingListResponse\Data * * @phpstan-type MassMessagingListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/MassMessaging/MassMessagingListResponse/Data.php b/src/MassMessaging/MassMessagingListResponse/Data.php index 447ff5a8..67bfde45 100644 --- a/src/MassMessaging/MassMessagingListResponse/Data.php +++ b/src/MassMessaging/MassMessagingListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingListResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/MassMessaging/MassMessagingListResponse/_Meta.php b/src/MassMessaging/MassMessagingListResponse/_Meta.php index 5d751c52..488d8381 100644 --- a/src/MassMessaging/MassMessagingListResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingListResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingListResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingListResponse/_Meta/_Cache.php index 691b23f3..404c236e 100644 --- a/src/MassMessaging/MassMessagingListResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingListResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingListResponse/_Meta/_Credits.php index d252c19e..6f9a34ad 100644 --- a/src/MassMessaging/MassMessagingListResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingListResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingListResponse/_Meta/_RateLimits.php index b232b2a2..0b21ceeb 100644 --- a/src/MassMessaging/MassMessagingListResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingListResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingRetrieveOverviewParams.php b/src/MassMessaging/MassMessagingRetrieveOverviewParams.php index a3a24474..c0a6290a 100644 --- a/src/MassMessaging/MassMessagingRetrieveOverviewParams.php +++ b/src/MassMessaging/MassMessagingRetrieveOverviewParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get an overview of mass messages, showing the send count and view count. * - * @see Onlyfansapi\Services\MassMessagingService::retrieveOverview() + * @see OnlyFansAPI\Services\MassMessagingService::retrieveOverview() * * @phpstan-type MassMessagingRetrieveOverviewParamsShape = array{ * endDate?: string|null, diff --git a/src/MassMessaging/MassMessagingRetrieveParams.php b/src/MassMessaging/MassMessagingRetrieveParams.php index 60c822a8..7998ca4c 100644 --- a/src/MassMessaging/MassMessagingRetrieveParams.php +++ b/src/MassMessaging/MassMessagingRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get the content of a mass message. * - * @see Onlyfansapi\Services\MassMessagingService::retrieve() + * @see OnlyFansAPI\Services\MassMessagingService::retrieve() * * @phpstan-type MassMessagingRetrieveParamsShape = array{account: string} */ diff --git a/src/MassMessaging/MassMessagingSendParams.php b/src/MassMessaging/MassMessagingSendParams.php index e948cfe0..b8c45bce 100644 --- a/src/MassMessaging/MassMessagingSendParams.php +++ b/src/MassMessaging/MassMessagingSendParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Send a mass message to lists and/or users. You may use both the `userLists` and `userIds` parameters to send the same message to both lists and individual users. * - * @see Onlyfansapi\Services\MassMessagingService::send() + * @see OnlyFansAPI\Services\MassMessagingService::send() * * @phpstan-type MassMessagingSendParamsShape = array{ * text: string, diff --git a/src/MassMessaging/MassMessagingSendResponse.php b/src/MassMessaging/MassMessagingSendResponse.php index c51d236d..68d59198 100644 --- a/src/MassMessaging/MassMessagingSendResponse.php +++ b/src/MassMessaging/MassMessagingSendResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingSendResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingSendResponse\Data * * @phpstan-type MassMessagingSendResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/MassMessaging/MassMessagingSendResponse/Data.php b/src/MassMessaging/MassMessagingSendResponse/Data.php index bc64dad7..c1f4096e 100644 --- a/src/MassMessaging/MassMessagingSendResponse/Data.php +++ b/src/MassMessaging/MassMessagingSendResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingSendResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/MassMessaging/MassMessagingSendResponse/_Meta.php b/src/MassMessaging/MassMessagingSendResponse/_Meta.php index e3e95d97..2c1ae00d 100644 --- a/src/MassMessaging/MassMessagingSendResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingSendResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingSendResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingSendResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingSendResponse/_Meta/_Cache.php index c7c86e33..c92fb452 100644 --- a/src/MassMessaging/MassMessagingSendResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingSendResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingSendResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingSendResponse/_Meta/_Credits.php index d0890970..96ff8b6d 100644 --- a/src/MassMessaging/MassMessagingSendResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingSendResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingSendResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingSendResponse/_Meta/_RateLimits.php index adc6813e..234c6e2a 100644 --- a/src/MassMessaging/MassMessagingSendResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingSendResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingSendResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingSendResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/MassMessaging/MassMessagingUpdateParams.php b/src/MassMessaging/MassMessagingUpdateParams.php index 987cd4d1..5ab717fc 100644 --- a/src/MassMessaging/MassMessagingUpdateParams.php +++ b/src/MassMessaging/MassMessagingUpdateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update a mass message. * - * @see Onlyfansapi\Services\MassMessagingService::update() + * @see OnlyFansAPI\Services\MassMessagingService::update() * * @phpstan-type MassMessagingUpdateParamsShape = array{ * account: string, diff --git a/src/MassMessaging/MassMessagingUpdateResponse.php b/src/MassMessaging/MassMessagingUpdateResponse.php index 1ad72aa5..4df2c1af 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse.php +++ b/src/MassMessaging/MassMessagingUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging; +namespace OnlyFansAPI\MassMessaging; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\Data * * @phpstan-type MassMessagingUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/MassMessaging/MassMessagingUpdateResponse/Data.php b/src/MassMessaging/MassMessagingUpdateResponse/Data.php index 3924c118..c0d397c8 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse/Data.php +++ b/src/MassMessaging/MassMessagingUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/MassMessaging/MassMessagingUpdateResponse/_Meta.php b/src/MassMessaging/MassMessagingUpdateResponse/_Meta.php index 734417c0..24acc9ef 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse/_Meta.php +++ b/src/MassMessaging/MassMessagingUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; +namespace OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_Cache; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_Credits; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Cache.php b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Cache.php index 3ed17e32..ff2fc4d3 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Cache.php +++ b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Credits.php b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Credits.php index fa9ea8f3..7f5ae855 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Credits.php +++ b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_RateLimits.php b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_RateLimits.php index 1057433c..e5a1bf6e 100644 --- a/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_RateLimits.php +++ b/src/MassMessaging/MassMessagingUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\MassMessaging\MassMessagingUpdateResponse\_Meta; +namespace OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Me/MeGetModelStartDateResponse.php b/src/Me/MeGetModelStartDateResponse.php index a72a0051..5c80d39d 100644 --- a/src/Me/MeGetModelStartDateResponse.php +++ b/src/Me/MeGetModelStartDateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Me; +namespace OnlyFansAPI\Me; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta; -use Onlyfansapi\Me\MeGetModelStartDateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta; +use OnlyFansAPI\Me\MeGetModelStartDateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Me\MeGetModelStartDateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Me\MeGetModelStartDateResponse\Data * * @phpstan-type MeGetModelStartDateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Me/MeGetModelStartDateResponse/Data.php b/src/Me/MeGetModelStartDateResponse/Data.php index 8230aff2..c9e22f9e 100644 --- a/src/Me/MeGetModelStartDateResponse/Data.php +++ b/src/Me/MeGetModelStartDateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetModelStartDateResponse; +namespace OnlyFansAPI\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{startDate?: string|null} diff --git a/src/Me/MeGetModelStartDateResponse/_Meta.php b/src/Me/MeGetModelStartDateResponse/_Meta.php index 46eb87fe..313d45a7 100644 --- a/src/Me/MeGetModelStartDateResponse/_Meta.php +++ b/src/Me/MeGetModelStartDateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetModelStartDateResponse; +namespace OnlyFansAPI\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_Cache; -use Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_Credits; -use Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_Cache; +use OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_Credits; +use OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Me/MeGetModelStartDateResponse/_Meta/_Cache.php b/src/Me/MeGetModelStartDateResponse/_Meta/_Cache.php index e0a78931..06818d0d 100644 --- a/src/Me/MeGetModelStartDateResponse/_Meta/_Cache.php +++ b/src/Me/MeGetModelStartDateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Me/MeGetModelStartDateResponse/_Meta/_Credits.php b/src/Me/MeGetModelStartDateResponse/_Meta/_Credits.php index f58c7179..035d7f5d 100644 --- a/src/Me/MeGetModelStartDateResponse/_Meta/_Credits.php +++ b/src/Me/MeGetModelStartDateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Me/MeGetModelStartDateResponse/_Meta/_RateLimits.php b/src/Me/MeGetModelStartDateResponse/_Meta/_RateLimits.php index feb7c02a..538b34d4 100644 --- a/src/Me/MeGetModelStartDateResponse/_Meta/_RateLimits.php +++ b/src/Me/MeGetModelStartDateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetModelStartDateResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetModelStartDateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Me/MeGetResponse.php b/src/Me/MeGetResponse.php index ab27a08b..e3708632 100644 --- a/src/Me/MeGetResponse.php +++ b/src/Me/MeGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Me; +namespace OnlyFansAPI\Me; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetResponse\_Meta; -use Onlyfansapi\Me\MeGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetResponse\_Meta; +use OnlyFansAPI\Me\MeGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Me\MeGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Me\MeGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Me\MeGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Me\MeGetResponse\Data * * @phpstan-type MeGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Me/MeGetResponse/Data.php b/src/Me/MeGetResponse/Data.php index 2f57e0e8..3357aeeb 100644 --- a/src/Me/MeGetResponse/Data.php +++ b/src/Me/MeGetResponse/Data.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse; +namespace OnlyFansAPI\Me\MeGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetResponse\Data\AvatarThumbs; -use Onlyfansapi\Me\MeGetResponse\Data\HasNewTicketReplies; -use Onlyfansapi\Me\MeGetResponse\Data\HeaderSize; -use Onlyfansapi\Me\MeGetResponse\Data\HeaderThumbs; -use Onlyfansapi\Me\MeGetResponse\Data\Upload; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetResponse\Data\AvatarThumbs; +use OnlyFansAPI\Me\MeGetResponse\Data\HasNewTicketReplies; +use OnlyFansAPI\Me\MeGetResponse\Data\HeaderSize; +use OnlyFansAPI\Me\MeGetResponse\Data\HeaderThumbs; +use OnlyFansAPI\Me\MeGetResponse\Data\Upload; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Me\MeGetResponse\Data\AvatarThumbs - * @phpstan-import-type HasNewTicketRepliesShape from \Onlyfansapi\Me\MeGetResponse\Data\HasNewTicketReplies - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Me\MeGetResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Me\MeGetResponse\Data\HeaderThumbs - * @phpstan-import-type UploadShape from \Onlyfansapi\Me\MeGetResponse\Data\Upload + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Me\MeGetResponse\Data\AvatarThumbs + * @phpstan-import-type HasNewTicketRepliesShape from \OnlyFansAPI\Me\MeGetResponse\Data\HasNewTicketReplies + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Me\MeGetResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Me\MeGetResponse\Data\HeaderThumbs + * @phpstan-import-type UploadShape from \OnlyFansAPI\Me\MeGetResponse\Data\Upload * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Me/MeGetResponse/Data/AvatarThumbs.php b/src/Me/MeGetResponse/Data/AvatarThumbs.php index 07faebbd..c78d88f3 100644 --- a/src/Me/MeGetResponse/Data/AvatarThumbs.php +++ b/src/Me/MeGetResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data; +namespace OnlyFansAPI\Me\MeGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Me/MeGetResponse/Data/HasNewTicketReplies.php b/src/Me/MeGetResponse/Data/HasNewTicketReplies.php index 89c60f90..261faf11 100644 --- a/src/Me/MeGetResponse/Data/HasNewTicketReplies.php +++ b/src/Me/MeGetResponse/Data/HasNewTicketReplies.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data; +namespace OnlyFansAPI\Me\MeGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HasNewTicketRepliesShape = array{ diff --git a/src/Me/MeGetResponse/Data/HeaderSize.php b/src/Me/MeGetResponse/Data/HeaderSize.php index 106d7314..b798d2cc 100644 --- a/src/Me/MeGetResponse/Data/HeaderSize.php +++ b/src/Me/MeGetResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data; +namespace OnlyFansAPI\Me\MeGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Me/MeGetResponse/Data/HeaderThumbs.php b/src/Me/MeGetResponse/Data/HeaderThumbs.php index 5d2ac2f4..6f65c0a9 100644 --- a/src/Me/MeGetResponse/Data/HeaderThumbs.php +++ b/src/Me/MeGetResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data; +namespace OnlyFansAPI\Me\MeGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Me/MeGetResponse/Data/Upload.php b/src/Me/MeGetResponse/Data/Upload.php index 1288c199..54d1c69b 100644 --- a/src/Me/MeGetResponse/Data/Upload.php +++ b/src/Me/MeGetResponse/Data/Upload.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data; +namespace OnlyFansAPI\Me\MeGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetResponse\Data\Upload\GeoUploadArgs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetResponse\Data\Upload\GeoUploadArgs; /** - * @phpstan-import-type GeoUploadArgsShape from \Onlyfansapi\Me\MeGetResponse\Data\Upload\GeoUploadArgs + * @phpstan-import-type GeoUploadArgsShape from \OnlyFansAPI\Me\MeGetResponse\Data\Upload\GeoUploadArgs * * @phpstan-type UploadShape = array{ * geoUploadArgs?: null|GeoUploadArgs|GeoUploadArgsShape diff --git a/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs.php b/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs.php index c094697a..d3e608c1 100644 --- a/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs.php +++ b/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data\Upload; +namespace OnlyFansAPI\Me\MeGetResponse\Data\Upload; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetResponse\Data\Upload\GeoUploadArgs\Additional; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetResponse\Data\Upload\GeoUploadArgs\Additional; /** - * @phpstan-import-type AdditionalShape from \Onlyfansapi\Me\MeGetResponse\Data\Upload\GeoUploadArgs\Additional + * @phpstan-import-type AdditionalShape from \OnlyFansAPI\Me\MeGetResponse\Data\Upload\GeoUploadArgs\Additional * * @phpstan-type GeoUploadArgsShape = array{ * additional?: null|Additional|AdditionalShape, diff --git a/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs/Additional.php b/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs/Additional.php index d84bd2db..55857b93 100644 --- a/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs/Additional.php +++ b/src/Me/MeGetResponse/Data/Upload/GeoUploadArgs/Additional.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\Data\Upload\GeoUploadArgs; +namespace OnlyFansAPI\Me\MeGetResponse\Data\Upload\GeoUploadArgs; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AdditionalShape = array{user?: string|null} diff --git a/src/Me/MeGetResponse/_Meta.php b/src/Me/MeGetResponse/_Meta.php index 1645f0bd..09560af5 100644 --- a/src/Me/MeGetResponse/_Meta.php +++ b/src/Me/MeGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse; +namespace OnlyFansAPI\Me\MeGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetResponse\_Meta\_Cache; -use Onlyfansapi\Me\MeGetResponse\_Meta\_Credits; -use Onlyfansapi\Me\MeGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetResponse\_Meta\_Cache; +use OnlyFansAPI\Me\MeGetResponse\_Meta\_Credits; +use OnlyFansAPI\Me\MeGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Me\MeGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Me\MeGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Me\MeGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Me\MeGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Me\MeGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Me\MeGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Me/MeGetResponse/_Meta/_Cache.php b/src/Me/MeGetResponse/_Meta/_Cache.php index 3d26d5a5..2a684c2b 100644 --- a/src/Me/MeGetResponse/_Meta/_Cache.php +++ b/src/Me/MeGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Me/MeGetResponse/_Meta/_Credits.php b/src/Me/MeGetResponse/_Meta/_Credits.php index 486625cf..7034bebf 100644 --- a/src/Me/MeGetResponse/_Meta/_Credits.php +++ b/src/Me/MeGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Me/MeGetResponse/_Meta/_RateLimits.php b/src/Me/MeGetResponse/_Meta/_RateLimits.php index 199c1c68..d49abaf6 100644 --- a/src/Me/MeGetResponse/_Meta/_RateLimits.php +++ b/src/Me/MeGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Me/MeGetTopPercentageResponse.php b/src/Me/MeGetTopPercentageResponse.php index 75c8141d..d926367b 100644 --- a/src/Me/MeGetTopPercentageResponse.php +++ b/src/Me/MeGetTopPercentageResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Me; +namespace OnlyFansAPI\Me; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta; -use Onlyfansapi\Me\MeGetTopPercentageResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta; +use OnlyFansAPI\Me\MeGetTopPercentageResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Me\MeGetTopPercentageResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Me\MeGetTopPercentageResponse\Data * * @phpstan-type MeGetTopPercentageResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Me/MeGetTopPercentageResponse/Data.php b/src/Me/MeGetTopPercentageResponse/Data.php index 4a5f70de..788ed881 100644 --- a/src/Me/MeGetTopPercentageResponse/Data.php +++ b/src/Me/MeGetTopPercentageResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetTopPercentageResponse; +namespace OnlyFansAPI\Me\MeGetTopPercentageResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Me/MeGetTopPercentageResponse/_Meta.php b/src/Me/MeGetTopPercentageResponse/_Meta.php index 6bbb159b..eaaaa584 100644 --- a/src/Me/MeGetTopPercentageResponse/_Meta.php +++ b/src/Me/MeGetTopPercentageResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetTopPercentageResponse; +namespace OnlyFansAPI\Me\MeGetTopPercentageResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_Cache; -use Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_Credits; -use Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_Cache; +use OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_Credits; +use OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Me/MeGetTopPercentageResponse/_Meta/_Cache.php b/src/Me/MeGetTopPercentageResponse/_Meta/_Cache.php index 83a51f3e..2d321016 100644 --- a/src/Me/MeGetTopPercentageResponse/_Meta/_Cache.php +++ b/src/Me/MeGetTopPercentageResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Me/MeGetTopPercentageResponse/_Meta/_Credits.php b/src/Me/MeGetTopPercentageResponse/_Meta/_Credits.php index d1650f33..4f7e82a3 100644 --- a/src/Me/MeGetTopPercentageResponse/_Meta/_Credits.php +++ b/src/Me/MeGetTopPercentageResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Me/MeGetTopPercentageResponse/_Meta/_RateLimits.php b/src/Me/MeGetTopPercentageResponse/_Meta/_RateLimits.php index 9c0295c3..d8d036c6 100644 --- a/src/Me/MeGetTopPercentageResponse/_Meta/_RateLimits.php +++ b/src/Me/MeGetTopPercentageResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Me\MeGetTopPercentageResponse\_Meta; +namespace OnlyFansAPI\Me\MeGetTopPercentageResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/MediaDownloadParams.php b/src/Media/MediaDownloadParams.php index 9ba28d5c..2f4c47e1 100644 --- a/src/Media/MediaDownloadParams.php +++ b/src/Media/MediaDownloadParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media; +namespace OnlyFansAPI\Media; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is streamed through our proxies and queued for caching. * - * @see Onlyfansapi\Services\MediaService::download() + * @see OnlyFansAPI\Services\MediaService::download() * * @phpstan-type MediaDownloadParamsShape = array{account: string} */ diff --git a/src/Media/MediaScrapeParams.php b/src/Media/MediaScrapeParams.php index 177a5f93..0f9f0d99 100644 --- a/src/Media/MediaScrapeParams.php +++ b/src/Media/MediaScrapeParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Media; +namespace OnlyFansAPI\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\MediaScrapeParams\FileType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\MediaScrapeParams\FileType; /** * **⚠️ This is a deprecated endpoint. Please use the new "Download media from the OnlyFans CDN" endpoint!** Scrapes a `https://cdn*.onlyfans.com/*` URL *or* Vault Media ID, and uploads it to the OnlyFans API CDN, where you can view or download the file. **Max file size is 500MB**. * - * @see Onlyfansapi\Services\MediaService::scrape() + * @see OnlyFansAPI\Services\MediaService::scrape() * * @phpstan-type MediaScrapeParamsShape = array{ * expirationDate?: string|null, diff --git a/src/Media/MediaScrapeParams/FileType.php b/src/Media/MediaScrapeParams/FileType.php index 3885e430..0d16c811 100644 --- a/src/Media/MediaScrapeParams/FileType.php +++ b/src/Media/MediaScrapeParams/FileType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\MediaScrapeParams; +namespace OnlyFansAPI\Media\MediaScrapeParams; /** * The file type to scrape. Only allowed when using `media_id`. diff --git a/src/Media/MediaScrapeResponse.php b/src/Media/MediaScrapeResponse.php index 809d0e99..c71eeaac 100644 --- a/src/Media/MediaScrapeResponse.php +++ b/src/Media/MediaScrapeResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media; +namespace OnlyFansAPI\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MediaScrapeResponseShape = array{ diff --git a/src/Media/MediaUploadParams.php b/src/Media/MediaUploadParams.php index 352c68e0..0dff71de 100644 --- a/src/Media/MediaUploadParams.php +++ b/src/Media/MediaUploadParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media; +namespace OnlyFansAPI\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Media\MediaUploadParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Media\MediaUploadParams\Type; /** * The response can be used **only once** to manually include media in a post or message. This endpoint does not upload media to the Vault. You must provide either `file` or `file_url`. * - * @see Onlyfansapi\Services\MediaService::upload() + * @see OnlyFansAPI\Services\MediaService::upload() * * @phpstan-type MediaUploadParamsShape = array{ * async?: bool|null, diff --git a/src/Media/MediaUploadParams/Type.php b/src/Media/MediaUploadParams/Type.php index 11cdd585..a3556a9c 100644 --- a/src/Media/MediaUploadParams/Type.php +++ b/src/Media/MediaUploadParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\MediaUploadParams; +namespace OnlyFansAPI\Media\MediaUploadParams; /** * Set to `avatar` if this file will be used as a profile picture, `header` for a profile banner, or keep empty if this file will be for anything else. diff --git a/src/Media/MediaUploadResponse.php b/src/Media/MediaUploadResponse.php index 61e7a518..e1a03c8b 100644 --- a/src/Media/MediaUploadResponse.php +++ b/src/Media/MediaUploadResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media; +namespace OnlyFansAPI\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\MediaUploadResponse\Additional; -use Onlyfansapi\Media\MediaUploadResponse\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\MediaUploadResponse\Additional; +use OnlyFansAPI\Media\MediaUploadResponse\Thumb; /** - * @phpstan-import-type AdditionalShape from \Onlyfansapi\Media\MediaUploadResponse\Additional - * @phpstan-import-type ThumbShape from \Onlyfansapi\Media\MediaUploadResponse\Thumb + * @phpstan-import-type AdditionalShape from \OnlyFansAPI\Media\MediaUploadResponse\Additional + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Media\MediaUploadResponse\Thumb * * @phpstan-type MediaUploadResponseShape = array{ * additional?: null|Additional|AdditionalShape, diff --git a/src/Media/MediaUploadResponse/Additional.php b/src/Media/MediaUploadResponse/Additional.php index a5b6bad3..3103dc85 100644 --- a/src/Media/MediaUploadResponse/Additional.php +++ b/src/Media/MediaUploadResponse/Additional.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\MediaUploadResponse; +namespace OnlyFansAPI\Media\MediaUploadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AdditionalShape = array{user?: string|null} diff --git a/src/Media/MediaUploadResponse/Thumb.php b/src/Media/MediaUploadResponse/Thumb.php index 7117e086..13d518da 100644 --- a/src/Media/MediaUploadResponse/Thumb.php +++ b/src/Media/MediaUploadResponse/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\MediaUploadResponse; +namespace OnlyFansAPI\Media\MediaUploadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{id?: int|null, url?: string|null} diff --git a/src/Media/Uploads/UploadGetStatusParams.php b/src/Media/Uploads/UploadGetStatusParams.php index 35884d21..49f4ef2d 100644 --- a/src/Media/Uploads/UploadGetStatusParams.php +++ b/src/Media/Uploads/UploadGetStatusParams.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads; +namespace OnlyFansAPI\Media\Uploads; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Check the status of a media upload. Poll this endpoint until status is `completed` or `failed`. This endpoint is free and does not cost any credits. @@ -18,7 +18,7 @@ * - `completed` — Upload finished, `media` and `credits_used` are included * - `failed` — Upload failed, `error` is included * - * @see Onlyfansapi\Services\Media\UploadsService::getStatus() + * @see OnlyFansAPI\Services\Media\UploadsService::getStatus() * * @phpstan-type UploadGetStatusParamsShape = array{account: string} */ diff --git a/src/Media/Uploads/UploadGetStatusResponse.php b/src/Media/Uploads/UploadGetStatusResponse.php index 7245f924..f65237f2 100644 --- a/src/Media/Uploads/UploadGetStatusResponse.php +++ b/src/Media/Uploads/UploadGetStatusResponse.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads; +namespace OnlyFansAPI\Media\Uploads; -use Onlyfansapi\Core\Concerns\SdkUnion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; +use OnlyFansAPI\Core\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; /** * Upload still processing. * - * @phpstan-import-type UnionMember0Shape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0 - * @phpstan-import-type UnionMember1Shape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1 - * @phpstan-import-type UnionMember2Shape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2 - * @phpstan-import-type UnionMember3Shape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3 + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1 + * @phpstan-import-type UnionMember2Shape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2 + * @phpstan-import-type UnionMember3Shape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3 * * @phpstan-type UploadGetStatusResponseVariants = UnionMember0|UnionMember1|UnionMember2|UnionMember3 * @phpstan-type UploadGetStatusResponseShape = UploadGetStatusResponseVariants|UnionMember0Shape|UnionMember1Shape|UnionMember2Shape|UnionMember3Shape diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember0.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember0.php index a7342887..7b5e6c79 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember0.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember0.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Upload still processing. diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember1.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember1.php index 8e17a63e..465be846 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember1.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember1.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Upload failed. diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2.php index 910bc70b..e2318af4 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media; /** * Completed POST /media/vault upload. * - * @phpstan-import-type MediaShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media * * @phpstan-type UnionMember2Shape = array{ * creditsUsed?: int|null, diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media.php index caf03cdb..1418f68f 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files + * @phpstan-import-type FilesShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files.php index fc1880e6..95dc9482 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files\Full; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files\Full; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files\Full + * @phpstan-import-type FullShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files\Full * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files/Full.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files/Full.php index 79457d61..e01c55dd 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files/Full.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember2/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3.php index 211f1e0a..79e01803 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; /** * Completed POST /media/upload upload. * - * @phpstan-import-type MediaShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media * * @phpstan-type UnionMember3Shape = array{ * creditsUsed?: int|null, diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media.php index 61cc6a57..0307e491 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Additional; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Additional; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Thumb; /** - * @phpstan-import-type AdditionalShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Additional - * @phpstan-import-type ThumbShape from \Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Thumb + * @phpstan-import-type AdditionalShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Additional + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media\Thumb * * @phpstan-type MediaShape = array{ * additional?: null|Additional|AdditionalShape, diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Additional.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Additional.php index 8b9807ea..85e09aff 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Additional.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Additional.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AdditionalShape = array{user?: string|null} diff --git a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Thumb.php b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Thumb.php index 2aad7bb0..70bd3de7 100644 --- a/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Thumb.php +++ b/src/Media/Uploads/UploadGetStatusResponse/UnionMember3/Media/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; +namespace OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{id?: int|null, url?: string|null} diff --git a/src/Media/Vault/Lists/ListCreateParams.php b/src/Media/Vault/Lists/ListCreateParams.php index 06d6d457..0a3186e3 100644 --- a/src/Media/Vault/Lists/ListCreateParams.php +++ b/src/Media/Vault/Lists/ListCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new Vault list. * - * @see Onlyfansapi\Services\Media\Vault\ListsService::create() + * @see OnlyFansAPI\Services\Media\Vault\ListsService::create() * * @phpstan-type ListCreateParamsShape = array{name: string} */ diff --git a/src/Media/Vault/Lists/ListDeleteParams.php b/src/Media/Vault/Lists/ListDeleteParams.php index 03f9b126..0363e1b0 100644 --- a/src/Media/Vault/Lists/ListDeleteParams.php +++ b/src/Media/Vault/Lists/ListDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a Vault list. * - * @see Onlyfansapi\Services\Media\Vault\ListsService::delete() + * @see OnlyFansAPI\Services\Media\Vault\ListsService::delete() * * @phpstan-type ListDeleteParamsShape = array{account: string} */ diff --git a/src/Media/Vault/Lists/ListDeleteResponse.php b/src/Media/Vault/Lists/ListDeleteResponse.php index 9cd4d93c..a3689afe 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse.php +++ b/src/Media/Vault/Lists/ListDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\Data * * @phpstan-type ListDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/ListDeleteResponse/Data.php b/src/Media/Vault/Lists/ListDeleteResponse/Data.php index 3bb329e9..e584de9f 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse/Data.php +++ b/src/Media/Vault/Lists/ListDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Media/Vault/Lists/ListDeleteResponse/_Meta.php b/src/Media/Vault/Lists/ListDeleteResponse/_Meta.php index c701fae7..bd85db98 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Cache.php index 53bbf4b9..1512fe3b 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Credits.php index eb705a7a..589b87d4 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_RateLimits.php index ab967344..ffe6a514 100644 --- a/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/ListGetResponse.php b/src/Media/Vault/Lists/ListGetResponse.php index 4754f198..34bb8455 100644 --- a/src/Media/Vault/Lists/ListGetResponse.php +++ b/src/Media/Vault/Lists/ListGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\ListGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListGetResponse\Data * * @phpstan-type ListGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/ListGetResponse/Data.php b/src/Media/Vault/Lists/ListGetResponse/Data.php index efb9da94..950e286c 100644 --- a/src/Media/Vault/Lists/ListGetResponse/Data.php +++ b/src/Media/Vault/Lists/ListGetResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListGetResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Media/Vault/Lists/ListGetResponse/_Meta.php b/src/Media/Vault/Lists/ListGetResponse/_Meta.php index 7066a0f4..26df95da 100644 --- a/src/Media/Vault/Lists/ListGetResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListGetResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/ListGetResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/ListGetResponse/_Meta/_Cache.php index a7204113..cad5cf26 100644 --- a/src/Media/Vault/Lists/ListGetResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/ListGetResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListGetResponse/_Meta/_Credits.php index e2145229..36c8c290 100644 --- a/src/Media/Vault/Lists/ListGetResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/ListGetResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListGetResponse/_Meta/_RateLimits.php index 4dcdec5d..41a017c5 100644 --- a/src/Media/Vault/Lists/ListGetResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/ListListParams.php b/src/Media/Vault/Lists/ListListParams.php index e22a27c3..8c9303bc 100644 --- a/src/Media/Vault/Lists/ListListParams.php +++ b/src/Media/Vault/Lists/ListListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List your Vault lists (categories). * - * @see Onlyfansapi\Services\Media\Vault\ListsService::list() + * @see OnlyFansAPI\Services\Media\Vault\ListsService::list() * * @phpstan-type ListListParamsShape = array{ * limit?: int|null, offset?: int|null, query?: string|null diff --git a/src/Media/Vault/Lists/ListListResponse.php b/src/Media/Vault/Lists/ListListResponse.php index 1da12479..6e6ac0f2 100644 --- a/src/Media/Vault/Lists/ListListResponse.php +++ b/src/Media/Vault/Lists/ListListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data * * @phpstan-type ListListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/ListListResponse/Data.php b/src/Media/Vault/Lists/ListListResponse/Data.php index 4085801c..cb7a8887 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data.php +++ b/src/Media/Vault/Lists/ListListResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\All; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\List_; /** - * @phpstan-import-type AllShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\All - * @phpstan-import-type ListShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\List_ + * @phpstan-import-type AllShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All + * @phpstan-import-type ListShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\List_ * * @phpstan-type DataShape = array{ * all?: null|All|AllShape, diff --git a/src/Media/Vault/Lists/ListListResponse/Data/All.php b/src/Media/Vault/Lists/ListListResponse/Data/All.php index d7ffc441..290eac77 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/All.php +++ b/src/Media/Vault/Lists/ListListResponse/Data/All.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\Data; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\All\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\All\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All\Media * * @phpstan-type AllShape = array{ * audiosCount?: int|null, diff --git a/src/Media/Vault/Lists/ListListResponse/Data/All/Media.php b/src/Media/Vault/Lists/ListListResponse/Data/All/Media.php index 76fe3f6f..be390035 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/All/Media.php +++ b/src/Media/Vault/Lists/ListListResponse/Data/All/Media.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\Data\All; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MediaShape = array{type?: string|null, url?: string|null} diff --git a/src/Media/Vault/Lists/ListListResponse/Data/List_.php b/src/Media/Vault/Lists/ListListResponse/Data/List_.php index 5de44004..6b396cd1 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/List_.php +++ b/src/Media/Vault/Lists/ListListResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\Data; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta.php b/src/Media/Vault/Lists/ListListResponse/_Meta.php index 3be0b47c..21eda85d 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php index 376dba67..389015c8 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php index 568fe7c9..cddb33e9 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php index cdc67a25..2a0e59a0 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/ListNewResponse.php b/src/Media/Vault/Lists/ListNewResponse.php index 9bbc3c7d..f2f45d19 100644 --- a/src/Media/Vault/Lists/ListNewResponse.php +++ b/src/Media/Vault/Lists/ListNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\ListNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListNewResponse\Data * * @phpstan-type ListNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/ListNewResponse/Data.php b/src/Media/Vault/Lists/ListNewResponse/Data.php index e4fa7651..99900ba0 100644 --- a/src/Media/Vault/Lists/ListNewResponse/Data.php +++ b/src/Media/Vault/Lists/ListNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListNewResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Media/Vault/Lists/ListNewResponse/_Meta.php b/src/Media/Vault/Lists/ListNewResponse/_Meta.php index 138d8b95..9c40ee67 100644 --- a/src/Media/Vault/Lists/ListNewResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListNewResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/ListNewResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/ListNewResponse/_Meta/_Cache.php index 5c347d5a..97b80a68 100644 --- a/src/Media/Vault/Lists/ListNewResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/ListNewResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListNewResponse/_Meta/_Credits.php index 3e10ca88..fffce8f7 100644 --- a/src/Media/Vault/Lists/ListNewResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/ListNewResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListNewResponse/_Meta/_RateLimits.php index 6e2ac6b4..3475c6d6 100644 --- a/src/Media/Vault/Lists/ListNewResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListNewResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/ListRetrieveParams.php b/src/Media/Vault/Lists/ListRetrieveParams.php index 066865ab..d8221ba5 100644 --- a/src/Media/Vault/Lists/ListRetrieveParams.php +++ b/src/Media/Vault/Lists/ListRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Show a Vault list. * - * @see Onlyfansapi\Services\Media\Vault\ListsService::retrieve() + * @see OnlyFansAPI\Services\Media\Vault\ListsService::retrieve() * * @phpstan-type ListRetrieveParamsShape = array{account: string} */ diff --git a/src/Media/Vault/Lists/ListUpdateParams.php b/src/Media/Vault/Lists/ListUpdateParams.php index f56cbc7c..a0d62cdc 100644 --- a/src/Media/Vault/Lists/ListUpdateParams.php +++ b/src/Media/Vault/Lists/ListUpdateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Rename a Vault list. * - * @see Onlyfansapi\Services\Media\Vault\ListsService::update() + * @see OnlyFansAPI\Services\Media\Vault\ListsService::update() * * @phpstan-type ListUpdateParamsShape = array{account: string} */ diff --git a/src/Media/Vault/Lists/ListUpdateResponse.php b/src/Media/Vault/Lists/ListUpdateResponse.php index a5f0159f..864641e0 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse.php +++ b/src/Media/Vault/Lists/ListUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists; +namespace OnlyFansAPI\Media\Vault\Lists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\Data * * @phpstan-type ListUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/ListUpdateResponse/Data.php b/src/Media/Vault/Lists/ListUpdateResponse/Data.php index 0df034d7..d2b2a153 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse/Data.php +++ b/src/Media/Vault/Lists/ListUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Media/Vault/Lists/ListUpdateResponse/_Meta.php b/src/Media/Vault/Lists/ListUpdateResponse/_Meta.php index 28140c65..ac9f1a21 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Cache.php index 6664989c..b4a67727 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Credits.php index a5c3b7f7..045c32ec 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_RateLimits.php index 8262ecd0..edb46aad 100644 --- a/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\ListUpdateResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/Media/MediaAddParams.php b/src/Media/Vault/Lists/Media/MediaAddParams.php index 280bfea9..75f6a7f2 100644 --- a/src/Media/Vault/Lists/Media/MediaAddParams.php +++ b/src/Media/Vault/Lists/Media/MediaAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media; +namespace OnlyFansAPI\Media\Vault\Lists\Media; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add one or multiple media to a list. * - * @see Onlyfansapi\Services\Media\Vault\Lists\MediaService::add() + * @see OnlyFansAPI\Services\Media\Vault\Lists\MediaService::add() * * @phpstan-type MediaAddParamsShape = array{ * account: string, mediaIDs: list diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse.php b/src/Media/Vault/Lists/Media/MediaAddResponse.php index 91580346..827a8be3 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media; +namespace OnlyFansAPI\Media\Vault\Lists\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\Data * * @phpstan-type MediaAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/Data.php b/src/Media/Vault/Lists/Media/MediaAddResponse/Data.php index d40a32ea..9e6e1bf4 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/Data.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/Data/Media.php b/src/Media/Vault/Lists/Media/MediaAddResponse/Data/Media.php index be3dacb6..739b7791 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/Data/Media.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/Data/Media.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\Data; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MediaShape = array{type?: string|null, url?: string|null} diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta.php b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta.php index 7cbc116c..f2d14604 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Cache.php index 49fe001c..89e15ca6 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Credits.php index 875b5373..3a66eb2f 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_RateLimits.php index e1690d36..4abf6f43 100644 --- a/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/Media/MediaAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/Lists/Media/MediaRemoveParams.php b/src/Media/Vault/Lists/Media/MediaRemoveParams.php index 96e6cbb0..e2fecdc0 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveParams.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media; +namespace OnlyFansAPI\Media\Vault\Lists\Media; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove one or multiple media from a list. * - * @see Onlyfansapi\Services\Media\Vault\Lists\MediaService::remove() + * @see OnlyFansAPI\Services\Media\Vault\Lists\MediaService::remove() * * @phpstan-type MediaRemoveParamsShape = array{ * account: string, mediaIDs: list diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse.php index 1f5eb5f8..036512e9 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media; +namespace OnlyFansAPI\Media\Vault\Lists\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\Data * * @phpstan-type MediaRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse/Data.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse/Data.php index 0eeebc6b..a7070842 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse/Data.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta.php index 8db3db95..08361068 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Cache.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Cache.php index 611657d0..ecc8aaed 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Credits.php index 1d7cbc8b..9149c3e1 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_RateLimits.php index 59620b4b..72f168c7 100644 --- a/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/Media/MediaRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/VaultDeleteParams.php b/src/Media/Vault/VaultDeleteParams.php index c0083816..dc83404b 100644 --- a/src/Media/Vault/VaultDeleteParams.php +++ b/src/Media/Vault/VaultDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete one or multiple media from your vault. * - * @see Onlyfansapi\Services\Media\VaultService::delete() + * @see OnlyFansAPI\Services\Media\VaultService::delete() * * @phpstan-type VaultDeleteParamsShape = array{mediaIDs: list} */ diff --git a/src/Media/Vault/VaultDeleteResponse.php b/src/Media/Vault/VaultDeleteResponse.php index 9f146ef6..11bdb406 100644 --- a/src/Media/Vault/VaultDeleteResponse.php +++ b/src/Media/Vault/VaultDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta; -use Onlyfansapi\Media\Vault\VaultDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\VaultDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\VaultDeleteResponse\Data * * @phpstan-type VaultDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/VaultDeleteResponse/Data.php b/src/Media/Vault/VaultDeleteResponse/Data.php index a5df32f1..5fd99dce 100644 --- a/src/Media/Vault/VaultDeleteResponse/Data.php +++ b/src/Media/Vault/VaultDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultDeleteResponse; +namespace OnlyFansAPI\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Media/Vault/VaultDeleteResponse/_Meta.php b/src/Media/Vault/VaultDeleteResponse/_Meta.php index 510d47ca..c5795f87 100644 --- a/src/Media/Vault/VaultDeleteResponse/_Meta.php +++ b/src/Media/Vault/VaultDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultDeleteResponse; +namespace OnlyFansAPI\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/VaultDeleteResponse/_Meta/_Cache.php b/src/Media/Vault/VaultDeleteResponse/_Meta/_Cache.php index c801ab05..b108e07a 100644 --- a/src/Media/Vault/VaultDeleteResponse/_Meta/_Cache.php +++ b/src/Media/Vault/VaultDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/VaultDeleteResponse/_Meta/_Credits.php b/src/Media/Vault/VaultDeleteResponse/_Meta/_Credits.php index d5333b4c..42192640 100644 --- a/src/Media/Vault/VaultDeleteResponse/_Meta/_Credits.php +++ b/src/Media/Vault/VaultDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/VaultDeleteResponse/_Meta/_RateLimits.php b/src/Media/Vault/VaultDeleteResponse/_Meta/_RateLimits.php index 3cce2019..c5c3818a 100644 --- a/src/Media/Vault/VaultDeleteResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/VaultDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultDeleteResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/VaultGetResponse.php b/src/Media/Vault/VaultGetResponse.php index 8e4c8406..9b5542bd 100644 --- a/src/Media/Vault/VaultGetResponse.php +++ b/src/Media/Vault/VaultGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultGetResponse\_Meta; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\VaultGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data * * @phpstan-type VaultGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/VaultGetResponse/Data.php b/src/Media/Vault/VaultGetResponse/Data.php index 7ea7f5df..908e7fe4 100644 --- a/src/Media/Vault/VaultGetResponse/Data.php +++ b/src/Media/Vault/VaultGetResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\ListState; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\ListState; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files - * @phpstan-import-type ListStateShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\ListState - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files + * @phpstan-import-type ListStateShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\ListState + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\VideoSources * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Media/Vault/VaultGetResponse/Data/Files.php b/src/Media/Vault/VaultGetResponse/Data/Files.php index a613b702..caef423b 100644 --- a/src/Media/Vault/VaultGetResponse/Data/Files.php +++ b/src/Media/Vault/VaultGetResponse/Data/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Full; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Preview; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\SquarePreview; -use Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Full; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Preview; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\SquarePreview; +use OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Media/Vault/VaultGetResponse/Data/Files/Full.php b/src/Media/Vault/VaultGetResponse/Data/Files/Full.php index 51027e4d..75889136 100644 --- a/src/Media/Vault/VaultGetResponse/Data/Files/Full.php +++ b/src/Media/Vault/VaultGetResponse/Data/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/Data/Files/Preview.php b/src/Media/Vault/VaultGetResponse/Data/Files/Preview.php index c8683b22..afb06b8b 100644 --- a/src/Media/Vault/VaultGetResponse/Data/Files/Preview.php +++ b/src/Media/Vault/VaultGetResponse/Data/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/Data/Files/SquarePreview.php b/src/Media/Vault/VaultGetResponse/Data/Files/SquarePreview.php index c9f7b3f9..fd76e0e2 100644 --- a/src/Media/Vault/VaultGetResponse/Data/Files/SquarePreview.php +++ b/src/Media/Vault/VaultGetResponse/Data/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/Data/Files/Thumb.php b/src/Media/Vault/VaultGetResponse/Data/Files/Thumb.php index 9e7d2ebc..772718c2 100644 --- a/src/Media/Vault/VaultGetResponse/Data/Files/Thumb.php +++ b/src/Media/Vault/VaultGetResponse/Data/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data\Files; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/Data/ListState.php b/src/Media/Vault/VaultGetResponse/Data/ListState.php index 7549af43..f2c7307a 100644 --- a/src/Media/Vault/VaultGetResponse/Data/ListState.php +++ b/src/Media/Vault/VaultGetResponse/Data/ListState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListStateShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/Data/VideoSources.php b/src/Media/Vault/VaultGetResponse/Data/VideoSources.php index 9162cb6b..8e7c8021 100644 --- a/src/Media/Vault/VaultGetResponse/Data/VideoSources.php +++ b/src/Media/Vault/VaultGetResponse/Data/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\Data; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Media/Vault/VaultGetResponse/_Meta.php b/src/Media/Vault/VaultGetResponse/_Meta.php index a00665f9..9a7ae950 100644 --- a/src/Media/Vault/VaultGetResponse/_Meta.php +++ b/src/Media/Vault/VaultGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\VaultGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/VaultGetResponse/_Meta/_Cache.php b/src/Media/Vault/VaultGetResponse/_Meta/_Cache.php index db44ca7d..38fc3881 100644 --- a/src/Media/Vault/VaultGetResponse/_Meta/_Cache.php +++ b/src/Media/Vault/VaultGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/VaultGetResponse/_Meta/_Credits.php b/src/Media/Vault/VaultGetResponse/_Meta/_Credits.php index 0046851a..6bf318b1 100644 --- a/src/Media/Vault/VaultGetResponse/_Meta/_Credits.php +++ b/src/Media/Vault/VaultGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/VaultGetResponse/_Meta/_RateLimits.php b/src/Media/Vault/VaultGetResponse/_Meta/_RateLimits.php index b61e6c2c..edb366cb 100644 --- a/src/Media/Vault/VaultGetResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/VaultGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultGetResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/VaultListParams.php b/src/Media/Vault/VaultListParams.php index c9c6f006..a983cb9b 100644 --- a/src/Media/Vault/VaultListParams.php +++ b/src/Media/Vault/VaultListParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListParams\Field; -use Onlyfansapi\Media\Vault\VaultListParams\Sort; -use Onlyfansapi\Media\Vault\VaultListParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListParams\Field; +use OnlyFansAPI\Media\Vault\VaultListParams\Sort; +use OnlyFansAPI\Media\Vault\VaultListParams\Type; /** * List media items stored in your vault. See how many likes and how much tips did they get. * - * @see Onlyfansapi\Services\Media\VaultService::list() + * @see OnlyFansAPI\Services\Media\VaultService::list() * * @phpstan-type VaultListParamsShape = array{ * field?: null|Field|value-of, diff --git a/src/Media/Vault/VaultListParams/Field.php b/src/Media/Vault/VaultListParams/Field.php index ca31a2a3..13944a7c 100644 --- a/src/Media/Vault/VaultListParams/Field.php +++ b/src/Media/Vault/VaultListParams/Field.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListParams; +namespace OnlyFansAPI\Media\Vault\VaultListParams; /** * Sort the results by a field. Default `recent`. diff --git a/src/Media/Vault/VaultListParams/Sort.php b/src/Media/Vault/VaultListParams/Sort.php index 46a55673..5e74223d 100644 --- a/src/Media/Vault/VaultListParams/Sort.php +++ b/src/Media/Vault/VaultListParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListParams; +namespace OnlyFansAPI\Media\Vault\VaultListParams; /** * Sort the results. Default `desc`. diff --git a/src/Media/Vault/VaultListParams/Type.php b/src/Media/Vault/VaultListParams/Type.php index 1c167d26..ef19f872 100644 --- a/src/Media/Vault/VaultListParams/Type.php +++ b/src/Media/Vault/VaultListParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListParams; +namespace OnlyFansAPI\Media\Vault\VaultListParams; /** * Filter the results by a media type. Keep empty to show all media. diff --git a/src/Media/Vault/VaultListResponse.php b/src/Media/Vault/VaultListResponse.php index 6ae6ae5a..bf716840 100644 --- a/src/Media/Vault/VaultListResponse.php +++ b/src/Media/Vault/VaultListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListResponse\_Meta; -use Onlyfansapi\Media\Vault\VaultListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListResponse\_Meta; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\VaultListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\VaultListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data * * @phpstan-type VaultListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/VaultListResponse/Data.php b/src/Media/Vault/VaultListResponse/Data.php index 657c8b42..3ce32e26 100644 --- a/src/Media/Vault/VaultListResponse/Data.php +++ b/src/Media/Vault/VaultListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse; +namespace OnlyFansAPI\Media\Vault\VaultListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Media/Vault/VaultListResponse/Data/List_.php b/src/Media/Vault/VaultListResponse/Data/List_.php index 5b48fdb1..34505118 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_.php +++ b/src/Media/Vault/VaultListResponse/Data/List_.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Counters; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Files; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\ListState; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Counters; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Files; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\ListState; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\VideoSources; /** - * @phpstan-import-type CountersShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Counters - * @phpstan-import-type FilesShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Files - * @phpstan-import-type ListStateShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\ListState - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\VideoSources + * @phpstan-import-type CountersShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Counters + * @phpstan-import-type FilesShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Files + * @phpstan-import-type ListStateShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\ListState + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\VideoSources * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Media/Vault/VaultListResponse/Data/List_/Counters.php b/src/Media/Vault/VaultListResponse/Data/List_/Counters.php index 54046af4..daffd864 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_/Counters.php +++ b/src/Media/Vault/VaultListResponse/Data/List_/Counters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data\List_; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountersShape = array{likesCount?: int|null, tipsSumm?: int|null} diff --git a/src/Media/Vault/VaultListResponse/Data/List_/Files.php b/src/Media/Vault/VaultListResponse/Data/List_/Files.php index f947998c..49e2b1bb 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_/Files.php +++ b/src/Media/Vault/VaultListResponse/Data/List_/Files.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data\List_; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Files\Full; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Files\Full; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Files\Full + * @phpstan-import-type FullShape from \OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Files\Full * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Media/Vault/VaultListResponse/Data/List_/Files/Full.php b/src/Media/Vault/VaultListResponse/Data/List_/Files/Full.php index 95248a11..1a40e51c 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_/Files/Full.php +++ b/src/Media/Vault/VaultListResponse/Data/List_/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data\List_\Files; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Media/Vault/VaultListResponse/Data/List_/ListState.php b/src/Media/Vault/VaultListResponse/Data/List_/ListState.php index 9e4c7c60..02b4c0cf 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_/ListState.php +++ b/src/Media/Vault/VaultListResponse/Data/List_/ListState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data\List_; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListStateShape = array{ diff --git a/src/Media/Vault/VaultListResponse/Data/List_/VideoSources.php b/src/Media/Vault/VaultListResponse/Data/List_/VideoSources.php index 86502c96..a1f0ec97 100644 --- a/src/Media/Vault/VaultListResponse/Data/List_/VideoSources.php +++ b/src/Media/Vault/VaultListResponse/Data/List_/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\Data\List_; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Media/Vault/VaultListResponse/_Meta.php b/src/Media/Vault/VaultListResponse/_Meta.php index 91bfb682..d67b26d2 100644 --- a/src/Media/Vault/VaultListResponse/_Meta.php +++ b/src/Media/Vault/VaultListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse; +namespace OnlyFansAPI\Media\Vault\VaultListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\VaultListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\VaultListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/VaultListResponse/_Meta/_Cache.php b/src/Media/Vault/VaultListResponse/_Meta/_Cache.php index adcd7ccc..46af39bf 100644 --- a/src/Media/Vault/VaultListResponse/_Meta/_Cache.php +++ b/src/Media/Vault/VaultListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/VaultListResponse/_Meta/_Credits.php b/src/Media/Vault/VaultListResponse/_Meta/_Credits.php index 362a1a05..1e7cb02e 100644 --- a/src/Media/Vault/VaultListResponse/_Meta/_Credits.php +++ b/src/Media/Vault/VaultListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/VaultListResponse/_Meta/_RateLimits.php b/src/Media/Vault/VaultListResponse/_Meta/_RateLimits.php index 7da66518..c4d4d8d8 100644 --- a/src/Media/Vault/VaultListResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/VaultListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Media/Vault/VaultRetrieveParams.php b/src/Media/Vault/VaultRetrieveParams.php index 10285e84..90c8485f 100644 --- a/src/Media/Vault/VaultRetrieveParams.php +++ b/src/Media/Vault/VaultRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve details about a specific media item in your vault. * - * @see Onlyfansapi\Services\Media\VaultService::retrieve() + * @see OnlyFansAPI\Services\Media\VaultService::retrieve() * * @phpstan-type VaultRetrieveParamsShape = array{account: string} */ diff --git a/src/Media/Vault/VaultUploadParams.php b/src/Media/Vault/VaultUploadParams.php index 685455b2..0879ed79 100644 --- a/src/Media/Vault/VaultUploadParams.php +++ b/src/Media/Vault/VaultUploadParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Core\FileParam; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\FileParam; /** * Upload a media file directly to your vault. * - * @see Onlyfansapi\Services\Media\VaultService::upload() + * @see OnlyFansAPI\Services\Media\VaultService::upload() * * @phpstan-type VaultUploadParamsShape = array{ * async?: bool|null, file?: string|null|FileParam, fileURL?: string|null diff --git a/src/Media/Vault/VaultUploadResponse.php b/src/Media/Vault/VaultUploadResponse.php index f3d5e814..cfe6a4bc 100644 --- a/src/Media/Vault/VaultUploadResponse.php +++ b/src/Media/Vault/VaultUploadResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault; +namespace OnlyFansAPI\Media\Vault; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta; -use Onlyfansapi\Media\Vault\VaultUploadResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\Data * * @phpstan-type VaultUploadResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Media/Vault/VaultUploadResponse/Data.php b/src/Media/Vault/VaultUploadResponse/Data.php index 91dd7d8c..8e25cc0d 100644 --- a/src/Media/Vault/VaultUploadResponse/Data.php +++ b/src/Media/Vault/VaultUploadResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultUploadResponse\Data\Files; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\Data\Files; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\Data\Files + * @phpstan-import-type FilesShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\Data\Files * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Media/Vault/VaultUploadResponse/Data/Files.php b/src/Media/Vault/VaultUploadResponse/Data/Files.php index f6579c81..4cb12b3f 100644 --- a/src/Media/Vault/VaultUploadResponse/Data/Files.php +++ b/src/Media/Vault/VaultUploadResponse/Data/Files.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse\Data; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultUploadResponse\Data\Files\Full; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\Data\Files\Full; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\Data\Files\Full + * @phpstan-import-type FullShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\Data\Files\Full * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Media/Vault/VaultUploadResponse/Data/Files/Full.php b/src/Media/Vault/VaultUploadResponse/Data/Files/Full.php index 36136f5b..8f7bf7d0 100644 --- a/src/Media/Vault/VaultUploadResponse/Data/Files/Full.php +++ b/src/Media/Vault/VaultUploadResponse/Data/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse\Data\Files; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse\Data\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Media/Vault/VaultUploadResponse/_Meta.php b/src/Media/Vault/VaultUploadResponse/_Meta.php index dc3ec322..e965885b 100644 --- a/src/Media/Vault/VaultUploadResponse/_Meta.php +++ b/src/Media/Vault/VaultUploadResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_Cache; -use Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_Credits; -use Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Media/Vault/VaultUploadResponse/_Meta/_Cache.php b/src/Media/Vault/VaultUploadResponse/_Meta/_Cache.php index a3c7dbdc..9f7adf87 100644 --- a/src/Media/Vault/VaultUploadResponse/_Meta/_Cache.php +++ b/src/Media/Vault/VaultUploadResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Media/Vault/VaultUploadResponse/_Meta/_Credits.php b/src/Media/Vault/VaultUploadResponse/_Meta/_Credits.php index 84dc5244..059c312b 100644 --- a/src/Media/Vault/VaultUploadResponse/_Meta/_Credits.php +++ b/src/Media/Vault/VaultUploadResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Media/Vault/VaultUploadResponse/_Meta/_RateLimits.php b/src/Media/Vault/VaultUploadResponse/_Meta/_RateLimits.php index 18ac01d2..7f6e7491 100644 --- a/src/Media/Vault/VaultUploadResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/VaultUploadResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Media\Vault\VaultUploadResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\VaultUploadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Messages/MessageAttachTagsParams.php b/src/Messages/MessageAttachTagsParams.php index f23a26f0..4408e757 100644 --- a/src/Messages/MessageAttachTagsParams.php +++ b/src/Messages/MessageAttachTagsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages; +namespace OnlyFansAPI\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Attach Tags (Release Forms) to a message that has already been sent. Please note, that this is a "sync" operation - for example, if you provide empty `rfTag` it will remove all existing tags already attached to the message. * - * @see Onlyfansapi\Services\MessagesService::attachTags() + * @see OnlyFansAPI\Services\MessagesService::attachTags() * * @phpstan-type MessageAttachTagsParamsShape = array{ * account: string, diff --git a/src/Messages/MessageAttachTagsResponse.php b/src/Messages/MessageAttachTagsResponse.php index acedb080..957e649b 100644 --- a/src/Messages/MessageAttachTagsResponse.php +++ b/src/Messages/MessageAttachTagsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages; +namespace OnlyFansAPI\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta; -use Onlyfansapi\Messages\MessageAttachTagsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta; +use OnlyFansAPI\Messages\MessageAttachTagsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Messages\MessageAttachTagsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Messages\MessageAttachTagsResponse\Data * * @phpstan-type MessageAttachTagsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Messages/MessageAttachTagsResponse/Data.php b/src/Messages/MessageAttachTagsResponse/Data.php index 31f4ebbf..c8229024 100644 --- a/src/Messages/MessageAttachTagsResponse/Data.php +++ b/src/Messages/MessageAttachTagsResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages\MessageAttachTagsResponse; +namespace OnlyFansAPI\Messages\MessageAttachTagsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta.php b/src/Messages/MessageAttachTagsResponse/_Meta.php index 0f8c8599..260d887d 100644 --- a/src/Messages/MessageAttachTagsResponse/_Meta.php +++ b/src/Messages/MessageAttachTagsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages\MessageAttachTagsResponse; +namespace OnlyFansAPI\Messages\MessageAttachTagsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_Cache; -use Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_Credits; -use Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_Cache; +use OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_Credits; +use OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php b/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php index bcbc8bee..a3089dc3 100644 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php +++ b/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta; +namespace OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php b/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php index 45512382..7b6fcb60 100644 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php +++ b/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta; +namespace OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php b/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php index c72b828c..adb4202a 100644 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php +++ b/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Messages\MessageAttachTagsResponse\_Meta; +namespace OnlyFansAPI\Messages\MessageAttachTagsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/NotificationGetCountsResponse.php b/src/Notifications/NotificationGetCountsResponse.php index 169633e6..7bd5c267 100644 --- a/src/Notifications/NotificationGetCountsResponse.php +++ b/src/Notifications/NotificationGetCountsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta; -use Onlyfansapi\Notifications\NotificationGetCountsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Notifications\NotificationGetCountsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Notifications\NotificationGetCountsResponse\Data * * @phpstan-type NotificationGetCountsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Notifications/NotificationGetCountsResponse/Data.php b/src/Notifications/NotificationGetCountsResponse/Data.php index 5e68f33f..86bb69b3 100644 --- a/src/Notifications/NotificationGetCountsResponse/Data.php +++ b/src/Notifications/NotificationGetCountsResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationGetCountsResponse; +namespace OnlyFansAPI\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Notifications/NotificationGetCountsResponse/_Meta.php b/src/Notifications/NotificationGetCountsResponse/_Meta.php index 65b00da5..959f942d 100644 --- a/src/Notifications/NotificationGetCountsResponse/_Meta.php +++ b/src/Notifications/NotificationGetCountsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationGetCountsResponse; +namespace OnlyFansAPI\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/NotificationGetCountsResponse/_Meta/_Cache.php b/src/Notifications/NotificationGetCountsResponse/_Meta/_Cache.php index 93eec578..41e8d927 100644 --- a/src/Notifications/NotificationGetCountsResponse/_Meta/_Cache.php +++ b/src/Notifications/NotificationGetCountsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/NotificationGetCountsResponse/_Meta/_Credits.php b/src/Notifications/NotificationGetCountsResponse/_Meta/_Credits.php index 46136e87..5c3d079b 100644 --- a/src/Notifications/NotificationGetCountsResponse/_Meta/_Credits.php +++ b/src/Notifications/NotificationGetCountsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/NotificationGetCountsResponse/_Meta/_RateLimits.php b/src/Notifications/NotificationGetCountsResponse/_Meta/_RateLimits.php index 41b57e1b..8424ebdd 100644 --- a/src/Notifications/NotificationGetCountsResponse/_Meta/_RateLimits.php +++ b/src/Notifications/NotificationGetCountsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationGetCountsResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationGetCountsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/NotificationListParams.php b/src/Notifications/NotificationListParams.php index 93081435..34ac86f2 100644 --- a/src/Notifications/NotificationListParams.php +++ b/src/Notifications/NotificationListParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationListParams\SkipUsers; -use Onlyfansapi\Notifications\NotificationListParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationListParams\SkipUsers; +use OnlyFansAPI\Notifications\NotificationListParams\Type; /** * List all notifications for the account. * - * @see Onlyfansapi\Services\NotificationsService::list() + * @see OnlyFansAPI\Services\NotificationsService::list() * * @phpstan-type NotificationListParamsShape = array{ * fromID?: int|null, diff --git a/src/Notifications/NotificationListParams/SkipUsers.php b/src/Notifications/NotificationListParams/SkipUsers.php index e002ab6e..31e5b203 100644 --- a/src/Notifications/NotificationListParams/SkipUsers.php +++ b/src/Notifications/NotificationListParams/SkipUsers.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListParams; +namespace OnlyFansAPI\Notifications\NotificationListParams; /** * Whether to skip user details. Default `all`. diff --git a/src/Notifications/NotificationListParams/Type.php b/src/Notifications/NotificationListParams/Type.php index b465a0a8..d7c327af 100644 --- a/src/Notifications/NotificationListParams/Type.php +++ b/src/Notifications/NotificationListParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListParams; +namespace OnlyFansAPI\Notifications\NotificationListParams; /** * Filter notifications by a specific type. diff --git a/src/Notifications/NotificationListResponse.php b/src/Notifications/NotificationListResponse.php index dbb4f09e..7108db1b 100644 --- a/src/Notifications/NotificationListResponse.php +++ b/src/Notifications/NotificationListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationListResponse\_Meta; -use Onlyfansapi\Notifications\NotificationListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationListResponse\_Meta; +use OnlyFansAPI\Notifications\NotificationListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\NotificationListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Notifications\NotificationListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\NotificationListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Notifications\NotificationListResponse\Data * * @phpstan-type NotificationListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Notifications/NotificationListResponse/Data.php b/src/Notifications/NotificationListResponse/Data.php index 07a1b112..863f8e3f 100644 --- a/src/Notifications/NotificationListResponse/Data.php +++ b/src/Notifications/NotificationListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse; +namespace OnlyFansAPI\Notifications\NotificationListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Notifications\NotificationListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Notifications\NotificationListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Notifications/NotificationListResponse/Data/List_.php b/src/Notifications/NotificationListResponse/Data/List_.php index 483e73da..9aa46499 100644 --- a/src/Notifications/NotificationListResponse/Data/List_.php +++ b/src/Notifications/NotificationListResponse/Data/List_.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\Data; +namespace OnlyFansAPI\Notifications\NotificationListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationListResponse\Data\List_\ReplacePairs; -use Onlyfansapi\Notifications\NotificationListResponse\Data\List_\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationListResponse\Data\List_\ReplacePairs; +use OnlyFansAPI\Notifications\NotificationListResponse\Data\List_\User; /** - * @phpstan-import-type ReplacePairsShape from \Onlyfansapi\Notifications\NotificationListResponse\Data\List_\ReplacePairs - * @phpstan-import-type UserShape from \Onlyfansapi\Notifications\NotificationListResponse\Data\List_\User + * @phpstan-import-type ReplacePairsShape from \OnlyFansAPI\Notifications\NotificationListResponse\Data\List_\ReplacePairs + * @phpstan-import-type UserShape from \OnlyFansAPI\Notifications\NotificationListResponse\Data\List_\User * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Notifications/NotificationListResponse/Data/List_/ReplacePairs.php b/src/Notifications/NotificationListResponse/Data/List_/ReplacePairs.php index 8e629556..86e8fd5a 100644 --- a/src/Notifications/NotificationListResponse/Data/List_/ReplacePairs.php +++ b/src/Notifications/NotificationListResponse/Data/List_/ReplacePairs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\Data\List_; +namespace OnlyFansAPI\Notifications\NotificationListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ReplacePairsShape = array{ diff --git a/src/Notifications/NotificationListResponse/Data/List_/User.php b/src/Notifications/NotificationListResponse/Data/List_/User.php index a63d9dd6..6f4069eb 100644 --- a/src/Notifications/NotificationListResponse/Data/List_/User.php +++ b/src/Notifications/NotificationListResponse/Data/List_/User.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\Data\List_; +namespace OnlyFansAPI\Notifications\NotificationListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type UserShape = array{id?: int|null, _view?: string|null} diff --git a/src/Notifications/NotificationListResponse/_Meta.php b/src/Notifications/NotificationListResponse/_Meta.php index 5fa681b1..cd8f41ca 100644 --- a/src/Notifications/NotificationListResponse/_Meta.php +++ b/src/Notifications/NotificationListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse; +namespace OnlyFansAPI\Notifications\NotificationListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationListResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\NotificationListResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\NotificationListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\NotificationListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\NotificationListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\NotificationListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\NotificationListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/NotificationListResponse/_Meta/_Cache.php b/src/Notifications/NotificationListResponse/_Meta/_Cache.php index b7724831..4ea1dadb 100644 --- a/src/Notifications/NotificationListResponse/_Meta/_Cache.php +++ b/src/Notifications/NotificationListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/NotificationListResponse/_Meta/_Credits.php b/src/Notifications/NotificationListResponse/_Meta/_Credits.php index ab57dab0..81622fcc 100644 --- a/src/Notifications/NotificationListResponse/_Meta/_Credits.php +++ b/src/Notifications/NotificationListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/NotificationListResponse/_Meta/_RateLimits.php b/src/Notifications/NotificationListResponse/_Meta/_RateLimits.php index a7356102..e14177ce 100644 --- a/src/Notifications/NotificationListResponse/_Meta/_RateLimits.php +++ b/src/Notifications/NotificationListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationListResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/NotificationMarkAllAsReadResponse.php b/src/Notifications/NotificationMarkAllAsReadResponse.php index 3c1345ea..c07fb906 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\Data * * @phpstan-type NotificationMarkAllAsReadResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Notifications/NotificationMarkAllAsReadResponse/Data.php b/src/Notifications/NotificationMarkAllAsReadResponse/Data.php index e5697973..ad70d82a 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse/Data.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; +namespace OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta.php b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta.php index 379a2ed1..d91b953c 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; +namespace OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Cache.php b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Cache.php index 3fec31a6..7d859756 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Cache.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Credits.php b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Credits.php index e7d10b19..ead0ac26 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Credits.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_RateLimits.php b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_RateLimits.php index a8190297..5a36aa29 100644 --- a/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_RateLimits.php +++ b/src/Notifications/NotificationMarkAllAsReadResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/NotificationSearchUsersParams.php b/src/Notifications/NotificationSearchUsersParams.php index ba0296ad..be636cb6 100644 --- a/src/Notifications/NotificationSearchUsersParams.php +++ b/src/Notifications/NotificationSearchUsersParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Search users that have appeared in your notifications. * - * @see Onlyfansapi\Services\NotificationsService::searchUsers() + * @see OnlyFansAPI\Services\NotificationsService::searchUsers() * * @phpstan-type NotificationSearchUsersParamsShape = array{query: string} */ diff --git a/src/Notifications/NotificationSearchUsersResponse.php b/src/Notifications/NotificationSearchUsersResponse.php index 07b654c8..21fab1ac 100644 --- a/src/Notifications/NotificationSearchUsersResponse.php +++ b/src/Notifications/NotificationSearchUsersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications; +namespace OnlyFansAPI\Notifications; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data * * @phpstan-type NotificationSearchUsersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Notifications/NotificationSearchUsersResponse/Data.php b/src/Notifications/NotificationSearchUsersResponse/Data.php index 305939c9..649089b6 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\ListsState; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\ListsState; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData; /** - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Notifications/NotificationSearchUsersResponse/Data/ListsState.php b/src/Notifications/NotificationSearchUsersResponse/Data/ListsState.php index 1c13b454..0f293622 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data/ListsState.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData.php b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData.php index ac3f127b..141a652f 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData/Subscribe.php b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData/Subscribe.php index 50e48c1e..3d947bf2 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData.php b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData.php index 936181a3..e297a6ec 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData/Subscribe.php b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData/Subscribe.php index e33bddcc..c349c58b 100644 --- a/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData/Subscribe.php +++ b/src/Notifications/NotificationSearchUsersResponse/Data/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\Data\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Notifications/NotificationSearchUsersResponse/_Meta.php b/src/Notifications/NotificationSearchUsersResponse/_Meta.php index 78af4986..3698f121 100644 --- a/src/Notifications/NotificationSearchUsersResponse/_Meta.php +++ b/src/Notifications/NotificationSearchUsersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/NotificationSearchUsersResponse/_Meta/_Cache.php b/src/Notifications/NotificationSearchUsersResponse/_Meta/_Cache.php index c384bc66..cbb9d950 100644 --- a/src/Notifications/NotificationSearchUsersResponse/_Meta/_Cache.php +++ b/src/Notifications/NotificationSearchUsersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/NotificationSearchUsersResponse/_Meta/_Credits.php b/src/Notifications/NotificationSearchUsersResponse/_Meta/_Credits.php index f673ae7c..1b15deff 100644 --- a/src/Notifications/NotificationSearchUsersResponse/_Meta/_Credits.php +++ b/src/Notifications/NotificationSearchUsersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/NotificationSearchUsersResponse/_Meta/_RateLimits.php b/src/Notifications/NotificationSearchUsersResponse/_Meta/_RateLimits.php index ea7b1414..ec6f4e35 100644 --- a/src/Notifications/NotificationSearchUsersResponse/_Meta/_RateLimits.php +++ b/src/Notifications/NotificationSearchUsersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\NotificationSearchUsersResponse\_Meta; +namespace OnlyFansAPI\Notifications\NotificationSearchUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/TabsOrder/TabsOrderGetResponse.php b/src/Notifications/TabsOrder/TabsOrderGetResponse.php index 6e722c2c..d6323e25 100644 --- a/src/Notifications/TabsOrder/TabsOrderGetResponse.php +++ b/src/Notifications/TabsOrder/TabsOrderGetResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder; +namespace OnlyFansAPI\Notifications\TabsOrder; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta * * @phpstan-type TabsOrderGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta.php b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta.php index 98067081..5228c644 100644 --- a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta.php +++ b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Cache.php b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Cache.php index 68bc7724..dcb835c5 100644 --- a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Cache.php +++ b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Credits.php b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Credits.php index 125ec5de..4b5a8a81 100644 --- a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Credits.php +++ b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_RateLimits.php b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_RateLimits.php index 9838ed5c..02d300e0 100644 --- a/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_RateLimits.php +++ b/src/Notifications/TabsOrder/TabsOrderGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateParams.php b/src/Notifications/TabsOrder/TabsOrderUpdateParams.php index 75ff3d5b..76d312e1 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateParams.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder; +namespace OnlyFansAPI\Notifications\TabsOrder; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update the order of an account's notification tabs as displayed on the OnlyFans notifications page. * - * @see Onlyfansapi\Services\Notifications\TabsOrderService::update() + * @see OnlyFansAPI\Services\Notifications\TabsOrderService::update() * * @phpstan-type TabsOrderUpdateParamsShape = array{tabs: list} */ diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse.php index fb6229a8..b4390d6d 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder; +namespace OnlyFansAPI\Notifications\TabsOrder; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\Data * * @phpstan-type TabsOrderUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/Data.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/Data.php index db78e64b..1fef377a 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/Data.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta.php index 9dd21c91..c3c85ea8 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Cache.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Cache.php index 14c2b7a9..6efbc808 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Cache.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Credits.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Credits.php index 804bac39..6e00fd6f 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Credits.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_RateLimits.php b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_RateLimits.php index 13e97ad6..5bcde003 100644 --- a/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_RateLimits.php +++ b/src/Notifications/TabsOrder/TabsOrderUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; +namespace OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutGetBalancesResponse.php b/src/Payouts/PayoutGetBalancesResponse.php index 78e04f89..a70da9bb 100644 --- a/src/Payouts/PayoutGetBalancesResponse.php +++ b/src/Payouts/PayoutGetBalancesResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\Data * * @phpstan-type PayoutGetBalancesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutGetBalancesResponse/Data.php b/src/Payouts/PayoutGetBalancesResponse/Data.php index f09b327f..54046487 100644 --- a/src/Payouts/PayoutGetBalancesResponse/Data.php +++ b/src/Payouts/PayoutGetBalancesResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\Data\WithdrawalPeriodOption; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\Data\WithdrawalPeriodOption; /** - * @phpstan-import-type WithdrawalPeriodOptionShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\Data\WithdrawalPeriodOption + * @phpstan-import-type WithdrawalPeriodOptionShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\Data\WithdrawalPeriodOption * * @phpstan-type DataShape = array{ * currency?: string|null, diff --git a/src/Payouts/PayoutGetBalancesResponse/Data/WithdrawalPeriodOption.php b/src/Payouts/PayoutGetBalancesResponse/Data/WithdrawalPeriodOption.php index 9fcb3e4e..d07bde46 100644 --- a/src/Payouts/PayoutGetBalancesResponse/Data/WithdrawalPeriodOption.php +++ b/src/Payouts/PayoutGetBalancesResponse/Data/WithdrawalPeriodOption.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse\Data; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type WithdrawalPeriodOptionShape = array{ diff --git a/src/Payouts/PayoutGetBalancesResponse/_Meta.php b/src/Payouts/PayoutGetBalancesResponse/_Meta.php index 45cd4b35..407b8623 100644 --- a/src/Payouts/PayoutGetBalancesResponse/_Meta.php +++ b/src/Payouts/PayoutGetBalancesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutGetBalancesResponse/_Meta/_Cache.php b/src/Payouts/PayoutGetBalancesResponse/_Meta/_Cache.php index 02d8b164..492e0937 100644 --- a/src/Payouts/PayoutGetBalancesResponse/_Meta/_Cache.php +++ b/src/Payouts/PayoutGetBalancesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutGetBalancesResponse/_Meta/_Credits.php b/src/Payouts/PayoutGetBalancesResponse/_Meta/_Credits.php index fb8f4050..1a359cdc 100644 --- a/src/Payouts/PayoutGetBalancesResponse/_Meta/_Credits.php +++ b/src/Payouts/PayoutGetBalancesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutGetBalancesResponse/_Meta/_RateLimits.php b/src/Payouts/PayoutGetBalancesResponse/_Meta/_RateLimits.php index 9cff7ab3..72dfac99 100644 --- a/src/Payouts/PayoutGetBalancesResponse/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutGetBalancesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetBalancesResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetBalancesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse.php b/src/Payouts/PayoutGetEarningStatisticsResponse.php index 037373ed..a3a3385d 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data * * @phpstan-type PayoutGetEarningStatisticsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data.php index 276d39cc..64afc9a2 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_ * * @phpstan-type DataShape = array{list?: null|List_|ListShape} */ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_.php index be66358d..4465a712 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; /** - * @phpstan-import-type MonthsShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months - * @phpstan-import-type TotalShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total + * @phpstan-import-type MonthsShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months + * @phpstan-import-type TotalShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total * * @phpstan-type ListShape = array{ * months?: null|Months|MonthsShape, total?: null|Total|TotalShape diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months.php index d13a5da4..4e944eed 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; /** - * @phpstan-import-type _1735689661Shape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661 + * @phpstan-import-type _1735689661Shape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661 * * @phpstan-type MonthsShape = array{ - * _1735689661?: null|\Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661|_1735689661Shape, + * _1735689661?: null|\OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661|_1735689661Shape, * } */ final class Months implements BaseModel diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661.php index a60e2381..18a79102 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Subscribe; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Tip; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Subscribe; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Tip; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Subscribe - * @phpstan-import-type TipShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Tip + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Subscribe + * @phpstan-import-type TipShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661\Tip * * @phpstan-type _1735689661Shape = array{ * subscribes?: list|null, diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Subscribe.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Subscribe.php index ccd7dac9..d1c561a2 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Subscribe.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Tip.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Tip.php index a86506ef..aefb2138 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Tip.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Months/_1735689661/Tip.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Months\_1735689661; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TipShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total.php index d6a5ef1a..e4eb78dd 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\All; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\ChatMessages; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Post; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Subscribes; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Tips; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\All; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\ChatMessages; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Post; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Subscribes; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Tips; /** - * @phpstan-import-type AllShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\All - * @phpstan-import-type ChatMessagesShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\ChatMessages - * @phpstan-import-type PostShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Post - * @phpstan-import-type SubscribesShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Subscribes - * @phpstan-import-type TipsShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Tips + * @phpstan-import-type AllShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\All + * @phpstan-import-type ChatMessagesShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\ChatMessages + * @phpstan-import-type PostShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Post + * @phpstan-import-type SubscribesShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Subscribes + * @phpstan-import-type TipsShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total\Tips * * @phpstan-type TotalShape = array{ * all?: null|All|AllShape, diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/All.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/All.php index 14a56d2e..251957b0 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/All.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/All.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AllShape = array{totalGross?: float|null, totalNet?: float|null} diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/ChatMessages.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/ChatMessages.php index e8b42645..bfe9ba2c 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/ChatMessages.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/ChatMessages.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChatMessagesShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Post.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Post.php index 86e8b764..d11c0b5f 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Post.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Post.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PostShape = array{totalGross?: float|null, totalNet?: float|null} diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Subscribes.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Subscribes.php index a6e3aad5..7507bfa0 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Subscribes.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Subscribes.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribesShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Tips.php b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Tips.php index 3ee2430f..853dcf1f 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Tips.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/Data/List_/Total/Tips.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\Data\List_\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TipsShape = array{totalGross?: float|null, totalNet?: float|null} diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta.php b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta.php index 80f61c42..ce88320c 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Cache.php b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Cache.php index 8f188338..c4d8471a 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Cache.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Credits.php b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Credits.php index 1430969e..609daab4 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Credits.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_RateLimits.php b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_RateLimits.php index 96174d77..86359170 100644 --- a/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutGetEarningStatisticsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutGetEligibilityResponse.php b/src/Payouts/PayoutGetEligibilityResponse.php index 0ac529c3..d98a4795 100644 --- a/src/Payouts/PayoutGetEligibilityResponse.php +++ b/src/Payouts/PayoutGetEligibilityResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutGetEligibilityResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\Data * * @phpstan-type PayoutGetEligibilityResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutGetEligibilityResponse/Data.php b/src/Payouts/PayoutGetEligibilityResponse/Data.php index fd27f3a4..b284be4a 100644 --- a/src/Payouts/PayoutGetEligibilityResponse/Data.php +++ b/src/Payouts/PayoutGetEligibilityResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEligibilityResponse; +namespace OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Payouts/PayoutGetEligibilityResponse/_Meta.php b/src/Payouts/PayoutGetEligibilityResponse/_Meta.php index 98b238e8..31a981c0 100644 --- a/src/Payouts/PayoutGetEligibilityResponse/_Meta.php +++ b/src/Payouts/PayoutGetEligibilityResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEligibilityResponse; +namespace OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Cache.php b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Cache.php index 97786274..ba2f0d02 100644 --- a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Cache.php +++ b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Credits.php b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Credits.php index 97aba0c0..808911a8 100644 --- a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Credits.php +++ b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_RateLimits.php b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_RateLimits.php index 5147ed57..8534768a 100644 --- a/src/Payouts/PayoutGetEligibilityResponse/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutGetEligibilityResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutGetEligibilityResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutGetEligibilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutListRequestsParams.php b/src/Payouts/PayoutListRequestsParams.php index 95624ae4..56d40f47 100644 --- a/src/Payouts/PayoutListRequestsParams.php +++ b/src/Payouts/PayoutListRequestsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all payout requests for the account. * - * @see Onlyfansapi\Services\PayoutsService::listRequests() + * @see OnlyFansAPI\Services\PayoutsService::listRequests() * * @phpstan-type PayoutListRequestsParamsShape = array{ * limit?: string|null, offset?: string|null diff --git a/src/Payouts/PayoutListRequestsResponse.php b/src/Payouts/PayoutListRequestsResponse.php index bfc4aa32..9194f0ab 100644 --- a/src/Payouts/PayoutListRequestsResponse.php +++ b/src/Payouts/PayoutListRequestsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\Data * * @phpstan-type PayoutListRequestsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutListRequestsResponse/Data.php b/src/Payouts/PayoutListRequestsResponse/Data.php index b3bdb894..e7721131 100644 --- a/src/Payouts/PayoutListRequestsResponse/Data.php +++ b/src/Payouts/PayoutListRequestsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\Data\List_ * * @phpstan-type DataShape = array{ * list?: list|null, marker?: int|null diff --git a/src/Payouts/PayoutListRequestsResponse/Data/List_.php b/src/Payouts/PayoutListRequestsResponse/Data/List_.php index 2c98b387..4aeceebb 100644 --- a/src/Payouts/PayoutListRequestsResponse/Data/List_.php +++ b/src/Payouts/PayoutListRequestsResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse\Data; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Payouts/PayoutListRequestsResponse/_Meta.php b/src/Payouts/PayoutListRequestsResponse/_Meta.php index bb057358..6a92da42 100644 --- a/src/Payouts/PayoutListRequestsResponse/_Meta.php +++ b/src/Payouts/PayoutListRequestsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutListRequestsResponse/_Meta/_Cache.php b/src/Payouts/PayoutListRequestsResponse/_Meta/_Cache.php index 93286e69..4af44e4f 100644 --- a/src/Payouts/PayoutListRequestsResponse/_Meta/_Cache.php +++ b/src/Payouts/PayoutListRequestsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutListRequestsResponse/_Meta/_Credits.php b/src/Payouts/PayoutListRequestsResponse/_Meta/_Credits.php index f55ae5a0..84a36701 100644 --- a/src/Payouts/PayoutListRequestsResponse/_Meta/_Credits.php +++ b/src/Payouts/PayoutListRequestsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutListRequestsResponse/_Meta/_RateLimits.php b/src/Payouts/PayoutListRequestsResponse/_Meta/_RateLimits.php index bcd90927..adbe2b40 100644 --- a/src/Payouts/PayoutListRequestsResponse/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutListRequestsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutListRequestsResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutListRequestsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutRequestManualWithdrawalParams.php b/src/Payouts/PayoutRequestManualWithdrawalParams.php index 49cd9b87..accc96ea 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalParams.php +++ b/src/Payouts/PayoutRequestManualWithdrawalParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Request a payout withdrawal, if the frequency is set to manual. Refer to our `/payouts/balances` endpoint to retrieve the minimum and maximum withdrawal amounts. * - * @see Onlyfansapi\Services\PayoutsService::requestManualWithdrawal() + * @see OnlyFansAPI\Services\PayoutsService::requestManualWithdrawal() * * @phpstan-type PayoutRequestManualWithdrawalParamsShape = array{amount: int} */ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse.php b/src/Payouts/PayoutRequestManualWithdrawalResponse.php index 3849e61e..e6079f79 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Concerns\SdkUnion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +use OnlyFansAPI\Core\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; /** - * @phpstan-import-type UnionMember0Shape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0 - * @phpstan-import-type UnionMember1Shape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1 + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1 * * @phpstan-type PayoutRequestManualWithdrawalResponseVariants = UnionMember0|UnionMember1 * @phpstan-type PayoutRequestManualWithdrawalResponseShape = PayoutRequestManualWithdrawalResponseVariants|UnionMember0Shape|UnionMember1Shape diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0.php index f1df83c1..a6ae9370 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data * * @phpstan-type UnionMember0Shape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data.php index 08d53a50..05d0b69c 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data\List_ * * @phpstan-type DataShape = array{list?: list|null} */ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data/List_.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data/List_.php index 6812559c..982b41dd 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data/List_.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{rejectReason?: string|null, state?: string|null} diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta.php index a0f07ab2..d13dbe72 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Cache.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Cache.php index bd75ce15..fddd7815 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Cache.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Credits.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Credits.php index fef4d3fb..6d87233a 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Credits.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_RateLimits.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_RateLimits.php index 96449dd0..5a5ed6f8 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember0/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1.php index 0314de2f..c2af501b 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data * * @phpstan-type UnionMember1Shape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data.php index 133bd14d..0395e286 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data\List_ * * @phpstan-type DataShape = array{list?: list|null} */ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data/List_.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data/List_.php index 9601d19b..cb22a2c4 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data/List_.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{rejectReason?: string|null, state?: string|null} diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta.php index 0b5529c6..a995e8c6 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Cache.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Cache.php index 9ba39efb..cb0f4079 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Cache.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Credits.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Credits.php index a59e543f..21d82780 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Credits.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_RateLimits.php b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_RateLimits.php index 88558bb3..7b4de554 100644 --- a/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutRequestManualWithdrawalResponse/UnionMember1/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Payouts/PayoutRetrieveEarningStatisticsParams.php b/src/Payouts/PayoutRetrieveEarningStatisticsParams.php index 642b678b..8ae92b71 100644 --- a/src/Payouts/PayoutRetrieveEarningStatisticsParams.php +++ b/src/Payouts/PayoutRetrieveEarningStatisticsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get total and monthly time-series earning statistics for the account. * - * @see Onlyfansapi\Services\PayoutsService::retrieveEarningStatistics() + * @see OnlyFansAPI\Services\PayoutsService::retrieveEarningStatistics() * * @phpstan-type PayoutRetrieveEarningStatisticsParamsShape = array{ * endDate?: string|null, startDate?: string|null diff --git a/src/Payouts/PayoutUpdateFrequencyParams.php b/src/Payouts/PayoutUpdateFrequencyParams.php index 5f627db5..e4ad8929 100644 --- a/src/Payouts/PayoutUpdateFrequencyParams.php +++ b/src/Payouts/PayoutUpdateFrequencyParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams\Frequency; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams\Frequency; /** * Update the payout frequency for the account (Manual, Weekly or Monthly). * - * @see Onlyfansapi\Services\PayoutsService::updateFrequency() + * @see OnlyFansAPI\Services\PayoutsService::updateFrequency() * * @phpstan-type PayoutUpdateFrequencyParamsShape = array{ * frequency: Frequency|value-of diff --git a/src/Payouts/PayoutUpdateFrequencyParams/Frequency.php b/src/Payouts/PayoutUpdateFrequencyParams/Frequency.php index e9ad4921..b80bfdc8 100644 --- a/src/Payouts/PayoutUpdateFrequencyParams/Frequency.php +++ b/src/Payouts/PayoutUpdateFrequencyParams/Frequency.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyParams; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams; /** * The new payout frequency. diff --git a/src/Payouts/PayoutUpdateFrequencyResponse.php b/src/Payouts/PayoutUpdateFrequencyResponse.php index 941c2973..e4610864 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts; +namespace OnlyFansAPI\Payouts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\Data * * @phpstan-type PayoutUpdateFrequencyResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Payouts/PayoutUpdateFrequencyResponse/Data.php b/src/Payouts/PayoutUpdateFrequencyResponse/Data.php index 1c9aab97..191d03e7 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse/Data.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta.php b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta.php index 1a303eb9..f01634ce 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Cache; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Credits; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Cache; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Credits; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Cache.php b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Cache.php index 2f276af1..61f665ac 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Cache.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Credits.php b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Credits.php index 1261b928..3291dd24 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Credits.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_RateLimits.php b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_RateLimits.php index 8764bb89..be1e79c6 100644 --- a/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_RateLimits.php +++ b/src/Payouts/PayoutUpdateFrequencyResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse\_Meta; +namespace OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentCreateParams.php b/src/Posts/Comments/CommentCreateParams.php index 25ef42c7..676d5f4c 100644 --- a/src/Posts/Comments/CommentCreateParams.php +++ b/src/Posts/Comments/CommentCreateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a comment on one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::create() + * @see OnlyFansAPI\Services\Posts\CommentsService::create() * * @phpstan-type CommentCreateParamsShape = array{ * account: string, text: string, answerTo?: int|null, giphyID?: string|null diff --git a/src/Posts/Comments/CommentDeleteParams.php b/src/Posts/Comments/CommentDeleteParams.php index 8421d6ca..8cfc17fc 100644 --- a/src/Posts/Comments/CommentDeleteParams.php +++ b/src/Posts/Comments/CommentDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a comment on one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::delete() + * @see OnlyFansAPI\Services\Posts\CommentsService::delete() * * @phpstan-type CommentDeleteParamsShape = array{account: string, postID: int} */ diff --git a/src/Posts/Comments/CommentDeleteResponse.php b/src/Posts/Comments/CommentDeleteResponse.php index b5454f72..804a05b5 100644 --- a/src/Posts/Comments/CommentDeleteResponse.php +++ b/src/Posts/Comments/CommentDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentDeleteResponse\Data * * @phpstan-type CommentDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentDeleteResponse/Data.php b/src/Posts/Comments/CommentDeleteResponse/Data.php index 6ac8dad3..4dce2f88 100644 --- a/src/Posts/Comments/CommentDeleteResponse/Data.php +++ b/src/Posts/Comments/CommentDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentDeleteResponse; +namespace OnlyFansAPI\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Posts/Comments/CommentDeleteResponse/_Meta.php b/src/Posts/Comments/CommentDeleteResponse/_Meta.php index 5c0509c6..fee3c1d5 100644 --- a/src/Posts/Comments/CommentDeleteResponse/_Meta.php +++ b/src/Posts/Comments/CommentDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentDeleteResponse; +namespace OnlyFansAPI\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentDeleteResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentDeleteResponse/_Meta/_Cache.php index f897607a..1c6e9ece 100644 --- a/src/Posts/Comments/CommentDeleteResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentDeleteResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentDeleteResponse/_Meta/_Credits.php index b16462c5..d999e1f4 100644 --- a/src/Posts/Comments/CommentDeleteResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentDeleteResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentDeleteResponse/_Meta/_RateLimits.php index 42c4fdf7..d716c50a 100644 --- a/src/Posts/Comments/CommentDeleteResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentLikeParams.php b/src/Posts/Comments/CommentLikeParams.php index 5d402e87..c28d2ccc 100644 --- a/src/Posts/Comments/CommentLikeParams.php +++ b/src/Posts/Comments/CommentLikeParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Like a comment on one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::like() + * @see OnlyFansAPI\Services\Posts\CommentsService::like() * * @phpstan-type CommentLikeParamsShape = array{account: string, postID: int} */ diff --git a/src/Posts/Comments/CommentLikeResponse.php b/src/Posts/Comments/CommentLikeResponse.php index f10d475a..8bf231f9 100644 --- a/src/Posts/Comments/CommentLikeResponse.php +++ b/src/Posts/Comments/CommentLikeResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentLikeResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentLikeResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentLikeResponse\Data * * @phpstan-type CommentLikeResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentLikeResponse/Data.php b/src/Posts/Comments/CommentLikeResponse/Data.php index badf706b..c0897b8a 100644 --- a/src/Posts/Comments/CommentLikeResponse/Data.php +++ b/src/Posts/Comments/CommentLikeResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentLikeResponse; +namespace OnlyFansAPI\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Posts/Comments/CommentLikeResponse/_Meta.php b/src/Posts/Comments/CommentLikeResponse/_Meta.php index d49beb77..8fac6f55 100644 --- a/src/Posts/Comments/CommentLikeResponse/_Meta.php +++ b/src/Posts/Comments/CommentLikeResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentLikeResponse; +namespace OnlyFansAPI\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentLikeResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentLikeResponse/_Meta/_Cache.php index 12da3354..771c6c66 100644 --- a/src/Posts/Comments/CommentLikeResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentLikeResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentLikeResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentLikeResponse/_Meta/_Credits.php index 0975e642..4a501b77 100644 --- a/src/Posts/Comments/CommentLikeResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentLikeResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentLikeResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentLikeResponse/_Meta/_RateLimits.php index 03234714..1e69b060 100644 --- a/src/Posts/Comments/CommentLikeResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentLikeResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentLikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentLikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentListParams.php b/src/Posts/Comments/CommentListParams.php index c1124886..45a29650 100644 --- a/src/Posts/Comments/CommentListParams.php +++ b/src/Posts/Comments/CommentListParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentListParams\Sort; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentListParams\Sort; /** * Get comments from one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::list() + * @see OnlyFansAPI\Services\Posts\CommentsService::list() * * @phpstan-type CommentListParamsShape = array{ * account: string, diff --git a/src/Posts/Comments/CommentListParams/Sort.php b/src/Posts/Comments/CommentListParams/Sort.php index d4046986..837df24e 100644 --- a/src/Posts/Comments/CommentListParams/Sort.php +++ b/src/Posts/Comments/CommentListParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListParams; +namespace OnlyFansAPI\Posts\Comments\CommentListParams; /** * Sort the returned comments (default = desc). diff --git a/src/Posts/Comments/CommentListResponse.php b/src/Posts/Comments/CommentListResponse.php index 5d385e66..a487f3e8 100644 --- a/src/Posts/Comments/CommentListResponse.php +++ b/src/Posts/Comments/CommentListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentListResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\Data * * @phpstan-type CommentListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentListResponse/Data.php b/src/Posts/Comments/CommentListResponse/Data.php index 448da9cb..5aa1f86b 100644 --- a/src/Posts/Comments/CommentListResponse/Data.php +++ b/src/Posts/Comments/CommentListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Posts\Comments\CommentListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, nextOffset?: int|null diff --git a/src/Posts/Comments/CommentListResponse/Data/List_.php b/src/Posts/Comments/CommentListResponse/Data/List_.php index 5875b603..3f143324 100644 --- a/src/Posts/Comments/CommentListResponse/Data/List_.php +++ b/src/Posts/Comments/CommentListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse\Data; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentListResponse\Data\List_\Author; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentListResponse\Data\List_\Author; /** - * @phpstan-import-type AuthorShape from \Onlyfansapi\Posts\Comments\CommentListResponse\Data\List_\Author + * @phpstan-import-type AuthorShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\Data\List_\Author * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Posts/Comments/CommentListResponse/Data/List_/Author.php b/src/Posts/Comments/CommentListResponse/Data/List_/Author.php index 9f8ce765..f2e22389 100644 --- a/src/Posts/Comments/CommentListResponse/Data/List_/Author.php +++ b/src/Posts/Comments/CommentListResponse/Data/List_/Author.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse\Data\List_; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AuthorShape = array{id?: int|null, _view?: string|null} diff --git a/src/Posts/Comments/CommentListResponse/_Meta.php b/src/Posts/Comments/CommentListResponse/_Meta.php index cfe3950c..69496c7f 100644 --- a/src/Posts/Comments/CommentListResponse/_Meta.php +++ b/src/Posts/Comments/CommentListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentListResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentListResponse/_Meta/_Cache.php index 514cd615..26624b41 100644 --- a/src/Posts/Comments/CommentListResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentListResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentListResponse/_Meta/_Credits.php index 3a45f75a..4c4d077a 100644 --- a/src/Posts/Comments/CommentListResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentListResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentListResponse/_Meta/_RateLimits.php index e6acb64b..0fad19cc 100644 --- a/src/Posts/Comments/CommentListResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentListResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentNewResponse.php b/src/Posts/Comments/CommentNewResponse.php index fec8d2c9..036c2869 100644 --- a/src/Posts/Comments/CommentNewResponse.php +++ b/src/Posts/Comments/CommentNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\Data * * @phpstan-type CommentNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentNewResponse/Data.php b/src/Posts/Comments/CommentNewResponse/Data.php index 4338075e..f22268af 100644 --- a/src/Posts/Comments/CommentNewResponse/Data.php +++ b/src/Posts/Comments/CommentNewResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author; /** - * @phpstan-import-type AuthorShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author + * @phpstan-import-type AuthorShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Posts/Comments/CommentNewResponse/Data/Author.php b/src/Posts/Comments/CommentNewResponse/Data/Author.php index 78c0f247..5f96203f 100644 --- a/src/Posts/Comments/CommentNewResponse/Data/Author.php +++ b/src/Posts/Comments/CommentNewResponse/Data/Author.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\Data; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\AvatarThumbs; -use Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\HeaderSize; -use Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\HeaderThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\AvatarThumbs; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\HeaderSize; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\HeaderThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author\HeaderThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author\HeaderThumbs * * @phpstan-type AuthorShape = array{ * id?: int|null, diff --git a/src/Posts/Comments/CommentNewResponse/Data/Author/AvatarThumbs.php b/src/Posts/Comments/CommentNewResponse/Data/Author/AvatarThumbs.php index 8c6c4bfd..52130abe 100644 --- a/src/Posts/Comments/CommentNewResponse/Data/Author/AvatarThumbs.php +++ b/src/Posts/Comments/CommentNewResponse/Data/Author/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderSize.php b/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderSize.php index 571b2b1a..b4a9a572 100644 --- a/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderSize.php +++ b/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderThumbs.php b/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderThumbs.php index cdb13f2f..8d8ca8a2 100644 --- a/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderThumbs.php +++ b/src/Posts/Comments/CommentNewResponse/Data/Author/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Posts/Comments/CommentNewResponse/_Meta.php b/src/Posts/Comments/CommentNewResponse/_Meta.php index 9b86123f..f4585c12 100644 --- a/src/Posts/Comments/CommentNewResponse/_Meta.php +++ b/src/Posts/Comments/CommentNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentNewResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentNewResponse/_Meta/_Cache.php index a8e743ac..e4b86ddb 100644 --- a/src/Posts/Comments/CommentNewResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentNewResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentNewResponse/_Meta/_Credits.php index da4e91cf..242e1229 100644 --- a/src/Posts/Comments/CommentNewResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentNewResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentNewResponse/_Meta/_RateLimits.php index a765bd1e..7e67a669 100644 --- a/src/Posts/Comments/CommentNewResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentPinParams.php b/src/Posts/Comments/CommentPinParams.php index ebcf0624..5fc6a0d1 100644 --- a/src/Posts/Comments/CommentPinParams.php +++ b/src/Posts/Comments/CommentPinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Pin a comment on one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::pin() + * @see OnlyFansAPI\Services\Posts\CommentsService::pin() * * @phpstan-type CommentPinParamsShape = array{account: string, postID: int} */ diff --git a/src/Posts/Comments/CommentPinResponse.php b/src/Posts/Comments/CommentPinResponse.php index 1fe84c4d..fcf89141 100644 --- a/src/Posts/Comments/CommentPinResponse.php +++ b/src/Posts/Comments/CommentPinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentPinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentPinResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentPinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentPinResponse\Data * * @phpstan-type CommentPinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentPinResponse/Data.php b/src/Posts/Comments/CommentPinResponse/Data.php index 1daaa952..16caad05 100644 --- a/src/Posts/Comments/CommentPinResponse/Data.php +++ b/src/Posts/Comments/CommentPinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentPinResponse; +namespace OnlyFansAPI\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Posts/Comments/CommentPinResponse/_Meta.php b/src/Posts/Comments/CommentPinResponse/_Meta.php index 2cd33eb1..e8aca28f 100644 --- a/src/Posts/Comments/CommentPinResponse/_Meta.php +++ b/src/Posts/Comments/CommentPinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentPinResponse; +namespace OnlyFansAPI\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentPinResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentPinResponse/_Meta/_Cache.php index f5ea017d..d2b31485 100644 --- a/src/Posts/Comments/CommentPinResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentPinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentPinResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentPinResponse/_Meta/_Credits.php index 7be4192b..288e5a2f 100644 --- a/src/Posts/Comments/CommentPinResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentPinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentPinResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentPinResponse/_Meta/_RateLimits.php index b5ed8bb3..73cceac3 100644 --- a/src/Posts/Comments/CommentPinResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentPinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentPinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentUnlikeParams.php b/src/Posts/Comments/CommentUnlikeParams.php index c27c98f5..4d5d5048 100644 --- a/src/Posts/Comments/CommentUnlikeParams.php +++ b/src/Posts/Comments/CommentUnlikeParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unlike a comment on one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::unlike() + * @see OnlyFansAPI\Services\Posts\CommentsService::unlike() * * @phpstan-type CommentUnlikeParamsShape = array{account: string, postID: int} */ diff --git a/src/Posts/Comments/CommentUnlikeResponse.php b/src/Posts/Comments/CommentUnlikeResponse.php index d3c49924..148fe35f 100644 --- a/src/Posts/Comments/CommentUnlikeResponse.php +++ b/src/Posts/Comments/CommentUnlikeResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentUnlikeResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\Data * * @phpstan-type CommentUnlikeResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentUnlikeResponse/Data.php b/src/Posts/Comments/CommentUnlikeResponse/Data.php index fa1bb680..8999e019 100644 --- a/src/Posts/Comments/CommentUnlikeResponse/Data.php +++ b/src/Posts/Comments/CommentUnlikeResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnlikeResponse; +namespace OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Posts/Comments/CommentUnlikeResponse/_Meta.php b/src/Posts/Comments/CommentUnlikeResponse/_Meta.php index 7f3ba18f..7024bb98 100644 --- a/src/Posts/Comments/CommentUnlikeResponse/_Meta.php +++ b/src/Posts/Comments/CommentUnlikeResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnlikeResponse; +namespace OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Cache.php index 7f85bd5b..751638ed 100644 --- a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Credits.php index bfb10a69..07dac920 100644 --- a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_RateLimits.php index 1f11653a..b85eac4d 100644 --- a/src/Posts/Comments/CommentUnlikeResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentUnlikeResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnlikeResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnlikeResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Comments/CommentUnpinParams.php b/src/Posts/Comments/CommentUnpinParams.php index 91da59a0..85c87fde 100644 --- a/src/Posts/Comments/CommentUnpinParams.php +++ b/src/Posts/Comments/CommentUnpinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unpin a comment from one of your posts. * - * @see Onlyfansapi\Services\Posts\CommentsService::unpin() + * @see OnlyFansAPI\Services\Posts\CommentsService::unpin() * * @phpstan-type CommentUnpinParamsShape = array{account: string, postID: int} */ diff --git a/src/Posts/Comments/CommentUnpinResponse.php b/src/Posts/Comments/CommentUnpinResponse.php index 74e3ff2b..9eb271fe 100644 --- a/src/Posts/Comments/CommentUnpinResponse.php +++ b/src/Posts/Comments/CommentUnpinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments; +namespace OnlyFansAPI\Posts\Comments; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Comments\CommentUnpinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Comments\CommentUnpinResponse\Data * * @phpstan-type CommentUnpinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Comments/CommentUnpinResponse/Data.php b/src/Posts/Comments/CommentUnpinResponse/Data.php index dbb12219..d5ff3838 100644 --- a/src/Posts/Comments/CommentUnpinResponse/Data.php +++ b/src/Posts/Comments/CommentUnpinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnpinResponse; +namespace OnlyFansAPI\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Posts/Comments/CommentUnpinResponse/_Meta.php b/src/Posts/Comments/CommentUnpinResponse/_Meta.php index f129ba05..08af47f1 100644 --- a/src/Posts/Comments/CommentUnpinResponse/_Meta.php +++ b/src/Posts/Comments/CommentUnpinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnpinResponse; +namespace OnlyFansAPI\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Comments/CommentUnpinResponse/_Meta/_Cache.php b/src/Posts/Comments/CommentUnpinResponse/_Meta/_Cache.php index 10dec064..ebb63bf6 100644 --- a/src/Posts/Comments/CommentUnpinResponse/_Meta/_Cache.php +++ b/src/Posts/Comments/CommentUnpinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Comments/CommentUnpinResponse/_Meta/_Credits.php b/src/Posts/Comments/CommentUnpinResponse/_Meta/_Credits.php index 4db5cc45..cc349c1a 100644 --- a/src/Posts/Comments/CommentUnpinResponse/_Meta/_Credits.php +++ b/src/Posts/Comments/CommentUnpinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Comments/CommentUnpinResponse/_Meta/_RateLimits.php b/src/Posts/Comments/CommentUnpinResponse/_Meta/_RateLimits.php index f1bc6063..7c94017d 100644 --- a/src/Posts/Comments/CommentUnpinResponse/_Meta/_RateLimits.php +++ b/src/Posts/Comments/CommentUnpinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Comments\CommentUnpinResponse\_Meta; +namespace OnlyFansAPI\Posts\Comments\CommentUnpinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Labels/LabelCreateParams.php b/src/Posts/Labels/LabelCreateParams.php index 46967a49..5fc10eaf 100644 --- a/src/Posts/Labels/LabelCreateParams.php +++ b/src/Posts/Labels/LabelCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels; +namespace OnlyFansAPI\Posts\Labels; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new post label. * - * @see Onlyfansapi\Services\Posts\LabelsService::create() + * @see OnlyFansAPI\Services\Posts\LabelsService::create() * * @phpstan-type LabelCreateParamsShape = array{name: string} */ diff --git a/src/Posts/Labels/LabelListParams.php b/src/Posts/Labels/LabelListParams.php index a7d18f3a..f92a0776 100644 --- a/src/Posts/Labels/LabelListParams.php +++ b/src/Posts/Labels/LabelListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels; +namespace OnlyFansAPI\Posts\Labels; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List the labels that you can use to organize your posts. * - * @see Onlyfansapi\Services\Posts\LabelsService::list() + * @see OnlyFansAPI\Services\Posts\LabelsService::list() * * @phpstan-type LabelListParamsShape = array{ * limit?: string|null, offset?: string|null diff --git a/src/Posts/Labels/LabelListResponse.php b/src/Posts/Labels/LabelListResponse.php index de55f5a1..3e1490aa 100644 --- a/src/Posts/Labels/LabelListResponse.php +++ b/src/Posts/Labels/LabelListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels; +namespace OnlyFansAPI\Posts\Labels; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Labels\LabelListResponse\_Meta; -use Onlyfansapi\Posts\Labels\LabelListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta; +use OnlyFansAPI\Posts\Labels\LabelListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Labels\LabelListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Labels\LabelListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\Data * * @phpstan-type LabelListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Labels/LabelListResponse/Data.php b/src/Posts/Labels/LabelListResponse/Data.php index 80033822..e4a45c4d 100644 --- a/src/Posts/Labels/LabelListResponse/Data.php +++ b/src/Posts/Labels/LabelListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Labels\LabelListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Labels\LabelListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Posts\Labels\LabelListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hashSort?: string|null, diff --git a/src/Posts/Labels/LabelListResponse/Data/List_.php b/src/Posts/Labels/LabelListResponse/Data/List_.php index 121bc19b..8f995807 100644 --- a/src/Posts/Labels/LabelListResponse/Data/List_.php +++ b/src/Posts/Labels/LabelListResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse\Data; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Posts/Labels/LabelListResponse/_Meta.php b/src/Posts/Labels/LabelListResponse/_Meta.php index d2f64e37..5ca99299 100644 --- a/src/Posts/Labels/LabelListResponse/_Meta.php +++ b/src/Posts/Labels/LabelListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Labels\LabelListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Labels/LabelListResponse/_Meta/_Cache.php b/src/Posts/Labels/LabelListResponse/_Meta/_Cache.php index b4abaa07..2da20cb7 100644 --- a/src/Posts/Labels/LabelListResponse/_Meta/_Cache.php +++ b/src/Posts/Labels/LabelListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Labels/LabelListResponse/_Meta/_Credits.php b/src/Posts/Labels/LabelListResponse/_Meta/_Credits.php index 6c52725f..5616ab34 100644 --- a/src/Posts/Labels/LabelListResponse/_Meta/_Credits.php +++ b/src/Posts/Labels/LabelListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Labels/LabelListResponse/_Meta/_RateLimits.php b/src/Posts/Labels/LabelListResponse/_Meta/_RateLimits.php index d5b88975..5c5a3ff8 100644 --- a/src/Posts/Labels/LabelListResponse/_Meta/_RateLimits.php +++ b/src/Posts/Labels/LabelListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelListResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/Labels/LabelNewResponse.php b/src/Posts/Labels/LabelNewResponse.php index 07dd206e..c5368803 100644 --- a/src/Posts/Labels/LabelNewResponse.php +++ b/src/Posts/Labels/LabelNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels; +namespace OnlyFansAPI\Posts\Labels; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta; -use Onlyfansapi\Posts\Labels\LabelNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta; +use OnlyFansAPI\Posts\Labels\LabelNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\Labels\LabelNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\Labels\LabelNewResponse\Data * * @phpstan-type LabelNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/Labels/LabelNewResponse/Data.php b/src/Posts/Labels/LabelNewResponse/Data.php index be691f4e..63167eb3 100644 --- a/src/Posts/Labels/LabelNewResponse/Data.php +++ b/src/Posts/Labels/LabelNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelNewResponse; +namespace OnlyFansAPI\Posts\Labels\LabelNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Posts/Labels/LabelNewResponse/_Meta.php b/src/Posts/Labels/LabelNewResponse/_Meta.php index 3eb5df0e..6444af41 100644 --- a/src/Posts/Labels/LabelNewResponse/_Meta.php +++ b/src/Posts/Labels/LabelNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelNewResponse; +namespace OnlyFansAPI\Posts\Labels\LabelNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_Cache; -use Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_Credits; -use Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/Labels/LabelNewResponse/_Meta/_Cache.php b/src/Posts/Labels/LabelNewResponse/_Meta/_Cache.php index ebf68889..af0e8988 100644 --- a/src/Posts/Labels/LabelNewResponse/_Meta/_Cache.php +++ b/src/Posts/Labels/LabelNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/Labels/LabelNewResponse/_Meta/_Credits.php b/src/Posts/Labels/LabelNewResponse/_Meta/_Credits.php index 22276a96..07552634 100644 --- a/src/Posts/Labels/LabelNewResponse/_Meta/_Credits.php +++ b/src/Posts/Labels/LabelNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/Labels/LabelNewResponse/_Meta/_RateLimits.php b/src/Posts/Labels/LabelNewResponse/_Meta/_RateLimits.php index b1b0aefe..fcbbb6ac 100644 --- a/src/Posts/Labels/LabelNewResponse/_Meta/_RateLimits.php +++ b/src/Posts/Labels/LabelNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\Labels\LabelNewResponse\_Meta; +namespace OnlyFansAPI\Posts\Labels\LabelNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostArchiveParams.php b/src/Posts/PostArchiveParams.php index 30d55ce8..4a246334 100644 --- a/src/Posts/PostArchiveParams.php +++ b/src/Posts/PostArchiveParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Archive a post from your account. Also can be used to move posts between the Regular and Private Archive. * - * @see Onlyfansapi\Services\PostsService::archive() + * @see OnlyFansAPI\Services\PostsService::archive() * * @phpstan-type PostArchiveParamsShape = array{ * account: string, privateArchive?: bool|null diff --git a/src/Posts/PostArchiveResponse.php b/src/Posts/PostArchiveResponse.php index d5e87bc2..e231827d 100644 --- a/src/Posts/PostArchiveResponse.php +++ b/src/Posts/PostArchiveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostArchiveResponse\_Meta; -use Onlyfansapi\Posts\PostArchiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostArchiveResponse\_Meta; +use OnlyFansAPI\Posts\PostArchiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostArchiveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostArchiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostArchiveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostArchiveResponse\Data * * @phpstan-type PostArchiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostArchiveResponse/Data.php b/src/Posts/PostArchiveResponse/Data.php index 518adfdb..3a7a6c4d 100644 --- a/src/Posts/PostArchiveResponse/Data.php +++ b/src/Posts/PostArchiveResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse; +namespace OnlyFansAPI\Posts\PostArchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostArchiveResponse\Data\Counters; -use Onlyfansapi\Posts\PostArchiveResponse\Data\LabelState; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostArchiveResponse\Data\Counters; +use OnlyFansAPI\Posts\PostArchiveResponse\Data\LabelState; /** - * @phpstan-import-type CountersShape from \Onlyfansapi\Posts\PostArchiveResponse\Data\Counters - * @phpstan-import-type LabelStateShape from \Onlyfansapi\Posts\PostArchiveResponse\Data\LabelState + * @phpstan-import-type CountersShape from \OnlyFansAPI\Posts\PostArchiveResponse\Data\Counters + * @phpstan-import-type LabelStateShape from \OnlyFansAPI\Posts\PostArchiveResponse\Data\LabelState * * @phpstan-type DataShape = array{ * counters?: null|Counters|CountersShape, diff --git a/src/Posts/PostArchiveResponse/Data/Counters.php b/src/Posts/PostArchiveResponse/Data/Counters.php index f5801608..7de9f593 100644 --- a/src/Posts/PostArchiveResponse/Data/Counters.php +++ b/src/Posts/PostArchiveResponse/Data/Counters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse\Data; +namespace OnlyFansAPI\Posts\PostArchiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountersShape = array{ diff --git a/src/Posts/PostArchiveResponse/Data/LabelState.php b/src/Posts/PostArchiveResponse/Data/LabelState.php index c9f65c2c..264ad36f 100644 --- a/src/Posts/PostArchiveResponse/Data/LabelState.php +++ b/src/Posts/PostArchiveResponse/Data/LabelState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse\Data; +namespace OnlyFansAPI\Posts\PostArchiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelStateShape = array{ diff --git a/src/Posts/PostArchiveResponse/_Meta.php b/src/Posts/PostArchiveResponse/_Meta.php index 22688e7e..2708f77c 100644 --- a/src/Posts/PostArchiveResponse/_Meta.php +++ b/src/Posts/PostArchiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse; +namespace OnlyFansAPI\Posts\PostArchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostArchiveResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostArchiveResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostArchiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostArchiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostArchiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostArchiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostArchiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostArchiveResponse/_Meta/_Cache.php b/src/Posts/PostArchiveResponse/_Meta/_Cache.php index 43073e92..a9ccb10f 100644 --- a/src/Posts/PostArchiveResponse/_Meta/_Cache.php +++ b/src/Posts/PostArchiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostArchiveResponse/_Meta/_Credits.php b/src/Posts/PostArchiveResponse/_Meta/_Credits.php index 80eccfcd..cad42cbe 100644 --- a/src/Posts/PostArchiveResponse/_Meta/_Credits.php +++ b/src/Posts/PostArchiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostArchiveResponse/_Meta/_RateLimits.php b/src/Posts/PostArchiveResponse/_Meta/_RateLimits.php index d764dc54..3dc19ada 100644 --- a/src/Posts/PostArchiveResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostArchiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostArchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostCreateParams.php b/src/Posts/PostCreateParams.php index b8dba009..e6dabb95 100644 --- a/src/Posts/PostCreateParams.php +++ b/src/Posts/PostCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostCreateParams\VotingType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostCreateParams\VotingType; /** * Compose and send a new post to your OnlyFans account. * - * @see Onlyfansapi\Services\PostsService::create() + * @see OnlyFansAPI\Services\PostsService::create() * * @phpstan-type PostCreateParamsShape = array{ * text: string, diff --git a/src/Posts/PostCreateParams/VotingType.php b/src/Posts/PostCreateParams/VotingType.php index 208b77c6..2ff988d2 100644 --- a/src/Posts/PostCreateParams/VotingType.php +++ b/src/Posts/PostCreateParams/VotingType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostCreateParams; +namespace OnlyFansAPI\Posts\PostCreateParams; /** * Include a poll or quiz within your post. diff --git a/src/Posts/PostDeleteParams.php b/src/Posts/PostDeleteParams.php index 434470d1..3af4ee19 100644 --- a/src/Posts/PostDeleteParams.php +++ b/src/Posts/PostDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a post from your account. * - * @see Onlyfansapi\Services\PostsService::delete() + * @see OnlyFansAPI\Services\PostsService::delete() * * @phpstan-type PostDeleteParamsShape = array{account: string} */ diff --git a/src/Posts/PostDeleteResponse.php b/src/Posts/PostDeleteResponse.php index 371064ba..ca2dbe23 100644 --- a/src/Posts/PostDeleteResponse.php +++ b/src/Posts/PostDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostDeleteResponse\_Meta; -use Onlyfansapi\Posts\PostDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostDeleteResponse\_Meta; +use OnlyFansAPI\Posts\PostDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostDeleteResponse\Data * * @phpstan-type PostDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostDeleteResponse/Data.php b/src/Posts/PostDeleteResponse/Data.php index 2773aec3..1d13977f 100644 --- a/src/Posts/PostDeleteResponse/Data.php +++ b/src/Posts/PostDeleteResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse; +namespace OnlyFansAPI\Posts\PostDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostDeleteResponse\Data\Counters; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostDeleteResponse\Data\Counters; /** - * @phpstan-import-type CountersShape from \Onlyfansapi\Posts\PostDeleteResponse\Data\Counters + * @phpstan-import-type CountersShape from \OnlyFansAPI\Posts\PostDeleteResponse\Data\Counters * * @phpstan-type DataShape = array{ * counters?: null|Counters|CountersShape, success?: bool|null diff --git a/src/Posts/PostDeleteResponse/Data/Counters.php b/src/Posts/PostDeleteResponse/Data/Counters.php index e6f1d46e..3f24f596 100644 --- a/src/Posts/PostDeleteResponse/Data/Counters.php +++ b/src/Posts/PostDeleteResponse/Data/Counters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse\Data; +namespace OnlyFansAPI\Posts\PostDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountersShape = array{ diff --git a/src/Posts/PostDeleteResponse/_Meta.php b/src/Posts/PostDeleteResponse/_Meta.php index 1dc0d930..74aac904 100644 --- a/src/Posts/PostDeleteResponse/_Meta.php +++ b/src/Posts/PostDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse; +namespace OnlyFansAPI\Posts\PostDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostDeleteResponse/_Meta/_Cache.php b/src/Posts/PostDeleteResponse/_Meta/_Cache.php index 5f3cc52d..214ed189 100644 --- a/src/Posts/PostDeleteResponse/_Meta/_Cache.php +++ b/src/Posts/PostDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\PostDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostDeleteResponse/_Meta/_Credits.php b/src/Posts/PostDeleteResponse/_Meta/_Credits.php index 24e94c9e..b534cb93 100644 --- a/src/Posts/PostDeleteResponse/_Meta/_Credits.php +++ b/src/Posts/PostDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\PostDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostDeleteResponse/_Meta/_RateLimits.php b/src/Posts/PostDeleteResponse/_Meta/_RateLimits.php index 8e3a2c55..2c5bf134 100644 --- a/src/Posts/PostDeleteResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostDeleteResponse\_Meta; +namespace OnlyFansAPI\Posts\PostDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostGetResponse.php b/src/Posts/PostGetResponse.php index 2f09a7aa..f64ebd6b 100644 --- a/src/Posts/PostGetResponse.php +++ b/src/Posts/PostGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostGetResponse\_Meta; -use Onlyfansapi\Posts\PostGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostGetResponse\_Meta; +use OnlyFansAPI\Posts\PostGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostGetResponse\Data * * @phpstan-type PostGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostGetResponse/Data.php b/src/Posts/PostGetResponse/Data.php index f3590149..9c0c99b9 100644 --- a/src/Posts/PostGetResponse/Data.php +++ b/src/Posts/PostGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse; +namespace OnlyFansAPI\Posts\PostGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostGetResponse\Data\Author; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostGetResponse\Data\Author; /** - * @phpstan-import-type AuthorShape from \Onlyfansapi\Posts\PostGetResponse\Data\Author + * @phpstan-import-type AuthorShape from \OnlyFansAPI\Posts\PostGetResponse\Data\Author * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Posts/PostGetResponse/Data/Author.php b/src/Posts/PostGetResponse/Data/Author.php index a5272fcc..7d5732f4 100644 --- a/src/Posts/PostGetResponse/Data/Author.php +++ b/src/Posts/PostGetResponse/Data/Author.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\Data; +namespace OnlyFansAPI\Posts\PostGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostGetResponse\Data\Author\AvatarThumbs; -use Onlyfansapi\Posts\PostGetResponse\Data\Author\HeaderSize; -use Onlyfansapi\Posts\PostGetResponse\Data\Author\HeaderThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostGetResponse\Data\Author\AvatarThumbs; +use OnlyFansAPI\Posts\PostGetResponse\Data\Author\HeaderSize; +use OnlyFansAPI\Posts\PostGetResponse\Data\Author\HeaderThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Posts\PostGetResponse\Data\Author\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Posts\PostGetResponse\Data\Author\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Posts\PostGetResponse\Data\Author\HeaderThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Posts\PostGetResponse\Data\Author\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Posts\PostGetResponse\Data\Author\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Posts\PostGetResponse\Data\Author\HeaderThumbs * * @phpstan-type AuthorShape = array{ * id?: int|null, diff --git a/src/Posts/PostGetResponse/Data/Author/AvatarThumbs.php b/src/Posts/PostGetResponse/Data/Author/AvatarThumbs.php index 5a794e2c..fe5d6457 100644 --- a/src/Posts/PostGetResponse/Data/Author/AvatarThumbs.php +++ b/src/Posts/PostGetResponse/Data/Author/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostGetResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Posts/PostGetResponse/Data/Author/HeaderSize.php b/src/Posts/PostGetResponse/Data/Author/HeaderSize.php index e77f6f4d..e39a4621 100644 --- a/src/Posts/PostGetResponse/Data/Author/HeaderSize.php +++ b/src/Posts/PostGetResponse/Data/Author/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostGetResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Posts/PostGetResponse/Data/Author/HeaderThumbs.php b/src/Posts/PostGetResponse/Data/Author/HeaderThumbs.php index 1aa6a751..52c0c0a6 100644 --- a/src/Posts/PostGetResponse/Data/Author/HeaderThumbs.php +++ b/src/Posts/PostGetResponse/Data/Author/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostGetResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Posts/PostGetResponse/_Meta.php b/src/Posts/PostGetResponse/_Meta.php index f3260533..68850e79 100644 --- a/src/Posts/PostGetResponse/_Meta.php +++ b/src/Posts/PostGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse; +namespace OnlyFansAPI\Posts\PostGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostGetResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostGetResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostGetResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostGetResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostGetResponse/_Meta/_Cache.php b/src/Posts/PostGetResponse/_Meta/_Cache.php index 67565e6b..c0f3b4d5 100644 --- a/src/Posts/PostGetResponse/_Meta/_Cache.php +++ b/src/Posts/PostGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\_Meta; +namespace OnlyFansAPI\Posts\PostGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostGetResponse/_Meta/_Credits.php b/src/Posts/PostGetResponse/_Meta/_Credits.php index 2e4565a7..3588e35f 100644 --- a/src/Posts/PostGetResponse/_Meta/_Credits.php +++ b/src/Posts/PostGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\_Meta; +namespace OnlyFansAPI\Posts\PostGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostGetResponse/_Meta/_RateLimits.php b/src/Posts/PostGetResponse/_Meta/_RateLimits.php index 1f56f259..6c115e41 100644 --- a/src/Posts/PostGetResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostGetResponse\_Meta; +namespace OnlyFansAPI\Posts\PostGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostListParams.php b/src/Posts/PostListParams.php index e586a544..c3f81f65 100644 --- a/src/Posts/PostListParams.php +++ b/src/Posts/PostListParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostListParams\Order; -use Onlyfansapi\Posts\PostListParams\Sort; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostListParams\Order; +use OnlyFansAPI\Posts\PostListParams\Sort; /** * Get posts from your OnlyFans account. * - * @see Onlyfansapi\Services\PostsService::list() + * @see OnlyFansAPI\Services\PostsService::list() * * @phpstan-type PostListParamsShape = array{ * counters?: bool|null, diff --git a/src/Posts/PostListParams/Order.php b/src/Posts/PostListParams/Order.php index b6ffcc99..0c0c5df8 100644 --- a/src/Posts/PostListParams/Order.php +++ b/src/Posts/PostListParams/Order.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListParams; +namespace OnlyFansAPI\Posts\PostListParams; /** * Order the returned posts (default = publish_date). diff --git a/src/Posts/PostListParams/Sort.php b/src/Posts/PostListParams/Sort.php index 264550da..8b20a01d 100644 --- a/src/Posts/PostListParams/Sort.php +++ b/src/Posts/PostListParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListParams; +namespace OnlyFansAPI\Posts\PostListParams; /** * Sort the returned posts (default = desc). diff --git a/src/Posts/PostListResponse.php b/src/Posts/PostListResponse.php index bf1b0f03..ceaf52c8 100644 --- a/src/Posts/PostListResponse.php +++ b/src/Posts/PostListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostListResponse\_Meta; -use Onlyfansapi\Posts\PostListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostListResponse\_Meta; +use OnlyFansAPI\Posts\PostListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostListResponse\Data * * @phpstan-type PostListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostListResponse/Data.php b/src/Posts/PostListResponse/Data.php index 64a57406..b63fbb06 100644 --- a/src/Posts/PostListResponse/Data.php +++ b/src/Posts/PostListResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse; +namespace OnlyFansAPI\Posts\PostListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostListResponse\Data\Counters; -use Onlyfansapi\Posts\PostListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostListResponse\Data\Counters; +use OnlyFansAPI\Posts\PostListResponse\Data\List_; /** - * @phpstan-import-type CountersShape from \Onlyfansapi\Posts\PostListResponse\Data\Counters - * @phpstan-import-type ListShape from \Onlyfansapi\Posts\PostListResponse\Data\List_ + * @phpstan-import-type CountersShape from \OnlyFansAPI\Posts\PostListResponse\Data\Counters + * @phpstan-import-type ListShape from \OnlyFansAPI\Posts\PostListResponse\Data\List_ * * @phpstan-type DataShape = array{ * counters?: null|Counters|CountersShape, diff --git a/src/Posts/PostListResponse/Data/Counters.php b/src/Posts/PostListResponse/Data/Counters.php index 9acf065b..e556d84e 100644 --- a/src/Posts/PostListResponse/Data/Counters.php +++ b/src/Posts/PostListResponse/Data/Counters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\Data; +namespace OnlyFansAPI\Posts\PostListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountersShape = array{ diff --git a/src/Posts/PostListResponse/Data/List_.php b/src/Posts/PostListResponse/Data/List_.php index 27c55150..17c6a2b9 100644 --- a/src/Posts/PostListResponse/Data/List_.php +++ b/src/Posts/PostListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\Data; +namespace OnlyFansAPI\Posts\PostListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostListResponse\Data\List_\Author; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostListResponse\Data\List_\Author; /** - * @phpstan-import-type AuthorShape from \Onlyfansapi\Posts\PostListResponse\Data\List_\Author + * @phpstan-import-type AuthorShape from \OnlyFansAPI\Posts\PostListResponse\Data\List_\Author * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Posts/PostListResponse/Data/List_/Author.php b/src/Posts/PostListResponse/Data/List_/Author.php index f71b7d97..651e9374 100644 --- a/src/Posts/PostListResponse/Data/List_/Author.php +++ b/src/Posts/PostListResponse/Data/List_/Author.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\Data\List_; +namespace OnlyFansAPI\Posts\PostListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AuthorShape = array{id?: int|null, _view?: string|null} diff --git a/src/Posts/PostListResponse/_Meta.php b/src/Posts/PostListResponse/_Meta.php index 8bcdabef..dd65b39f 100644 --- a/src/Posts/PostListResponse/_Meta.php +++ b/src/Posts/PostListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse; +namespace OnlyFansAPI\Posts\PostListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostListResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostListResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostListResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostListResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostListResponse/_Meta/_Cache.php b/src/Posts/PostListResponse/_Meta/_Cache.php index 91a92e27..9cbce720 100644 --- a/src/Posts/PostListResponse/_Meta/_Cache.php +++ b/src/Posts/PostListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostListResponse/_Meta/_Credits.php b/src/Posts/PostListResponse/_Meta/_Credits.php index e54f1bda..031977a0 100644 --- a/src/Posts/PostListResponse/_Meta/_Credits.php +++ b/src/Posts/PostListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostListResponse/_Meta/_RateLimits.php b/src/Posts/PostListResponse/_Meta/_RateLimits.php index c29724b9..3f4509cd 100644 --- a/src/Posts/PostListResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostNewResponse.php b/src/Posts/PostNewResponse.php index 06f6b3ad..d6ab234b 100644 --- a/src/Posts/PostNewResponse.php +++ b/src/Posts/PostNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\_Meta; -use Onlyfansapi\Posts\PostNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\_Meta; +use OnlyFansAPI\Posts\PostNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostNewResponse\Data * * @phpstan-type PostNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostNewResponse/Data.php b/src/Posts/PostNewResponse/Data.php index 8d1915e0..39960162 100644 --- a/src/Posts/PostNewResponse/Data.php +++ b/src/Posts/PostNewResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse; +namespace OnlyFansAPI\Posts\PostNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\Data\Author; -use Onlyfansapi\Posts\PostNewResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\Data\Author; +use OnlyFansAPI\Posts\PostNewResponse\Data\Media; /** - * @phpstan-import-type AuthorShape from \Onlyfansapi\Posts\PostNewResponse\Data\Author - * @phpstan-import-type MediaShape from \Onlyfansapi\Posts\PostNewResponse\Data\Media + * @phpstan-import-type AuthorShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Author + * @phpstan-import-type MediaShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Posts/PostNewResponse/Data/Author.php b/src/Posts/PostNewResponse/Data/Author.php index 0dbc3726..b1e3dc2b 100644 --- a/src/Posts/PostNewResponse/Data/Author.php +++ b/src/Posts/PostNewResponse/Data/Author.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data; +namespace OnlyFansAPI\Posts\PostNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\Data\Author\AvatarThumbs; -use Onlyfansapi\Posts\PostNewResponse\Data\Author\HeaderSize; -use Onlyfansapi\Posts\PostNewResponse\Data\Author\HeaderThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\Data\Author\AvatarThumbs; +use OnlyFansAPI\Posts\PostNewResponse\Data\Author\HeaderSize; +use OnlyFansAPI\Posts\PostNewResponse\Data\Author\HeaderThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Posts\PostNewResponse\Data\Author\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Posts\PostNewResponse\Data\Author\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Posts\PostNewResponse\Data\Author\HeaderThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Author\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Author\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Author\HeaderThumbs * * @phpstan-type AuthorShape = array{ * id?: int|null, diff --git a/src/Posts/PostNewResponse/Data/Author/AvatarThumbs.php b/src/Posts/PostNewResponse/Data/Author/AvatarThumbs.php index e3015624..dbce7b24 100644 --- a/src/Posts/PostNewResponse/Data/Author/AvatarThumbs.php +++ b/src/Posts/PostNewResponse/Data/Author/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Posts/PostNewResponse/Data/Author/HeaderSize.php b/src/Posts/PostNewResponse/Data/Author/HeaderSize.php index 85f3e6f2..540c4453 100644 --- a/src/Posts/PostNewResponse/Data/Author/HeaderSize.php +++ b/src/Posts/PostNewResponse/Data/Author/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Posts/PostNewResponse/Data/Author/HeaderThumbs.php b/src/Posts/PostNewResponse/Data/Author/HeaderThumbs.php index 259a4ef7..55227f61 100644 --- a/src/Posts/PostNewResponse/Data/Author/HeaderThumbs.php +++ b/src/Posts/PostNewResponse/Data/Author/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data\Author; +namespace OnlyFansAPI\Posts\PostNewResponse\Data\Author; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Posts/PostNewResponse/Data/Media.php b/src/Posts/PostNewResponse/Data/Media.php index 28c14bd6..b830ee7c 100644 --- a/src/Posts/PostNewResponse/Data/Media.php +++ b/src/Posts/PostNewResponse/Data/Media.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data; +namespace OnlyFansAPI\Posts\PostNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\Data\Media\Files; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\Data\Media\Files; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Posts\PostNewResponse\Data\Media\Files + * @phpstan-import-type FilesShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Media\Files * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Posts/PostNewResponse/Data/Media/Files.php b/src/Posts/PostNewResponse/Data/Media/Files.php index 914aa78f..52b7f0e3 100644 --- a/src/Posts/PostNewResponse/Data/Media/Files.php +++ b/src/Posts/PostNewResponse/Data/Media/Files.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data\Media; +namespace OnlyFansAPI\Posts\PostNewResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\Data\Media\Files\Full; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\Data\Media\Files\Full; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Posts\PostNewResponse\Data\Media\Files\Full + * @phpstan-import-type FullShape from \OnlyFansAPI\Posts\PostNewResponse\Data\Media\Files\Full * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Posts/PostNewResponse/Data/Media/Files/Full.php b/src/Posts/PostNewResponse/Data/Media/Files/Full.php index 721c4515..8677daee 100644 --- a/src/Posts/PostNewResponse/Data/Media/Files/Full.php +++ b/src/Posts/PostNewResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\Data\Media\Files; +namespace OnlyFansAPI\Posts\PostNewResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Posts/PostNewResponse/_Meta.php b/src/Posts/PostNewResponse/_Meta.php index e2dc88b9..3de19757 100644 --- a/src/Posts/PostNewResponse/_Meta.php +++ b/src/Posts/PostNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse; +namespace OnlyFansAPI\Posts\PostNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostNewResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostNewResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostNewResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostNewResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostNewResponse/_Meta/_Cache.php b/src/Posts/PostNewResponse/_Meta/_Cache.php index 27703f67..2e150b7a 100644 --- a/src/Posts/PostNewResponse/_Meta/_Cache.php +++ b/src/Posts/PostNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\_Meta; +namespace OnlyFansAPI\Posts\PostNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostNewResponse/_Meta/_Credits.php b/src/Posts/PostNewResponse/_Meta/_Credits.php index ae884b37..a659e500 100644 --- a/src/Posts/PostNewResponse/_Meta/_Credits.php +++ b/src/Posts/PostNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\_Meta; +namespace OnlyFansAPI\Posts\PostNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostNewResponse/_Meta/_RateLimits.php b/src/Posts/PostNewResponse/_Meta/_RateLimits.php index 314cc26e..a2ce6a9a 100644 --- a/src/Posts/PostNewResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostNewResponse\_Meta; +namespace OnlyFansAPI\Posts\PostNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostPinParams.php b/src/Posts/PostPinParams.php index e674c176..7c434cb0 100644 --- a/src/Posts/PostPinParams.php +++ b/src/Posts/PostPinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Pin or unpin a post to your account. * - * @see Onlyfansapi\Services\PostsService::pin() + * @see OnlyFansAPI\Services\PostsService::pin() * * @phpstan-type PostPinParamsShape = array{account: string} */ diff --git a/src/Posts/PostPinResponse.php b/src/Posts/PostPinResponse.php index e091646e..a74b8eb4 100644 --- a/src/Posts/PostPinResponse.php +++ b/src/Posts/PostPinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostPinResponse\_Meta; -use Onlyfansapi\Posts\PostPinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostPinResponse\_Meta; +use OnlyFansAPI\Posts\PostPinResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostPinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostPinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostPinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostPinResponse\Data * * @phpstan-type PostPinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostPinResponse/Data.php b/src/Posts/PostPinResponse/Data.php index 11266090..9b446f00 100644 --- a/src/Posts/PostPinResponse/Data.php +++ b/src/Posts/PostPinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostPinResponse; +namespace OnlyFansAPI\Posts\PostPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Posts/PostPinResponse/_Meta.php b/src/Posts/PostPinResponse/_Meta.php index 828cd8a9..f1da6f24 100644 --- a/src/Posts/PostPinResponse/_Meta.php +++ b/src/Posts/PostPinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostPinResponse; +namespace OnlyFansAPI\Posts\PostPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostPinResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostPinResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostPinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostPinResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostPinResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostPinResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostPinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostPinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostPinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostPinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostPinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostPinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostPinResponse/_Meta/_Cache.php b/src/Posts/PostPinResponse/_Meta/_Cache.php index 6f04d5a5..f238eb54 100644 --- a/src/Posts/PostPinResponse/_Meta/_Cache.php +++ b/src/Posts/PostPinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostPinResponse\_Meta; +namespace OnlyFansAPI\Posts\PostPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostPinResponse/_Meta/_Credits.php b/src/Posts/PostPinResponse/_Meta/_Credits.php index 6653d737..53c8341f 100644 --- a/src/Posts/PostPinResponse/_Meta/_Credits.php +++ b/src/Posts/PostPinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostPinResponse\_Meta; +namespace OnlyFansAPI\Posts\PostPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostPinResponse/_Meta/_RateLimits.php b/src/Posts/PostPinResponse/_Meta/_RateLimits.php index d36d7064..572b9843 100644 --- a/src/Posts/PostPinResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostPinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostPinResponse\_Meta; +namespace OnlyFansAPI\Posts\PostPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostRetrieveParams.php b/src/Posts/PostRetrieveParams.php index 62862d31..4095bb61 100644 --- a/src/Posts/PostRetrieveParams.php +++ b/src/Posts/PostRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve details of a post from your account. * - * @see Onlyfansapi\Services\PostsService::retrieve() + * @see OnlyFansAPI\Services\PostsService::retrieve() * * @phpstan-type PostRetrieveParamsShape = array{account: string} */ diff --git a/src/Posts/PostStatsParams.php b/src/Posts/PostStatsParams.php index a7c105c3..cfe3a2e3 100644 --- a/src/Posts/PostStatsParams.php +++ b/src/Posts/PostStatsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Show the statistics of a post like purchases, views, likes, tips and more. * - * @see Onlyfansapi\Services\PostsService::stats() + * @see OnlyFansAPI\Services\PostsService::stats() * * @phpstan-type PostStatsParamsShape = array{ * account: string, withHistoricalData?: bool|null diff --git a/src/Posts/PostStatsResponse.php b/src/Posts/PostStatsResponse.php index f6f10c7a..0da32b8b 100644 --- a/src/Posts/PostStatsResponse.php +++ b/src/Posts/PostStatsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostStatsResponse\_Meta; -use Onlyfansapi\Posts\PostStatsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostStatsResponse\_Meta; +use OnlyFansAPI\Posts\PostStatsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostStatsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostStatsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostStatsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostStatsResponse\Data * * @phpstan-type PostStatsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostStatsResponse/Data.php b/src/Posts/PostStatsResponse/Data.php index a6015186..23168407 100644 --- a/src/Posts/PostStatsResponse/Data.php +++ b/src/Posts/PostStatsResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostStatsResponse\Data\CommentChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\LikeChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\LookChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\PurchasesChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\TipChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\TipSumChart; -use Onlyfansapi\Posts\PostStatsResponse\Data\UniqueLookChart; +namespace OnlyFansAPI\Posts\PostStatsResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostStatsResponse\Data\CommentChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\LikeChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\LookChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\PurchasesChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\TipChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\TipSumChart; +use OnlyFansAPI\Posts\PostStatsResponse\Data\UniqueLookChart; /** - * @phpstan-import-type CommentChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\CommentChart - * @phpstan-import-type LikeChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\LikeChart - * @phpstan-import-type LookChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\LookChart - * @phpstan-import-type PurchasesChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\PurchasesChart - * @phpstan-import-type TipChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\TipChart - * @phpstan-import-type TipSumChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\TipSumChart - * @phpstan-import-type UniqueLookChartShape from \Onlyfansapi\Posts\PostStatsResponse\Data\UniqueLookChart + * @phpstan-import-type CommentChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\CommentChart + * @phpstan-import-type LikeChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\LikeChart + * @phpstan-import-type LookChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\LookChart + * @phpstan-import-type PurchasesChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\PurchasesChart + * @phpstan-import-type TipChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\TipChart + * @phpstan-import-type TipSumChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\TipSumChart + * @phpstan-import-type UniqueLookChartShape from \OnlyFansAPI\Posts\PostStatsResponse\Data\UniqueLookChart * * @phpstan-type DataShape = array{ * commentChart?: list|null, diff --git a/src/Posts/PostStatsResponse/Data/CommentChart.php b/src/Posts/PostStatsResponse/Data/CommentChart.php index 612bd971..85a44cb9 100644 --- a/src/Posts/PostStatsResponse/Data/CommentChart.php +++ b/src/Posts/PostStatsResponse/Data/CommentChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CommentChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/LikeChart.php b/src/Posts/PostStatsResponse/Data/LikeChart.php index 4c40e8e3..74710de5 100644 --- a/src/Posts/PostStatsResponse/Data/LikeChart.php +++ b/src/Posts/PostStatsResponse/Data/LikeChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LikeChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/LookChart.php b/src/Posts/PostStatsResponse/Data/LookChart.php index 3e3fc96e..bc3afb4a 100644 --- a/src/Posts/PostStatsResponse/Data/LookChart.php +++ b/src/Posts/PostStatsResponse/Data/LookChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LookChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/PurchasesChart.php b/src/Posts/PostStatsResponse/Data/PurchasesChart.php index cbb0af09..6a1aa72a 100644 --- a/src/Posts/PostStatsResponse/Data/PurchasesChart.php +++ b/src/Posts/PostStatsResponse/Data/PurchasesChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PurchasesChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/TipChart.php b/src/Posts/PostStatsResponse/Data/TipChart.php index e18bb74f..08be6c6f 100644 --- a/src/Posts/PostStatsResponse/Data/TipChart.php +++ b/src/Posts/PostStatsResponse/Data/TipChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TipChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/TipSumChart.php b/src/Posts/PostStatsResponse/Data/TipSumChart.php index 9bab11f1..d1187c46 100644 --- a/src/Posts/PostStatsResponse/Data/TipSumChart.php +++ b/src/Posts/PostStatsResponse/Data/TipSumChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TipSumChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/Data/UniqueLookChart.php b/src/Posts/PostStatsResponse/Data/UniqueLookChart.php index 8bb7a5bd..4137106e 100644 --- a/src/Posts/PostStatsResponse/Data/UniqueLookChart.php +++ b/src/Posts/PostStatsResponse/Data/UniqueLookChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\Data; +namespace OnlyFansAPI\Posts\PostStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type UniqueLookChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Posts/PostStatsResponse/_Meta.php b/src/Posts/PostStatsResponse/_Meta.php index 483912c7..6f261df2 100644 --- a/src/Posts/PostStatsResponse/_Meta.php +++ b/src/Posts/PostStatsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse; +namespace OnlyFansAPI\Posts\PostStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostStatsResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostStatsResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostStatsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostStatsResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostStatsResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostStatsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostStatsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostStatsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostStatsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostStatsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostStatsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostStatsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostStatsResponse/_Meta/_Cache.php b/src/Posts/PostStatsResponse/_Meta/_Cache.php index 33b2ebd7..71adcc17 100644 --- a/src/Posts/PostStatsResponse/_Meta/_Cache.php +++ b/src/Posts/PostStatsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\_Meta; +namespace OnlyFansAPI\Posts\PostStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostStatsResponse/_Meta/_Credits.php b/src/Posts/PostStatsResponse/_Meta/_Credits.php index 493a1a28..57624dd1 100644 --- a/src/Posts/PostStatsResponse/_Meta/_Credits.php +++ b/src/Posts/PostStatsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\_Meta; +namespace OnlyFansAPI\Posts\PostStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostStatsResponse/_Meta/_RateLimits.php b/src/Posts/PostStatsResponse/_Meta/_RateLimits.php index b24c9035..e4e42268 100644 --- a/src/Posts/PostStatsResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostStatsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostStatsResponse\_Meta; +namespace OnlyFansAPI\Posts\PostStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostUnarchiveParams.php b/src/Posts/PostUnarchiveParams.php index a7c47f7e..6e4eb243 100644 --- a/src/Posts/PostUnarchiveParams.php +++ b/src/Posts/PostUnarchiveParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unarchive a post from your account. * - * @see Onlyfansapi\Services\PostsService::unarchive() + * @see OnlyFansAPI\Services\PostsService::unarchive() * * @phpstan-type PostUnarchiveParamsShape = array{ * account: string, privateArchive?: bool|null diff --git a/src/Posts/PostUnarchiveResponse.php b/src/Posts/PostUnarchiveResponse.php index 9ef23c5d..cde2640c 100644 --- a/src/Posts/PostUnarchiveResponse.php +++ b/src/Posts/PostUnarchiveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostUnarchiveResponse\_Meta; -use Onlyfansapi\Posts\PostUnarchiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta; +use OnlyFansAPI\Posts\PostUnarchiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Posts\PostUnarchiveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Posts\PostUnarchiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\Data * * @phpstan-type PostUnarchiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Posts/PostUnarchiveResponse/Data.php b/src/Posts/PostUnarchiveResponse/Data.php index fdfccdb6..6c3d9eb1 100644 --- a/src/Posts/PostUnarchiveResponse/Data.php +++ b/src/Posts/PostUnarchiveResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostUnarchiveResponse\Data\Counters; -use Onlyfansapi\Posts\PostUnarchiveResponse\Data\LabelState; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostUnarchiveResponse\Data\Counters; +use OnlyFansAPI\Posts\PostUnarchiveResponse\Data\LabelState; /** - * @phpstan-import-type CountersShape from \Onlyfansapi\Posts\PostUnarchiveResponse\Data\Counters - * @phpstan-import-type LabelStateShape from \Onlyfansapi\Posts\PostUnarchiveResponse\Data\LabelState + * @phpstan-import-type CountersShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\Data\Counters + * @phpstan-import-type LabelStateShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\Data\LabelState * * @phpstan-type DataShape = array{ * counters?: null|Counters|CountersShape, diff --git a/src/Posts/PostUnarchiveResponse/Data/Counters.php b/src/Posts/PostUnarchiveResponse/Data/Counters.php index a8ee957f..408a0a0f 100644 --- a/src/Posts/PostUnarchiveResponse/Data/Counters.php +++ b/src/Posts/PostUnarchiveResponse/Data/Counters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse\Data; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountersShape = array{ diff --git a/src/Posts/PostUnarchiveResponse/Data/LabelState.php b/src/Posts/PostUnarchiveResponse/Data/LabelState.php index de5dca3a..a1a5a99e 100644 --- a/src/Posts/PostUnarchiveResponse/Data/LabelState.php +++ b/src/Posts/PostUnarchiveResponse/Data/LabelState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse\Data; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LabelStateShape = array{ diff --git a/src/Posts/PostUnarchiveResponse/_Meta.php b/src/Posts/PostUnarchiveResponse/_Meta.php index 09dfcda2..35051b0c 100644 --- a/src/Posts/PostUnarchiveResponse/_Meta.php +++ b/src/Posts/PostUnarchiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_Cache; -use Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_Credits; -use Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_Cache; +use OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_Credits; +use OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Posts\PostUnarchiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Posts/PostUnarchiveResponse/_Meta/_Cache.php b/src/Posts/PostUnarchiveResponse/_Meta/_Cache.php index f388df90..5a8cc07a 100644 --- a/src/Posts/PostUnarchiveResponse/_Meta/_Cache.php +++ b/src/Posts/PostUnarchiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Posts/PostUnarchiveResponse/_Meta/_Credits.php b/src/Posts/PostUnarchiveResponse/_Meta/_Credits.php index 535b18cb..52af0432 100644 --- a/src/Posts/PostUnarchiveResponse/_Meta/_Credits.php +++ b/src/Posts/PostUnarchiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Posts/PostUnarchiveResponse/_Meta/_RateLimits.php b/src/Posts/PostUnarchiveResponse/_Meta/_RateLimits.php index 3e0e6e66..f4bcdbdc 100644 --- a/src/Posts/PostUnarchiveResponse/_Meta/_RateLimits.php +++ b/src/Posts/PostUnarchiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUnarchiveResponse\_Meta; +namespace OnlyFansAPI\Posts\PostUnarchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Posts/PostUpdateParams.php b/src/Posts/PostUpdateParams.php index 387d1072..c2b617ce 100644 --- a/src/Posts/PostUpdateParams.php +++ b/src/Posts/PostUpdateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts; +namespace OnlyFansAPI\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Posts\PostUpdateParams\VotingType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Posts\PostUpdateParams\VotingType; /** * Update a posted, queued, or "saved for later" post. * - * @see Onlyfansapi\Services\PostsService::update() + * @see OnlyFansAPI\Services\PostsService::update() * * @phpstan-type PostUpdateParamsShape = array{ * account: string, diff --git a/src/Posts/PostUpdateParams/VotingType.php b/src/Posts/PostUpdateParams/VotingType.php index d0f7711d..b5e6b916 100644 --- a/src/Posts/PostUpdateParams/VotingType.php +++ b/src/Posts/PostUpdateParams/VotingType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Posts\PostUpdateParams; +namespace OnlyFansAPI\Posts\PostUpdateParams; /** * Include a poll or quiz within your post. diff --git a/src/Profiles/ProfileGetResponse.php b/src/Profiles/ProfileGetResponse.php index f4230e0b..d0f0f9e9 100644 --- a/src/Profiles/ProfileGetResponse.php +++ b/src/Profiles/ProfileGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles; +namespace OnlyFansAPI\Profiles; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Profiles\ProfileGetResponse\_Meta; -use Onlyfansapi\Profiles\ProfileGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Profiles\ProfileGetResponse\_Meta; +use OnlyFansAPI\Profiles\ProfileGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Profiles\ProfileGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Profiles\ProfileGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Profiles\ProfileGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Profiles\ProfileGetResponse\Data * * @phpstan-type ProfileGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Profiles/ProfileGetResponse/Data.php b/src/Profiles/ProfileGetResponse/Data.php index f5734c24..fca0ee32 100644 --- a/src/Profiles/ProfileGetResponse/Data.php +++ b/src/Profiles/ProfileGetResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse; +namespace OnlyFansAPI\Profiles\ProfileGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Profiles\ProfileGetResponse\Data\AvatarThumbs; -use Onlyfansapi\Profiles\ProfileGetResponse\Data\HeaderSize; -use Onlyfansapi\Profiles\ProfileGetResponse\Data\HeaderThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Profiles\ProfileGetResponse\Data\AvatarThumbs; +use OnlyFansAPI\Profiles\ProfileGetResponse\Data\HeaderSize; +use OnlyFansAPI\Profiles\ProfileGetResponse\Data\HeaderThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Profiles\ProfileGetResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Profiles\ProfileGetResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Profiles\ProfileGetResponse\Data\HeaderThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Profiles\ProfileGetResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Profiles\ProfileGetResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Profiles\ProfileGetResponse\Data\HeaderThumbs * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Profiles/ProfileGetResponse/Data/AvatarThumbs.php b/src/Profiles/ProfileGetResponse/Data/AvatarThumbs.php index 9b20c5c4..d601ad03 100644 --- a/src/Profiles/ProfileGetResponse/Data/AvatarThumbs.php +++ b/src/Profiles/ProfileGetResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\Data; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Profiles/ProfileGetResponse/Data/HeaderSize.php b/src/Profiles/ProfileGetResponse/Data/HeaderSize.php index 2ebbb09c..5c5bf594 100644 --- a/src/Profiles/ProfileGetResponse/Data/HeaderSize.php +++ b/src/Profiles/ProfileGetResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\Data; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Profiles/ProfileGetResponse/Data/HeaderThumbs.php b/src/Profiles/ProfileGetResponse/Data/HeaderThumbs.php index b6066fc7..3f973f5c 100644 --- a/src/Profiles/ProfileGetResponse/Data/HeaderThumbs.php +++ b/src/Profiles/ProfileGetResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\Data; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Profiles/ProfileGetResponse/_Meta.php b/src/Profiles/ProfileGetResponse/_Meta.php index 7577e7dd..2805ea34 100644 --- a/src/Profiles/ProfileGetResponse/_Meta.php +++ b/src/Profiles/ProfileGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse; +namespace OnlyFansAPI\Profiles\ProfileGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_Cache; -use Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_Credits; -use Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_Cache; +use OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_Credits; +use OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Profiles\ProfileGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Profiles\ProfileGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Profiles/ProfileGetResponse/_Meta/_Cache.php b/src/Profiles/ProfileGetResponse/_Meta/_Cache.php index 237c23c3..dac614c9 100644 --- a/src/Profiles/ProfileGetResponse/_Meta/_Cache.php +++ b/src/Profiles/ProfileGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\_Meta; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Profiles/ProfileGetResponse/_Meta/_Credits.php b/src/Profiles/ProfileGetResponse/_Meta/_Credits.php index d8ef3395..de1668de 100644 --- a/src/Profiles/ProfileGetResponse/_Meta/_Credits.php +++ b/src/Profiles/ProfileGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\_Meta; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Profiles/ProfileGetResponse/_Meta/_RateLimits.php b/src/Profiles/ProfileGetResponse/_Meta/_RateLimits.php index 7c1eacae..a180541f 100644 --- a/src/Profiles/ProfileGetResponse/_Meta/_RateLimits.php +++ b/src/Profiles/ProfileGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles\ProfileGetResponse\_Meta; +namespace OnlyFansAPI\Profiles\ProfileGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Profiles/ProfileRetrieveParams.php b/src/Profiles/ProfileRetrieveParams.php index 7beb6bf4..da6b0a10 100644 --- a/src/Profiles/ProfileRetrieveParams.php +++ b/src/Profiles/ProfileRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Profiles; +namespace OnlyFansAPI\Profiles; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get profile details by username. * - * @see Onlyfansapi\Services\ProfilesService::retrieve() + * @see OnlyFansAPI\Services\ProfilesService::retrieve() * * @phpstan-type ProfileRetrieveParamsShape = array{fresh?: bool|null} */ diff --git a/src/Promotions/PromotionCreateParams.php b/src/Promotions/PromotionCreateParams.php index 68f77e45..adfb2779 100644 --- a/src/Promotions/PromotionCreateParams.php +++ b/src/Promotions/PromotionCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionCreateParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionCreateParams\Type; /** * Create a new promotion for the account. * - * @see Onlyfansapi\Services\PromotionsService::create() + * @see OnlyFansAPI\Services\PromotionsService::create() * * @phpstan-type PromotionCreateParamsShape = array{ * discount: int, diff --git a/src/Promotions/PromotionCreateParams/Type.php b/src/Promotions/PromotionCreateParams/Type.php index 5f679bf2..4726e9ba 100644 --- a/src/Promotions/PromotionCreateParams/Type.php +++ b/src/Promotions/PromotionCreateParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionCreateParams; +namespace OnlyFansAPI\Promotions\PromotionCreateParams; /** * Whether this promotion should apply to new subscribers, expired subscribers, or both. **IMPORTANT: when set to new_and_expired, the OF will create two separate promotions.**. diff --git a/src/Promotions/PromotionDeleteParams.php b/src/Promotions/PromotionDeleteParams.php index 9e22a426..d708847e 100644 --- a/src/Promotions/PromotionDeleteParams.php +++ b/src/Promotions/PromotionDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a promotion for the account. * - * @see Onlyfansapi\Services\PromotionsService::delete() + * @see OnlyFansAPI\Services\PromotionsService::delete() * * @phpstan-type PromotionDeleteParamsShape = array{account: string} */ diff --git a/src/Promotions/PromotionDeleteResponse.php b/src/Promotions/PromotionDeleteResponse.php index 048da56b..fd4ea29c 100644 --- a/src/Promotions/PromotionDeleteResponse.php +++ b/src/Promotions/PromotionDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta; -use Onlyfansapi\Promotions\PromotionDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta; +use OnlyFansAPI\Promotions\PromotionDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Promotions\PromotionDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Promotions\PromotionDeleteResponse\Data * * @phpstan-type PromotionDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Promotions/PromotionDeleteResponse/Data.php b/src/Promotions/PromotionDeleteResponse/Data.php index a6722a70..586d63fe 100644 --- a/src/Promotions/PromotionDeleteResponse/Data.php +++ b/src/Promotions/PromotionDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionDeleteResponse; +namespace OnlyFansAPI\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Promotions/PromotionDeleteResponse/_Meta.php b/src/Promotions/PromotionDeleteResponse/_Meta.php index 8091fba7..fdbe0b6c 100644 --- a/src/Promotions/PromotionDeleteResponse/_Meta.php +++ b/src/Promotions/PromotionDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionDeleteResponse; +namespace OnlyFansAPI\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Promotions/PromotionDeleteResponse/_Meta/_Cache.php b/src/Promotions/PromotionDeleteResponse/_Meta/_Cache.php index 010f5e57..71aac773 100644 --- a/src/Promotions/PromotionDeleteResponse/_Meta/_Cache.php +++ b/src/Promotions/PromotionDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Promotions/PromotionDeleteResponse/_Meta/_Credits.php b/src/Promotions/PromotionDeleteResponse/_Meta/_Credits.php index f9172991..d800336a 100644 --- a/src/Promotions/PromotionDeleteResponse/_Meta/_Credits.php +++ b/src/Promotions/PromotionDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Promotions/PromotionDeleteResponse/_Meta/_RateLimits.php b/src/Promotions/PromotionDeleteResponse/_Meta/_RateLimits.php index b996bde4..71c4c78e 100644 --- a/src/Promotions/PromotionDeleteResponse/_Meta/_RateLimits.php +++ b/src/Promotions/PromotionDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionDeleteResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Promotions/PromotionListParams.php b/src/Promotions/PromotionListParams.php index f6e1bfae..ea39e233 100644 --- a/src/Promotions/PromotionListParams.php +++ b/src/Promotions/PromotionListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all promotions for the account. * - * @see Onlyfansapi\Services\PromotionsService::list() + * @see OnlyFansAPI\Services\PromotionsService::list() * * @phpstan-type PromotionListParamsShape = array{ * limit?: int|null, offset?: int|null diff --git a/src/Promotions/PromotionListResponse.php b/src/Promotions/PromotionListResponse.php index ee2cf69f..72426abd 100644 --- a/src/Promotions/PromotionListResponse.php +++ b/src/Promotions/PromotionListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionListResponse\_Meta; -use Onlyfansapi\Promotions\PromotionListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionListResponse\_Meta; +use OnlyFansAPI\Promotions\PromotionListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Promotions\PromotionListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Promotions\PromotionListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Promotions\PromotionListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Promotions\PromotionListResponse\Data * * @phpstan-type PromotionListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Promotions/PromotionListResponse/Data.php b/src/Promotions/PromotionListResponse/Data.php index f6ed7fd4..041ad2a9 100644 --- a/src/Promotions/PromotionListResponse/Data.php +++ b/src/Promotions/PromotionListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse; +namespace OnlyFansAPI\Promotions\PromotionListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionListResponse\Data\Item; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionListResponse\Data\Item; /** - * @phpstan-import-type ItemShape from \Onlyfansapi\Promotions\PromotionListResponse\Data\Item + * @phpstan-import-type ItemShape from \OnlyFansAPI\Promotions\PromotionListResponse\Data\Item * * @phpstan-type DataShape = array{ * hasMore?: bool|null, items?: list|null diff --git a/src/Promotions/PromotionListResponse/Data/Item.php b/src/Promotions/PromotionListResponse/Data/Item.php index 6b15456e..8370714d 100644 --- a/src/Promotions/PromotionListResponse/Data/Item.php +++ b/src/Promotions/PromotionListResponse/Data/Item.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse\Data; +namespace OnlyFansAPI\Promotions\PromotionListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ItemShape = array{ diff --git a/src/Promotions/PromotionListResponse/_Meta.php b/src/Promotions/PromotionListResponse/_Meta.php index bee5140b..8f9f4734 100644 --- a/src/Promotions/PromotionListResponse/_Meta.php +++ b/src/Promotions/PromotionListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse; +namespace OnlyFansAPI\Promotions\PromotionListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionListResponse\_Meta\_Cache; -use Onlyfansapi\Promotions\PromotionListResponse\_Meta\_Credits; -use Onlyfansapi\Promotions\PromotionListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_Cache; +use OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_Credits; +use OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Promotions\PromotionListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Promotions\PromotionListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Promotions\PromotionListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Promotions\PromotionListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Promotions/PromotionListResponse/_Meta/_Cache.php b/src/Promotions/PromotionListResponse/_Meta/_Cache.php index 0f1e1ac2..b04b5125 100644 --- a/src/Promotions/PromotionListResponse/_Meta/_Cache.php +++ b/src/Promotions/PromotionListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Promotions/PromotionListResponse/_Meta/_Credits.php b/src/Promotions/PromotionListResponse/_Meta/_Credits.php index 493b74ab..d262c501 100644 --- a/src/Promotions/PromotionListResponse/_Meta/_Credits.php +++ b/src/Promotions/PromotionListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Promotions/PromotionListResponse/_Meta/_RateLimits.php b/src/Promotions/PromotionListResponse/_Meta/_RateLimits.php index 09eb4cd3..17623afb 100644 --- a/src/Promotions/PromotionListResponse/_Meta/_RateLimits.php +++ b/src/Promotions/PromotionListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionListResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Promotions/PromotionNewResponse.php b/src/Promotions/PromotionNewResponse.php index c3a9aa48..c7222aaa 100644 --- a/src/Promotions/PromotionNewResponse.php +++ b/src/Promotions/PromotionNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionNewResponse\_Meta; -use Onlyfansapi\Promotions\PromotionNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionNewResponse\_Meta; +use OnlyFansAPI\Promotions\PromotionNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Promotions\PromotionNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Promotions\PromotionNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Promotions\PromotionNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Promotions\PromotionNewResponse\Data * * @phpstan-type PromotionNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Promotions/PromotionNewResponse/Data.php b/src/Promotions/PromotionNewResponse/Data.php index 8225227f..ebb5d2b7 100644 --- a/src/Promotions/PromotionNewResponse/Data.php +++ b/src/Promotions/PromotionNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionNewResponse; +namespace OnlyFansAPI\Promotions\PromotionNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Promotions/PromotionNewResponse/_Meta.php b/src/Promotions/PromotionNewResponse/_Meta.php index 91bd220a..c7ea2b4e 100644 --- a/src/Promotions/PromotionNewResponse/_Meta.php +++ b/src/Promotions/PromotionNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionNewResponse; +namespace OnlyFansAPI\Promotions\PromotionNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_Cache; -use Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_Credits; -use Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_Cache; +use OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_Credits; +use OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Promotions\PromotionNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Promotions\PromotionNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Promotions/PromotionNewResponse/_Meta/_Cache.php b/src/Promotions/PromotionNewResponse/_Meta/_Cache.php index 2501b2f5..6bdfba50 100644 --- a/src/Promotions/PromotionNewResponse/_Meta/_Cache.php +++ b/src/Promotions/PromotionNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionNewResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Promotions/PromotionNewResponse/_Meta/_Credits.php b/src/Promotions/PromotionNewResponse/_Meta/_Credits.php index 3132b4f7..730662d2 100644 --- a/src/Promotions/PromotionNewResponse/_Meta/_Credits.php +++ b/src/Promotions/PromotionNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionNewResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Promotions/PromotionNewResponse/_Meta/_RateLimits.php b/src/Promotions/PromotionNewResponse/_Meta/_RateLimits.php index a7d921be..e190a2f0 100644 --- a/src/Promotions/PromotionNewResponse/_Meta/_RateLimits.php +++ b/src/Promotions/PromotionNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionNewResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Promotions/PromotionStopParams.php b/src/Promotions/PromotionStopParams.php index 3f40de72..b713e998 100644 --- a/src/Promotions/PromotionStopParams.php +++ b/src/Promotions/PromotionStopParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Stop an active promotion for the account. * - * @see Onlyfansapi\Services\PromotionsService::stop() + * @see OnlyFansAPI\Services\PromotionsService::stop() * * @phpstan-type PromotionStopParamsShape = array{account: string} */ diff --git a/src/Promotions/PromotionStopResponse.php b/src/Promotions/PromotionStopResponse.php index 6b367970..f9c9cf49 100644 --- a/src/Promotions/PromotionStopResponse.php +++ b/src/Promotions/PromotionStopResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions; +namespace OnlyFansAPI\Promotions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionStopResponse\_Meta; -use Onlyfansapi\Promotions\PromotionStopResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionStopResponse\_Meta; +use OnlyFansAPI\Promotions\PromotionStopResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Promotions\PromotionStopResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Promotions\PromotionStopResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Promotions\PromotionStopResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Promotions\PromotionStopResponse\Data * * @phpstan-type PromotionStopResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Promotions/PromotionStopResponse/Data.php b/src/Promotions/PromotionStopResponse/Data.php index d03883a1..b772985b 100644 --- a/src/Promotions/PromotionStopResponse/Data.php +++ b/src/Promotions/PromotionStopResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionStopResponse; +namespace OnlyFansAPI\Promotions\PromotionStopResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Promotions/PromotionStopResponse/_Meta.php b/src/Promotions/PromotionStopResponse/_Meta.php index c8a02242..707ab2ca 100644 --- a/src/Promotions/PromotionStopResponse/_Meta.php +++ b/src/Promotions/PromotionStopResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionStopResponse; +namespace OnlyFansAPI\Promotions\PromotionStopResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_Cache; -use Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_Credits; -use Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_Cache; +use OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_Credits; +use OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Promotions\PromotionStopResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Promotions\PromotionStopResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Promotions/PromotionStopResponse/_Meta/_Cache.php b/src/Promotions/PromotionStopResponse/_Meta/_Cache.php index 6e9dd50a..9e4418b4 100644 --- a/src/Promotions/PromotionStopResponse/_Meta/_Cache.php +++ b/src/Promotions/PromotionStopResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionStopResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionStopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Promotions/PromotionStopResponse/_Meta/_Credits.php b/src/Promotions/PromotionStopResponse/_Meta/_Credits.php index 03a94cf1..bf2abae0 100644 --- a/src/Promotions/PromotionStopResponse/_Meta/_Credits.php +++ b/src/Promotions/PromotionStopResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionStopResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionStopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Promotions/PromotionStopResponse/_Meta/_RateLimits.php b/src/Promotions/PromotionStopResponse/_Meta/_RateLimits.php index 187b5b65..4240b85e 100644 --- a/src/Promotions/PromotionStopResponse/_Meta/_RateLimits.php +++ b/src/Promotions/PromotionStopResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Promotions\PromotionStopResponse\_Meta; +namespace OnlyFansAPI\Promotions\PromotionStopResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Queue/QueueCountParams.php b/src/Queue/QueueCountParams.php index a7255065..96f8935f 100644 --- a/src/Queue/QueueCountParams.php +++ b/src/Queue/QueueCountParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Count posts and messages in the queue. * - * @see Onlyfansapi\Services\QueueService::count() + * @see OnlyFansAPI\Services\QueueService::count() * * @phpstan-type QueueCountParamsShape = array{ * publishDateEnd: string, publishDateStart: string, timezone: string diff --git a/src/Queue/QueueCountResponse.php b/src/Queue/QueueCountResponse.php index d7855c95..5396cc31 100644 --- a/src/Queue/QueueCountResponse.php +++ b/src/Queue/QueueCountResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueCountResponse\_Meta; -use Onlyfansapi\Queue\QueueCountResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueCountResponse\_Meta; +use OnlyFansAPI\Queue\QueueCountResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Queue\QueueCountResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Queue\QueueCountResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Queue\QueueCountResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Queue\QueueCountResponse\Data * * @phpstan-type QueueCountResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Queue/QueueCountResponse/Data.php b/src/Queue/QueueCountResponse/Data.php index feaa3b14..2210d927 100644 --- a/src/Queue/QueueCountResponse/Data.php +++ b/src/Queue/QueueCountResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse; +namespace OnlyFansAPI\Queue\QueueCountResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueCountResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueCountResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Queue\QueueCountResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Queue\QueueCountResponse\Data\List_ * * @phpstan-type DataShape = array{ * list?: null|List_|ListShape, syncInProcess?: bool|null diff --git a/src/Queue/QueueCountResponse/Data/List_.php b/src/Queue/QueueCountResponse/Data/List_.php index 68bcd2b6..74809335 100644 --- a/src/Queue/QueueCountResponse/Data/List_.php +++ b/src/Queue/QueueCountResponse/Data/List_.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\Data; +namespace OnlyFansAPI\Queue\QueueCountResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_01; -use Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_02; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_01; +use OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_02; /** - * @phpstan-import-type _2025_01_01Shape from \Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_01 - * @phpstan-import-type _2025_01_02Shape from \Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_02 + * @phpstan-import-type _2025_01_01Shape from \OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_01 + * @phpstan-import-type _2025_01_02Shape from \OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_02 * * @phpstan-type ListShape = array{ - * _2025_01_01?: null|\Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_01|_2025_01_01Shape, - * _2025_01_02?: null|\Onlyfansapi\Queue\QueueCountResponse\Data\List_\_2025_01_02|_2025_01_02Shape, + * _2025_01_01?: null|\OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_01|_2025_01_01Shape, + * _2025_01_02?: null|\OnlyFansAPI\Queue\QueueCountResponse\Data\List_\_2025_01_02|_2025_01_02Shape, * } */ final class List_ implements BaseModel diff --git a/src/Queue/QueueCountResponse/Data/List_/_2025_01_01.php b/src/Queue/QueueCountResponse/Data/List_/_2025_01_01.php index 240bfa55..6baf02e5 100644 --- a/src/Queue/QueueCountResponse/Data/List_/_2025_01_01.php +++ b/src/Queue/QueueCountResponse/Data/List_/_2025_01_01.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\Data\List_; +namespace OnlyFansAPI\Queue\QueueCountResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _2025_01_01Shape = array{post?: int|null} diff --git a/src/Queue/QueueCountResponse/Data/List_/_2025_01_02.php b/src/Queue/QueueCountResponse/Data/List_/_2025_01_02.php index 540d96d6..9fe2c7bb 100644 --- a/src/Queue/QueueCountResponse/Data/List_/_2025_01_02.php +++ b/src/Queue/QueueCountResponse/Data/List_/_2025_01_02.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\Data\List_; +namespace OnlyFansAPI\Queue\QueueCountResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _2025_01_02Shape = array{chat?: int|null, post?: int|null} diff --git a/src/Queue/QueueCountResponse/_Meta.php b/src/Queue/QueueCountResponse/_Meta.php index 7ef7a664..7a569b84 100644 --- a/src/Queue/QueueCountResponse/_Meta.php +++ b/src/Queue/QueueCountResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse; +namespace OnlyFansAPI\Queue\QueueCountResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueCountResponse\_Meta\_Cache; -use Onlyfansapi\Queue\QueueCountResponse\_Meta\_Credits; -use Onlyfansapi\Queue\QueueCountResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueCountResponse\_Meta\_Cache; +use OnlyFansAPI\Queue\QueueCountResponse\_Meta\_Credits; +use OnlyFansAPI\Queue\QueueCountResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Queue\QueueCountResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Queue\QueueCountResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Queue\QueueCountResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Queue\QueueCountResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Queue\QueueCountResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Queue\QueueCountResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Queue/QueueCountResponse/_Meta/_Cache.php b/src/Queue/QueueCountResponse/_Meta/_Cache.php index 2ab4731c..62d19d9b 100644 --- a/src/Queue/QueueCountResponse/_Meta/_Cache.php +++ b/src/Queue/QueueCountResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueCountResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Queue/QueueCountResponse/_Meta/_Credits.php b/src/Queue/QueueCountResponse/_Meta/_Credits.php index 50776190..1f3c1ff9 100644 --- a/src/Queue/QueueCountResponse/_Meta/_Credits.php +++ b/src/Queue/QueueCountResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueCountResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Queue/QueueCountResponse/_Meta/_RateLimits.php b/src/Queue/QueueCountResponse/_Meta/_RateLimits.php index e13e8f6f..48b2511b 100644 --- a/src/Queue/QueueCountResponse/_Meta/_RateLimits.php +++ b/src/Queue/QueueCountResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueCountResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueCountResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Queue/QueueListParams.php b/src/Queue/QueueListParams.php index a974b6d3..6df9dcdb 100644 --- a/src/Queue/QueueListParams.php +++ b/src/Queue/QueueListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List posts and messages in the queue. * - * @see Onlyfansapi\Services\QueueService::list() + * @see OnlyFansAPI\Services\QueueService::list() * * @phpstan-type QueueListParamsShape = array{ * limit: int, publishDateEnd: string, publishDateStart: string, timezone: string diff --git a/src/Queue/QueueListResponse.php b/src/Queue/QueueListResponse.php index a2facf5a..68178d1e 100644 --- a/src/Queue/QueueListResponse.php +++ b/src/Queue/QueueListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueListResponse\_Meta; -use Onlyfansapi\Queue\QueueListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueListResponse\_Meta; +use OnlyFansAPI\Queue\QueueListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Queue\QueueListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Queue\QueueListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Queue\QueueListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Queue\QueueListResponse\Data * * @phpstan-type QueueListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Queue/QueueListResponse/Data.php b/src/Queue/QueueListResponse/Data.php index 806bbdf1..37c1a52f 100644 --- a/src/Queue/QueueListResponse/Data.php +++ b/src/Queue/QueueListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse; +namespace OnlyFansAPI\Queue\QueueListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Queue\QueueListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Queue\QueueListResponse\Data\List_ * * @phpstan-type DataShape = array{ * list?: list|null, syncInProcess?: bool|null diff --git a/src/Queue/QueueListResponse/Data/List_.php b/src/Queue/QueueListResponse/Data/List_.php index 35b3ba03..4fd0af4d 100644 --- a/src/Queue/QueueListResponse/Data/List_.php +++ b/src/Queue/QueueListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse\Data; +namespace OnlyFansAPI\Queue\QueueListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueListResponse\Data\List_\Entity; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueListResponse\Data\List_\Entity; /** - * @phpstan-import-type EntityShape from \Onlyfansapi\Queue\QueueListResponse\Data\List_\Entity + * @phpstan-import-type EntityShape from \OnlyFansAPI\Queue\QueueListResponse\Data\List_\Entity * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Queue/QueueListResponse/Data/List_/Entity.php b/src/Queue/QueueListResponse/Data/List_/Entity.php index fe8303ff..7abd1887 100644 --- a/src/Queue/QueueListResponse/Data/List_/Entity.php +++ b/src/Queue/QueueListResponse/Data/List_/Entity.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse\Data\List_; +namespace OnlyFansAPI\Queue\QueueListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EntityShape = array{ diff --git a/src/Queue/QueueListResponse/_Meta.php b/src/Queue/QueueListResponse/_Meta.php index 7552f265..41bfd288 100644 --- a/src/Queue/QueueListResponse/_Meta.php +++ b/src/Queue/QueueListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse; +namespace OnlyFansAPI\Queue\QueueListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueueListResponse\_Meta\_Cache; -use Onlyfansapi\Queue\QueueListResponse\_Meta\_Credits; -use Onlyfansapi\Queue\QueueListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueueListResponse\_Meta\_Cache; +use OnlyFansAPI\Queue\QueueListResponse\_Meta\_Credits; +use OnlyFansAPI\Queue\QueueListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Queue\QueueListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Queue\QueueListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Queue\QueueListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Queue\QueueListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Queue\QueueListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Queue\QueueListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Queue/QueueListResponse/_Meta/_Cache.php b/src/Queue/QueueListResponse/_Meta/_Cache.php index 2d05357d..06f35950 100644 --- a/src/Queue/QueueListResponse/_Meta/_Cache.php +++ b/src/Queue/QueueListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Queue/QueueListResponse/_Meta/_Credits.php b/src/Queue/QueueListResponse/_Meta/_Credits.php index 7f1f1d83..a016374b 100644 --- a/src/Queue/QueueListResponse/_Meta/_Credits.php +++ b/src/Queue/QueueListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Queue/QueueListResponse/_Meta/_RateLimits.php b/src/Queue/QueueListResponse/_Meta/_RateLimits.php index bda0f449..685167cd 100644 --- a/src/Queue/QueueListResponse/_Meta/_RateLimits.php +++ b/src/Queue/QueueListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueueListResponse\_Meta; +namespace OnlyFansAPI\Queue\QueueListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Queue/QueuePublishParams.php b/src/Queue/QueuePublishParams.php index 5525ff24..b8c04939 100644 --- a/src/Queue/QueuePublishParams.php +++ b/src/Queue/QueuePublishParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Publish a queue item or "saved for later" item (post or mass message). This means that the item will be sent immediately, regardless of its scheduled date. * - * @see Onlyfansapi\Services\QueueService::publish() + * @see OnlyFansAPI\Services\QueueService::publish() * * @phpstan-type QueuePublishParamsShape = array{account: string} */ diff --git a/src/Queue/QueuePublishResponse.php b/src/Queue/QueuePublishResponse.php index 04d7034a..9a186ca6 100644 --- a/src/Queue/QueuePublishResponse.php +++ b/src/Queue/QueuePublishResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue; +namespace OnlyFansAPI\Queue; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueuePublishResponse\_Meta; -use Onlyfansapi\Queue\QueuePublishResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueuePublishResponse\_Meta; +use OnlyFansAPI\Queue\QueuePublishResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Queue\QueuePublishResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Queue\QueuePublishResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Queue\QueuePublishResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Queue\QueuePublishResponse\Data * * @phpstan-type QueuePublishResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Queue/QueuePublishResponse/Data.php b/src/Queue/QueuePublishResponse/Data.php index 027356e2..e6901056 100644 --- a/src/Queue/QueuePublishResponse/Data.php +++ b/src/Queue/QueuePublishResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueuePublishResponse; +namespace OnlyFansAPI\Queue\QueuePublishResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Queue/QueuePublishResponse/_Meta.php b/src/Queue/QueuePublishResponse/_Meta.php index afb761ed..58d7a9fe 100644 --- a/src/Queue/QueuePublishResponse/_Meta.php +++ b/src/Queue/QueuePublishResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueuePublishResponse; +namespace OnlyFansAPI\Queue\QueuePublishResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Queue\QueuePublishResponse\_Meta\_Cache; -use Onlyfansapi\Queue\QueuePublishResponse\_Meta\_Credits; -use Onlyfansapi\Queue\QueuePublishResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_Cache; +use OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_Credits; +use OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Queue\QueuePublishResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Queue\QueuePublishResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Queue\QueuePublishResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Queue\QueuePublishResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Queue/QueuePublishResponse/_Meta/_Cache.php b/src/Queue/QueuePublishResponse/_Meta/_Cache.php index e5a58296..2a251277 100644 --- a/src/Queue/QueuePublishResponse/_Meta/_Cache.php +++ b/src/Queue/QueuePublishResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueuePublishResponse\_Meta; +namespace OnlyFansAPI\Queue\QueuePublishResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Queue/QueuePublishResponse/_Meta/_Credits.php b/src/Queue/QueuePublishResponse/_Meta/_Credits.php index 3768f2ef..5dd12b34 100644 --- a/src/Queue/QueuePublishResponse/_Meta/_Credits.php +++ b/src/Queue/QueuePublishResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueuePublishResponse\_Meta; +namespace OnlyFansAPI\Queue\QueuePublishResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Queue/QueuePublishResponse/_Meta/_RateLimits.php b/src/Queue/QueuePublishResponse/_Meta/_RateLimits.php index 91d1fa08..eb155826 100644 --- a/src/Queue/QueuePublishResponse/_Meta/_RateLimits.php +++ b/src/Queue/QueuePublishResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Queue\QueuePublishResponse\_Meta; +namespace OnlyFansAPI\Queue\QueuePublishResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormCreateInvitationLinkParams.php b/src/ReleaseForms/ReleaseFormCreateInvitationLinkParams.php index 3293e37b..35a5d27c 100644 --- a/src/ReleaseForms/ReleaseFormCreateInvitationLinkParams.php +++ b/src/ReleaseForms/ReleaseFormCreateInvitationLinkParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new invitation link for release forms. * - * @see Onlyfansapi\Services\ReleaseFormsService::createInvitationLink() + * @see OnlyFansAPI\Services\ReleaseFormsService::createInvitationLink() * * @phpstan-type ReleaseFormCreateInvitationLinkParamsShape = array{name: string} */ diff --git a/src/ReleaseForms/ReleaseFormCreateReleaseFormParams.php b/src/ReleaseForms/ReleaseFormCreateReleaseFormParams.php index 1d320cf0..8e646b88 100644 --- a/src/ReleaseForms/ReleaseFormCreateReleaseFormParams.php +++ b/src/ReleaseForms/ReleaseFormCreateReleaseFormParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new release form link. * - * @see Onlyfansapi\Services\ReleaseFormsService::createReleaseForm() + * @see OnlyFansAPI\Services\ReleaseFormsService::createReleaseForm() * * @phpstan-type ReleaseFormCreateReleaseFormParamsShape = array{name: string} */ diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php b/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php index c607be38..40a414c2 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; /** * Get a paginated list of users that can be tagged in release forms. These are verified creators who have signed release forms to appear in your content. Use `offset` and `limit` for pagination. * - * @see Onlyfansapi\Services\ReleaseFormsService::listTaggableUsers() + * @see OnlyFansAPI\Services\ReleaseFormsService::listTaggableUsers() * * @phpstan-type ReleaseFormListTaggableUsersParamsShape = array{ * filter?: null|Filter|value-of, diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Filter.php b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Filter.php index dc534279..849b364d 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Filter.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Filter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams; /** * Filter users by type: `all` or `pending`. diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Sort.php b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Sort.php index faf1c296..5c2df183 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Sort.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams; /** * Sort field: `date` or `name`. diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/SortDirection.php b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/SortDirection.php index 94a9ec28..fa85b86e 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersParams/SortDirection.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersParams/SortDirection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams; /** * Sort direction: `desc` or `asc`. diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse.php index 5705e312..47f3c3da 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Pagination; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Pagination; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data * * @phpstan-type ReleaseFormListTaggableUsersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php index 282186ae..a80d1ba2 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item; /** - * @phpstan-import-type ItemShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item + * @phpstan-import-type ItemShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item * * @phpstan-type DataShape = array{ * hasMore?: bool|null, items?: list|null diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item.php index 248ba23b..e7197fb9 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User + * @phpstan-import-type UserShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User * * @phpstan-type ItemShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User.php index 8e3fcc3f..ece38eca 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User\AvatarThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User/AvatarThumbs.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User/AvatarThumbs.php index 07035a55..8f2ae41a 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User/AvatarThumbs.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data/Item/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta.php index 2d28d442..d45369b2 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Cache; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Credits; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Cache; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Credits; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Cache.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Cache.php index 5e666360..d4132f1d 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Cache.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Credits.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Credits.php index 4e27e3e6..ba17daba 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Credits.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_RateLimits.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_RateLimits.php index 4e004c3b..0fb59d5c 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_RateLimits.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php index ef374d24..d7aebac0 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse.php index a9594eb5..51d6882e 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data * * @phpstan-type ReleaseFormNewInvitationLinkResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data.php index 0dd7f079..f8ef976e 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User + * @phpstan-import-type UserShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User.php index 70a9b395..4727e02f 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User\AvatarThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User/AvatarThumbs.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User/AvatarThumbs.php index d57911c7..f595416d 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User/AvatarThumbs.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/Data/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta.php index 5866d807..2721afaf 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Cache; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Credits; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Cache; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Credits; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Cache.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Cache.php index 3ce8380e..bacac237 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Cache.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Credits.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Credits.php index 500e25ad..0f6386c8 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Credits.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_RateLimits.php b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_RateLimits.php index d9125dd0..aa1bf463 100644 --- a/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_RateLimits.php +++ b/src/ReleaseForms/ReleaseFormNewInvitationLinkResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse.php index 8ce5c718..9c10747f 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms; +namespace OnlyFansAPI\ReleaseForms; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data * * @phpstan-type ReleaseFormNewReleaseFormResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data.php index a0481c00..d18fcffc 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User + * @phpstan-import-type UserShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User.php index 9cd3536b..3523ff53 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\AvatarThumbs; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderSize; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\AvatarThumbs; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderSize; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User\HeaderThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/AvatarThumbs.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/AvatarThumbs.php index 3caf5b4e..1fa1283c 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/AvatarThumbs.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderSize.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderSize.php index b413e25f..51d1f27c 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderSize.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderThumbs.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderThumbs.php index 0205218e..45e9b1f4 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderThumbs.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/Data/User/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta.php index e5fec41e..822f7cc3 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Cache; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Credits; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Cache; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Credits; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Cache.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Cache.php index bff17fef..50635c4c 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Cache.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Credits.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Credits.php index 71d9d42a..29c5bcb0 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Credits.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_RateLimits.php b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_RateLimits.php index 4030277c..c346fdd1 100644 --- a/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_RateLimits.php +++ b/src/ReleaseForms/ReleaseFormNewReleaseFormResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; +namespace OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/RequestOptions.php b/src/RequestOptions.php index 468fcd11..ba7f0813 100644 --- a/src/RequestOptions.php +++ b/src/RequestOptions.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi; +namespace OnlyFansAPI; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required as Property; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required as Property; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\StreamFactoryInterface; diff --git a/src/SavedForLater/Messages/MessageListParams.php b/src/SavedForLater/Messages/MessageListParams.php index 7a91d91d..8ae157ee 100644 --- a/src/SavedForLater/Messages/MessageListParams.php +++ b/src/SavedForLater/Messages/MessageListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages; +namespace OnlyFansAPI\SavedForLater\Messages; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all messages that are marked as "Save For Later". * - * @see Onlyfansapi\Services\SavedForLater\MessagesService::list() + * @see OnlyFansAPI\Services\SavedForLater\MessagesService::list() * * @phpstan-type MessageListParamsShape = array{limit: int, offset: int} */ diff --git a/src/SavedForLater/Messages/MessageListResponse.php b/src/SavedForLater/Messages/MessageListResponse.php index e53c4807..88df06a2 100644 --- a/src/SavedForLater/Messages/MessageListResponse.php +++ b/src/SavedForLater/Messages/MessageListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages; +namespace OnlyFansAPI\SavedForLater\Messages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data * * @phpstan-type MessageListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Messages/MessageListResponse/Data.php b/src/SavedForLater/Messages/MessageListResponse/Data.php index 06e97871..17f05723 100644 --- a/src/SavedForLater/Messages/MessageListResponse/Data.php +++ b/src/SavedForLater/Messages/MessageListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, diff --git a/src/SavedForLater/Messages/MessageListResponse/Data/List_.php b/src/SavedForLater/Messages/MessageListResponse/Data/List_.php index 441122ec..ddbec0da 100644 --- a/src/SavedForLater/Messages/MessageListResponse/Data/List_.php +++ b/src/SavedForLater/Messages/MessageListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data\List_\Entity; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data\List_\Entity; /** - * @phpstan-import-type EntityShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data\List_\Entity + * @phpstan-import-type EntityShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data\List_\Entity * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/SavedForLater/Messages/MessageListResponse/Data/List_/Entity.php b/src/SavedForLater/Messages/MessageListResponse/Data/List_/Entity.php index 94f4d569..1c2b1680 100644 --- a/src/SavedForLater/Messages/MessageListResponse/Data/List_/Entity.php +++ b/src/SavedForLater/Messages/MessageListResponse/Data/List_/Entity.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse\Data\List_; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EntityShape = array{ diff --git a/src/SavedForLater/Messages/MessageListResponse/_Meta.php b/src/SavedForLater/Messages/MessageListResponse/_Meta.php index dddc9921..ec737727 100644 --- a/src/SavedForLater/Messages/MessageListResponse/_Meta.php +++ b/src/SavedForLater/Messages/MessageListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Messages/MessageListResponse/_Meta/_Cache.php b/src/SavedForLater/Messages/MessageListResponse/_Meta/_Cache.php index 0cbc7d15..e28ca69d 100644 --- a/src/SavedForLater/Messages/MessageListResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Messages/MessageListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Messages/MessageListResponse/_Meta/_Credits.php b/src/SavedForLater/Messages/MessageListResponse/_Meta/_Credits.php index 02e1267b..99e1c977 100644 --- a/src/SavedForLater/Messages/MessageListResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Messages/MessageListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Messages/MessageListResponse/_Meta/_RateLimits.php b/src/SavedForLater/Messages/MessageListResponse/_Meta/_RateLimits.php index 1505500c..c75157ca 100644 --- a/src/SavedForLater/Messages/MessageListResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Messages/MessageListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\MessageListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\MessageListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse.php b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse.php index fa3bfcca..c2c44180 100644 --- a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse.php +++ b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings; +namespace OnlyFansAPI\SavedForLater\Messages\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta * * @phpstan-type SettingDisableAutomaticMessagingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta.php b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta.php index 0bfa1c57..ecc20e41 100644 --- a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta.php +++ b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Cache.php b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Cache.php index 2ebdc119..9c0e66af 100644 --- a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Credits.php b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Credits.php index 957aee64..3f3bdc32 100644 --- a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_RateLimits.php b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_RateLimits.php index 7c0acfea..6be2a529 100644 --- a/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Messages/Settings/SettingDisableAutomaticMessagingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams.php index 618ac2c1..d8cf407c 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings; +namespace OnlyFansAPI\SavedForLater\Messages\Settings; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; /** * Enable or update automatic messaging of Saved For Later messages. * - * @see Onlyfansapi\Services\SavedForLater\Messages\SettingsService::enableOrUpdateAutomaticMessaging() + * @see OnlyFansAPI\Services\SavedForLater\Messages\SettingsService::enableOrUpdateAutomaticMessaging() * * @phpstan-type SettingEnableOrUpdateAutomaticMessagingParamsShape = array{ * period: Period|value-of diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams/Period.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams/Period.php index 23243ad5..2fb506b2 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams/Period.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingParams/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; /** * The automatic messaging interval (in hours). diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse.php index f9611fdd..ac0562af 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings; +namespace OnlyFansAPI\SavedForLater\Messages\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\Data * * @phpstan-type SettingEnableOrUpdateAutomaticMessagingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/Data.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/Data.php index b7007057..3c1923f2 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/Data.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{period?: int|null} diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta.php index 79455930..00da28c0 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Cache.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Cache.php index f3b67b61..7c3d206e 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Credits.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Credits.php index 805e91b7..9f9a2745 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_RateLimits.php b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_RateLimits.php index dc7ac376..5e041c41 100644 --- a/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Messages/Settings/SettingEnableOrUpdateAutomaticMessagingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse.php b/src/SavedForLater/Messages/Settings/SettingGetResponse.php index e3d36113..cac0cae0 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings; +namespace OnlyFansAPI\SavedForLater\Messages\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\Data * * @phpstan-type SettingGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse/Data.php b/src/SavedForLater/Messages/Settings/SettingGetResponse/Data.php index 638c8bd9..be59e477 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse/Data.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta.php b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta.php index 9d969f95..c96339f4 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Cache.php b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Cache.php index 7089551a..1e094b3a 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Credits.php b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Credits.php index 6944470f..b9b429da 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_RateLimits.php b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_RateLimits.php index 0d9da008..c7e424a2 100644 --- a/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Messages/Settings/SettingGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Posts/PostListParams.php b/src/SavedForLater/Posts/PostListParams.php index 86d42030..7ab22157 100644 --- a/src/SavedForLater/Posts/PostListParams.php +++ b/src/SavedForLater/Posts/PostListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts; +namespace OnlyFansAPI\SavedForLater\Posts; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all posts that are marked as "Save For Later". * - * @see Onlyfansapi\Services\SavedForLater\PostsService::list() + * @see OnlyFansAPI\Services\SavedForLater\PostsService::list() * * @phpstan-type PostListParamsShape = array{limit: int, offset: int} */ diff --git a/src/SavedForLater/Posts/PostListResponse.php b/src/SavedForLater/Posts/PostListResponse.php index 68211e2a..94b8444b 100644 --- a/src/SavedForLater/Posts/PostListResponse.php +++ b/src/SavedForLater/Posts/PostListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts; +namespace OnlyFansAPI\SavedForLater\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data * * @phpstan-type PostListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Posts/PostListResponse/Data.php b/src/SavedForLater/Posts/PostListResponse/Data.php index e45fd4bd..9159729f 100644 --- a/src/SavedForLater/Posts/PostListResponse/Data.php +++ b/src/SavedForLater/Posts/PostListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, diff --git a/src/SavedForLater/Posts/PostListResponse/Data/List_.php b/src/SavedForLater/Posts/PostListResponse/Data/List_.php index 5a7dd2a1..8727da92 100644 --- a/src/SavedForLater/Posts/PostListResponse/Data/List_.php +++ b/src/SavedForLater/Posts/PostListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse\Data; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\Data\List_\Entity; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data\List_\Entity; /** - * @phpstan-import-type EntityShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\Data\List_\Entity + * @phpstan-import-type EntityShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data\List_\Entity * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/SavedForLater/Posts/PostListResponse/Data/List_/Entity.php b/src/SavedForLater/Posts/PostListResponse/Data/List_/Entity.php index f985ec39..8b1e13c0 100644 --- a/src/SavedForLater/Posts/PostListResponse/Data/List_/Entity.php +++ b/src/SavedForLater/Posts/PostListResponse/Data/List_/Entity.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse\Data\List_; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EntityShape = array{ diff --git a/src/SavedForLater/Posts/PostListResponse/_Meta.php b/src/SavedForLater/Posts/PostListResponse/_Meta.php index 8d7c145a..6b1e5d49 100644 --- a/src/SavedForLater/Posts/PostListResponse/_Meta.php +++ b/src/SavedForLater/Posts/PostListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Posts/PostListResponse/_Meta/_Cache.php b/src/SavedForLater/Posts/PostListResponse/_Meta/_Cache.php index b8e0542a..39bc9906 100644 --- a/src/SavedForLater/Posts/PostListResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Posts/PostListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Posts/PostListResponse/_Meta/_Credits.php b/src/SavedForLater/Posts/PostListResponse/_Meta/_Credits.php index 5cce2188..b214ae2c 100644 --- a/src/SavedForLater/Posts/PostListResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Posts/PostListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Posts/PostListResponse/_Meta/_RateLimits.php b/src/SavedForLater/Posts/PostListResponse/_Meta/_RateLimits.php index bd36cc3e..619eec3c 100644 --- a/src/SavedForLater/Posts/PostListResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Posts/PostListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\PostListResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\PostListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse.php b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse.php index 9909e9ae..831e8d4d 100644 --- a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse.php +++ b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings; +namespace OnlyFansAPI\SavedForLater\Posts\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta * * @phpstan-type SettingDisableAutomaticPostingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta.php b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta.php index c5d69bf4..4d45b813 100644 --- a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta.php +++ b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Cache.php b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Cache.php index a7a662e7..d4ac4689 100644 --- a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Credits.php b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Credits.php index b79a7c8f..ffe6641e 100644 --- a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_RateLimits.php b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_RateLimits.php index 138e8173..97eb4d60 100644 --- a/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Posts/Settings/SettingDisableAutomaticPostingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams.php index bc501417..b7d6c645 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings; +namespace OnlyFansAPI\SavedForLater\Posts\Settings; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; /** * Enable or update automatic posting of Saved For Later posts. * - * @see Onlyfansapi\Services\SavedForLater\Posts\SettingsService::enableOrUpdateAutomaticPosting() + * @see OnlyFansAPI\Services\SavedForLater\Posts\SettingsService::enableOrUpdateAutomaticPosting() * * @phpstan-type SettingEnableOrUpdateAutomaticPostingParamsShape = array{ * period: Period|value-of diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams/Period.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams/Period.php index d7e6eaa7..6a3b9f18 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams/Period.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingParams/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; /** * The automatic posting interval (in hours). diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse.php index eb9e6cac..4844fae8 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings; +namespace OnlyFansAPI\SavedForLater\Posts\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\Data * * @phpstan-type SettingEnableOrUpdateAutomaticPostingResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/Data.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/Data.php index 193b9f51..7dc99923 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/Data.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{period?: int|null} diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta.php index e79890d2..909289b6 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Cache.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Cache.php index 51853f78..fb0ab70e 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Credits.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Credits.php index 3fa7b8ab..5acab012 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_RateLimits.php b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_RateLimits.php index 57eca656..1f1c74cf 100644 --- a/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Posts/Settings/SettingEnableOrUpdateAutomaticPostingResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse.php b/src/SavedForLater/Posts/Settings/SettingGetResponse.php index 963f6eca..b74a828e 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings; +namespace OnlyFansAPI\SavedForLater\Posts\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\Data * * @phpstan-type SettingGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse/Data.php b/src/SavedForLater/Posts/Settings/SettingGetResponse/Data.php index 5d0df4d4..3f9e876f 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse/Data.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta.php b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta.php index 61967295..0a696e8b 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Cache; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Credits; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Cache; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Credits; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Cache.php b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Cache.php index d8ce1f15..bdba8d6c 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Cache.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Credits.php b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Credits.php index 6f40c0d0..54818b9f 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Credits.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_RateLimits.php b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_RateLimits.php index 146013ec..d13b262c 100644 --- a/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_RateLimits.php +++ b/src/SavedForLater/Posts/Settings/SettingGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Search/SearchProfilesParams.php b/src/Search/SearchProfilesParams.php index fbd15b66..c0789eb4 100644 --- a/src/Search/SearchProfilesParams.php +++ b/src/Search/SearchProfilesParams.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Search; +namespace OnlyFansAPI\Search; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Search\SearchProfilesParams\Filter; -use Onlyfansapi\Search\SearchProfilesParams\Sort; -use Onlyfansapi\Search\SearchProfilesParams\SortDirection; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Search\SearchProfilesParams\Filter; +use OnlyFansAPI\Search\SearchProfilesParams\Sort; +use OnlyFansAPI\Search\SearchProfilesParams\SortDirection; /** * Full-text search for profiles with filters for pricing, free trials, location, media count and more. * - * @see Onlyfansapi\Services\SearchService::profiles() + * @see OnlyFansAPI\Services\SearchService::profiles() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Search\SearchProfilesParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Search\SearchProfilesParams\Filter * * @phpstan-type SearchProfilesParamsShape = array{ * cursor?: string|null, diff --git a/src/Search/SearchProfilesParams/Filter.php b/src/Search/SearchProfilesParams/Filter.php index da70b83a..b4710800 100644 --- a/src/Search/SearchProfilesParams/Filter.php +++ b/src/Search/SearchProfilesParams/Filter.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesParams; +namespace OnlyFansAPI\Search\SearchProfilesParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Search\SearchProfilesParams\Filter\Gender; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Search\SearchProfilesParams\Filter\Gender; /** * @phpstan-type FilterShape = array{gender?: null|Gender|value-of} diff --git a/src/Search/SearchProfilesParams/Filter/Gender.php b/src/Search/SearchProfilesParams/Filter/Gender.php index cde61ff1..b8f75841 100644 --- a/src/Search/SearchProfilesParams/Filter/Gender.php +++ b/src/Search/SearchProfilesParams/Filter/Gender.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesParams\Filter; +namespace OnlyFansAPI\Search\SearchProfilesParams\Filter; /** * Filter by gender (available: `female`, `male`, `trans`, `trans_ftm` (Female-to-Male), `trans_mft` (Male-to-Female), `couple`). ⭐️ Only available on the Pro and Enterprise plan. diff --git a/src/Search/SearchProfilesParams/Sort.php b/src/Search/SearchProfilesParams/Sort.php index 824786a8..3e8b0004 100644 --- a/src/Search/SearchProfilesParams/Sort.php +++ b/src/Search/SearchProfilesParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesParams; +namespace OnlyFansAPI\Search\SearchProfilesParams; /** * Field to sort by. ⭐️ Only available on the Pro and Enterprise plan. diff --git a/src/Search/SearchProfilesParams/SortDirection.php b/src/Search/SearchProfilesParams/SortDirection.php index eb4fbd54..40878e1c 100644 --- a/src/Search/SearchProfilesParams/SortDirection.php +++ b/src/Search/SearchProfilesParams/SortDirection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesParams; +namespace OnlyFansAPI\Search\SearchProfilesParams; /** * Direction for sorting. `desc` - highest value first. `asc` - lowest value first. diff --git a/src/Search/SearchProfilesResponse.php b/src/Search/SearchProfilesResponse.php index a5e181e8..440b29ac 100644 --- a/src/Search/SearchProfilesResponse.php +++ b/src/Search/SearchProfilesResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Search; +namespace OnlyFansAPI\Search; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Search\SearchProfilesResponse\_Meta; -use Onlyfansapi\Search\SearchProfilesResponse\_Pagination; -use Onlyfansapi\Search\SearchProfilesResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Search\SearchProfilesResponse\_Meta; +use OnlyFansAPI\Search\SearchProfilesResponse\_Pagination; +use OnlyFansAPI\Search\SearchProfilesResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Search\SearchProfilesResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Search\SearchProfilesResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Search\SearchProfilesResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Search\SearchProfilesResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Search\SearchProfilesResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Search\SearchProfilesResponse\Data * * @phpstan-type SearchProfilesResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Search/SearchProfilesResponse/Data.php b/src/Search/SearchProfilesResponse/Data.php index acd1c68d..39d63325 100644 --- a/src/Search/SearchProfilesResponse/Data.php +++ b/src/Search/SearchProfilesResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse; +namespace OnlyFansAPI\Search\SearchProfilesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Search/SearchProfilesResponse/_Meta.php b/src/Search/SearchProfilesResponse/_Meta.php index f40d15f8..bf2500b7 100644 --- a/src/Search/SearchProfilesResponse/_Meta.php +++ b/src/Search/SearchProfilesResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse; +namespace OnlyFansAPI\Search\SearchProfilesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Search\SearchProfilesResponse\_Meta\_Cache; -use Onlyfansapi\Search\SearchProfilesResponse\_Meta\_Credits; -use Onlyfansapi\Search\SearchProfilesResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_Cache; +use OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_Credits; +use OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Search\SearchProfilesResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Search\SearchProfilesResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Search\SearchProfilesResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Search\SearchProfilesResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Search/SearchProfilesResponse/_Meta/_Cache.php b/src/Search/SearchProfilesResponse/_Meta/_Cache.php index 77402eb1..4860bab9 100644 --- a/src/Search/SearchProfilesResponse/_Meta/_Cache.php +++ b/src/Search/SearchProfilesResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse\_Meta; +namespace OnlyFansAPI\Search\SearchProfilesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Search/SearchProfilesResponse/_Meta/_Credits.php b/src/Search/SearchProfilesResponse/_Meta/_Credits.php index aa875f28..18654d8e 100644 --- a/src/Search/SearchProfilesResponse/_Meta/_Credits.php +++ b/src/Search/SearchProfilesResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse\_Meta; +namespace OnlyFansAPI\Search\SearchProfilesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Search/SearchProfilesResponse/_Meta/_RateLimits.php b/src/Search/SearchProfilesResponse/_Meta/_RateLimits.php index 11e6ca4b..d96926b7 100644 --- a/src/Search/SearchProfilesResponse/_Meta/_RateLimits.php +++ b/src/Search/SearchProfilesResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse\_Meta; +namespace OnlyFansAPI\Search\SearchProfilesResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Search/SearchProfilesResponse/_Pagination.php b/src/Search/SearchProfilesResponse/_Pagination.php index 0a693f8b..01781176 100644 --- a/src/Search/SearchProfilesResponse/_Pagination.php +++ b/src/Search/SearchProfilesResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Search\SearchProfilesResponse; +namespace OnlyFansAPI\Search\SearchProfilesResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{ diff --git a/src/ServiceContracts/AccountsContract.php b/src/ServiceContracts/AccountsContract.php index 8ac7b0cf..ff5a0256 100644 --- a/src/ServiceContracts/AccountsContract.php +++ b/src/ServiceContracts/AccountsContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Accounts\AccountListResponseItem; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Accounts\AccountListResponseItem; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface AccountsContract { diff --git a/src/ServiceContracts/AccountsRawContract.php b/src/ServiceContracts/AccountsRawContract.php index c21ff30b..cba631fe 100644 --- a/src/ServiceContracts/AccountsRawContract.php +++ b/src/ServiceContracts/AccountsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Accounts\AccountListParams; -use Onlyfansapi\Accounts\AccountListResponseItem; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Accounts\AccountListParams; +use OnlyFansAPI\Accounts\AccountListResponseItem; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface AccountsRawContract { diff --git a/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php b/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php index 18363e07..d5d23c84 100644 --- a/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php +++ b/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics\Financial; +namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ProfitabilityContract { diff --git a/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php b/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php index 085f8288..9673f037 100644 --- a/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php +++ b/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics\Financial; +namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ProfitabilityRawContract { diff --git a/src/ServiceContracts/Analytics/Financial/TransactionsContract.php b/src/ServiceContracts/Analytics/Financial/TransactionsContract.php index 8e689dd4..a58cfaab 100644 --- a/src/ServiceContracts/Analytics/Financial/TransactionsContract.php +++ b/src/ServiceContracts/Analytics/Financial/TransactionsContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics\Financial; +namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TransactionsContract { diff --git a/src/ServiceContracts/Analytics/Financial/TransactionsRawContract.php b/src/ServiceContracts/Analytics/Financial/TransactionsRawContract.php index 6e774c1c..ab855ab9 100644 --- a/src/ServiceContracts/Analytics/Financial/TransactionsRawContract.php +++ b/src/ServiceContracts/Analytics/Financial/TransactionsRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics\Financial; +namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeParams; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryParams; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeParams; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryParams; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TransactionsRawContract { diff --git a/src/ServiceContracts/Analytics/FinancialContract.php b/src/ServiceContracts/Analytics/FinancialContract.php index 15cb9f5d..27506f3b 100644 --- a/src/ServiceContracts/Analytics/FinancialContract.php +++ b/src/ServiceContracts/Analytics/FinancialContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics; +namespace OnlyFansAPI\ServiceContracts\Analytics; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Metric; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Model; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Metric; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Model; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FinancialContract { diff --git a/src/ServiceContracts/Analytics/FinancialRawContract.php b/src/ServiceContracts/Analytics/FinancialRawContract.php index 7dde7e5f..ad727a2a 100644 --- a/src/ServiceContracts/Analytics/FinancialRawContract.php +++ b/src/ServiceContracts/Analytics/FinancialRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics; +namespace OnlyFansAPI\ServiceContracts\Analytics; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FinancialRawContract { diff --git a/src/ServiceContracts/Analytics/SummaryContract.php b/src/ServiceContracts/Analytics/SummaryContract.php index e1b4e0bf..0010fc8c 100644 --- a/src/ServiceContracts/Analytics/SummaryContract.php +++ b/src/ServiceContracts/Analytics/SummaryContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics; +namespace OnlyFansAPI\ServiceContracts\Analytics; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewResponse; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewResponse; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type PeriodAShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA - * @phpstan-import-type PeriodBShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type PeriodAShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA + * @phpstan-import-type PeriodBShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SummaryContract { diff --git a/src/ServiceContracts/Analytics/SummaryRawContract.php b/src/ServiceContracts/Analytics/SummaryRawContract.php index 7358c5cf..1c40592a 100644 --- a/src/ServiceContracts/Analytics/SummaryRawContract.php +++ b/src/ServiceContracts/Analytics/SummaryRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Analytics; +namespace OnlyFansAPI\ServiceContracts\Analytics; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewParams; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewResponse; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewResponse; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SummaryRawContract { diff --git a/src/ServiceContracts/AnalyticsContract.php b/src/ServiceContracts/AnalyticsContract.php index 4c8617d1..6860c145 100644 --- a/src/ServiceContracts/AnalyticsContract.php +++ b/src/ServiceContracts/AnalyticsContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface AnalyticsContract {} diff --git a/src/ServiceContracts/AnalyticsRawContract.php b/src/ServiceContracts/AnalyticsRawContract.php index cf08bba4..a6c35053 100644 --- a/src/ServiceContracts/AnalyticsRawContract.php +++ b/src/ServiceContracts/AnalyticsRawContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface AnalyticsRawContract {} diff --git a/src/ServiceContracts/AuthenticateContract.php b/src/ServiceContracts/AuthenticateContract.php index 62a6e364..6daf209a 100644 --- a/src/ServiceContracts/AuthenticateContract.php +++ b/src/ServiceContracts/AuthenticateContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticateReauthenticateResponse; -use Onlyfansapi\Authenticate\AuthenticateSend2faEmailResponse; -use Onlyfansapi\Authenticate\AuthenticateStartParams\AuthType; -use Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy; -use Onlyfansapi\Authenticate\AuthenticateStartParams\ProxyCountry; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; +use OnlyFansAPI\Authenticate\AuthenticateReauthenticateResponse; +use OnlyFansAPI\Authenticate\AuthenticateSend2faEmailResponse; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\AuthType; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\ProxyCountry; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type CustomProxyShape from \Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface AuthenticateContract { diff --git a/src/ServiceContracts/AuthenticateRawContract.php b/src/ServiceContracts/AuthenticateRawContract.php index aff23784..83d3d632 100644 --- a/src/ServiceContracts/AuthenticateRawContract.php +++ b/src/ServiceContracts/AuthenticateRawContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticateReauthenticateResponse; -use Onlyfansapi\Authenticate\AuthenticateSend2faEmailResponse; -use Onlyfansapi\Authenticate\AuthenticateStartParams; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faParams; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; +use OnlyFansAPI\Authenticate\AuthenticateReauthenticateResponse; +use OnlyFansAPI\Authenticate\AuthenticateSend2faEmailResponse; +use OnlyFansAPI\Authenticate\AuthenticateStartParams; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faParams; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface AuthenticateRawContract { diff --git a/src/ServiceContracts/Banking/DetailsContract.php b/src/ServiceContracts/Banking/DetailsContract.php index 8b6ecd9e..f8ea8e55 100644 --- a/src/ServiceContracts/Banking/DetailsContract.php +++ b/src/ServiceContracts/Banking/DetailsContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Banking; +namespace OnlyFansAPI\ServiceContracts\Banking; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DetailsContract { diff --git a/src/ServiceContracts/Banking/DetailsRawContract.php b/src/ServiceContracts/Banking/DetailsRawContract.php index 04a39792..361a5589 100644 --- a/src/ServiceContracts/Banking/DetailsRawContract.php +++ b/src/ServiceContracts/Banking/DetailsRawContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Banking; +namespace OnlyFansAPI\ServiceContracts\Banking; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DetailsRawContract { diff --git a/src/ServiceContracts/BankingContract.php b/src/ServiceContracts/BankingContract.php index 8e8ffb92..ab2da7dc 100644 --- a/src/ServiceContracts/BankingContract.php +++ b/src/ServiceContracts/BankingContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; +use OnlyFansAPI\Banking\BankingListCountriesResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BankingContract { diff --git a/src/ServiceContracts/BankingRawContract.php b/src/ServiceContracts/BankingRawContract.php index 52369bb2..5dd10198 100644 --- a/src/ServiceContracts/BankingRawContract.php +++ b/src/ServiceContracts/BankingRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; +use OnlyFansAPI\Banking\BankingListCountriesResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BankingRawContract { diff --git a/src/ServiceContracts/BundlesContract.php b/src/ServiceContracts/BundlesContract.php index 6fabad9f..bb06706e 100644 --- a/src/ServiceContracts/BundlesContract.php +++ b/src/ServiceContracts/BundlesContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Bundles\BundleCreateParams\Discount; -use Onlyfansapi\Bundles\BundleCreateParams\Duration; -use Onlyfansapi\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleNewResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Bundles\BundleCreateParams\Discount; +use OnlyFansAPI\Bundles\BundleCreateParams\Duration; +use OnlyFansAPI\Bundles\BundleDeleteResponse; +use OnlyFansAPI\Bundles\BundleListResponse; +use OnlyFansAPI\Bundles\BundleNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BundlesContract { diff --git a/src/ServiceContracts/BundlesRawContract.php b/src/ServiceContracts/BundlesRawContract.php index b6cd8c0c..cf0e54ff 100644 --- a/src/ServiceContracts/BundlesRawContract.php +++ b/src/ServiceContracts/BundlesRawContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Bundles\BundleCreateParams; -use Onlyfansapi\Bundles\BundleDeleteParams; -use Onlyfansapi\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleNewResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Bundles\BundleCreateParams; +use OnlyFansAPI\Bundles\BundleDeleteParams; +use OnlyFansAPI\Bundles\BundleDeleteResponse; +use OnlyFansAPI\Bundles\BundleListResponse; +use OnlyFansAPI\Bundles\BundleNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BundlesRawContract { diff --git a/src/ServiceContracts/ChargebacksContract.php b/src/ServiceContracts/ChargebacksContract.php index e4bdc384..2b134a3f 100644 --- a/src/ServiceContracts/ChargebacksContract.php +++ b/src/ServiceContracts/ChargebacksContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; +use OnlyFansAPI\Chargebacks\ChargebackListResponse; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ChargebacksContract { diff --git a/src/ServiceContracts/ChargebacksRawContract.php b/src/ServiceContracts/ChargebacksRawContract.php index 1ce3eb5e..0d782bf8 100644 --- a/src/ServiceContracts/ChargebacksRawContract.php +++ b/src/ServiceContracts/ChargebacksRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioParams; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackListParams; -use Onlyfansapi\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsParams; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioParams; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; +use OnlyFansAPI\Chargebacks\ChargebackListParams; +use OnlyFansAPI\Chargebacks\ChargebackListResponse; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsParams; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ChargebacksRawContract { diff --git a/src/ServiceContracts/Chats/MarkAllAsReadContract.php b/src/ServiceContracts/Chats/MarkAllAsReadContract.php index 8ee9848b..e16c2399 100644 --- a/src/ServiceContracts/Chats/MarkAllAsReadContract.php +++ b/src/ServiceContracts/Chats/MarkAllAsReadContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Chats; +namespace OnlyFansAPI\ServiceContracts\Chats; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MarkAllAsReadContract { diff --git a/src/ServiceContracts/Chats/MarkAllAsReadRawContract.php b/src/ServiceContracts/Chats/MarkAllAsReadRawContract.php index 4549dd7f..7a27955a 100644 --- a/src/ServiceContracts/Chats/MarkAllAsReadRawContract.php +++ b/src/ServiceContracts/Chats/MarkAllAsReadRawContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Chats; +namespace OnlyFansAPI\ServiceContracts\Chats; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MarkAllAsReadRawContract { diff --git a/src/ServiceContracts/Chats/MessagesContract.php b/src/ServiceContracts/Chats/MessagesContract.php index e25764fc..1ac5f931 100644 --- a/src/ServiceContracts/Chats/MessagesContract.php +++ b/src/ServiceContracts/Chats/MessagesContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Chats; +namespace OnlyFansAPI\ServiceContracts\Chats; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageListParams\Filter; -use Onlyfansapi\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse; +use OnlyFansAPI\Chats\Messages\MessageGetResponse; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse; +use OnlyFansAPI\Chats\Messages\MessageListParams\Filter; +use OnlyFansAPI\Chats\Messages\MessageListResponse; +use OnlyFansAPI\Chats\Messages\MessagePinResponse; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendResponse; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesContract { diff --git a/src/ServiceContracts/Chats/MessagesRawContract.php b/src/ServiceContracts/Chats/MessagesRawContract.php index 7c98da66..e361dde0 100644 --- a/src/ServiceContracts/Chats/MessagesRawContract.php +++ b/src/ServiceContracts/Chats/MessagesRawContract.php @@ -2,32 +2,32 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Chats; +namespace OnlyFansAPI\ServiceContracts\Chats; -use Onlyfansapi\Chats\Messages\MessageDeleteParams; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageLikeParams; -use Onlyfansapi\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageListParams; -use Onlyfansapi\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessagePinParams; -use Onlyfansapi\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessageRetrieveParams; -use Onlyfansapi\Chats\Messages\MessageSearchParams; -use Onlyfansapi\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSendParams; -use Onlyfansapi\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeParams; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinParams; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\Messages\MessageDeleteParams; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse; +use OnlyFansAPI\Chats\Messages\MessageGetResponse; +use OnlyFansAPI\Chats\Messages\MessageLikeParams; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse; +use OnlyFansAPI\Chats\Messages\MessageListParams; +use OnlyFansAPI\Chats\Messages\MessageListResponse; +use OnlyFansAPI\Chats\Messages\MessagePinParams; +use OnlyFansAPI\Chats\Messages\MessagePinResponse; +use OnlyFansAPI\Chats\Messages\MessageRetrieveParams; +use OnlyFansAPI\Chats\Messages\MessageSearchParams; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendParams; +use OnlyFansAPI\Chats\Messages\MessageSendResponse; +use OnlyFansAPI\Chats\Messages\MessageUnlikeParams; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; +use OnlyFansAPI\Chats\Messages\MessageUnpinParams; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesRawContract { diff --git a/src/ServiceContracts/ChatsContract.php b/src/ServiceContracts/ChatsContract.php index cd901b50..6193edd9 100644 --- a/src/ServiceContracts/ChatsContract.php +++ b/src/ServiceContracts/ChatsContract.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatListMediaParams\Type; -use Onlyfansapi\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListParams\Filter; -use Onlyfansapi\Chats\ChatListParams\Order; -use Onlyfansapi\Chats\ChatListParams\SkipUsers; -use Onlyfansapi\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatUnmuteResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\ChatDeleteResponse; +use OnlyFansAPI\Chats\ChatHideResponse; +use OnlyFansAPI\Chats\ChatListMediaParams\Type; +use OnlyFansAPI\Chats\ChatListMediaResponse; +use OnlyFansAPI\Chats\ChatListParams\Filter; +use OnlyFansAPI\Chats\ChatListParams\Order; +use OnlyFansAPI\Chats\ChatListParams\SkipUsers; +use OnlyFansAPI\Chats\ChatListResponse; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; +use OnlyFansAPI\Chats\ChatMuteResponse; +use OnlyFansAPI\Chats\ChatStartTypingResponse; +use OnlyFansAPI\Chats\ChatUnmuteResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ChatsContract { diff --git a/src/ServiceContracts/ChatsRawContract.php b/src/ServiceContracts/ChatsRawContract.php index ed7e724b..467216ea 100644 --- a/src/ServiceContracts/ChatsRawContract.php +++ b/src/ServiceContracts/ChatsRawContract.php @@ -2,32 +2,32 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Chats\ChatDeleteParams; -use Onlyfansapi\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatHideParams; -use Onlyfansapi\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatListMediaParams; -use Onlyfansapi\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListParams; -use Onlyfansapi\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatMarkAsReadParams; -use Onlyfansapi\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadParams; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMuteParams; -use Onlyfansapi\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatStartTypingParams; -use Onlyfansapi\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatUnmuteParams; -use Onlyfansapi\Chats\ChatUnmuteResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Chats\ChatDeleteParams; +use OnlyFansAPI\Chats\ChatDeleteResponse; +use OnlyFansAPI\Chats\ChatHideParams; +use OnlyFansAPI\Chats\ChatHideResponse; +use OnlyFansAPI\Chats\ChatListMediaParams; +use OnlyFansAPI\Chats\ChatListMediaResponse; +use OnlyFansAPI\Chats\ChatListParams; +use OnlyFansAPI\Chats\ChatListResponse; +use OnlyFansAPI\Chats\ChatMarkAsReadParams; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse; +use OnlyFansAPI\Chats\ChatMarkAsUnreadParams; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; +use OnlyFansAPI\Chats\ChatMuteParams; +use OnlyFansAPI\Chats\ChatMuteResponse; +use OnlyFansAPI\Chats\ChatStartTypingParams; +use OnlyFansAPI\Chats\ChatStartTypingResponse; +use OnlyFansAPI\Chats\ChatUnmuteParams; +use OnlyFansAPI\Chats\ChatUnmuteResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ChatsRawContract { diff --git a/src/ServiceContracts/ClientSessionsContract.php b/src/ServiceContracts/ClientSessionsContract.php index a221aa17..1a31b06c 100644 --- a/src/ServiceContracts/ClientSessionsContract.php +++ b/src/ServiceContracts/ClientSessionsContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams\ProxyCountry; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams\ProxyCountry; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ClientSessionsContract { diff --git a/src/ServiceContracts/ClientSessionsRawContract.php b/src/ServiceContracts/ClientSessionsRawContract.php index e16d1411..fd0c1e40 100644 --- a/src/ServiceContracts/ClientSessionsRawContract.php +++ b/src/ServiceContracts/ClientSessionsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ClientSessionsRawContract { diff --git a/src/ServiceContracts/DataExportsContract.php b/src/ServiceContracts/DataExportsContract.php index fca5c3b6..69f86c30 100644 --- a/src/ServiceContracts/DataExportsContract.php +++ b/src/ServiceContracts/DataExportsContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\DataExports\DataExportCancelResponse; -use Onlyfansapi\DataExports\DataExportCreateParams\FileType; -use Onlyfansapi\DataExports\DataExportCreateParams\Type; -use Onlyfansapi\DataExports\DataExportGetResponse; -use Onlyfansapi\DataExports\DataExportListParams\Status; -use Onlyfansapi\DataExports\DataExportListResponse; -use Onlyfansapi\DataExports\DataExportNewResponse; -use Onlyfansapi\DataExports\DataExportRetryResponse; -use Onlyfansapi\DataExports\DataExportStartResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\DataExports\DataExportCancelResponse; +use OnlyFansAPI\DataExports\DataExportCreateParams\FileType; +use OnlyFansAPI\DataExports\DataExportCreateParams\Type; +use OnlyFansAPI\DataExports\DataExportGetResponse; +use OnlyFansAPI\DataExports\DataExportListParams\Status; +use OnlyFansAPI\DataExports\DataExportListResponse; +use OnlyFansAPI\DataExports\DataExportNewResponse; +use OnlyFansAPI\DataExports\DataExportRetryResponse; +use OnlyFansAPI\DataExports\DataExportStartResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DataExportsContract { @@ -70,7 +70,7 @@ public function retrieve( * @param int $page Page number for pagination. Default `1` * @param int $perPage Number of results per page. Default `15`, max `100` * @param Status|value-of $status Filter by status - * @param \Onlyfansapi\DataExports\DataExportListParams\Type|value-of<\Onlyfansapi\DataExports\DataExportListParams\Type> $type Filter by export type + * @param \OnlyFansAPI\DataExports\DataExportListParams\Type|value-of<\OnlyFansAPI\DataExports\DataExportListParams\Type> $type Filter by export type * @param RequestOpts|null $requestOptions * * @throws APIException @@ -80,7 +80,7 @@ public function list( ?int $page = null, ?int $perPage = null, Status|string|null $status = null, - \Onlyfansapi\DataExports\DataExportListParams\Type|string|null $type = null, + \OnlyFansAPI\DataExports\DataExportListParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): DataExportListResponse; diff --git a/src/ServiceContracts/DataExportsRawContract.php b/src/ServiceContracts/DataExportsRawContract.php index de09e031..58df25f4 100644 --- a/src/ServiceContracts/DataExportsRawContract.php +++ b/src/ServiceContracts/DataExportsRawContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\DataExports\DataExportCancelResponse; -use Onlyfansapi\DataExports\DataExportCreateParams; -use Onlyfansapi\DataExports\DataExportGetResponse; -use Onlyfansapi\DataExports\DataExportListParams; -use Onlyfansapi\DataExports\DataExportListResponse; -use Onlyfansapi\DataExports\DataExportNewResponse; -use Onlyfansapi\DataExports\DataExportRetrieveParams; -use Onlyfansapi\DataExports\DataExportRetryResponse; -use Onlyfansapi\DataExports\DataExportStartResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\DataExports\DataExportCancelResponse; +use OnlyFansAPI\DataExports\DataExportCreateParams; +use OnlyFansAPI\DataExports\DataExportGetResponse; +use OnlyFansAPI\DataExports\DataExportListParams; +use OnlyFansAPI\DataExports\DataExportListResponse; +use OnlyFansAPI\DataExports\DataExportNewResponse; +use OnlyFansAPI\DataExports\DataExportRetrieveParams; +use OnlyFansAPI\DataExports\DataExportRetryResponse; +use OnlyFansAPI\DataExports\DataExportStartResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DataExportsRawContract { diff --git a/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php b/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php index dc458b19..65779a27 100644 --- a/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php +++ b/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement\Messages; +namespace OnlyFansAPI\ServiceContracts\Engagement\Messages; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DirectMessagesContract { diff --git a/src/ServiceContracts/Engagement/Messages/DirectMessagesRawContract.php b/src/ServiceContracts/Engagement/Messages/DirectMessagesRawContract.php index 0ba2aa03..5064bc02 100644 --- a/src/ServiceContracts/Engagement/Messages/DirectMessagesRawContract.php +++ b/src/ServiceContracts/Engagement/Messages/DirectMessagesRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement\Messages; +namespace OnlyFansAPI\ServiceContracts\Engagement\Messages; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartParams; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListParams; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartParams; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListParams; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface DirectMessagesRawContract { diff --git a/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php b/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php index c5de1ff8..8d86ffa1 100644 --- a/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php +++ b/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement\Messages; +namespace OnlyFansAPI\ServiceContracts\Engagement\Messages; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MassMessagesContract { diff --git a/src/ServiceContracts/Engagement/Messages/MassMessagesRawContract.php b/src/ServiceContracts/Engagement/Messages/MassMessagesRawContract.php index 62c55993..578548d7 100644 --- a/src/ServiceContracts/Engagement/Messages/MassMessagesRawContract.php +++ b/src/ServiceContracts/Engagement/Messages/MassMessagesRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement\Messages; +namespace OnlyFansAPI\ServiceContracts\Engagement\Messages; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartParams; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListParams; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartParams; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListParams; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MassMessagesRawContract { diff --git a/src/ServiceContracts/Engagement/MessagesContract.php b/src/ServiceContracts/Engagement/MessagesContract.php index 81c09c53..775f05a8 100644 --- a/src/ServiceContracts/Engagement/MessagesContract.php +++ b/src/ServiceContracts/Engagement/MessagesContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement; +namespace OnlyFansAPI\ServiceContracts\Engagement; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesContract { diff --git a/src/ServiceContracts/Engagement/MessagesRawContract.php b/src/ServiceContracts/Engagement/MessagesRawContract.php index 081f95ff..ac35508f 100644 --- a/src/ServiceContracts/Engagement/MessagesRawContract.php +++ b/src/ServiceContracts/Engagement/MessagesRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Engagement; +namespace OnlyFansAPI\ServiceContracts\Engagement; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersParams; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageParams; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersParams; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageParams; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesRawContract { diff --git a/src/ServiceContracts/EngagementContract.php b/src/ServiceContracts/EngagementContract.php index 6d267cfc..09721e21 100644 --- a/src/ServiceContracts/EngagementContract.php +++ b/src/ServiceContracts/EngagementContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface EngagementContract {} diff --git a/src/ServiceContracts/EngagementRawContract.php b/src/ServiceContracts/EngagementRawContract.php index d824e812..364dec98 100644 --- a/src/ServiceContracts/EngagementRawContract.php +++ b/src/ServiceContracts/EngagementRawContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface EngagementRawContract {} diff --git a/src/ServiceContracts/Fans/NotesContract.php b/src/ServiceContracts/Fans/NotesContract.php index fb6fee42..5a7be02a 100644 --- a/src/ServiceContracts/Fans/NotesContract.php +++ b/src/ServiceContracts/Fans/NotesContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Fans; +namespace OnlyFansAPI\ServiceContracts\Fans; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface NotesContract { diff --git a/src/ServiceContracts/Fans/NotesRawContract.php b/src/ServiceContracts/Fans/NotesRawContract.php index 59f9c059..fab8eec4 100644 --- a/src/ServiceContracts/Fans/NotesRawContract.php +++ b/src/ServiceContracts/Fans/NotesRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Fans; +namespace OnlyFansAPI\ServiceContracts\Fans; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Notes\NoteClearNotesParams; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Fans\Notes\NoteCreateEditNotesParams; -use Onlyfansapi\Fans\Notes\NoteGetNotesParams; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Notes\NoteClearNotesParams; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteCreateEditNotesParams; +use OnlyFansAPI\Fans\Notes\NoteGetNotesParams; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface NotesRawContract { diff --git a/src/ServiceContracts/Fans/SummaryContract.php b/src/ServiceContracts/Fans/SummaryContract.php index ee0fa9d4..2d549bba 100644 --- a/src/ServiceContracts/Fans/SummaryContract.php +++ b/src/ServiceContracts/Fans/SummaryContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Fans; +namespace OnlyFansAPI\ServiceContracts\Fans; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryResponse; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryResponse; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SummaryContract { diff --git a/src/ServiceContracts/Fans/SummaryRawContract.php b/src/ServiceContracts/Fans/SummaryRawContract.php index 9805cbcb..96e3bef2 100644 --- a/src/ServiceContracts/Fans/SummaryRawContract.php +++ b/src/ServiceContracts/Fans/SummaryRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Fans; +namespace OnlyFansAPI\ServiceContracts\Fans; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryParams; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryResponse; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryParams; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryParams; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryResponse; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryParams; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SummaryRawContract { diff --git a/src/ServiceContracts/FansContract.php b/src/ServiceContracts/FansContract.php index 664e37e1..fa2bcbad 100644 --- a/src/ServiceContracts/FansContract.php +++ b/src/ServiceContracts/FansContract.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Fans\FanListActiveParams\Filter; -use Onlyfansapi\Fans\FanListActiveParams\Type; -use Onlyfansapi\Fans\FanListActiveResponse; -use Onlyfansapi\Fans\FanListAllResponse; -use Onlyfansapi\Fans\FanListExpiredResponse; -use Onlyfansapi\Fans\FanListLatestResponse; -use Onlyfansapi\Fans\FanListTopParams\By; -use Onlyfansapi\Fans\FanListTopResponse; -use Onlyfansapi\Fans\FanSetCustomNameResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; +use OnlyFansAPI\Fans\FanListActiveParams\Filter; +use OnlyFansAPI\Fans\FanListActiveParams\Type; +use OnlyFansAPI\Fans\FanListActiveResponse; +use OnlyFansAPI\Fans\FanListAllResponse; +use OnlyFansAPI\Fans\FanListExpiredResponse; +use OnlyFansAPI\Fans\FanListLatestResponse; +use OnlyFansAPI\Fans\FanListTopParams\By; +use OnlyFansAPI\Fans\FanListTopResponse; +use OnlyFansAPI\Fans\FanSetCustomNameResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FansContract { @@ -67,22 +67,22 @@ public function listActive( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Fans\FanListAllParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Fans\FanListAllParams\Filter|FilterShape1 $filter * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $query search within fan name/username - * @param \Onlyfansapi\Fans\FanListAllParams\Type|value-of<\Onlyfansapi\Fans\FanListAllParams\Type> $type filter by fan type + * @param \OnlyFansAPI\Fans\FanListAllParams\Type|value-of<\OnlyFansAPI\Fans\FanListAllParams\Type> $type filter by fan type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function listAll( string $account, - \Onlyfansapi\Fans\FanListAllParams\Filter|array|null $filter = null, + \OnlyFansAPI\Fans\FanListAllParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, - \Onlyfansapi\Fans\FanListAllParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListAllParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListAllResponse; @@ -90,22 +90,22 @@ public function listAll( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Fans\FanListExpiredParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Fans\FanListExpiredParams\Filter|FilterShape2 $filter * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $query search within fan name/username - * @param \Onlyfansapi\Fans\FanListExpiredParams\Type|value-of<\Onlyfansapi\Fans\FanListExpiredParams\Type> $type filter by fan type + * @param \OnlyFansAPI\Fans\FanListExpiredParams\Type|value-of<\OnlyFansAPI\Fans\FanListExpiredParams\Type> $type filter by fan type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function listExpired( string $account, - \Onlyfansapi\Fans\FanListExpiredParams\Filter|array|null $filter = null, + \OnlyFansAPI\Fans\FanListExpiredParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, - \Onlyfansapi\Fans\FanListExpiredParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListExpiredParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListExpiredResponse; @@ -117,7 +117,7 @@ public function listExpired( * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $startDate Start date for filtering (required with end_date). This field is required when end_date is present. - * @param \Onlyfansapi\Fans\FanListLatestParams\Type|value-of<\Onlyfansapi\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new + * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new * @param RequestOpts|null $requestOptions * * @throws APIException @@ -128,7 +128,7 @@ public function listLatest( ?int $limit = null, ?int $offset = null, ?string $startDate = null, - \Onlyfansapi\Fans\FanListLatestParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListLatestParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListLatestResponse; diff --git a/src/ServiceContracts/FansRawContract.php b/src/ServiceContracts/FansRawContract.php index e64c09c4..09cf2d8a 100644 --- a/src/ServiceContracts/FansRawContract.php +++ b/src/ServiceContracts/FansRawContract.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryParams; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Fans\FanListActiveParams; -use Onlyfansapi\Fans\FanListActiveResponse; -use Onlyfansapi\Fans\FanListAllParams; -use Onlyfansapi\Fans\FanListAllResponse; -use Onlyfansapi\Fans\FanListExpiredParams; -use Onlyfansapi\Fans\FanListExpiredResponse; -use Onlyfansapi\Fans\FanListLatestParams; -use Onlyfansapi\Fans\FanListLatestResponse; -use Onlyfansapi\Fans\FanListTopParams; -use Onlyfansapi\Fans\FanListTopResponse; -use Onlyfansapi\Fans\FanSetCustomNameParams; -use Onlyfansapi\Fans\FanSetCustomNameResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryParams; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; +use OnlyFansAPI\Fans\FanListActiveParams; +use OnlyFansAPI\Fans\FanListActiveResponse; +use OnlyFansAPI\Fans\FanListAllParams; +use OnlyFansAPI\Fans\FanListAllResponse; +use OnlyFansAPI\Fans\FanListExpiredParams; +use OnlyFansAPI\Fans\FanListExpiredResponse; +use OnlyFansAPI\Fans\FanListLatestParams; +use OnlyFansAPI\Fans\FanListLatestResponse; +use OnlyFansAPI\Fans\FanListTopParams; +use OnlyFansAPI\Fans\FanListTopResponse; +use OnlyFansAPI\Fans\FanSetCustomNameParams; +use OnlyFansAPI\Fans\FanSetCustomNameResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FansRawContract { diff --git a/src/ServiceContracts/FollowingContract.php b/src/ServiceContracts/FollowingContract.php index 3a341998..b3673ec7 100644 --- a/src/ServiceContracts/FollowingContract.php +++ b/src/ServiceContracts/FollowingContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Following\FollowingListActiveParams\Filter; -use Onlyfansapi\Following\FollowingListActiveResponse; -use Onlyfansapi\Following\FollowingListAllResponse; -use Onlyfansapi\Following\FollowingListExpiredResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveResponse; +use OnlyFansAPI\Following\FollowingListAllResponse; +use OnlyFansAPI\Following\FollowingListExpiredResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FollowingContract { @@ -44,7 +44,7 @@ public function listActive( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Following\FollowingListAllParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Following\FollowingListAllParams\Filter|FilterShape1 $filter * @param int $limit Number of followings to return (1-50). Must be at least 1. Must not be greater than 50. * @param int $offset Pagination offset. Must be at least 0. * @param string|null $query search within following name/username @@ -54,7 +54,7 @@ public function listActive( */ public function listAll( string $account, - \Onlyfansapi\Following\FollowingListAllParams\Filter|array|null $filter = null, + \OnlyFansAPI\Following\FollowingListAllParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, @@ -65,7 +65,7 @@ public function listAll( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Following\FollowingListExpiredParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Filter|FilterShape2 $filter * @param int $limit Number of followings to return (1-50). Must be at least 1. Must not be greater than 50. * @param int $offset Pagination offset. Must be at least 0. * @param string|null $query search within following name/username @@ -75,7 +75,7 @@ public function listAll( */ public function listExpired( string $account, - \Onlyfansapi\Following\FollowingListExpiredParams\Filter|array|null $filter = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, diff --git a/src/ServiceContracts/FollowingRawContract.php b/src/ServiceContracts/FollowingRawContract.php index 512ebe8b..512130b2 100644 --- a/src/ServiceContracts/FollowingRawContract.php +++ b/src/ServiceContracts/FollowingRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Following\FollowingListActiveParams; -use Onlyfansapi\Following\FollowingListActiveResponse; -use Onlyfansapi\Following\FollowingListAllParams; -use Onlyfansapi\Following\FollowingListAllResponse; -use Onlyfansapi\Following\FollowingListExpiredParams; -use Onlyfansapi\Following\FollowingListExpiredResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Following\FollowingListActiveParams; +use OnlyFansAPI\Following\FollowingListActiveResponse; +use OnlyFansAPI\Following\FollowingListAllParams; +use OnlyFansAPI\Following\FollowingListAllResponse; +use OnlyFansAPI\Following\FollowingListExpiredParams; +use OnlyFansAPI\Following\FollowingListExpiredResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface FollowingRawContract { diff --git a/src/ServiceContracts/GiphyContract.php b/src/ServiceContracts/GiphyContract.php index 79396204..b32b3409 100644 --- a/src/ServiceContracts/GiphyContract.php +++ b/src/ServiceContracts/GiphyContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Giphy\GiphySearchResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse; +use OnlyFansAPI\Giphy\GiphySearchResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface GiphyContract { diff --git a/src/ServiceContracts/GiphyRawContract.php b/src/ServiceContracts/GiphyRawContract.php index 7732943e..064c8f14 100644 --- a/src/ServiceContracts/GiphyRawContract.php +++ b/src/ServiceContracts/GiphyRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Giphy\GiphyListTrendingParams; -use Onlyfansapi\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Giphy\GiphySearchParams; -use Onlyfansapi\Giphy\GiphySearchResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Giphy\GiphyListTrendingParams; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse; +use OnlyFansAPI\Giphy\GiphySearchParams; +use OnlyFansAPI\Giphy\GiphySearchResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface GiphyRawContract { diff --git a/src/ServiceContracts/LinkTagsContract.php b/src/ServiceContracts/LinkTagsContract.php index 76bdd7cf..c8f9dca5 100644 --- a/src/ServiceContracts/LinkTagsContract.php +++ b/src/ServiceContracts/LinkTagsContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\LinkTags\LinkTagListParams\Type; -use Onlyfansapi\LinkTags\LinkTagListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\LinkTags\LinkTagListParams\Type; +use OnlyFansAPI\LinkTags\LinkTagListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface LinkTagsContract { diff --git a/src/ServiceContracts/LinkTagsRawContract.php b/src/ServiceContracts/LinkTagsRawContract.php index 76790067..43bf6cb6 100644 --- a/src/ServiceContracts/LinkTagsRawContract.php +++ b/src/ServiceContracts/LinkTagsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\LinkTags\LinkTagListParams; -use Onlyfansapi\LinkTags\LinkTagListResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\LinkTags\LinkTagListParams; +use OnlyFansAPI\LinkTags\LinkTagListResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface LinkTagsRawContract { diff --git a/src/ServiceContracts/MassMessagingContract.php b/src/ServiceContracts/MassMessagingContract.php index bc700882..db0f0f6e 100644 --- a/src/ServiceContracts/MassMessagingContract.php +++ b/src/ServiceContracts/MassMessagingContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MassMessagingContract { diff --git a/src/ServiceContracts/MassMessagingRawContract.php b/src/ServiceContracts/MassMessagingRawContract.php index 14514ac1..d0406a23 100644 --- a/src/ServiceContracts/MassMessagingRawContract.php +++ b/src/ServiceContracts/MassMessagingRawContract.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\MassMessaging\MassMessagingDeleteParams; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\MassMessaging\MassMessagingRetrieveOverviewParams; -use Onlyfansapi\MassMessaging\MassMessagingRetrieveParams; -use Onlyfansapi\MassMessaging\MassMessagingSendParams; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\MassMessaging\MassMessagingUpdateParams; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteParams; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse; +use OnlyFansAPI\MassMessaging\MassMessagingRetrieveOverviewParams; +use OnlyFansAPI\MassMessaging\MassMessagingRetrieveParams; +use OnlyFansAPI\MassMessaging\MassMessagingSendParams; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MassMessagingRawContract { diff --git a/src/ServiceContracts/MeContract.php b/src/ServiceContracts/MeContract.php index d8541d16..35e15e01 100644 --- a/src/ServiceContracts/MeContract.php +++ b/src/ServiceContracts/MeContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Me\MeGetResponse; -use Onlyfansapi\Me\MeGetTopPercentageResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Me\MeGetModelStartDateResponse; +use OnlyFansAPI\Me\MeGetResponse; +use OnlyFansAPI\Me\MeGetTopPercentageResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MeContract { diff --git a/src/ServiceContracts/MeRawContract.php b/src/ServiceContracts/MeRawContract.php index a340c456..33a345c6 100644 --- a/src/ServiceContracts/MeRawContract.php +++ b/src/ServiceContracts/MeRawContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Me\MeGetResponse; -use Onlyfansapi\Me\MeGetTopPercentageResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Me\MeGetModelStartDateResponse; +use OnlyFansAPI\Me\MeGetResponse; +use OnlyFansAPI\Me\MeGetTopPercentageResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MeRawContract { diff --git a/src/ServiceContracts/Media/UploadsContract.php b/src/ServiceContracts/Media/UploadsContract.php index 60269fd9..c494ef49 100644 --- a/src/ServiceContracts/Media/UploadsContract.php +++ b/src/ServiceContracts/Media/UploadsContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media; +namespace OnlyFansAPI\ServiceContracts\Media; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UploadsContract { diff --git a/src/ServiceContracts/Media/UploadsRawContract.php b/src/ServiceContracts/Media/UploadsRawContract.php index 1e2ca188..fc2f1257 100644 --- a/src/ServiceContracts/Media/UploadsRawContract.php +++ b/src/ServiceContracts/Media/UploadsRawContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media; +namespace OnlyFansAPI\ServiceContracts\Media; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Uploads\UploadGetStatusParams; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Uploads\UploadGetStatusParams; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UploadsRawContract { diff --git a/src/ServiceContracts/Media/Vault/Lists/MediaContract.php b/src/ServiceContracts/Media/Vault/Lists/MediaContract.php index 7ca01c7b..e47196c3 100644 --- a/src/ServiceContracts/Media/Vault/Lists/MediaContract.php +++ b/src/ServiceContracts/Media/Vault/Lists/MediaContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media\Vault\Lists; +namespace OnlyFansAPI\ServiceContracts\Media\Vault\Lists; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MediaContract { diff --git a/src/ServiceContracts/Media/Vault/Lists/MediaRawContract.php b/src/ServiceContracts/Media/Vault/Lists/MediaRawContract.php index eb12f53c..22de53f6 100644 --- a/src/ServiceContracts/Media/Vault/Lists/MediaRawContract.php +++ b/src/ServiceContracts/Media/Vault/Lists/MediaRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media\Vault\Lists; +namespace OnlyFansAPI\ServiceContracts\Media\Vault\Lists; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddParams; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveParams; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddParams; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveParams; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MediaRawContract { diff --git a/src/ServiceContracts/Media/Vault/ListsContract.php b/src/ServiceContracts/Media/Vault/ListsContract.php index dd1137ac..64f01366 100644 --- a/src/ServiceContracts/Media/Vault/ListsContract.php +++ b/src/ServiceContracts/Media/Vault/ListsContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media\Vault; +namespace OnlyFansAPI\ServiceContracts\Media\Vault; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ListsContract { diff --git a/src/ServiceContracts/Media/Vault/ListsRawContract.php b/src/ServiceContracts/Media/Vault/ListsRawContract.php index 1271aca7..321c12a1 100644 --- a/src/ServiceContracts/Media/Vault/ListsRawContract.php +++ b/src/ServiceContracts/Media/Vault/ListsRawContract.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media\Vault; +namespace OnlyFansAPI\ServiceContracts\Media\Vault; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\ListCreateParams; -use Onlyfansapi\Media\Vault\Lists\ListDeleteParams; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Media\Vault\Lists\ListListParams; -use Onlyfansapi\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Media\Vault\Lists\ListRetrieveParams; -use Onlyfansapi\Media\Vault\Lists\ListUpdateParams; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\ListCreateParams; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteParams; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListParams; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; +use OnlyFansAPI\Media\Vault\Lists\ListRetrieveParams; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateParams; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ListsRawContract { diff --git a/src/ServiceContracts/Media/VaultContract.php b/src/ServiceContracts/Media/VaultContract.php index b7965dd5..870bf6af 100644 --- a/src/ServiceContracts/Media/VaultContract.php +++ b/src/ServiceContracts/Media/VaultContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media; +namespace OnlyFansAPI\ServiceContracts\Media; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Media\Vault\VaultGetResponse; -use Onlyfansapi\Media\Vault\VaultListParams\Field; -use Onlyfansapi\Media\Vault\VaultListParams\Sort; -use Onlyfansapi\Media\Vault\VaultListParams\Type; -use Onlyfansapi\Media\Vault\VaultListResponse; -use Onlyfansapi\Media\Vault\VaultUploadResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse; +use OnlyFansAPI\Media\Vault\VaultGetResponse; +use OnlyFansAPI\Media\Vault\VaultListParams\Field; +use OnlyFansAPI\Media\Vault\VaultListParams\Sort; +use OnlyFansAPI\Media\Vault\VaultListParams\Type; +use OnlyFansAPI\Media\Vault\VaultListResponse; +use OnlyFansAPI\Media\Vault\VaultUploadResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface VaultContract { diff --git a/src/ServiceContracts/Media/VaultRawContract.php b/src/ServiceContracts/Media/VaultRawContract.php index 05da18ed..084cc5d1 100644 --- a/src/ServiceContracts/Media/VaultRawContract.php +++ b/src/ServiceContracts/Media/VaultRawContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Media; +namespace OnlyFansAPI\ServiceContracts\Media; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\VaultDeleteParams; -use Onlyfansapi\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Media\Vault\VaultGetResponse; -use Onlyfansapi\Media\Vault\VaultListParams; -use Onlyfansapi\Media\Vault\VaultListResponse; -use Onlyfansapi\Media\Vault\VaultRetrieveParams; -use Onlyfansapi\Media\Vault\VaultUploadParams; -use Onlyfansapi\Media\Vault\VaultUploadResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\VaultDeleteParams; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse; +use OnlyFansAPI\Media\Vault\VaultGetResponse; +use OnlyFansAPI\Media\Vault\VaultListParams; +use OnlyFansAPI\Media\Vault\VaultListResponse; +use OnlyFansAPI\Media\Vault\VaultRetrieveParams; +use OnlyFansAPI\Media\Vault\VaultUploadParams; +use OnlyFansAPI\Media\Vault\VaultUploadResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface VaultRawContract { diff --git a/src/ServiceContracts/MediaContract.php b/src/ServiceContracts/MediaContract.php index 021819bf..6a290ca3 100644 --- a/src/ServiceContracts/MediaContract.php +++ b/src/ServiceContracts/MediaContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Media\MediaScrapeParams\FileType; -use Onlyfansapi\Media\MediaScrapeResponse; -use Onlyfansapi\Media\MediaUploadParams\Type; -use Onlyfansapi\Media\MediaUploadResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Media\MediaScrapeParams\FileType; +use OnlyFansAPI\Media\MediaScrapeResponse; +use OnlyFansAPI\Media\MediaUploadParams\Type; +use OnlyFansAPI\Media\MediaUploadResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MediaContract { diff --git a/src/ServiceContracts/MediaRawContract.php b/src/ServiceContracts/MediaRawContract.php index 099a034f..c2708f28 100644 --- a/src/ServiceContracts/MediaRawContract.php +++ b/src/ServiceContracts/MediaRawContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\MediaDownloadParams; -use Onlyfansapi\Media\MediaScrapeParams; -use Onlyfansapi\Media\MediaScrapeResponse; -use Onlyfansapi\Media\MediaUploadParams; -use Onlyfansapi\Media\MediaUploadResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\MediaDownloadParams; +use OnlyFansAPI\Media\MediaScrapeParams; +use OnlyFansAPI\Media\MediaScrapeResponse; +use OnlyFansAPI\Media\MediaUploadParams; +use OnlyFansAPI\Media\MediaUploadResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MediaRawContract { diff --git a/src/ServiceContracts/MessagesContract.php b/src/ServiceContracts/MessagesContract.php index 912d0f6e..f1c7c93d 100644 --- a/src/ServiceContracts/MessagesContract.php +++ b/src/ServiceContracts/MessagesContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Messages\MessageAttachTagsResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Messages\MessageAttachTagsResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesContract { diff --git a/src/ServiceContracts/MessagesRawContract.php b/src/ServiceContracts/MessagesRawContract.php index 5659f75f..b2d05e71 100644 --- a/src/ServiceContracts/MessagesRawContract.php +++ b/src/ServiceContracts/MessagesRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Messages\MessageAttachTagsParams; -use Onlyfansapi\Messages\MessageAttachTagsResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Messages\MessageAttachTagsParams; +use OnlyFansAPI\Messages\MessageAttachTagsResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesRawContract { diff --git a/src/ServiceContracts/Notifications/TabsOrderContract.php b/src/ServiceContracts/Notifications/TabsOrderContract.php index a931e4b3..820df0bc 100644 --- a/src/ServiceContracts/Notifications/TabsOrderContract.php +++ b/src/ServiceContracts/Notifications/TabsOrderContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Notifications; +namespace OnlyFansAPI\ServiceContracts\Notifications; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TabsOrderContract { diff --git a/src/ServiceContracts/Notifications/TabsOrderRawContract.php b/src/ServiceContracts/Notifications/TabsOrderRawContract.php index 71ed91d4..5b58e941 100644 --- a/src/ServiceContracts/Notifications/TabsOrderRawContract.php +++ b/src/ServiceContracts/Notifications/TabsOrderRawContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Notifications; +namespace OnlyFansAPI\ServiceContracts\Notifications; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateParams; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateParams; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TabsOrderRawContract { diff --git a/src/ServiceContracts/NotificationsContract.php b/src/ServiceContracts/NotificationsContract.php index 9eabef3a..0a9013e0 100644 --- a/src/ServiceContracts/NotificationsContract.php +++ b/src/ServiceContracts/NotificationsContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Notifications\NotificationListParams\SkipUsers; -use Onlyfansapi\Notifications\NotificationListParams\Type; -use Onlyfansapi\Notifications\NotificationListResponse; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse; +use OnlyFansAPI\Notifications\NotificationListParams\SkipUsers; +use OnlyFansAPI\Notifications\NotificationListParams\Type; +use OnlyFansAPI\Notifications\NotificationListResponse; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface NotificationsContract { diff --git a/src/ServiceContracts/NotificationsRawContract.php b/src/ServiceContracts/NotificationsRawContract.php index 5e89f5db..387cb3b5 100644 --- a/src/ServiceContracts/NotificationsRawContract.php +++ b/src/ServiceContracts/NotificationsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Notifications\NotificationListParams; -use Onlyfansapi\Notifications\NotificationListResponse; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Notifications\NotificationSearchUsersParams; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse; +use OnlyFansAPI\Notifications\NotificationListParams; +use OnlyFansAPI\Notifications\NotificationListResponse; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; +use OnlyFansAPI\Notifications\NotificationSearchUsersParams; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface NotificationsRawContract { diff --git a/src/ServiceContracts/PayoutsContract.php b/src/ServiceContracts/PayoutsContract.php index 7d2d670f..9b05868b 100644 --- a/src/ServiceContracts/PayoutsContract.php +++ b/src/ServiceContracts/PayoutsContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams\Frequency; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams\Frequency; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PayoutsContract { diff --git a/src/ServiceContracts/PayoutsRawContract.php b/src/ServiceContracts/PayoutsRawContract.php index 9a778c33..2c72e4d2 100644 --- a/src/ServiceContracts/PayoutsRawContract.php +++ b/src/ServiceContracts/PayoutsRawContract.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Payouts\PayoutListRequestsParams; -use Onlyfansapi\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalParams; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Payouts\PayoutRetrieveEarningStatisticsParams; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; +use OnlyFansAPI\Payouts\PayoutListRequestsParams; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalParams; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +use OnlyFansAPI\Payouts\PayoutRetrieveEarningStatisticsParams; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PayoutsRawContract { diff --git a/src/ServiceContracts/Posts/CommentsContract.php b/src/ServiceContracts/Posts/CommentsContract.php index 675ae761..92db0c7e 100644 --- a/src/ServiceContracts/Posts/CommentsContract.php +++ b/src/ServiceContracts/Posts/CommentsContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Posts; +namespace OnlyFansAPI\ServiceContracts\Posts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Posts\Comments\CommentListParams\Sort; -use Onlyfansapi\Posts\Comments\CommentListResponse; -use Onlyfansapi\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse; +use OnlyFansAPI\Posts\Comments\CommentListParams\Sort; +use OnlyFansAPI\Posts\Comments\CommentListResponse; +use OnlyFansAPI\Posts\Comments\CommentNewResponse; +use OnlyFansAPI\Posts\Comments\CommentPinResponse; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface CommentsContract { diff --git a/src/ServiceContracts/Posts/CommentsRawContract.php b/src/ServiceContracts/Posts/CommentsRawContract.php index 0ba206cf..4743470d 100644 --- a/src/ServiceContracts/Posts/CommentsRawContract.php +++ b/src/ServiceContracts/Posts/CommentsRawContract.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Posts; +namespace OnlyFansAPI\ServiceContracts\Posts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\Comments\CommentCreateParams; -use Onlyfansapi\Posts\Comments\CommentDeleteParams; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Posts\Comments\CommentLikeParams; -use Onlyfansapi\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Posts\Comments\CommentListParams; -use Onlyfansapi\Posts\Comments\CommentListResponse; -use Onlyfansapi\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Posts\Comments\CommentPinParams; -use Onlyfansapi\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Posts\Comments\CommentUnlikeParams; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Posts\Comments\CommentUnpinParams; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\Comments\CommentCreateParams; +use OnlyFansAPI\Posts\Comments\CommentDeleteParams; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse; +use OnlyFansAPI\Posts\Comments\CommentLikeParams; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse; +use OnlyFansAPI\Posts\Comments\CommentListParams; +use OnlyFansAPI\Posts\Comments\CommentListResponse; +use OnlyFansAPI\Posts\Comments\CommentNewResponse; +use OnlyFansAPI\Posts\Comments\CommentPinParams; +use OnlyFansAPI\Posts\Comments\CommentPinResponse; +use OnlyFansAPI\Posts\Comments\CommentUnlikeParams; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; +use OnlyFansAPI\Posts\Comments\CommentUnpinParams; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface CommentsRawContract { diff --git a/src/ServiceContracts/Posts/LabelsContract.php b/src/ServiceContracts/Posts/LabelsContract.php index a673b3d7..3b9a4dfd 100644 --- a/src/ServiceContracts/Posts/LabelsContract.php +++ b/src/ServiceContracts/Posts/LabelsContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Posts; +namespace OnlyFansAPI\ServiceContracts\Posts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\Labels\LabelListResponse; -use Onlyfansapi\Posts\Labels\LabelNewResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\Labels\LabelListResponse; +use OnlyFansAPI\Posts\Labels\LabelNewResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface LabelsContract { diff --git a/src/ServiceContracts/Posts/LabelsRawContract.php b/src/ServiceContracts/Posts/LabelsRawContract.php index eeb5515c..6eb08b21 100644 --- a/src/ServiceContracts/Posts/LabelsRawContract.php +++ b/src/ServiceContracts/Posts/LabelsRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Posts; +namespace OnlyFansAPI\ServiceContracts\Posts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\Labels\LabelCreateParams; -use Onlyfansapi\Posts\Labels\LabelListParams; -use Onlyfansapi\Posts\Labels\LabelListResponse; -use Onlyfansapi\Posts\Labels\LabelNewResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\Labels\LabelCreateParams; +use OnlyFansAPI\Posts\Labels\LabelListParams; +use OnlyFansAPI\Posts\Labels\LabelListResponse; +use OnlyFansAPI\Posts\Labels\LabelNewResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface LabelsRawContract { diff --git a/src/ServiceContracts/PostsContract.php b/src/ServiceContracts/PostsContract.php index 3f9d2ebf..6dc8c511 100644 --- a/src/ServiceContracts/PostsContract.php +++ b/src/ServiceContracts/PostsContract.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\PostArchiveResponse; -use Onlyfansapi\Posts\PostCreateParams\VotingType; -use Onlyfansapi\Posts\PostDeleteResponse; -use Onlyfansapi\Posts\PostGetResponse; -use Onlyfansapi\Posts\PostListParams\Order; -use Onlyfansapi\Posts\PostListParams\Sort; -use Onlyfansapi\Posts\PostListResponse; -use Onlyfansapi\Posts\PostNewResponse; -use Onlyfansapi\Posts\PostPinResponse; -use Onlyfansapi\Posts\PostStatsResponse; -use Onlyfansapi\Posts\PostUnarchiveResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams\VotingType; +use OnlyFansAPI\Posts\PostDeleteResponse; +use OnlyFansAPI\Posts\PostGetResponse; +use OnlyFansAPI\Posts\PostListParams\Order; +use OnlyFansAPI\Posts\PostListParams\Sort; +use OnlyFansAPI\Posts\PostListResponse; +use OnlyFansAPI\Posts\PostNewResponse; +use OnlyFansAPI\Posts\PostPinResponse; +use OnlyFansAPI\Posts\PostStatsResponse; +use OnlyFansAPI\Posts\PostUnarchiveResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PostsContract { @@ -97,7 +97,7 @@ public function retrieve( * @param int $votingCorrectIndex Body param: The array key of your quiz' correct answer. Required when `votingType` is "quiz". Keep in mind that arrays start at `0` * @param int $votingDue Body param: The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with `votingType`. * @param list $votingOptions Body param: The options of your poll/quiz. Required with `votingType`. - * @param \Onlyfansapi\Posts\PostUpdateParams\VotingType|value-of<\Onlyfansapi\Posts\PostUpdateParams\VotingType> $votingType body param: Include a poll or quiz within your post + * @param \OnlyFansAPI\Posts\PostUpdateParams\VotingType|value-of<\OnlyFansAPI\Posts\PostUpdateParams\VotingType> $votingType body param: Include a poll or quiz within your post * @param RequestOpts|null $requestOptions * * @throws APIException @@ -118,7 +118,7 @@ public function update( ?int $votingCorrectIndex = null, ?int $votingDue = null, ?array $votingOptions = null, - \Onlyfansapi\Posts\PostUpdateParams\VotingType|string|null $votingType = null, + \OnlyFansAPI\Posts\PostUpdateParams\VotingType|string|null $votingType = null, RequestOptions|array|null $requestOptions = null, ): string; diff --git a/src/ServiceContracts/PostsRawContract.php b/src/ServiceContracts/PostsRawContract.php index 8ff848dd..fa14f088 100644 --- a/src/ServiceContracts/PostsRawContract.php +++ b/src/ServiceContracts/PostsRawContract.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\PostArchiveParams; -use Onlyfansapi\Posts\PostArchiveResponse; -use Onlyfansapi\Posts\PostCreateParams; -use Onlyfansapi\Posts\PostDeleteParams; -use Onlyfansapi\Posts\PostDeleteResponse; -use Onlyfansapi\Posts\PostGetResponse; -use Onlyfansapi\Posts\PostListParams; -use Onlyfansapi\Posts\PostListResponse; -use Onlyfansapi\Posts\PostNewResponse; -use Onlyfansapi\Posts\PostPinParams; -use Onlyfansapi\Posts\PostPinResponse; -use Onlyfansapi\Posts\PostRetrieveParams; -use Onlyfansapi\Posts\PostStatsParams; -use Onlyfansapi\Posts\PostStatsResponse; -use Onlyfansapi\Posts\PostUnarchiveParams; -use Onlyfansapi\Posts\PostUnarchiveResponse; -use Onlyfansapi\Posts\PostUpdateParams; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\PostArchiveParams; +use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams; +use OnlyFansAPI\Posts\PostDeleteParams; +use OnlyFansAPI\Posts\PostDeleteResponse; +use OnlyFansAPI\Posts\PostGetResponse; +use OnlyFansAPI\Posts\PostListParams; +use OnlyFansAPI\Posts\PostListResponse; +use OnlyFansAPI\Posts\PostNewResponse; +use OnlyFansAPI\Posts\PostPinParams; +use OnlyFansAPI\Posts\PostPinResponse; +use OnlyFansAPI\Posts\PostRetrieveParams; +use OnlyFansAPI\Posts\PostStatsParams; +use OnlyFansAPI\Posts\PostStatsResponse; +use OnlyFansAPI\Posts\PostUnarchiveParams; +use OnlyFansAPI\Posts\PostUnarchiveResponse; +use OnlyFansAPI\Posts\PostUpdateParams; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PostsRawContract { diff --git a/src/ServiceContracts/ProfilesContract.php b/src/ServiceContracts/ProfilesContract.php index a024cca1..587030f9 100644 --- a/src/ServiceContracts/ProfilesContract.php +++ b/src/ServiceContracts/ProfilesContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Profiles\ProfileGetResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Profiles\ProfileGetResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ProfilesContract { diff --git a/src/ServiceContracts/ProfilesRawContract.php b/src/ServiceContracts/ProfilesRawContract.php index 8f280f2b..bba2ac9f 100644 --- a/src/ServiceContracts/ProfilesRawContract.php +++ b/src/ServiceContracts/ProfilesRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Profiles\ProfileGetResponse; -use Onlyfansapi\Profiles\ProfileRetrieveParams; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Profiles\ProfileGetResponse; +use OnlyFansAPI\Profiles\ProfileRetrieveParams; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ProfilesRawContract { diff --git a/src/ServiceContracts/PromotionsContract.php b/src/ServiceContracts/PromotionsContract.php index acbfa848..9c7db96e 100644 --- a/src/ServiceContracts/PromotionsContract.php +++ b/src/ServiceContracts/PromotionsContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Promotions\PromotionCreateParams\Type; -use Onlyfansapi\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Promotions\PromotionListResponse; -use Onlyfansapi\Promotions\PromotionNewResponse; -use Onlyfansapi\Promotions\PromotionStopResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Promotions\PromotionCreateParams\Type; +use OnlyFansAPI\Promotions\PromotionDeleteResponse; +use OnlyFansAPI\Promotions\PromotionListResponse; +use OnlyFansAPI\Promotions\PromotionNewResponse; +use OnlyFansAPI\Promotions\PromotionStopResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PromotionsContract { diff --git a/src/ServiceContracts/PromotionsRawContract.php b/src/ServiceContracts/PromotionsRawContract.php index 0fca260e..7bcc5b99 100644 --- a/src/ServiceContracts/PromotionsRawContract.php +++ b/src/ServiceContracts/PromotionsRawContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Promotions\PromotionCreateParams; -use Onlyfansapi\Promotions\PromotionDeleteParams; -use Onlyfansapi\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Promotions\PromotionListParams; -use Onlyfansapi\Promotions\PromotionListResponse; -use Onlyfansapi\Promotions\PromotionNewResponse; -use Onlyfansapi\Promotions\PromotionStopParams; -use Onlyfansapi\Promotions\PromotionStopResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Promotions\PromotionCreateParams; +use OnlyFansAPI\Promotions\PromotionDeleteParams; +use OnlyFansAPI\Promotions\PromotionDeleteResponse; +use OnlyFansAPI\Promotions\PromotionListParams; +use OnlyFansAPI\Promotions\PromotionListResponse; +use OnlyFansAPI\Promotions\PromotionNewResponse; +use OnlyFansAPI\Promotions\PromotionStopParams; +use OnlyFansAPI\Promotions\PromotionStopResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PromotionsRawContract { diff --git a/src/ServiceContracts/QueueContract.php b/src/ServiceContracts/QueueContract.php index 95d7fe02..168be977 100644 --- a/src/ServiceContracts/QueueContract.php +++ b/src/ServiceContracts/QueueContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Queue\QueueCountResponse; -use Onlyfansapi\Queue\QueueListResponse; -use Onlyfansapi\Queue\QueuePublishResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListResponse; +use OnlyFansAPI\Queue\QueuePublishResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface QueueContract { diff --git a/src/ServiceContracts/QueueRawContract.php b/src/ServiceContracts/QueueRawContract.php index 70ba8b50..57511918 100644 --- a/src/ServiceContracts/QueueRawContract.php +++ b/src/ServiceContracts/QueueRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Queue\QueueCountParams; -use Onlyfansapi\Queue\QueueCountResponse; -use Onlyfansapi\Queue\QueueListParams; -use Onlyfansapi\Queue\QueueListResponse; -use Onlyfansapi\Queue\QueuePublishParams; -use Onlyfansapi\Queue\QueuePublishResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Queue\QueueCountParams; +use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListParams; +use OnlyFansAPI\Queue\QueueListResponse; +use OnlyFansAPI\Queue\QueuePublishParams; +use OnlyFansAPI\Queue\QueuePublishResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface QueueRawContract { diff --git a/src/ServiceContracts/ReleaseFormsContract.php b/src/ServiceContracts/ReleaseFormsContract.php index f7b61388..9f32932c 100644 --- a/src/ServiceContracts/ReleaseFormsContract.php +++ b/src/ServiceContracts/ReleaseFormsContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ReleaseFormsContract { diff --git a/src/ServiceContracts/ReleaseFormsRawContract.php b/src/ServiceContracts/ReleaseFormsRawContract.php index 5a393624..83c763fb 100644 --- a/src/ServiceContracts/ReleaseFormsRawContract.php +++ b/src/ServiceContracts/ReleaseFormsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\ReleaseForms\ReleaseFormCreateInvitationLinkParams; -use Onlyfansapi\ReleaseForms\ReleaseFormCreateReleaseFormParams; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\ReleaseForms\ReleaseFormCreateInvitationLinkParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormCreateReleaseFormParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; +use OnlyFansAPI\RequestOptions; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ReleaseFormsRawContract { diff --git a/src/ServiceContracts/SavedForLater/Messages/SettingsContract.php b/src/ServiceContracts/SavedForLater/Messages/SettingsContract.php index c5a4b533..19fe7d8d 100644 --- a/src/ServiceContracts/SavedForLater/Messages/SettingsContract.php +++ b/src/ServiceContracts/SavedForLater/Messages/SettingsContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater\Messages; +namespace OnlyFansAPI\ServiceContracts\SavedForLater\Messages; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsContract { diff --git a/src/ServiceContracts/SavedForLater/Messages/SettingsRawContract.php b/src/ServiceContracts/SavedForLater/Messages/SettingsRawContract.php index 1194a240..0637bee5 100644 --- a/src/ServiceContracts/SavedForLater/Messages/SettingsRawContract.php +++ b/src/ServiceContracts/SavedForLater/Messages/SettingsRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater\Messages; +namespace OnlyFansAPI\ServiceContracts\SavedForLater\Messages; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsRawContract { diff --git a/src/ServiceContracts/SavedForLater/MessagesContract.php b/src/ServiceContracts/SavedForLater/MessagesContract.php index 019ffbdd..b93ab473 100644 --- a/src/ServiceContracts/SavedForLater/MessagesContract.php +++ b/src/ServiceContracts/SavedForLater/MessagesContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater; +namespace OnlyFansAPI\ServiceContracts\SavedForLater; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesContract { diff --git a/src/ServiceContracts/SavedForLater/MessagesRawContract.php b/src/ServiceContracts/SavedForLater/MessagesRawContract.php index 20fcfef1..3fc0caea 100644 --- a/src/ServiceContracts/SavedForLater/MessagesRawContract.php +++ b/src/ServiceContracts/SavedForLater/MessagesRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater; +namespace OnlyFansAPI\ServiceContracts\SavedForLater; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\MessageListParams; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\MessageListParams; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface MessagesRawContract { diff --git a/src/ServiceContracts/SavedForLater/Posts/SettingsContract.php b/src/ServiceContracts/SavedForLater/Posts/SettingsContract.php index 8afb22d6..0012c6e4 100644 --- a/src/ServiceContracts/SavedForLater/Posts/SettingsContract.php +++ b/src/ServiceContracts/SavedForLater/Posts/SettingsContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater\Posts; +namespace OnlyFansAPI\ServiceContracts\SavedForLater\Posts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsContract { diff --git a/src/ServiceContracts/SavedForLater/Posts/SettingsRawContract.php b/src/ServiceContracts/SavedForLater/Posts/SettingsRawContract.php index 0ee0f803..c18cc0c5 100644 --- a/src/ServiceContracts/SavedForLater/Posts/SettingsRawContract.php +++ b/src/ServiceContracts/SavedForLater/Posts/SettingsRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater\Posts; +namespace OnlyFansAPI\ServiceContracts\SavedForLater\Posts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsRawContract { diff --git a/src/ServiceContracts/SavedForLater/PostsContract.php b/src/ServiceContracts/SavedForLater/PostsContract.php index 0f4c730d..4af579ef 100644 --- a/src/ServiceContracts/SavedForLater/PostsContract.php +++ b/src/ServiceContracts/SavedForLater/PostsContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater; +namespace OnlyFansAPI\ServiceContracts\SavedForLater; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\PostListResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PostsContract { diff --git a/src/ServiceContracts/SavedForLater/PostsRawContract.php b/src/ServiceContracts/SavedForLater/PostsRawContract.php index 2cba7ef8..4ae69865 100644 --- a/src/ServiceContracts/SavedForLater/PostsRawContract.php +++ b/src/ServiceContracts/SavedForLater/PostsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SavedForLater; +namespace OnlyFansAPI\ServiceContracts\SavedForLater; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\PostListParams; -use Onlyfansapi\SavedForLater\Posts\PostListResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\PostListParams; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface PostsRawContract { diff --git a/src/ServiceContracts/SavedForLaterContract.php b/src/ServiceContracts/SavedForLaterContract.php index cbad98f2..62cd2ed0 100644 --- a/src/ServiceContracts/SavedForLaterContract.php +++ b/src/ServiceContracts/SavedForLaterContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface SavedForLaterContract {} diff --git a/src/ServiceContracts/SavedForLaterRawContract.php b/src/ServiceContracts/SavedForLaterRawContract.php index 212fc578..110a2e02 100644 --- a/src/ServiceContracts/SavedForLaterRawContract.php +++ b/src/ServiceContracts/SavedForLaterRawContract.php @@ -2,6 +2,6 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; interface SavedForLaterRawContract {} diff --git a/src/ServiceContracts/SearchContract.php b/src/ServiceContracts/SearchContract.php index edf0f4fc..5fad1007 100644 --- a/src/ServiceContracts/SearchContract.php +++ b/src/ServiceContracts/SearchContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Search\SearchProfilesParams\Filter; -use Onlyfansapi\Search\SearchProfilesParams\Sort; -use Onlyfansapi\Search\SearchProfilesParams\SortDirection; -use Onlyfansapi\Search\SearchProfilesResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Search\SearchProfilesParams\Filter; +use OnlyFansAPI\Search\SearchProfilesParams\Sort; +use OnlyFansAPI\Search\SearchProfilesParams\SortDirection; +use OnlyFansAPI\Search\SearchProfilesResponse; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Search\SearchProfilesParams\Filter - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Search\SearchProfilesParams\Filter + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SearchContract { diff --git a/src/ServiceContracts/SearchRawContract.php b/src/ServiceContracts/SearchRawContract.php index 53d8626e..2c1969c6 100644 --- a/src/ServiceContracts/SearchRawContract.php +++ b/src/ServiceContracts/SearchRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Search\SearchProfilesParams; -use Onlyfansapi\Search\SearchProfilesResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Search\SearchProfilesParams; +use OnlyFansAPI\Search\SearchProfilesResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SearchRawContract { diff --git a/src/ServiceContracts/Settings/BlockedCountriesContract.php b/src/ServiceContracts/Settings/BlockedCountriesContract.php index 983959f2..2419eff5 100644 --- a/src/ServiceContracts/Settings/BlockedCountriesContract.php +++ b/src/ServiceContracts/Settings/BlockedCountriesContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BlockedCountriesContract { diff --git a/src/ServiceContracts/Settings/BlockedCountriesRawContract.php b/src/ServiceContracts/Settings/BlockedCountriesRawContract.php index 1cb27d4f..37c2ca04 100644 --- a/src/ServiceContracts/Settings/BlockedCountriesRawContract.php +++ b/src/ServiceContracts/Settings/BlockedCountriesRawContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateParams; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateParams; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BlockedCountriesRawContract { diff --git a/src/ServiceContracts/Settings/SocialMediaButtonsContract.php b/src/ServiceContracts/Settings/SocialMediaButtonsContract.php index 85bc34d5..f7be4f32 100644 --- a/src/ServiceContracts/Settings/SocialMediaButtonsContract.php +++ b/src/ServiceContracts/Settings/SocialMediaButtonsContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SocialMediaButtonsContract { diff --git a/src/ServiceContracts/Settings/SocialMediaButtonsRawContract.php b/src/ServiceContracts/Settings/SocialMediaButtonsRawContract.php index 3a73ba82..46b7c99d 100644 --- a/src/ServiceContracts/Settings/SocialMediaButtonsRawContract.php +++ b/src/ServiceContracts/Settings/SocialMediaButtonsRawContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SocialMediaButtonsRawContract { diff --git a/src/ServiceContracts/Settings/WelcomeMessageContract.php b/src/ServiceContracts/Settings/WelcomeMessageContract.php index 0c8593da..1ed71390 100644 --- a/src/ServiceContracts/Settings/WelcomeMessageContract.php +++ b/src/ServiceContracts/Settings/WelcomeMessageContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WelcomeMessageContract { diff --git a/src/ServiceContracts/Settings/WelcomeMessageRawContract.php b/src/ServiceContracts/Settings/WelcomeMessageRawContract.php index d2291c6d..fdda5407 100644 --- a/src/ServiceContracts/Settings/WelcomeMessageRawContract.php +++ b/src/ServiceContracts/Settings/WelcomeMessageRawContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Settings; +namespace OnlyFansAPI\ServiceContracts\Settings; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleParams; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateParams; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleParams; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateParams; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WelcomeMessageRawContract { diff --git a/src/ServiceContracts/SettingsContract.php b/src/ServiceContracts/SettingsContract.php index 438373e0..beac3c30 100644 --- a/src/ServiceContracts/SettingsContract.php +++ b/src/ServiceContracts/SettingsContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Settings\SettingGetResponse; -use Onlyfansapi\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; +use OnlyFansAPI\Settings\SettingGetResponse; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsContract { diff --git a/src/ServiceContracts/SettingsRawContract.php b/src/ServiceContracts/SettingsRawContract.php index 5101a93e..b614c701 100644 --- a/src/ServiceContracts/SettingsRawContract.php +++ b/src/ServiceContracts/SettingsRawContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityParams; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Settings\SettingGetResponse; -use Onlyfansapi\Settings\SettingUpdateProfileParams; -use Onlyfansapi\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceParams; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityParams; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; +use OnlyFansAPI\Settings\SettingGetResponse; +use OnlyFansAPI\Settings\SettingUpdateProfileParams; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceParams; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SettingsRawContract { diff --git a/src/ServiceContracts/SharedTrackingLinks/TagsContract.php b/src/ServiceContracts/SharedTrackingLinks/TagsContract.php index ae32782a..1151208d 100644 --- a/src/ServiceContracts/SharedTrackingLinks/TagsContract.php +++ b/src/ServiceContracts/SharedTrackingLinks/TagsContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SharedTrackingLinks; +namespace OnlyFansAPI\ServiceContracts\SharedTrackingLinks; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsContract { diff --git a/src/ServiceContracts/SharedTrackingLinks/TagsRawContract.php b/src/ServiceContracts/SharedTrackingLinks/TagsRawContract.php index dd6476f5..66beb80a 100644 --- a/src/ServiceContracts/SharedTrackingLinks/TagsRawContract.php +++ b/src/ServiceContracts/SharedTrackingLinks/TagsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SharedTrackingLinks; +namespace OnlyFansAPI\ServiceContracts\SharedTrackingLinks; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsRawContract { diff --git a/src/ServiceContracts/SharedTrackingLinksContract.php b/src/ServiceContracts/SharedTrackingLinksContract.php index 71a05021..a3b4ef1f 100644 --- a/src/ServiceContracts/SharedTrackingLinksContract.php +++ b/src/ServiceContracts/SharedTrackingLinksContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SharedTrackingLinksContract { diff --git a/src/ServiceContracts/SharedTrackingLinksRawContract.php b/src/ServiceContracts/SharedTrackingLinksRawContract.php index ea2ce080..cfc80e25 100644 --- a/src/ServiceContracts/SharedTrackingLinksRawContract.php +++ b/src/ServiceContracts/SharedTrackingLinksRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListParams; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessParams; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessParams; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SharedTrackingLinksRawContract { diff --git a/src/ServiceContracts/SharedTrialLinks/TagsContract.php b/src/ServiceContracts/SharedTrialLinks/TagsContract.php index cae4ac42..52c1bbbb 100644 --- a/src/ServiceContracts/SharedTrialLinks/TagsContract.php +++ b/src/ServiceContracts/SharedTrialLinks/TagsContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SharedTrialLinks; +namespace OnlyFansAPI\ServiceContracts\SharedTrialLinks; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsContract { diff --git a/src/ServiceContracts/SharedTrialLinks/TagsRawContract.php b/src/ServiceContracts/SharedTrialLinks/TagsRawContract.php index 6a9b4905..3b520568 100644 --- a/src/ServiceContracts/SharedTrialLinks/TagsRawContract.php +++ b/src/ServiceContracts/SharedTrialLinks/TagsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\SharedTrialLinks; +namespace OnlyFansAPI\ServiceContracts\SharedTrialLinks; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagListParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsRawContract { diff --git a/src/ServiceContracts/SharedTrialLinksContract.php b/src/ServiceContracts/SharedTrialLinksContract.php index 25bde534..3188f08a 100644 --- a/src/ServiceContracts/SharedTrialLinksContract.php +++ b/src/ServiceContracts/SharedTrialLinksContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SharedTrialLinksContract { diff --git a/src/ServiceContracts/SharedTrialLinksRawContract.php b/src/ServiceContracts/SharedTrialLinksRawContract.php index 3590c064..af341c40 100644 --- a/src/ServiceContracts/SharedTrialLinksRawContract.php +++ b/src/ServiceContracts/SharedTrialLinksRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListParams; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessParams; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessParams; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SharedTrialLinksRawContract { diff --git a/src/ServiceContracts/SmartLinkPostbacksContract.php b/src/ServiceContracts/SmartLinkPostbacksContract.php index 549d2926..09756f1d 100644 --- a/src/ServiceContracts/SmartLinkPostbacksContract.php +++ b/src/ServiceContracts/SmartLinkPostbacksContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinkPostbacksContract { @@ -54,7 +54,7 @@ public function retrieve( * * @param int $postbackID The postback ID * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback - * @param \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` + * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` * @param string $url the destination URL * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions @@ -64,7 +64,7 @@ public function retrieve( public function update( int $postbackID, array $conversionTypes, - \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, + \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, string $url, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, diff --git a/src/ServiceContracts/SmartLinkPostbacksRawContract.php b/src/ServiceContracts/SmartLinkPostbacksRawContract.php index 28608f81..43ba70c6 100644 --- a/src/ServiceContracts/SmartLinkPostbacksRawContract.php +++ b/src/ServiceContracts/SmartLinkPostbacksRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinkPostbacksRawContract { diff --git a/src/ServiceContracts/SmartLinksContract.php b/src/ServiceContracts/SmartLinksContract.php index 0e7ff7c4..452b692f 100644 --- a/src/ServiceContracts/SmartLinksContract.php +++ b/src/ServiceContracts/SmartLinksContract.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams\LinkType; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams\ConversionType; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams\Sort; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams\LinkType; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams\ConversionType; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinksContract { diff --git a/src/ServiceContracts/SmartLinksRawContract.php b/src/ServiceContracts/SmartLinksRawContract.php index 86dd3588..9a8ebe53 100644 --- a/src/ServiceContracts/SmartLinksRawContract.php +++ b/src/ServiceContracts/SmartLinksRawContract.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListClicksParams; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\SmartLinks\SmartLinkListParams; -use Onlyfansapi\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersParams; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveStatsParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksParams; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListParams; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersParams; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveStatsParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinksRawContract { diff --git a/src/ServiceContracts/Statistics/ReachContract.php b/src/ServiceContracts/Statistics/ReachContract.php index 8dea18ee..ab1ffd21 100644 --- a/src/ServiceContracts/Statistics/ReachContract.php +++ b/src/ServiceContracts/Statistics/ReachContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Statistics; +namespace OnlyFansAPI\ServiceContracts\Statistics; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Type; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Type; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ReachContract { diff --git a/src/ServiceContracts/Statistics/ReachRawContract.php b/src/ServiceContracts/Statistics/ReachRawContract.php index 176e0664..94063cc0 100644 --- a/src/ServiceContracts/Statistics/ReachRawContract.php +++ b/src/ServiceContracts/Statistics/ReachRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Statistics; +namespace OnlyFansAPI\ServiceContracts\Statistics; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface ReachRawContract { diff --git a/src/ServiceContracts/Statistics/StatementsContract.php b/src/ServiceContracts/Statistics/StatementsContract.php index 7df0eab5..e3602fc0 100644 --- a/src/ServiceContracts/Statistics/StatementsContract.php +++ b/src/ServiceContracts/Statistics/StatementsContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Statistics; +namespace OnlyFansAPI\ServiceContracts\Statistics; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams\Type; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams\Type; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StatementsContract { diff --git a/src/ServiceContracts/Statistics/StatementsRawContract.php b/src/ServiceContracts/Statistics/StatementsRawContract.php index 5cf02b85..70eda6e0 100644 --- a/src/ServiceContracts/Statistics/StatementsRawContract.php +++ b/src/ServiceContracts/Statistics/StatementsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Statistics; +namespace OnlyFansAPI\ServiceContracts\Statistics; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StatementsRawContract { diff --git a/src/ServiceContracts/StatisticsContract.php b/src/ServiceContracts/StatisticsContract.php index 7d084c1e..681157a0 100644 --- a/src/ServiceContracts/StatisticsContract.php +++ b/src/ServiceContracts/StatisticsContract.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsResponse; -use Onlyfansapi\Statistics\StatisticGetOverviewParams\Type; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StatisticsContract { diff --git a/src/ServiceContracts/StatisticsRawContract.php b/src/ServiceContracts/StatisticsRawContract.php index c24d81a5..50cbf84c 100644 --- a/src/ServiceContracts/StatisticsRawContract.php +++ b/src/ServiceContracts/StatisticsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsParams; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsResponse; -use Onlyfansapi\Statistics\StatisticGetOverviewParams; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsParams; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsParams; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StatisticsRawContract { diff --git a/src/ServiceContracts/StoredContract.php b/src/ServiceContracts/StoredContract.php index cbd21113..a01213d1 100644 --- a/src/ServiceContracts/StoredContract.php +++ b/src/ServiceContracts/StoredContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListTrialLinksResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter as FilterShape3 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter as FilterShape3 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StoredContract { @@ -44,7 +44,7 @@ public function listSharedTrackingLinks( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter|FilterShape1 $filter * @param int $limit The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -53,7 +53,7 @@ public function listSharedTrackingLinks( */ public function listSharedTrialLinks( string $account, - \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, @@ -63,7 +63,7 @@ public function listSharedTrialLinks( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter|FilterShape2 $filter * @param int $limit The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -72,7 +72,7 @@ public function listSharedTrialLinks( */ public function listTrackingLinks( string $account, - \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, @@ -82,7 +82,7 @@ public function listTrackingLinks( * @api * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter|FilterShape3 $filter + * @param \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter|FilterShape3 $filter * @param int $limit The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -91,7 +91,7 @@ public function listTrackingLinks( */ public function listTrialLinks( string $account, - \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, diff --git a/src/ServiceContracts/StoredRawContract.php b/src/ServiceContracts/StoredRawContract.php index 4251d04e..be650f36 100644 --- a/src/ServiceContracts/StoredRawContract.php +++ b/src/ServiceContracts/StoredRawContract.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListSharedTrialLinksParams; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Stored\StoredListTrackingLinksParams; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListTrialLinksParams; -use Onlyfansapi\Stored\StoredListTrialLinksResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksParams; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; +use OnlyFansAPI\Stored\StoredListTrackingLinksParams; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListTrialLinksParams; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StoredRawContract { diff --git a/src/ServiceContracts/Stories/HighlightsContract.php b/src/ServiceContracts/Stories/HighlightsContract.php index b4716a56..d2ff3f3a 100644 --- a/src/ServiceContracts/Stories/HighlightsContract.php +++ b/src/ServiceContracts/Stories/HighlightsContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Stories; +namespace OnlyFansAPI\ServiceContracts\Stories; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface HighlightsContract { diff --git a/src/ServiceContracts/Stories/HighlightsRawContract.php b/src/ServiceContracts/Stories/HighlightsRawContract.php index 1b3fb93f..4194d3ed 100644 --- a/src/ServiceContracts/Stories/HighlightsRawContract.php +++ b/src/ServiceContracts/Stories/HighlightsRawContract.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Stories; +namespace OnlyFansAPI\ServiceContracts\Stories; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryParams; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightCreateParams; -use Onlyfansapi\Stories\Highlights\HighlightDeleteParams; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Stories\Highlights\HighlightListParams; -use Onlyfansapi\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryParams; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightRetrieveParams; -use Onlyfansapi\Stories\Highlights\HighlightUpdateParams; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryParams; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightCreateParams; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteParams; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse; +use OnlyFansAPI\Stories\Highlights\HighlightListParams; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryParams; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRetrieveParams; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateParams; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface HighlightsRawContract { diff --git a/src/ServiceContracts/StoriesContract.php b/src/ServiceContracts/StoriesContract.php index def35ce9..dd2ecc75 100644 --- a/src/ServiceContracts/StoriesContract.php +++ b/src/ServiceContracts/StoriesContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stories\StoryDeleteResponse; -use Onlyfansapi\Stories\StoryGetResponse; -use Onlyfansapi\Stories\StoryGetStatsResponse; -use Onlyfansapi\Stories\StoryListActiveResponse; -use Onlyfansapi\Stories\StoryListArchiveResponse; -use Onlyfansapi\Stories\StoryListViewersResponse; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Stories\StoryNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stories\StoryDeleteResponse; +use OnlyFansAPI\Stories\StoryGetResponse; +use OnlyFansAPI\Stories\StoryGetStatsResponse; +use OnlyFansAPI\Stories\StoryListActiveResponse; +use OnlyFansAPI\Stories\StoryListArchiveResponse; +use OnlyFansAPI\Stories\StoryListViewersResponse; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; +use OnlyFansAPI\Stories\StoryNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StoriesContract { diff --git a/src/ServiceContracts/StoriesRawContract.php b/src/ServiceContracts/StoriesRawContract.php index 40149f15..f690085d 100644 --- a/src/ServiceContracts/StoriesRawContract.php +++ b/src/ServiceContracts/StoriesRawContract.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Stories\StoryCreateParams; -use Onlyfansapi\Stories\StoryDeleteParams; -use Onlyfansapi\Stories\StoryDeleteResponse; -use Onlyfansapi\Stories\StoryGetResponse; -use Onlyfansapi\Stories\StoryGetStatsResponse; -use Onlyfansapi\Stories\StoryListActiveResponse; -use Onlyfansapi\Stories\StoryListArchiveParams; -use Onlyfansapi\Stories\StoryListArchiveResponse; -use Onlyfansapi\Stories\StoryListViewersParams; -use Onlyfansapi\Stories\StoryListViewersResponse; -use Onlyfansapi\Stories\StoryMarkAsWatchedParams; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Stories\StoryNewResponse; -use Onlyfansapi\Stories\StoryRetrieveParams; -use Onlyfansapi\Stories\StoryRetrieveStatsParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stories\StoryCreateParams; +use OnlyFansAPI\Stories\StoryDeleteParams; +use OnlyFansAPI\Stories\StoryDeleteResponse; +use OnlyFansAPI\Stories\StoryGetResponse; +use OnlyFansAPI\Stories\StoryGetStatsResponse; +use OnlyFansAPI\Stories\StoryListActiveResponse; +use OnlyFansAPI\Stories\StoryListArchiveParams; +use OnlyFansAPI\Stories\StoryListArchiveResponse; +use OnlyFansAPI\Stories\StoryListViewersParams; +use OnlyFansAPI\Stories\StoryListViewersResponse; +use OnlyFansAPI\Stories\StoryMarkAsWatchedParams; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; +use OnlyFansAPI\Stories\StoryNewResponse; +use OnlyFansAPI\Stories\StoryRetrieveParams; +use OnlyFansAPI\Stories\StoryRetrieveStatsParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StoriesRawContract { diff --git a/src/ServiceContracts/SubscribersContract.php b/src/ServiceContracts/SubscribersContract.php index 7146c4de..0c54125a 100644 --- a/src/ServiceContracts/SubscribersContract.php +++ b/src/ServiceContracts/SubscribersContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams\Type; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams\Type; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SubscribersContract { diff --git a/src/ServiceContracts/SubscribersRawContract.php b/src/ServiceContracts/SubscribersRawContract.php index 37376dfa..ec960bd0 100644 --- a/src/ServiceContracts/SubscribersRawContract.php +++ b/src/ServiceContracts/SubscribersRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SubscribersRawContract { diff --git a/src/ServiceContracts/TrackingLinks/TagsContract.php b/src/ServiceContracts/TrackingLinks/TagsContract.php index f2abdb82..ba6857ff 100644 --- a/src/ServiceContracts/TrackingLinks/TagsContract.php +++ b/src/ServiceContracts/TrackingLinks/TagsContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\TrackingLinks; +namespace OnlyFansAPI\ServiceContracts\TrackingLinks; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsContract { diff --git a/src/ServiceContracts/TrackingLinks/TagsRawContract.php b/src/ServiceContracts/TrackingLinks/TagsRawContract.php index 254f0771..6e855489 100644 --- a/src/ServiceContracts/TrackingLinks/TagsRawContract.php +++ b/src/ServiceContracts/TrackingLinks/TagsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\TrackingLinks; +namespace OnlyFansAPI\ServiceContracts\TrackingLinks; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrackingLinks\Tags\TagAddParams; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\TrackingLinks\Tags\TagListParams; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveParams; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrackingLinks\Tags\TagAddParams; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagListParams; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveParams; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsRawContract { diff --git a/src/ServiceContracts/TrackingLinksContract.php b/src/ServiceContracts/TrackingLinksContract.php index 66d8d5a5..5af1760f 100644 --- a/src/ServiceContracts/TrackingLinksContract.php +++ b/src/ServiceContracts/TrackingLinksContract.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sort; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sortby; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TrackingLinksContract { diff --git a/src/ServiceContracts/TrackingLinksRawContract.php b/src/ServiceContracts/TrackingLinksRawContract.php index 2cad20cc..9d789788 100644 --- a/src/ServiceContracts/TrackingLinksRawContract.php +++ b/src/ServiceContracts/TrackingLinksRawContract.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrackingLinks\TrackingLinkCreateParams; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteParams; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsParams; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkRetrieveParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrackingLinks\TrackingLinkCreateParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkRetrieveParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TrackingLinksRawContract { diff --git a/src/ServiceContracts/TransactionsContract.php b/src/ServiceContracts/TransactionsContract.php index 93bd1c31..73076f5e 100644 --- a/src/ServiceContracts/TransactionsContract.php +++ b/src/ServiceContracts/TransactionsContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Transactions\TransactionListResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Transactions\TransactionListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TransactionsContract { diff --git a/src/ServiceContracts/TransactionsRawContract.php b/src/ServiceContracts/TransactionsRawContract.php index 256c3691..19148a62 100644 --- a/src/ServiceContracts/TransactionsRawContract.php +++ b/src/ServiceContracts/TransactionsRawContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Transactions\TransactionListParams; -use Onlyfansapi\Transactions\TransactionListResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Transactions\TransactionListParams; +use OnlyFansAPI\Transactions\TransactionListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TransactionsRawContract { diff --git a/src/ServiceContracts/TrialLinks/TagsContract.php b/src/ServiceContracts/TrialLinks/TagsContract.php index b6365419..b957eb2f 100644 --- a/src/ServiceContracts/TrialLinks/TagsContract.php +++ b/src/ServiceContracts/TrialLinks/TagsContract.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\TrialLinks; +namespace OnlyFansAPI\ServiceContracts\TrialLinks; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsContract { diff --git a/src/ServiceContracts/TrialLinks/TagsRawContract.php b/src/ServiceContracts/TrialLinks/TagsRawContract.php index 87b98f64..509a7b0d 100644 --- a/src/ServiceContracts/TrialLinks/TagsRawContract.php +++ b/src/ServiceContracts/TrialLinks/TagsRawContract.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\TrialLinks; +namespace OnlyFansAPI\ServiceContracts\TrialLinks; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrialLinks\Tags\TagAddParams; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\TrialLinks\Tags\TagListParams; -use Onlyfansapi\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\TrialLinks\Tags\TagRemoveParams; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrialLinks\Tags\TagAddParams; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrialLinks\Tags\TagListParams; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveParams; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TagsRawContract { diff --git a/src/ServiceContracts/TrialLinksContract.php b/src/ServiceContracts/TrialLinksContract.php index 5b0f4e36..f60d5326 100644 --- a/src/ServiceContracts/TrialLinksContract.php +++ b/src/ServiceContracts/TrialLinksContract.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\Duration; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\OfferLimit; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Field; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Sort; -use Onlyfansapi\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\Duration; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\OfferLimit; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Field; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Sort; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TrialLinksContract { diff --git a/src/ServiceContracts/TrialLinksRawContract.php b/src/ServiceContracts/TrialLinksRawContract.php index 8c3d6d62..a4a51836 100644 --- a/src/ServiceContracts/TrialLinksRawContract.php +++ b/src/ServiceContracts/TrialLinksRawContract.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams; -use Onlyfansapi\TrialLinks\TrialLinkDeleteParams; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\TrialLinks\TrialLinkListParams; -use Onlyfansapi\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersParams; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersParams; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveParams; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveStatsParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteParams; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListParams; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersParams; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersParams; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveParams; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveStatsParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface TrialLinksRawContract { diff --git a/src/ServiceContracts/UserLists/UsersContract.php b/src/ServiceContracts/UserLists/UsersContract.php index 081f805d..d368f081 100644 --- a/src/ServiceContracts/UserLists/UsersContract.php +++ b/src/ServiceContracts/UserLists/UsersContract.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\UserLists; +namespace OnlyFansAPI\ServiceContracts\UserLists; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\UserLists\Users\UserAddResponse; -use Onlyfansapi\UserLists\Users\UserClearResponse; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\UserLists\Users\UserListResponse; -use Onlyfansapi\UserLists\Users\UserPinResponse; -use Onlyfansapi\UserLists\Users\UserRemoveResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserClearResponse; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; +use OnlyFansAPI\UserLists\Users\UserListResponse; +use OnlyFansAPI\UserLists\Users\UserPinResponse; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UsersContract { diff --git a/src/ServiceContracts/UserLists/UsersRawContract.php b/src/ServiceContracts/UserLists/UsersRawContract.php index 6aa86bd4..3a2689b9 100644 --- a/src/ServiceContracts/UserLists/UsersRawContract.php +++ b/src/ServiceContracts/UserLists/UsersRawContract.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\UserLists; +namespace OnlyFansAPI\ServiceContracts\UserLists; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\UserLists\Users\UserAddParams; -use Onlyfansapi\UserLists\Users\UserAddResponse; -use Onlyfansapi\UserLists\Users\UserClearParams; -use Onlyfansapi\UserLists\Users\UserClearResponse; -use Onlyfansapi\UserLists\Users\UserListParams; -use Onlyfansapi\UserLists\Users\UserListPinnedParams; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\UserLists\Users\UserListResponse; -use Onlyfansapi\UserLists\Users\UserPinParams; -use Onlyfansapi\UserLists\Users\UserPinResponse; -use Onlyfansapi\UserLists\Users\UserRemoveParams; -use Onlyfansapi\UserLists\Users\UserRemoveResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\UserLists\Users\UserAddParams; +use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserClearParams; +use OnlyFansAPI\UserLists\Users\UserClearResponse; +use OnlyFansAPI\UserLists\Users\UserListParams; +use OnlyFansAPI\UserLists\Users\UserListPinnedParams; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; +use OnlyFansAPI\UserLists\Users\UserListResponse; +use OnlyFansAPI\UserLists\Users\UserPinParams; +use OnlyFansAPI\UserLists\Users\UserPinResponse; +use OnlyFansAPI\UserLists\Users\UserRemoveParams; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UsersRawContract { diff --git a/src/ServiceContracts/UserListsContract.php b/src/ServiceContracts/UserListsContract.php index 965fbf76..dbe4a4d2 100644 --- a/src/ServiceContracts/UserListsContract.php +++ b/src/ServiceContracts/UserListsContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\UserLists\UserListDeleteResponse; -use Onlyfansapi\UserLists\UserListGetResponse; -use Onlyfansapi\UserLists\UserListListResponse; -use Onlyfansapi\UserLists\UserListNewResponse; -use Onlyfansapi\UserLists\UserListUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\UserLists\UserListDeleteResponse; +use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListResponse; +use OnlyFansAPI\UserLists\UserListNewResponse; +use OnlyFansAPI\UserLists\UserListUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UserListsContract { diff --git a/src/ServiceContracts/UserListsRawContract.php b/src/ServiceContracts/UserListsRawContract.php index 43b74ded..fe09012a 100644 --- a/src/ServiceContracts/UserListsRawContract.php +++ b/src/ServiceContracts/UserListsRawContract.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\UserLists\UserListCreateParams; -use Onlyfansapi\UserLists\UserListDeleteParams; -use Onlyfansapi\UserLists\UserListDeleteResponse; -use Onlyfansapi\UserLists\UserListGetResponse; -use Onlyfansapi\UserLists\UserListListParams; -use Onlyfansapi\UserLists\UserListListResponse; -use Onlyfansapi\UserLists\UserListNewResponse; -use Onlyfansapi\UserLists\UserListRetrieveParams; -use Onlyfansapi\UserLists\UserListUpdateParams; -use Onlyfansapi\UserLists\UserListUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\UserLists\UserListCreateParams; +use OnlyFansAPI\UserLists\UserListDeleteParams; +use OnlyFansAPI\UserLists\UserListDeleteResponse; +use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListParams; +use OnlyFansAPI\UserLists\UserListListResponse; +use OnlyFansAPI\UserLists\UserListNewResponse; +use OnlyFansAPI\UserLists\UserListRetrieveParams; +use OnlyFansAPI\UserLists\UserListUpdateParams; +use OnlyFansAPI\UserLists\UserListUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UserListsRawContract { diff --git a/src/ServiceContracts/Users/BlockContract.php b/src/ServiceContracts/Users/BlockContract.php index 8eff1734..c4919b80 100644 --- a/src/ServiceContracts/Users/BlockContract.php +++ b/src/ServiceContracts/Users/BlockContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Users\Block\BlockNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Block\BlockDeleteResponse; +use OnlyFansAPI\Users\Block\BlockNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BlockContract { diff --git a/src/ServiceContracts/Users/BlockRawContract.php b/src/ServiceContracts/Users/BlockRawContract.php index d4d987a7..55d75f47 100644 --- a/src/ServiceContracts/Users/BlockRawContract.php +++ b/src/ServiceContracts/Users/BlockRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Block\BlockCreateParams; -use Onlyfansapi\Users\Block\BlockDeleteParams; -use Onlyfansapi\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Users\Block\BlockNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Block\BlockCreateParams; +use OnlyFansAPI\Users\Block\BlockDeleteParams; +use OnlyFansAPI\Users\Block\BlockDeleteResponse; +use OnlyFansAPI\Users\Block\BlockNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface BlockRawContract { diff --git a/src/ServiceContracts/Users/RestrictContract.php b/src/ServiceContracts/Users/RestrictContract.php index 5730e86e..fe627b67 100644 --- a/src/ServiceContracts/Users/RestrictContract.php +++ b/src/ServiceContracts/Users/RestrictContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Users\Restrict\RestrictNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface RestrictContract { diff --git a/src/ServiceContracts/Users/RestrictRawContract.php b/src/ServiceContracts/Users/RestrictRawContract.php index f0b4ea9a..5a2bfcf0 100644 --- a/src/ServiceContracts/Users/RestrictRawContract.php +++ b/src/ServiceContracts/Users/RestrictRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Restrict\RestrictCreateParams; -use Onlyfansapi\Users\Restrict\RestrictDeleteParams; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Users\Restrict\RestrictNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Restrict\RestrictCreateParams; +use OnlyFansAPI\Users\Restrict\RestrictDeleteParams; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface RestrictRawContract { diff --git a/src/ServiceContracts/Users/SubscribeContract.php b/src/ServiceContracts/Users/SubscribeContract.php index 69675987..45fea8cf 100644 --- a/src/ServiceContracts/Users/SubscribeContract.php +++ b/src/ServiceContracts/Users/SubscribeContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SubscribeContract { diff --git a/src/ServiceContracts/Users/SubscribeRawContract.php b/src/ServiceContracts/Users/SubscribeRawContract.php index 41aa5854..14506b7d 100644 --- a/src/ServiceContracts/Users/SubscribeRawContract.php +++ b/src/ServiceContracts/Users/SubscribeRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts\Users; +namespace OnlyFansAPI\ServiceContracts\Users; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\Subscribe\SubscribeCreateParams; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteParams; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\Subscribe\SubscribeCreateParams; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteParams; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SubscribeRawContract { diff --git a/src/ServiceContracts/UsersContract.php b/src/ServiceContracts/UsersContract.php index 16b50e4c..32d0b3c6 100644 --- a/src/ServiceContracts/UsersContract.php +++ b/src/ServiceContracts/UsersContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\UserGetResponse; -use Onlyfansapi\Users\UserListResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\UserGetResponse; +use OnlyFansAPI\Users\UserListResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UsersContract { diff --git a/src/ServiceContracts/UsersRawContract.php b/src/ServiceContracts/UsersRawContract.php index f7796276..0975f707 100644 --- a/src/ServiceContracts/UsersRawContract.php +++ b/src/ServiceContracts/UsersRawContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Users\UserGetResponse; -use Onlyfansapi\Users\UserListParams; -use Onlyfansapi\Users\UserListResponse; -use Onlyfansapi\Users\UserRetrieveParams; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Users\UserGetResponse; +use OnlyFansAPI\Users\UserListParams; +use OnlyFansAPI\Users\UserListResponse; +use OnlyFansAPI\Users\UserRetrieveParams; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface UsersRawContract { diff --git a/src/ServiceContracts/WebhooksContract.php b/src/ServiceContracts/WebhooksContract.php index 0fb7f80d..1f7d6d7b 100644 --- a/src/ServiceContracts/WebhooksContract.php +++ b/src/ServiceContracts/WebhooksContract.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Webhooks\WebhookGetResponse; -use Onlyfansapi\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Webhooks\WebhookListResponse; -use Onlyfansapi\Webhooks\WebhookNewResponse; -use Onlyfansapi\Webhooks\WebhookUpdateResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Webhooks\WebhookGetResponse; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse; +use OnlyFansAPI\Webhooks\WebhookListResponse; +use OnlyFansAPI\Webhooks\WebhookNewResponse; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WebhooksContract { diff --git a/src/ServiceContracts/WebhooksRawContract.php b/src/ServiceContracts/WebhooksRawContract.php index 2fa81a64..cd540668 100644 --- a/src/ServiceContracts/WebhooksRawContract.php +++ b/src/ServiceContracts/WebhooksRawContract.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Webhooks\WebhookCreateParams; -use Onlyfansapi\Webhooks\WebhookGetResponse; -use Onlyfansapi\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Webhooks\WebhookListResponse; -use Onlyfansapi\Webhooks\WebhookNewResponse; -use Onlyfansapi\Webhooks\WebhookUpdateParams; -use Onlyfansapi\Webhooks\WebhookUpdateResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Webhooks\WebhookCreateParams; +use OnlyFansAPI\Webhooks\WebhookGetResponse; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse; +use OnlyFansAPI\Webhooks\WebhookListResponse; +use OnlyFansAPI\Webhooks\WebhookNewResponse; +use OnlyFansAPI\Webhooks\WebhookUpdateParams; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WebhooksRawContract { diff --git a/src/ServiceContracts/WhoamiContract.php b/src/ServiceContracts/WhoamiContract.php index 94834b53..afdd3d09 100644 --- a/src/ServiceContracts/WhoamiContract.php +++ b/src/ServiceContracts/WhoamiContract.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Whoami\WhoamiGetResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Whoami\WhoamiGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WhoamiContract { diff --git a/src/ServiceContracts/WhoamiRawContract.php b/src/ServiceContracts/WhoamiRawContract.php index 6b4b70d8..ce62e944 100644 --- a/src/ServiceContracts/WhoamiRawContract.php +++ b/src/ServiceContracts/WhoamiRawContract.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\ServiceContracts; +namespace OnlyFansAPI\ServiceContracts; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Whoami\WhoamiGetResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Whoami\WhoamiGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface WhoamiRawContract { diff --git a/src/Services/AccountsRawService.php b/src/Services/AccountsRawService.php index 54ebb9bf..aa33fd96 100644 --- a/src/Services/AccountsRawService.php +++ b/src/Services/AccountsRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Accounts\AccountListParams; -use Onlyfansapi\Accounts\AccountListResponseItem; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\ListOf; -use Onlyfansapi\Core\Conversion\MapOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\AccountsRawContract; +use OnlyFansAPI\Accounts\AccountListParams; +use OnlyFansAPI\Accounts\AccountListResponseItem; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\ListOf; +use OnlyFansAPI\Core\Conversion\MapOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\AccountsRawContract; /** * Endpoints for your linked accounts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class AccountsRawService implements AccountsRawContract { diff --git a/src/Services/AccountsService.php b/src/Services/AccountsService.php index e46d06ed..963782ce 100644 --- a/src/Services/AccountsService.php +++ b/src/Services/AccountsService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Accounts\AccountListResponseItem; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\AccountsContract; +use OnlyFansAPI\Accounts\AccountListResponseItem; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\AccountsContract; /** * Endpoints for your linked accounts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class AccountsService implements AccountsContract { diff --git a/src/Services/Analytics/Financial/ProfitabilityRawService.php b/src/Services/Analytics/Financial/ProfitabilityRawService.php index d92044fd..a45d8e7e 100644 --- a/src/Services/Analytics/Financial/ProfitabilityRawService.php +++ b/src/Services/Analytics/Financial/ProfitabilityRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics\Financial; +namespace OnlyFansAPI\Services\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\ListOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\Financial\ProfitabilityRawContract; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\ListOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\Financial\ProfitabilityRawContract; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ProfitabilityRawService implements ProfitabilityRawContract { diff --git a/src/Services/Analytics/Financial/ProfitabilityService.php b/src/Services/Analytics/Financial/ProfitabilityService.php index c1e5d952..038731e5 100644 --- a/src/Services/Analytics/Financial/ProfitabilityService.php +++ b/src/Services/Analytics/Financial/ProfitabilityService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics\Financial; +namespace OnlyFansAPI\Services\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use Onlyfansapi\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\Financial\ProfitabilityContract; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\Financial\ProfitabilityContract; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ProfitabilityService implements ProfitabilityContract { diff --git a/src/Services/Analytics/Financial/TransactionsRawService.php b/src/Services/Analytics/Financial/TransactionsRawService.php index f41418a0..6f67a5c2 100644 --- a/src/Services/Analytics/Financial/TransactionsRawService.php +++ b/src/Services/Analytics/Financial/TransactionsRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics\Financial; +namespace OnlyFansAPI\Services\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeParams; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryParams; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\ListOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\Financial\TransactionsRawContract; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeParams; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryParams; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\ListOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\Financial\TransactionsRawContract; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TransactionsRawService implements TransactionsRawContract { diff --git a/src/Services/Analytics/Financial/TransactionsService.php b/src/Services/Analytics/Financial/TransactionsService.php index 7591ad18..acf2108f 100644 --- a/src/Services/Analytics/Financial/TransactionsService.php +++ b/src/Services/Analytics/Financial/TransactionsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics\Financial; +namespace OnlyFansAPI\Services\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\Financial\TransactionsContract; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetByTypeResponseItem; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\Financial\TransactionsContract; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TransactionsService implements TransactionsContract { diff --git a/src/Services/Analytics/FinancialRawService.php b/src/Services/Analytics/FinancialRawService.php index 6d104f82..1af2b5d5 100644 --- a/src/Services/Analytics/FinancialRawService.php +++ b/src/Services/Analytics/FinancialRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics; +namespace OnlyFansAPI\Services\Analytics; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Metric; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Model; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\FinancialRawContract; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Metric; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Model; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\FinancialRawContract; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FinancialRawService implements FinancialRawContract { diff --git a/src/Services/Analytics/FinancialService.php b/src/Services/Analytics/FinancialService.php index a8a42698..db5f0f4f 100644 --- a/src/Services/Analytics/FinancialService.php +++ b/src/Services/Analytics/FinancialService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics; +namespace OnlyFansAPI\Services\Analytics; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Metric; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Model; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\FinancialContract; -use Onlyfansapi\Services\Analytics\Financial\ProfitabilityService; -use Onlyfansapi\Services\Analytics\Financial\TransactionsService; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Metric; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Model; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\FinancialContract; +use OnlyFansAPI\Services\Analytics\Financial\ProfitabilityService; +use OnlyFansAPI\Services\Analytics\Financial\TransactionsService; /** * APIs for retrieving financial analytics data. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FinancialService implements FinancialContract { diff --git a/src/Services/Analytics/SummaryRawService.php b/src/Services/Analytics/SummaryRawService.php index 93b4b3e8..2c7b60a9 100644 --- a/src/Services/Analytics/SummaryRawService.php +++ b/src/Services/Analytics/SummaryRawService.php @@ -2,32 +2,32 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics; +namespace OnlyFansAPI\Services\Analytics; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewParams; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewResponse; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\ListOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\SummaryRawContract; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewResponse; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\ListOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\SummaryRawContract; /** * APIs for retrieving summary analytics data. * - * @phpstan-import-type PeriodAShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA - * @phpstan-import-type PeriodBShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type PeriodAShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA + * @phpstan-import-type PeriodBShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SummaryRawService implements SummaryRawContract { diff --git a/src/Services/Analytics/SummaryService.php b/src/Services/Analytics/SummaryService.php index e34fc92c..c96e5aef 100644 --- a/src/Services/Analytics/SummaryService.php +++ b/src/Services/Analytics/SummaryService.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Analytics; +namespace OnlyFansAPI\Services\Analytics; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewResponse; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; -use Onlyfansapi\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Analytics\SummaryContract; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewResponse; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceParams\TimeRange; +use OnlyFansAPI\Analytics\Summary\SummaryGetHistoricalPerformanceResponseItem; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\Granularity; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\StatType; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Analytics\SummaryContract; /** * APIs for retrieving summary analytics data. * - * @phpstan-import-type PeriodAShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA - * @phpstan-import-type PeriodBShape from \Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type PeriodAShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodA + * @phpstan-import-type PeriodBShape from \OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonParams\PeriodB + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SummaryService implements SummaryContract { diff --git a/src/Services/AnalyticsRawService.php b/src/Services/AnalyticsRawService.php index ba4c5a65..c517d826 100644 --- a/src/Services/AnalyticsRawService.php +++ b/src/Services/AnalyticsRawService.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\AnalyticsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\AnalyticsRawContract; final class AnalyticsRawService implements AnalyticsRawContract { diff --git a/src/Services/AnalyticsService.php b/src/Services/AnalyticsService.php index cba855eb..37754d8a 100644 --- a/src/Services/AnalyticsService.php +++ b/src/Services/AnalyticsService.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\AnalyticsContract; -use Onlyfansapi\Services\Analytics\FinancialService; -use Onlyfansapi\Services\Analytics\SummaryService; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\AnalyticsContract; +use OnlyFansAPI\Services\Analytics\FinancialService; +use OnlyFansAPI\Services\Analytics\SummaryService; final class AnalyticsService implements AnalyticsContract { diff --git a/src/Services/AuthenticateRawService.php b/src/Services/AuthenticateRawService.php index a1f30d15..68206f3d 100644 --- a/src/Services/AuthenticateRawService.php +++ b/src/Services/AuthenticateRawService.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticateReauthenticateResponse; -use Onlyfansapi\Authenticate\AuthenticateSend2faEmailResponse; -use Onlyfansapi\Authenticate\AuthenticateStartParams; -use Onlyfansapi\Authenticate\AuthenticateStartParams\AuthType; -use Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy; -use Onlyfansapi\Authenticate\AuthenticateStartParams\ProxyCountry; -use Onlyfansapi\Authenticate\AuthenticateStartResponse; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faParams; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\AuthenticateRawContract; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; +use OnlyFansAPI\Authenticate\AuthenticateReauthenticateResponse; +use OnlyFansAPI\Authenticate\AuthenticateSend2faEmailResponse; +use OnlyFansAPI\Authenticate\AuthenticateStartParams; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\AuthType; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\ProxyCountry; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faParams; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\AuthenticateRawContract; /** - * @phpstan-import-type CustomProxyShape from \Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class AuthenticateRawService implements AuthenticateRawContract { diff --git a/src/Services/AuthenticateService.php b/src/Services/AuthenticateService.php index aa3b72ba..5dfc5f74 100644 --- a/src/Services/AuthenticateService.php +++ b/src/Services/AuthenticateService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticateReauthenticateResponse; -use Onlyfansapi\Authenticate\AuthenticateSend2faEmailResponse; -use Onlyfansapi\Authenticate\AuthenticateStartParams\AuthType; -use Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy; -use Onlyfansapi\Authenticate\AuthenticateStartParams\ProxyCountry; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember0; -use Onlyfansapi\Authenticate\AuthenticateStartResponse\UnionMember1; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\AuthenticateContract; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; +use OnlyFansAPI\Authenticate\AuthenticateReauthenticateResponse; +use OnlyFansAPI\Authenticate\AuthenticateSend2faEmailResponse; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\AuthType; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy; +use OnlyFansAPI\Authenticate\AuthenticateStartParams\ProxyCountry; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember0; +use OnlyFansAPI\Authenticate\AuthenticateStartResponse\UnionMember1; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\AuthenticateContract; /** - * @phpstan-import-type CustomProxyShape from \Onlyfansapi\Authenticate\AuthenticateStartParams\CustomProxy - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class AuthenticateService implements AuthenticateContract { diff --git a/src/Services/Banking/DetailsRawService.php b/src/Services/Banking/DetailsRawService.php index 6183529a..03156c5e 100644 --- a/src/Services/Banking/DetailsRawService.php +++ b/src/Services/Banking/DetailsRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Banking; +namespace OnlyFansAPI\Services\Banking; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Banking\DetailsRawContract; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Banking\DetailsRawContract; /** * Operations related to user banking details, payout methods, legal and tax information, and account country settings. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DetailsRawService implements DetailsRawContract { diff --git a/src/Services/Banking/DetailsService.php b/src/Services/Banking/DetailsService.php index 83ff55a3..3dd3365e 100644 --- a/src/Services/Banking/DetailsService.php +++ b/src/Services/Banking/DetailsService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Banking; +namespace OnlyFansAPI\Services\Banking; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Banking\DetailsContract; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Banking\DetailsContract; /** * Operations related to user banking details, payout methods, legal and tax information, and account country settings. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DetailsService implements DetailsContract { diff --git a/src/Services/BankingRawService.php b/src/Services/BankingRawService.php index 1f915a0f..fe6ecc99 100644 --- a/src/Services/BankingRawService.php +++ b/src/Services/BankingRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\BankingRawContract; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; +use OnlyFansAPI\Banking\BankingListCountriesResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\BankingRawContract; /** * Operations related to user banking details, payout methods, legal and tax information, and account country settings. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BankingRawService implements BankingRawContract { diff --git a/src/Services/BankingService.php b/src/Services/BankingService.php index 27030945..9d81cd4a 100644 --- a/src/Services/BankingService.php +++ b/src/Services/BankingService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\BankingContract; -use Onlyfansapi\Services\Banking\DetailsService; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; +use OnlyFansAPI\Banking\BankingListCountriesResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\BankingContract; +use OnlyFansAPI\Services\Banking\DetailsService; /** * Operations related to user banking details, payout methods, legal and tax information, and account country settings. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BankingService implements BankingContract { diff --git a/src/Services/BundlesRawService.php b/src/Services/BundlesRawService.php index e601d123..45c62855 100644 --- a/src/Services/BundlesRawService.php +++ b/src/Services/BundlesRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Bundles\BundleCreateParams; -use Onlyfansapi\Bundles\BundleCreateParams\Discount; -use Onlyfansapi\Bundles\BundleCreateParams\Duration; -use Onlyfansapi\Bundles\BundleDeleteParams; -use Onlyfansapi\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleNewResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\BundlesRawContract; +use OnlyFansAPI\Bundles\BundleCreateParams; +use OnlyFansAPI\Bundles\BundleCreateParams\Discount; +use OnlyFansAPI\Bundles\BundleCreateParams\Duration; +use OnlyFansAPI\Bundles\BundleDeleteParams; +use OnlyFansAPI\Bundles\BundleDeleteResponse; +use OnlyFansAPI\Bundles\BundleListResponse; +use OnlyFansAPI\Bundles\BundleNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\BundlesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BundlesRawService implements BundlesRawContract { diff --git a/src/Services/BundlesService.php b/src/Services/BundlesService.php index 62417853..8cec0d6a 100644 --- a/src/Services/BundlesService.php +++ b/src/Services/BundlesService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Bundles\BundleCreateParams\Discount; -use Onlyfansapi\Bundles\BundleCreateParams\Duration; -use Onlyfansapi\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleNewResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\BundlesContract; +use OnlyFansAPI\Bundles\BundleCreateParams\Discount; +use OnlyFansAPI\Bundles\BundleCreateParams\Duration; +use OnlyFansAPI\Bundles\BundleDeleteResponse; +use OnlyFansAPI\Bundles\BundleListResponse; +use OnlyFansAPI\Bundles\BundleNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\BundlesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BundlesService implements BundlesContract { diff --git a/src/Services/ChargebacksRawService.php b/src/Services/ChargebacksRawService.php index ca01d639..cecfa501 100644 --- a/src/Services/ChargebacksRawService.php +++ b/src/Services/ChargebacksRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioParams; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackListParams; -use Onlyfansapi\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsParams; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ChargebacksRawContract; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioParams; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; +use OnlyFansAPI\Chargebacks\ChargebackListParams; +use OnlyFansAPI\Chargebacks\ChargebackListResponse; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsParams; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ChargebacksRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ChargebacksRawService implements ChargebacksRawContract { diff --git a/src/Services/ChargebacksService.php b/src/Services/ChargebacksService.php index c0f625a0..3d34bf87 100644 --- a/src/Services/ChargebacksService.php +++ b/src/Services/ChargebacksService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ChargebacksContract; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; +use OnlyFansAPI\Chargebacks\ChargebackListResponse; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ChargebacksContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ChargebacksService implements ChargebacksContract { diff --git a/src/Services/Chats/MarkAllAsReadRawService.php b/src/Services/Chats/MarkAllAsReadRawService.php index 655e990b..b428acc8 100644 --- a/src/Services/Chats/MarkAllAsReadRawService.php +++ b/src/Services/Chats/MarkAllAsReadRawService.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Chats; +namespace OnlyFansAPI\Services\Chats; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Chats\MarkAllAsReadRawContract; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Chats\MarkAllAsReadRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MarkAllAsReadRawService implements MarkAllAsReadRawContract { diff --git a/src/Services/Chats/MarkAllAsReadService.php b/src/Services/Chats/MarkAllAsReadService.php index 9484756c..6d492d0b 100644 --- a/src/Services/Chats/MarkAllAsReadService.php +++ b/src/Services/Chats/MarkAllAsReadService.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Chats; +namespace OnlyFansAPI\Services\Chats; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Chats\MarkAllAsReadContract; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Chats\MarkAllAsReadContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MarkAllAsReadService implements MarkAllAsReadContract { diff --git a/src/Services/Chats/MessagesRawService.php b/src/Services/Chats/MessagesRawService.php index 59502a15..16a9b2ca 100644 --- a/src/Services/Chats/MessagesRawService.php +++ b/src/Services/Chats/MessagesRawService.php @@ -2,36 +2,36 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Chats; +namespace OnlyFansAPI\Services\Chats; -use Onlyfansapi\Chats\Messages\MessageDeleteParams; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageLikeParams; -use Onlyfansapi\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageListParams; -use Onlyfansapi\Chats\Messages\MessageListParams\Filter; -use Onlyfansapi\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessagePinParams; -use Onlyfansapi\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessageRetrieveParams; -use Onlyfansapi\Chats\Messages\MessageSearchParams; -use Onlyfansapi\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSendParams; -use Onlyfansapi\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeParams; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinParams; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Chats\MessagesRawContract; +use OnlyFansAPI\Chats\Messages\MessageDeleteParams; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse; +use OnlyFansAPI\Chats\Messages\MessageGetResponse; +use OnlyFansAPI\Chats\Messages\MessageLikeParams; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse; +use OnlyFansAPI\Chats\Messages\MessageListParams; +use OnlyFansAPI\Chats\Messages\MessageListParams\Filter; +use OnlyFansAPI\Chats\Messages\MessageListResponse; +use OnlyFansAPI\Chats\Messages\MessagePinParams; +use OnlyFansAPI\Chats\Messages\MessagePinResponse; +use OnlyFansAPI\Chats\Messages\MessageRetrieveParams; +use OnlyFansAPI\Chats\Messages\MessageSearchParams; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendParams; +use OnlyFansAPI\Chats\Messages\MessageSendResponse; +use OnlyFansAPI\Chats\Messages\MessageUnlikeParams; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; +use OnlyFansAPI\Chats\Messages\MessageUnpinParams; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Chats\MessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesRawService implements MessagesRawContract { diff --git a/src/Services/Chats/MessagesService.php b/src/Services/Chats/MessagesService.php index a66909b1..3485c091 100644 --- a/src/Services/Chats/MessagesService.php +++ b/src/Services/Chats/MessagesService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Chats; - -use Onlyfansapi\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageListParams\Filter; -use Onlyfansapi\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Chats\MessagesContract; +namespace OnlyFansAPI\Services\Chats; + +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse; +use OnlyFansAPI\Chats\Messages\MessageGetResponse; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse; +use OnlyFansAPI\Chats\Messages\MessageListParams\Filter; +use OnlyFansAPI\Chats\Messages\MessageListResponse; +use OnlyFansAPI\Chats\Messages\MessagePinResponse; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendResponse; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Chats\MessagesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesService implements MessagesContract { diff --git a/src/Services/ChatsRawService.php b/src/Services/ChatsRawService.php index 40be7300..4b306de0 100644 --- a/src/Services/ChatsRawService.php +++ b/src/Services/ChatsRawService.php @@ -2,39 +2,39 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Chats\ChatDeleteParams; -use Onlyfansapi\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatHideParams; -use Onlyfansapi\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatListMediaParams; -use Onlyfansapi\Chats\ChatListMediaParams\Type; -use Onlyfansapi\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListParams; -use Onlyfansapi\Chats\ChatListParams\Filter; -use Onlyfansapi\Chats\ChatListParams\Order; -use Onlyfansapi\Chats\ChatListParams\SkipUsers; -use Onlyfansapi\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatMarkAsReadParams; -use Onlyfansapi\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadParams; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMuteParams; -use Onlyfansapi\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatStartTypingParams; -use Onlyfansapi\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatUnmuteParams; -use Onlyfansapi\Chats\ChatUnmuteResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ChatsRawContract; +use OnlyFansAPI\Chats\ChatDeleteParams; +use OnlyFansAPI\Chats\ChatDeleteResponse; +use OnlyFansAPI\Chats\ChatHideParams; +use OnlyFansAPI\Chats\ChatHideResponse; +use OnlyFansAPI\Chats\ChatListMediaParams; +use OnlyFansAPI\Chats\ChatListMediaParams\Type; +use OnlyFansAPI\Chats\ChatListMediaResponse; +use OnlyFansAPI\Chats\ChatListParams; +use OnlyFansAPI\Chats\ChatListParams\Filter; +use OnlyFansAPI\Chats\ChatListParams\Order; +use OnlyFansAPI\Chats\ChatListParams\SkipUsers; +use OnlyFansAPI\Chats\ChatListResponse; +use OnlyFansAPI\Chats\ChatMarkAsReadParams; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse; +use OnlyFansAPI\Chats\ChatMarkAsUnreadParams; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; +use OnlyFansAPI\Chats\ChatMuteParams; +use OnlyFansAPI\Chats\ChatMuteResponse; +use OnlyFansAPI\Chats\ChatStartTypingParams; +use OnlyFansAPI\Chats\ChatStartTypingResponse; +use OnlyFansAPI\Chats\ChatUnmuteParams; +use OnlyFansAPI\Chats\ChatUnmuteResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ChatsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ChatsRawService implements ChatsRawContract { diff --git a/src/Services/ChatsService.php b/src/Services/ChatsService.php index 9c334dd5..c2bb0ad8 100644 --- a/src/Services/ChatsService.php +++ b/src/Services/ChatsService.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatListMediaParams\Type; -use Onlyfansapi\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListParams\Filter; -use Onlyfansapi\Chats\ChatListParams\Order; -use Onlyfansapi\Chats\ChatListParams\SkipUsers; -use Onlyfansapi\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatUnmuteResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ChatsContract; -use Onlyfansapi\Services\Chats\MarkAllAsReadService; -use Onlyfansapi\Services\Chats\MessagesService; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Chats\ChatDeleteResponse; +use OnlyFansAPI\Chats\ChatHideResponse; +use OnlyFansAPI\Chats\ChatListMediaParams\Type; +use OnlyFansAPI\Chats\ChatListMediaResponse; +use OnlyFansAPI\Chats\ChatListParams\Filter; +use OnlyFansAPI\Chats\ChatListParams\Order; +use OnlyFansAPI\Chats\ChatListParams\SkipUsers; +use OnlyFansAPI\Chats\ChatListResponse; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; +use OnlyFansAPI\Chats\ChatMuteResponse; +use OnlyFansAPI\Chats\ChatStartTypingResponse; +use OnlyFansAPI\Chats\ChatUnmuteResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ChatsContract; +use OnlyFansAPI\Services\Chats\MarkAllAsReadService; +use OnlyFansAPI\Services\Chats\MessagesService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ChatsService implements ChatsContract { diff --git a/src/Services/ClientSessionsRawService.php b/src/Services/ClientSessionsRawService.php index 16c8020b..488b7650 100644 --- a/src/Services/ClientSessionsRawService.php +++ b/src/Services/ClientSessionsRawService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams\ProxyCountry; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ClientSessionsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams\ProxyCountry; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ClientSessionsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ClientSessionsRawService implements ClientSessionsRawContract { diff --git a/src/Services/ClientSessionsService.php b/src/Services/ClientSessionsService.php index e918298a..3eac05b8 100644 --- a/src/Services/ClientSessionsService.php +++ b/src/Services/ClientSessionsService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ClientSessions\ClientSessionCreateParams\ProxyCountry; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ClientSessionsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\ClientSessions\ClientSessionCreateParams\ProxyCountry; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ClientSessionsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ClientSessionsService implements ClientSessionsContract { diff --git a/src/Services/DataExportsRawService.php b/src/Services/DataExportsRawService.php index 4e3f6092..1ad99b59 100644 --- a/src/Services/DataExportsRawService.php +++ b/src/Services/DataExportsRawService.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\DataExports\DataExportCancelResponse; -use Onlyfansapi\DataExports\DataExportCreateParams; -use Onlyfansapi\DataExports\DataExportCreateParams\FileType; -use Onlyfansapi\DataExports\DataExportCreateParams\Type; -use Onlyfansapi\DataExports\DataExportGetResponse; -use Onlyfansapi\DataExports\DataExportListParams; -use Onlyfansapi\DataExports\DataExportListParams\Status; -use Onlyfansapi\DataExports\DataExportListResponse; -use Onlyfansapi\DataExports\DataExportNewResponse; -use Onlyfansapi\DataExports\DataExportRetrieveParams; -use Onlyfansapi\DataExports\DataExportRetryResponse; -use Onlyfansapi\DataExports\DataExportStartResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\DataExportsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\DataExports\DataExportCancelResponse; +use OnlyFansAPI\DataExports\DataExportCreateParams; +use OnlyFansAPI\DataExports\DataExportCreateParams\FileType; +use OnlyFansAPI\DataExports\DataExportCreateParams\Type; +use OnlyFansAPI\DataExports\DataExportGetResponse; +use OnlyFansAPI\DataExports\DataExportListParams; +use OnlyFansAPI\DataExports\DataExportListParams\Status; +use OnlyFansAPI\DataExports\DataExportListResponse; +use OnlyFansAPI\DataExports\DataExportNewResponse; +use OnlyFansAPI\DataExports\DataExportRetrieveParams; +use OnlyFansAPI\DataExports\DataExportRetryResponse; +use OnlyFansAPI\DataExports\DataExportStartResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\DataExportsRawContract; /** * APIs for managing data exports. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DataExportsRawService implements DataExportsRawContract { diff --git a/src/Services/DataExportsService.php b/src/Services/DataExportsService.php index 9a97dfa1..2446da1d 100644 --- a/src/Services/DataExportsService.php +++ b/src/Services/DataExportsService.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\DataExports\DataExportCancelResponse; -use Onlyfansapi\DataExports\DataExportCreateParams\FileType; -use Onlyfansapi\DataExports\DataExportCreateParams\Type; -use Onlyfansapi\DataExports\DataExportGetResponse; -use Onlyfansapi\DataExports\DataExportListParams\Status; -use Onlyfansapi\DataExports\DataExportListResponse; -use Onlyfansapi\DataExports\DataExportNewResponse; -use Onlyfansapi\DataExports\DataExportRetryResponse; -use Onlyfansapi\DataExports\DataExportStartResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\DataExportsContract; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\DataExports\DataExportCancelResponse; +use OnlyFansAPI\DataExports\DataExportCreateParams\FileType; +use OnlyFansAPI\DataExports\DataExportCreateParams\Type; +use OnlyFansAPI\DataExports\DataExportGetResponse; +use OnlyFansAPI\DataExports\DataExportListParams\Status; +use OnlyFansAPI\DataExports\DataExportListResponse; +use OnlyFansAPI\DataExports\DataExportNewResponse; +use OnlyFansAPI\DataExports\DataExportRetryResponse; +use OnlyFansAPI\DataExports\DataExportStartResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\DataExportsContract; /** * APIs for managing data exports. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DataExportsService implements DataExportsContract { @@ -121,7 +121,7 @@ public function retrieve( * @param int $page Page number for pagination. Default `1` * @param int $perPage Number of results per page. Default `15`, max `100` * @param Status|value-of $status Filter by status - * @param \Onlyfansapi\DataExports\DataExportListParams\Type|value-of<\Onlyfansapi\DataExports\DataExportListParams\Type> $type Filter by export type + * @param \OnlyFansAPI\DataExports\DataExportListParams\Type|value-of<\OnlyFansAPI\DataExports\DataExportListParams\Type> $type Filter by export type * @param RequestOpts|null $requestOptions * * @throws APIException @@ -131,7 +131,7 @@ public function list( ?int $page = null, ?int $perPage = null, Status|string|null $status = null, - \Onlyfansapi\DataExports\DataExportListParams\Type|string|null $type = null, + \OnlyFansAPI\DataExports\DataExportListParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): DataExportListResponse { $params = Util::removeNulls( diff --git a/src/Services/Engagement/Messages/DirectMessagesRawService.php b/src/Services/Engagement/Messages/DirectMessagesRawService.php index f2d7b1de..c568426f 100644 --- a/src/Services/Engagement/Messages/DirectMessagesRawService.php +++ b/src/Services/Engagement/Messages/DirectMessagesRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement\Messages; +namespace OnlyFansAPI\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartParams; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListParams; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\Messages\DirectMessagesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartParams; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListParams; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\Messages\DirectMessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DirectMessagesRawService implements DirectMessagesRawContract { diff --git a/src/Services/Engagement/Messages/DirectMessagesService.php b/src/Services/Engagement/Messages/DirectMessagesService.php index 1ef572e9..529af028 100644 --- a/src/Services/Engagement/Messages/DirectMessagesService.php +++ b/src/Services/Engagement/Messages/DirectMessagesService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement\Messages; +namespace OnlyFansAPI\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\Messages\DirectMessagesContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\Messages\DirectMessagesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class DirectMessagesService implements DirectMessagesContract { diff --git a/src/Services/Engagement/Messages/MassMessagesRawService.php b/src/Services/Engagement/Messages/MassMessagesRawService.php index 3fef1e95..ac4b30e8 100644 --- a/src/Services/Engagement/Messages/MassMessagesRawService.php +++ b/src/Services/Engagement/Messages/MassMessagesRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement\Messages; +namespace OnlyFansAPI\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartParams; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListParams; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\Messages\MassMessagesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartParams; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListParams; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\Messages\MassMessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MassMessagesRawService implements MassMessagesRawContract { diff --git a/src/Services/Engagement/Messages/MassMessagesService.php b/src/Services/Engagement/Messages/MassMessagesService.php index 4ca88853..4f200b98 100644 --- a/src/Services/Engagement/Messages/MassMessagesService.php +++ b/src/Services/Engagement/Messages/MassMessagesService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement\Messages; +namespace OnlyFansAPI\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\Messages\MassMessagesContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\Messages\MassMessagesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MassMessagesService implements MassMessagesContract { diff --git a/src/Services/Engagement/MessagesRawService.php b/src/Services/Engagement/MessagesRawService.php index 0d87594d..92e24dc9 100644 --- a/src/Services/Engagement/MessagesRawService.php +++ b/src/Services/Engagement/MessagesRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement; +namespace OnlyFansAPI\Services\Engagement; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersParams; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageParams; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\MessagesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersParams; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageParams; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\MessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesRawService implements MessagesRawContract { diff --git a/src/Services/Engagement/MessagesService.php b/src/Services/Engagement/MessagesService.php index 5598432c..5db80196 100644 --- a/src/Services/Engagement/MessagesService.php +++ b/src/Services/Engagement/MessagesService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Engagement; +namespace OnlyFansAPI\Services\Engagement; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Engagement\MessagesContract; -use Onlyfansapi\Services\Engagement\Messages\DirectMessagesService; -use Onlyfansapi\Services\Engagement\Messages\MassMessagesService; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Engagement\MessagesContract; +use OnlyFansAPI\Services\Engagement\Messages\DirectMessagesService; +use OnlyFansAPI\Services\Engagement\Messages\MassMessagesService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesService implements MessagesContract { diff --git a/src/Services/EngagementRawService.php b/src/Services/EngagementRawService.php index 59c3cd9f..b48a6ba9 100644 --- a/src/Services/EngagementRawService.php +++ b/src/Services/EngagementRawService.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\EngagementRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\EngagementRawContract; final class EngagementRawService implements EngagementRawContract { diff --git a/src/Services/EngagementService.php b/src/Services/EngagementService.php index 597558cf..46fce4b7 100644 --- a/src/Services/EngagementService.php +++ b/src/Services/EngagementService.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\EngagementContract; -use Onlyfansapi\Services\Engagement\MessagesService; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\EngagementContract; +use OnlyFansAPI\Services\Engagement\MessagesService; final class EngagementService implements EngagementContract { diff --git a/src/Services/Fans/NotesRawService.php b/src/Services/Fans/NotesRawService.php index a99880c6..eefb73f9 100644 --- a/src/Services/Fans/NotesRawService.php +++ b/src/Services/Fans/NotesRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Fans; +namespace OnlyFansAPI\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Notes\NoteClearNotesParams; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Fans\Notes\NoteCreateEditNotesParams; -use Onlyfansapi\Fans\Notes\NoteGetNotesParams; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Fans\NotesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Notes\NoteClearNotesParams; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteCreateEditNotesParams; +use OnlyFansAPI\Fans\Notes\NoteGetNotesParams; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Fans\NotesRawContract; /** * APIs for managing OnlyFans fans (subscribers). * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class NotesRawService implements NotesRawContract { diff --git a/src/Services/Fans/NotesService.php b/src/Services/Fans/NotesService.php index eed5a645..ce0aced9 100644 --- a/src/Services/Fans/NotesService.php +++ b/src/Services/Fans/NotesService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Fans; +namespace OnlyFansAPI\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Fans\NotesContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Fans\NotesContract; /** * APIs for managing OnlyFans fans (subscribers). * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class NotesService implements NotesContract { diff --git a/src/Services/Fans/SummaryRawService.php b/src/Services/Fans/SummaryRawService.php index d1097bc4..989d2969 100644 --- a/src/Services/Fans/SummaryRawService.php +++ b/src/Services/Fans/SummaryRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Fans; +namespace OnlyFansAPI\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryParams; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryResponse; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryParams; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Fans\SummaryRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryParams; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryResponse; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryParams; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Fans\SummaryRawContract; /** * APIs for generating and retrieving AI-powered fan profile summaries. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SummaryRawService implements SummaryRawContract { diff --git a/src/Services/Fans/SummaryService.php b/src/Services/Fans/SummaryService.php index eb6551f5..49e42b3d 100644 --- a/src/Services/Fans/SummaryService.php +++ b/src/Services/Fans/SummaryService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Fans; +namespace OnlyFansAPI\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryResponse; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Fans\SummaryContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryResponse; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Fans\SummaryContract; /** * APIs for generating and retrieving AI-powered fan profile summaries. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SummaryService implements SummaryContract { diff --git a/src/Services/FansRawService.php b/src/Services/FansRawService.php index 06158657..89720c68 100644 --- a/src/Services/FansRawService.php +++ b/src/Services/FansRawService.php @@ -2,39 +2,39 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryParams; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Fans\FanListActiveParams; -use Onlyfansapi\Fans\FanListActiveParams\Filter; -use Onlyfansapi\Fans\FanListActiveParams\Type; -use Onlyfansapi\Fans\FanListActiveResponse; -use Onlyfansapi\Fans\FanListAllParams; -use Onlyfansapi\Fans\FanListAllResponse; -use Onlyfansapi\Fans\FanListExpiredParams; -use Onlyfansapi\Fans\FanListExpiredResponse; -use Onlyfansapi\Fans\FanListLatestParams; -use Onlyfansapi\Fans\FanListLatestResponse; -use Onlyfansapi\Fans\FanListTopParams; -use Onlyfansapi\Fans\FanListTopParams\By; -use Onlyfansapi\Fans\FanListTopResponse; -use Onlyfansapi\Fans\FanSetCustomNameParams; -use Onlyfansapi\Fans\FanSetCustomNameResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\FansRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryParams; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; +use OnlyFansAPI\Fans\FanListActiveParams; +use OnlyFansAPI\Fans\FanListActiveParams\Filter; +use OnlyFansAPI\Fans\FanListActiveParams\Type; +use OnlyFansAPI\Fans\FanListActiveResponse; +use OnlyFansAPI\Fans\FanListAllParams; +use OnlyFansAPI\Fans\FanListAllResponse; +use OnlyFansAPI\Fans\FanListExpiredParams; +use OnlyFansAPI\Fans\FanListExpiredResponse; +use OnlyFansAPI\Fans\FanListLatestParams; +use OnlyFansAPI\Fans\FanListLatestResponse; +use OnlyFansAPI\Fans\FanListTopParams; +use OnlyFansAPI\Fans\FanListTopParams\By; +use OnlyFansAPI\Fans\FanListTopResponse; +use OnlyFansAPI\Fans\FanSetCustomNameParams; +use OnlyFansAPI\Fans\FanSetCustomNameResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\FansRawContract; /** * APIs for managing OnlyFans fans (subscribers). * - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FansRawService implements FansRawContract { diff --git a/src/Services/FansService.php b/src/Services/FansService.php index bb7db7ca..88955678 100644 --- a/src/Services/FansService.php +++ b/src/Services/FansService.php @@ -2,33 +2,33 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Fans\FanListActiveParams\Filter; -use Onlyfansapi\Fans\FanListActiveParams\Type; -use Onlyfansapi\Fans\FanListActiveResponse; -use Onlyfansapi\Fans\FanListAllResponse; -use Onlyfansapi\Fans\FanListExpiredResponse; -use Onlyfansapi\Fans\FanListLatestResponse; -use Onlyfansapi\Fans\FanListTopParams\By; -use Onlyfansapi\Fans\FanListTopResponse; -use Onlyfansapi\Fans\FanSetCustomNameResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\FansContract; -use Onlyfansapi\Services\Fans\NotesService; -use Onlyfansapi\Services\Fans\SummaryService; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; +use OnlyFansAPI\Fans\FanListActiveParams\Filter; +use OnlyFansAPI\Fans\FanListActiveParams\Type; +use OnlyFansAPI\Fans\FanListActiveResponse; +use OnlyFansAPI\Fans\FanListAllResponse; +use OnlyFansAPI\Fans\FanListExpiredResponse; +use OnlyFansAPI\Fans\FanListLatestResponse; +use OnlyFansAPI\Fans\FanListTopParams\By; +use OnlyFansAPI\Fans\FanListTopResponse; +use OnlyFansAPI\Fans\FanSetCustomNameResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\FansContract; +use OnlyFansAPI\Services\Fans\NotesService; +use OnlyFansAPI\Services\Fans\SummaryService; /** * APIs for managing OnlyFans fans (subscribers). * - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Fans\FanListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FansService implements FansContract { @@ -127,22 +127,22 @@ public function listActive( * Get a paginated list of fans for an Account. Newest fans are first. * * @param string $account The Account ID - * @param \Onlyfansapi\Fans\FanListAllParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Fans\FanListAllParams\Filter|FilterShape1 $filter * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $query search within fan name/username - * @param \Onlyfansapi\Fans\FanListAllParams\Type|value-of<\Onlyfansapi\Fans\FanListAllParams\Type> $type filter by fan type + * @param \OnlyFansAPI\Fans\FanListAllParams\Type|value-of<\OnlyFansAPI\Fans\FanListAllParams\Type> $type filter by fan type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function listAll( string $account, - \Onlyfansapi\Fans\FanListAllParams\Filter|array|null $filter = null, + \OnlyFansAPI\Fans\FanListAllParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, - \Onlyfansapi\Fans\FanListAllParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListAllParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListAllResponse { $params = Util::removeNulls( @@ -167,22 +167,22 @@ public function listAll( * Get a paginated list of expired fans for an Account. Newest fans are first. * * @param string $account The Account ID - * @param \Onlyfansapi\Fans\FanListExpiredParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Fans\FanListExpiredParams\Filter|FilterShape2 $filter * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $query search within fan name/username - * @param \Onlyfansapi\Fans\FanListExpiredParams\Type|value-of<\Onlyfansapi\Fans\FanListExpiredParams\Type> $type filter by fan type + * @param \OnlyFansAPI\Fans\FanListExpiredParams\Type|value-of<\OnlyFansAPI\Fans\FanListExpiredParams\Type> $type filter by fan type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function listExpired( string $account, - \Onlyfansapi\Fans\FanListExpiredParams\Filter|array|null $filter = null, + \OnlyFansAPI\Fans\FanListExpiredParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, - \Onlyfansapi\Fans\FanListExpiredParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListExpiredParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListExpiredResponse { $params = Util::removeNulls( @@ -211,7 +211,7 @@ public function listExpired( * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. * @param int $offset Number of fans to skip. Must be at least 0. * @param string|null $startDate Start date for filtering (required with end_date). This field is required when end_date is present. - * @param \Onlyfansapi\Fans\FanListLatestParams\Type|value-of<\Onlyfansapi\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new + * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new * @param RequestOpts|null $requestOptions * * @throws APIException @@ -222,7 +222,7 @@ public function listLatest( ?int $limit = null, ?int $offset = null, ?string $startDate = null, - \Onlyfansapi\Fans\FanListLatestParams\Type|string|null $type = null, + \OnlyFansAPI\Fans\FanListLatestParams\Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): FanListLatestResponse { $params = Util::removeNulls( diff --git a/src/Services/FollowingRawService.php b/src/Services/FollowingRawService.php index 832c0aa9..9768bccb 100644 --- a/src/Services/FollowingRawService.php +++ b/src/Services/FollowingRawService.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Following\FollowingListActiveParams; -use Onlyfansapi\Following\FollowingListActiveParams\Filter; -use Onlyfansapi\Following\FollowingListActiveResponse; -use Onlyfansapi\Following\FollowingListAllParams; -use Onlyfansapi\Following\FollowingListAllResponse; -use Onlyfansapi\Following\FollowingListExpiredParams; -use Onlyfansapi\Following\FollowingListExpiredResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\FollowingRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Following\FollowingListActiveParams; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveResponse; +use OnlyFansAPI\Following\FollowingListAllParams; +use OnlyFansAPI\Following\FollowingListAllResponse; +use OnlyFansAPI\Following\FollowingListExpiredParams; +use OnlyFansAPI\Following\FollowingListExpiredResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\FollowingRawContract; /** * APIs for managing OnlyFans followings (people you're subscribed to). * - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FollowingRawService implements FollowingRawContract { diff --git a/src/Services/FollowingService.php b/src/Services/FollowingService.php index 043f821e..9b2ce11a 100644 --- a/src/Services/FollowingService.php +++ b/src/Services/FollowingService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Following\FollowingListActiveParams\Filter; -use Onlyfansapi\Following\FollowingListActiveResponse; -use Onlyfansapi\Following\FollowingListAllResponse; -use Onlyfansapi\Following\FollowingListExpiredResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\FollowingContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveResponse; +use OnlyFansAPI\Following\FollowingListAllResponse; +use OnlyFansAPI\Following\FollowingListExpiredResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\FollowingContract; /** * APIs for managing OnlyFans followings (people you're subscribed to). * - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListActiveParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListAllParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Following\FollowingListExpiredParams\Filter as FilterShape2 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListActiveParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListAllParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Following\FollowingListExpiredParams\Filter as FilterShape2 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class FollowingService implements FollowingContract { @@ -80,7 +80,7 @@ public function listActive( * Get a paginated list of followings for an Account. Newest followings are first. * * @param string $account The Account ID - * @param \Onlyfansapi\Following\FollowingListAllParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Following\FollowingListAllParams\Filter|FilterShape1 $filter * @param int $limit Number of followings to return (1-50). Must be at least 1. Must not be greater than 50. * @param int $offset Pagination offset. Must be at least 0. * @param string|null $query search within following name/username @@ -90,7 +90,7 @@ public function listActive( */ public function listAll( string $account, - \Onlyfansapi\Following\FollowingListAllParams\Filter|array|null $filter = null, + \OnlyFansAPI\Following\FollowingListAllParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, @@ -117,7 +117,7 @@ public function listAll( * Get a paginated list of expired followings for an Account. Newest followings are first. * * @param string $account The Account ID - * @param \Onlyfansapi\Following\FollowingListExpiredParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Filter|FilterShape2 $filter * @param int $limit Number of followings to return (1-50). Must be at least 1. Must not be greater than 50. * @param int $offset Pagination offset. Must be at least 0. * @param string|null $query search within following name/username @@ -127,7 +127,7 @@ public function listAll( */ public function listExpired( string $account, - \Onlyfansapi\Following\FollowingListExpiredParams\Filter|array|null $filter = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, diff --git a/src/Services/GiphyRawService.php b/src/Services/GiphyRawService.php index e1b8c14c..ebde2771 100644 --- a/src/Services/GiphyRawService.php +++ b/src/Services/GiphyRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Giphy\GiphyListTrendingParams; -use Onlyfansapi\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Giphy\GiphySearchParams; -use Onlyfansapi\Giphy\GiphySearchResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\GiphyRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Giphy\GiphyListTrendingParams; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse; +use OnlyFansAPI\Giphy\GiphySearchParams; +use OnlyFansAPI\Giphy\GiphySearchResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\GiphyRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class GiphyRawService implements GiphyRawContract { diff --git a/src/Services/GiphyService.php b/src/Services/GiphyService.php index 8b7c965e..4fd18ad7 100644 --- a/src/Services/GiphyService.php +++ b/src/Services/GiphyService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Giphy\GiphySearchResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\GiphyContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse; +use OnlyFansAPI\Giphy\GiphySearchResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\GiphyContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class GiphyService implements GiphyContract { diff --git a/src/Services/LinkTagsRawService.php b/src/Services/LinkTagsRawService.php index 0e236177..4e0eff91 100644 --- a/src/Services/LinkTagsRawService.php +++ b/src/Services/LinkTagsRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\LinkTags\LinkTagListParams; -use Onlyfansapi\LinkTags\LinkTagListParams\Type; -use Onlyfansapi\LinkTags\LinkTagListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\LinkTagsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\LinkTags\LinkTagListParams; +use OnlyFansAPI\LinkTags\LinkTagListParams\Type; +use OnlyFansAPI\LinkTags\LinkTagListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\LinkTagsRawContract; /** * APIs for managing tags on free trial links and tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class LinkTagsRawService implements LinkTagsRawContract { diff --git a/src/Services/LinkTagsService.php b/src/Services/LinkTagsService.php index aeafd9a3..c046b72f 100644 --- a/src/Services/LinkTagsService.php +++ b/src/Services/LinkTagsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\LinkTags\LinkTagListParams\Type; -use Onlyfansapi\LinkTags\LinkTagListResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\LinkTagsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\LinkTags\LinkTagListParams\Type; +use OnlyFansAPI\LinkTags\LinkTagListResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\LinkTagsContract; /** * APIs for managing tags on free trial links and tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class LinkTagsService implements LinkTagsContract { diff --git a/src/Services/MassMessagingRawService.php b/src/Services/MassMessagingRawService.php index 4a4bfc7a..67715587 100644 --- a/src/Services/MassMessagingRawService.php +++ b/src/Services/MassMessagingRawService.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\MassMessaging\MassMessagingDeleteParams; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\MassMessaging\MassMessagingRetrieveOverviewParams; -use Onlyfansapi\MassMessaging\MassMessagingRetrieveParams; -use Onlyfansapi\MassMessaging\MassMessagingSendParams; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\MassMessaging\MassMessagingUpdateParams; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MassMessagingRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteParams; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse; +use OnlyFansAPI\MassMessaging\MassMessagingRetrieveOverviewParams; +use OnlyFansAPI\MassMessaging\MassMessagingRetrieveParams; +use OnlyFansAPI\MassMessaging\MassMessagingSendParams; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MassMessagingRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MassMessagingRawService implements MassMessagingRawContract { diff --git a/src/Services/MassMessagingService.php b/src/Services/MassMessagingService.php index df5d9756..4b157237 100644 --- a/src/Services/MassMessagingService.php +++ b/src/Services/MassMessagingService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MassMessagingContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MassMessagingContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MassMessagingService implements MassMessagingContract { diff --git a/src/Services/MeRawService.php b/src/Services/MeRawService.php index a906c586..caefe3fb 100644 --- a/src/Services/MeRawService.php +++ b/src/Services/MeRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Me\MeGetResponse; -use Onlyfansapi\Me\MeGetTopPercentageResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MeRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Me\MeGetModelStartDateResponse; +use OnlyFansAPI\Me\MeGetResponse; +use OnlyFansAPI\Me\MeGetTopPercentageResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MeRawContract; /** * Endpoints for your linked accounts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MeRawService implements MeRawContract { diff --git a/src/Services/MeService.php b/src/Services/MeService.php index 359d9e78..9a50e31c 100644 --- a/src/Services/MeService.php +++ b/src/Services/MeService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Me\MeGetResponse; -use Onlyfansapi\Me\MeGetTopPercentageResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MeContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Me\MeGetModelStartDateResponse; +use OnlyFansAPI\Me\MeGetResponse; +use OnlyFansAPI\Me\MeGetTopPercentageResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MeContract; /** * Endpoints for your linked accounts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MeService implements MeContract { diff --git a/src/Services/Media/UploadsRawService.php b/src/Services/Media/UploadsRawService.php index b73ea152..99c8d894 100644 --- a/src/Services/Media/UploadsRawService.php +++ b/src/Services/Media/UploadsRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media; +namespace OnlyFansAPI\Services\Media; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Uploads\UploadGetStatusParams; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\UploadsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Uploads\UploadGetStatusParams; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\UploadsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UploadsRawService implements UploadsRawContract { diff --git a/src/Services/Media/UploadsService.php b/src/Services/Media/UploadsService.php index 9dc3d14b..0ba7bad8 100644 --- a/src/Services/Media/UploadsService.php +++ b/src/Services/Media/UploadsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media; +namespace OnlyFansAPI\Services\Media; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember0; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember1; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember2; -use Onlyfansapi\Media\Uploads\UploadGetStatusResponse\UnionMember3; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\UploadsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember0; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember1; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember2; +use OnlyFansAPI\Media\Uploads\UploadGetStatusResponse\UnionMember3; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\UploadsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UploadsService implements UploadsContract { diff --git a/src/Services/Media/Vault/Lists/MediaRawService.php b/src/Services/Media/Vault/Lists/MediaRawService.php index ec6c0d20..d6ae50d5 100644 --- a/src/Services/Media/Vault/Lists/MediaRawService.php +++ b/src/Services/Media/Vault/Lists/MediaRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media\Vault\Lists; +namespace OnlyFansAPI\Services\Media\Vault\Lists; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddParams; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveParams; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\Vault\Lists\MediaRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddParams; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveParams; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\Vault\Lists\MediaRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MediaRawService implements MediaRawContract { diff --git a/src/Services/Media/Vault/Lists/MediaService.php b/src/Services/Media/Vault/Lists/MediaService.php index 5b784fc8..58223714 100644 --- a/src/Services/Media/Vault/Lists/MediaService.php +++ b/src/Services/Media/Vault/Lists/MediaService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media\Vault\Lists; +namespace OnlyFansAPI\Services\Media\Vault\Lists; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\Vault\Lists\MediaContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\Vault\Lists\MediaContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MediaService implements MediaContract { diff --git a/src/Services/Media/Vault/ListsRawService.php b/src/Services/Media/Vault/ListsRawService.php index d7795734..9f915cf6 100644 --- a/src/Services/Media/Vault/ListsRawService.php +++ b/src/Services/Media/Vault/ListsRawService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media\Vault; +namespace OnlyFansAPI\Services\Media\Vault; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Media\Vault\Lists\ListCreateParams; -use Onlyfansapi\Media\Vault\Lists\ListDeleteParams; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Media\Vault\Lists\ListListParams; -use Onlyfansapi\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Media\Vault\Lists\ListRetrieveParams; -use Onlyfansapi\Media\Vault\Lists\ListUpdateParams; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\Vault\ListsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Media\Vault\Lists\ListCreateParams; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteParams; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListParams; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; +use OnlyFansAPI\Media\Vault\Lists\ListRetrieveParams; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateParams; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\Vault\ListsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ListsRawService implements ListsRawContract { diff --git a/src/Services/Media/Vault/ListsService.php b/src/Services/Media/Vault/ListsService.php index 0fa84651..c63cff1d 100644 --- a/src/Services/Media/Vault/ListsService.php +++ b/src/Services/Media/Vault/ListsService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media\Vault; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\Vault\ListsContract; -use Onlyfansapi\Services\Media\Vault\Lists\MediaService; +namespace OnlyFansAPI\Services\Media\Vault; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\Vault\ListsContract; +use OnlyFansAPI\Services\Media\Vault\Lists\MediaService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ListsService implements ListsContract { diff --git a/src/Services/Media/VaultRawService.php b/src/Services/Media/VaultRawService.php index ce00b94c..7cbae255 100644 --- a/src/Services/Media/VaultRawService.php +++ b/src/Services/Media/VaultRawService.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media; +namespace OnlyFansAPI\Services\Media; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Media\Vault\VaultDeleteParams; -use Onlyfansapi\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Media\Vault\VaultGetResponse; -use Onlyfansapi\Media\Vault\VaultListParams; -use Onlyfansapi\Media\Vault\VaultListParams\Field; -use Onlyfansapi\Media\Vault\VaultListParams\Sort; -use Onlyfansapi\Media\Vault\VaultListParams\Type; -use Onlyfansapi\Media\Vault\VaultListResponse; -use Onlyfansapi\Media\Vault\VaultRetrieveParams; -use Onlyfansapi\Media\Vault\VaultUploadParams; -use Onlyfansapi\Media\Vault\VaultUploadResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\VaultRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Media\Vault\VaultDeleteParams; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse; +use OnlyFansAPI\Media\Vault\VaultGetResponse; +use OnlyFansAPI\Media\Vault\VaultListParams; +use OnlyFansAPI\Media\Vault\VaultListParams\Field; +use OnlyFansAPI\Media\Vault\VaultListParams\Sort; +use OnlyFansAPI\Media\Vault\VaultListParams\Type; +use OnlyFansAPI\Media\Vault\VaultListResponse; +use OnlyFansAPI\Media\Vault\VaultRetrieveParams; +use OnlyFansAPI\Media\Vault\VaultUploadParams; +use OnlyFansAPI\Media\Vault\VaultUploadResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\VaultRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class VaultRawService implements VaultRawContract { diff --git a/src/Services/Media/VaultService.php b/src/Services/Media/VaultService.php index 8b40f25c..2d533f00 100644 --- a/src/Services/Media/VaultService.php +++ b/src/Services/Media/VaultService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Media; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Media\Vault\VaultGetResponse; -use Onlyfansapi\Media\Vault\VaultListParams\Field; -use Onlyfansapi\Media\Vault\VaultListParams\Sort; -use Onlyfansapi\Media\Vault\VaultListParams\Type; -use Onlyfansapi\Media\Vault\VaultListResponse; -use Onlyfansapi\Media\Vault\VaultUploadResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Media\VaultContract; -use Onlyfansapi\Services\Media\Vault\ListsService; +namespace OnlyFansAPI\Services\Media; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse; +use OnlyFansAPI\Media\Vault\VaultGetResponse; +use OnlyFansAPI\Media\Vault\VaultListParams\Field; +use OnlyFansAPI\Media\Vault\VaultListParams\Sort; +use OnlyFansAPI\Media\Vault\VaultListParams\Type; +use OnlyFansAPI\Media\Vault\VaultListResponse; +use OnlyFansAPI\Media\Vault\VaultUploadResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Media\VaultContract; +use OnlyFansAPI\Services\Media\Vault\ListsService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class VaultService implements VaultContract { diff --git a/src/Services/MediaRawService.php b/src/Services/MediaRawService.php index 745b16cd..2b62f070 100644 --- a/src/Services/MediaRawService.php +++ b/src/Services/MediaRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Media\MediaDownloadParams; -use Onlyfansapi\Media\MediaScrapeParams; -use Onlyfansapi\Media\MediaScrapeParams\FileType; -use Onlyfansapi\Media\MediaScrapeResponse; -use Onlyfansapi\Media\MediaUploadParams; -use Onlyfansapi\Media\MediaUploadParams\Type; -use Onlyfansapi\Media\MediaUploadResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MediaRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Media\MediaDownloadParams; +use OnlyFansAPI\Media\MediaScrapeParams; +use OnlyFansAPI\Media\MediaScrapeParams\FileType; +use OnlyFansAPI\Media\MediaScrapeResponse; +use OnlyFansAPI\Media\MediaUploadParams; +use OnlyFansAPI\Media\MediaUploadParams\Type; +use OnlyFansAPI\Media\MediaUploadResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MediaRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MediaRawService implements MediaRawContract { diff --git a/src/Services/MediaService.php b/src/Services/MediaService.php index 743ea0ef..c7fdaebe 100644 --- a/src/Services/MediaService.php +++ b/src/Services/MediaService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\FileParam; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\MediaScrapeParams\FileType; -use Onlyfansapi\Media\MediaScrapeResponse; -use Onlyfansapi\Media\MediaUploadParams\Type; -use Onlyfansapi\Media\MediaUploadResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MediaContract; -use Onlyfansapi\Services\Media\UploadsService; -use Onlyfansapi\Services\Media\VaultService; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\FileParam; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\MediaScrapeParams\FileType; +use OnlyFansAPI\Media\MediaScrapeResponse; +use OnlyFansAPI\Media\MediaUploadParams\Type; +use OnlyFansAPI\Media\MediaUploadResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MediaContract; +use OnlyFansAPI\Services\Media\UploadsService; +use OnlyFansAPI\Services\Media\VaultService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MediaService implements MediaContract { diff --git a/src/Services/MessagesRawService.php b/src/Services/MessagesRawService.php index a7a0d9f9..b7490e6d 100644 --- a/src/Services/MessagesRawService.php +++ b/src/Services/MessagesRawService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Messages\MessageAttachTagsParams; -use Onlyfansapi\Messages\MessageAttachTagsResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MessagesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Messages\MessageAttachTagsParams; +use OnlyFansAPI\Messages\MessageAttachTagsResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesRawService implements MessagesRawContract { diff --git a/src/Services/MessagesService.php b/src/Services/MessagesService.php index ec163aa6..d641178b 100644 --- a/src/Services/MessagesService.php +++ b/src/Services/MessagesService.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Messages\MessageAttachTagsResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\MessagesContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Messages\MessageAttachTagsResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\MessagesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesService implements MessagesContract { diff --git a/src/Services/Notifications/TabsOrderRawService.php b/src/Services/Notifications/TabsOrderRawService.php index 76c8f669..dee81193 100644 --- a/src/Services/Notifications/TabsOrderRawService.php +++ b/src/Services/Notifications/TabsOrderRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Notifications; +namespace OnlyFansAPI\Services\Notifications; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateParams; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Notifications\TabsOrderRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateParams; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Notifications\TabsOrderRawContract; /** * Endpoints for managingr account notifications. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TabsOrderRawService implements TabsOrderRawContract { diff --git a/src/Services/Notifications/TabsOrderService.php b/src/Services/Notifications/TabsOrderService.php index c9c47de8..7a185d5c 100644 --- a/src/Services/Notifications/TabsOrderService.php +++ b/src/Services/Notifications/TabsOrderService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Notifications; +namespace OnlyFansAPI\Services\Notifications; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Notifications\TabsOrderContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Notifications\TabsOrderContract; /** * Endpoints for managingr account notifications. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TabsOrderService implements TabsOrderContract { diff --git a/src/Services/NotificationsRawService.php b/src/Services/NotificationsRawService.php index ca6bf8e4..866eeb13 100644 --- a/src/Services/NotificationsRawService.php +++ b/src/Services/NotificationsRawService.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Notifications\NotificationListParams; -use Onlyfansapi\Notifications\NotificationListParams\SkipUsers; -use Onlyfansapi\Notifications\NotificationListParams\Type; -use Onlyfansapi\Notifications\NotificationListResponse; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Notifications\NotificationSearchUsersParams; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\NotificationsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse; +use OnlyFansAPI\Notifications\NotificationListParams; +use OnlyFansAPI\Notifications\NotificationListParams\SkipUsers; +use OnlyFansAPI\Notifications\NotificationListParams\Type; +use OnlyFansAPI\Notifications\NotificationListResponse; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; +use OnlyFansAPI\Notifications\NotificationSearchUsersParams; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\NotificationsRawContract; /** * Endpoints for managingr account notifications. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class NotificationsRawService implements NotificationsRawContract { diff --git a/src/Services/NotificationsService.php b/src/Services/NotificationsService.php index b84612b5..85515b1e 100644 --- a/src/Services/NotificationsService.php +++ b/src/Services/NotificationsService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Notifications\NotificationListParams\SkipUsers; -use Onlyfansapi\Notifications\NotificationListParams\Type; -use Onlyfansapi\Notifications\NotificationListResponse; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\NotificationsContract; -use Onlyfansapi\Services\Notifications\TabsOrderService; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse; +use OnlyFansAPI\Notifications\NotificationListParams\SkipUsers; +use OnlyFansAPI\Notifications\NotificationListParams\Type; +use OnlyFansAPI\Notifications\NotificationListResponse; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\NotificationsContract; +use OnlyFansAPI\Services\Notifications\TabsOrderService; /** * Endpoints for managingr account notifications. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class NotificationsService implements NotificationsContract { diff --git a/src/Services/PayoutsRawService.php b/src/Services/PayoutsRawService.php index 9ec54bb8..85b470f9 100644 --- a/src/Services/PayoutsRawService.php +++ b/src/Services/PayoutsRawService.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Payouts\PayoutListRequestsParams; -use Onlyfansapi\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalParams; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Payouts\PayoutRetrieveEarningStatisticsParams; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams\Frequency; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PayoutsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; +use OnlyFansAPI\Payouts\PayoutListRequestsParams; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalParams; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +use OnlyFansAPI\Payouts\PayoutRetrieveEarningStatisticsParams; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams\Frequency; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PayoutsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PayoutsRawService implements PayoutsRawContract { diff --git a/src/Services/PayoutsService.php b/src/Services/PayoutsService.php index dc33db80..d35eaa31 100644 --- a/src/Services/PayoutsService.php +++ b/src/Services/PayoutsService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; -use Onlyfansapi\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyParams\Frequency; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PayoutsContract; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember0; +use OnlyFansAPI\Payouts\PayoutRequestManualWithdrawalResponse\UnionMember1; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyParams\Frequency; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PayoutsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PayoutsService implements PayoutsContract { diff --git a/src/Services/Posts/CommentsRawService.php b/src/Services/Posts/CommentsRawService.php index f8ae52a6..6b780bc4 100644 --- a/src/Services/Posts/CommentsRawService.php +++ b/src/Services/Posts/CommentsRawService.php @@ -2,32 +2,32 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Posts; +namespace OnlyFansAPI\Services\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\Comments\CommentCreateParams; -use Onlyfansapi\Posts\Comments\CommentDeleteParams; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Posts\Comments\CommentLikeParams; -use Onlyfansapi\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Posts\Comments\CommentListParams; -use Onlyfansapi\Posts\Comments\CommentListParams\Sort; -use Onlyfansapi\Posts\Comments\CommentListResponse; -use Onlyfansapi\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Posts\Comments\CommentPinParams; -use Onlyfansapi\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Posts\Comments\CommentUnlikeParams; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Posts\Comments\CommentUnpinParams; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Posts\CommentsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\Comments\CommentCreateParams; +use OnlyFansAPI\Posts\Comments\CommentDeleteParams; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse; +use OnlyFansAPI\Posts\Comments\CommentLikeParams; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse; +use OnlyFansAPI\Posts\Comments\CommentListParams; +use OnlyFansAPI\Posts\Comments\CommentListParams\Sort; +use OnlyFansAPI\Posts\Comments\CommentListResponse; +use OnlyFansAPI\Posts\Comments\CommentNewResponse; +use OnlyFansAPI\Posts\Comments\CommentPinParams; +use OnlyFansAPI\Posts\Comments\CommentPinResponse; +use OnlyFansAPI\Posts\Comments\CommentUnlikeParams; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; +use OnlyFansAPI\Posts\Comments\CommentUnpinParams; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Posts\CommentsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class CommentsRawService implements CommentsRawContract { diff --git a/src/Services/Posts/CommentsService.php b/src/Services/Posts/CommentsService.php index b48ea5e1..a8fd899c 100644 --- a/src/Services/Posts/CommentsService.php +++ b/src/Services/Posts/CommentsService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Posts; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Posts\Comments\CommentListParams\Sort; -use Onlyfansapi\Posts\Comments\CommentListResponse; -use Onlyfansapi\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Posts\CommentsContract; +namespace OnlyFansAPI\Services\Posts; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse; +use OnlyFansAPI\Posts\Comments\CommentListParams\Sort; +use OnlyFansAPI\Posts\Comments\CommentListResponse; +use OnlyFansAPI\Posts\Comments\CommentNewResponse; +use OnlyFansAPI\Posts\Comments\CommentPinResponse; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Posts\CommentsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class CommentsService implements CommentsContract { diff --git a/src/Services/Posts/LabelsRawService.php b/src/Services/Posts/LabelsRawService.php index 40db546c..4abce60c 100644 --- a/src/Services/Posts/LabelsRawService.php +++ b/src/Services/Posts/LabelsRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Posts; +namespace OnlyFansAPI\Services\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Posts\Labels\LabelCreateParams; -use Onlyfansapi\Posts\Labels\LabelListParams; -use Onlyfansapi\Posts\Labels\LabelListResponse; -use Onlyfansapi\Posts\Labels\LabelNewResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Posts\LabelsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Posts\Labels\LabelCreateParams; +use OnlyFansAPI\Posts\Labels\LabelListParams; +use OnlyFansAPI\Posts\Labels\LabelListResponse; +use OnlyFansAPI\Posts\Labels\LabelNewResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Posts\LabelsRawContract; /** * APIs for managing your post labels. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class LabelsRawService implements LabelsRawContract { diff --git a/src/Services/Posts/LabelsService.php b/src/Services/Posts/LabelsService.php index 6932ff4d..94749536 100644 --- a/src/Services/Posts/LabelsService.php +++ b/src/Services/Posts/LabelsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Posts; +namespace OnlyFansAPI\Services\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\Labels\LabelListResponse; -use Onlyfansapi\Posts\Labels\LabelNewResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Posts\LabelsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\Labels\LabelListResponse; +use OnlyFansAPI\Posts\Labels\LabelNewResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Posts\LabelsContract; /** * APIs for managing your post labels. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class LabelsService implements LabelsContract { diff --git a/src/Services/PostsRawService.php b/src/Services/PostsRawService.php index e486e65e..eee4cf2f 100644 --- a/src/Services/PostsRawService.php +++ b/src/Services/PostsRawService.php @@ -2,39 +2,39 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\PostArchiveParams; -use Onlyfansapi\Posts\PostArchiveResponse; -use Onlyfansapi\Posts\PostCreateParams; -use Onlyfansapi\Posts\PostCreateParams\VotingType; -use Onlyfansapi\Posts\PostDeleteParams; -use Onlyfansapi\Posts\PostDeleteResponse; -use Onlyfansapi\Posts\PostGetResponse; -use Onlyfansapi\Posts\PostListParams; -use Onlyfansapi\Posts\PostListParams\Order; -use Onlyfansapi\Posts\PostListParams\Sort; -use Onlyfansapi\Posts\PostListResponse; -use Onlyfansapi\Posts\PostNewResponse; -use Onlyfansapi\Posts\PostPinParams; -use Onlyfansapi\Posts\PostPinResponse; -use Onlyfansapi\Posts\PostRetrieveParams; -use Onlyfansapi\Posts\PostStatsParams; -use Onlyfansapi\Posts\PostStatsResponse; -use Onlyfansapi\Posts\PostUnarchiveParams; -use Onlyfansapi\Posts\PostUnarchiveResponse; -use Onlyfansapi\Posts\PostUpdateParams; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PostsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\PostArchiveParams; +use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams; +use OnlyFansAPI\Posts\PostCreateParams\VotingType; +use OnlyFansAPI\Posts\PostDeleteParams; +use OnlyFansAPI\Posts\PostDeleteResponse; +use OnlyFansAPI\Posts\PostGetResponse; +use OnlyFansAPI\Posts\PostListParams; +use OnlyFansAPI\Posts\PostListParams\Order; +use OnlyFansAPI\Posts\PostListParams\Sort; +use OnlyFansAPI\Posts\PostListResponse; +use OnlyFansAPI\Posts\PostNewResponse; +use OnlyFansAPI\Posts\PostPinParams; +use OnlyFansAPI\Posts\PostPinResponse; +use OnlyFansAPI\Posts\PostRetrieveParams; +use OnlyFansAPI\Posts\PostStatsParams; +use OnlyFansAPI\Posts\PostStatsResponse; +use OnlyFansAPI\Posts\PostUnarchiveParams; +use OnlyFansAPI\Posts\PostUnarchiveResponse; +use OnlyFansAPI\Posts\PostUpdateParams; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PostsRawContract; /** * APIs for managing OnlyFans posts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PostsRawService implements PostsRawContract { diff --git a/src/Services/PostsService.php b/src/Services/PostsService.php index a92af03d..ea7f76e1 100644 --- a/src/Services/PostsService.php +++ b/src/Services/PostsService.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\PostArchiveResponse; -use Onlyfansapi\Posts\PostCreateParams\VotingType; -use Onlyfansapi\Posts\PostDeleteResponse; -use Onlyfansapi\Posts\PostGetResponse; -use Onlyfansapi\Posts\PostListParams\Order; -use Onlyfansapi\Posts\PostListParams\Sort; -use Onlyfansapi\Posts\PostListResponse; -use Onlyfansapi\Posts\PostNewResponse; -use Onlyfansapi\Posts\PostPinResponse; -use Onlyfansapi\Posts\PostStatsResponse; -use Onlyfansapi\Posts\PostUnarchiveResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PostsContract; -use Onlyfansapi\Services\Posts\CommentsService; -use Onlyfansapi\Services\Posts\LabelsService; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams\VotingType; +use OnlyFansAPI\Posts\PostDeleteResponse; +use OnlyFansAPI\Posts\PostGetResponse; +use OnlyFansAPI\Posts\PostListParams\Order; +use OnlyFansAPI\Posts\PostListParams\Sort; +use OnlyFansAPI\Posts\PostListResponse; +use OnlyFansAPI\Posts\PostNewResponse; +use OnlyFansAPI\Posts\PostPinResponse; +use OnlyFansAPI\Posts\PostStatsResponse; +use OnlyFansAPI\Posts\PostUnarchiveResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PostsContract; +use OnlyFansAPI\Services\Posts\CommentsService; +use OnlyFansAPI\Services\Posts\LabelsService; /** * APIs for managing OnlyFans posts. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PostsService implements PostsContract { @@ -166,7 +166,7 @@ public function retrieve( * @param int $votingCorrectIndex Body param: The array key of your quiz' correct answer. Required when `votingType` is "quiz". Keep in mind that arrays start at `0` * @param int $votingDue Body param: The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with `votingType`. * @param list $votingOptions Body param: The options of your poll/quiz. Required with `votingType`. - * @param \Onlyfansapi\Posts\PostUpdateParams\VotingType|value-of<\Onlyfansapi\Posts\PostUpdateParams\VotingType> $votingType body param: Include a poll or quiz within your post + * @param \OnlyFansAPI\Posts\PostUpdateParams\VotingType|value-of<\OnlyFansAPI\Posts\PostUpdateParams\VotingType> $votingType body param: Include a poll or quiz within your post * @param RequestOpts|null $requestOptions * * @throws APIException @@ -187,7 +187,7 @@ public function update( ?int $votingCorrectIndex = null, ?int $votingDue = null, ?array $votingOptions = null, - \Onlyfansapi\Posts\PostUpdateParams\VotingType|string|null $votingType = null, + \OnlyFansAPI\Posts\PostUpdateParams\VotingType|string|null $votingType = null, RequestOptions|array|null $requestOptions = null, ): string { $params = Util::removeNulls( diff --git a/src/Services/ProfilesRawService.php b/src/Services/ProfilesRawService.php index 85a40f97..43f71b33 100644 --- a/src/Services/ProfilesRawService.php +++ b/src/Services/ProfilesRawService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Profiles\ProfileGetResponse; -use Onlyfansapi\Profiles\ProfileRetrieveParams; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ProfilesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Profiles\ProfileGetResponse; +use OnlyFansAPI\Profiles\ProfileRetrieveParams; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ProfilesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ProfilesRawService implements ProfilesRawContract { diff --git a/src/Services/ProfilesService.php b/src/Services/ProfilesService.php index 65519bc1..02b9e5f7 100644 --- a/src/Services/ProfilesService.php +++ b/src/Services/ProfilesService.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Profiles\ProfileGetResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ProfilesContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Profiles\ProfileGetResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ProfilesContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ProfilesService implements ProfilesContract { diff --git a/src/Services/PromotionsRawService.php b/src/Services/PromotionsRawService.php index 2c0d69a0..cceba2b4 100644 --- a/src/Services/PromotionsRawService.php +++ b/src/Services/PromotionsRawService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Promotions\PromotionCreateParams; -use Onlyfansapi\Promotions\PromotionCreateParams\Type; -use Onlyfansapi\Promotions\PromotionDeleteParams; -use Onlyfansapi\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Promotions\PromotionListParams; -use Onlyfansapi\Promotions\PromotionListResponse; -use Onlyfansapi\Promotions\PromotionNewResponse; -use Onlyfansapi\Promotions\PromotionStopParams; -use Onlyfansapi\Promotions\PromotionStopResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PromotionsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Promotions\PromotionCreateParams; +use OnlyFansAPI\Promotions\PromotionCreateParams\Type; +use OnlyFansAPI\Promotions\PromotionDeleteParams; +use OnlyFansAPI\Promotions\PromotionDeleteResponse; +use OnlyFansAPI\Promotions\PromotionListParams; +use OnlyFansAPI\Promotions\PromotionListResponse; +use OnlyFansAPI\Promotions\PromotionNewResponse; +use OnlyFansAPI\Promotions\PromotionStopParams; +use OnlyFansAPI\Promotions\PromotionStopResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PromotionsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PromotionsRawService implements PromotionsRawContract { diff --git a/src/Services/PromotionsService.php b/src/Services/PromotionsService.php index e6b61600..8584c4c7 100644 --- a/src/Services/PromotionsService.php +++ b/src/Services/PromotionsService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Promotions\PromotionCreateParams\Type; -use Onlyfansapi\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Promotions\PromotionListResponse; -use Onlyfansapi\Promotions\PromotionNewResponse; -use Onlyfansapi\Promotions\PromotionStopResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\PromotionsContract; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Promotions\PromotionCreateParams\Type; +use OnlyFansAPI\Promotions\PromotionDeleteResponse; +use OnlyFansAPI\Promotions\PromotionListResponse; +use OnlyFansAPI\Promotions\PromotionNewResponse; +use OnlyFansAPI\Promotions\PromotionStopResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\PromotionsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PromotionsService implements PromotionsContract { diff --git a/src/Services/QueueRawService.php b/src/Services/QueueRawService.php index 632d65cc..60e993a4 100644 --- a/src/Services/QueueRawService.php +++ b/src/Services/QueueRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Queue\QueueCountParams; -use Onlyfansapi\Queue\QueueCountResponse; -use Onlyfansapi\Queue\QueueListParams; -use Onlyfansapi\Queue\QueueListResponse; -use Onlyfansapi\Queue\QueuePublishParams; -use Onlyfansapi\Queue\QueuePublishResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\QueueRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Queue\QueueCountParams; +use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListParams; +use OnlyFansAPI\Queue\QueueListResponse; +use OnlyFansAPI\Queue\QueuePublishParams; +use OnlyFansAPI\Queue\QueuePublishResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\QueueRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class QueueRawService implements QueueRawContract { diff --git a/src/Services/QueueService.php b/src/Services/QueueService.php index 5b33d08c..77a33467 100644 --- a/src/Services/QueueService.php +++ b/src/Services/QueueService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Queue\QueueCountResponse; -use Onlyfansapi\Queue\QueueListResponse; -use Onlyfansapi\Queue\QueuePublishResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\QueueContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListResponse; +use OnlyFansAPI\Queue\QueuePublishResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\QueueContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class QueueService implements QueueContract { diff --git a/src/Services/ReleaseFormsRawService.php b/src/Services/ReleaseFormsRawService.php index 6c914582..cfc1ea9d 100644 --- a/src/Services/ReleaseFormsRawService.php +++ b/src/Services/ReleaseFormsRawService.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\ReleaseForms\ReleaseFormCreateInvitationLinkParams; -use Onlyfansapi\ReleaseForms\ReleaseFormCreateReleaseFormParams; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ReleaseFormsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\ReleaseForms\ReleaseFormCreateInvitationLinkParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormCreateReleaseFormParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ReleaseFormsRawContract; /** * APIs for managing OnlyFans release forms. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ReleaseFormsRawService implements ReleaseFormsRawContract { diff --git a/src/Services/ReleaseFormsService.php b/src/Services/ReleaseFormsService.php index c84ca249..ac39ce88 100644 --- a/src/Services/ReleaseFormsService.php +++ b/src/Services/ReleaseFormsService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\ReleaseFormsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Filter; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\Sort; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersParams\SortDirection; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\ReleaseFormsContract; /** * APIs for managing OnlyFans release forms. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ReleaseFormsService implements ReleaseFormsContract { diff --git a/src/Services/SavedForLater/Messages/SettingsRawService.php b/src/Services/SavedForLater/Messages/SettingsRawService.php index e8f6d36e..75fad63e 100644 --- a/src/Services/SavedForLater/Messages/SettingsRawService.php +++ b/src/Services/SavedForLater/Messages/SettingsRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater\Messages; +namespace OnlyFansAPI\Services\SavedForLater\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\Messages\SettingsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\Messages\SettingsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsRawService implements SettingsRawContract { diff --git a/src/Services/SavedForLater/Messages/SettingsService.php b/src/Services/SavedForLater/Messages/SettingsService.php index d5fed71e..22a313b8 100644 --- a/src/Services/SavedForLater/Messages/SettingsService.php +++ b/src/Services/SavedForLater/Messages/SettingsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater\Messages; +namespace OnlyFansAPI\Services\SavedForLater\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\Messages\SettingsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingParams\Period; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\Messages\SettingsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsService implements SettingsContract { diff --git a/src/Services/SavedForLater/MessagesRawService.php b/src/Services/SavedForLater/MessagesRawService.php index dc61009b..02b5c694 100644 --- a/src/Services/SavedForLater/MessagesRawService.php +++ b/src/Services/SavedForLater/MessagesRawService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater; +namespace OnlyFansAPI\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\MessageListParams; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\MessagesRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\MessageListParams; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\MessagesRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesRawService implements MessagesRawContract { diff --git a/src/Services/SavedForLater/MessagesService.php b/src/Services/SavedForLater/MessagesService.php index 988a89ad..fe36f6ee 100644 --- a/src/Services/SavedForLater/MessagesService.php +++ b/src/Services/SavedForLater/MessagesService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater; +namespace OnlyFansAPI\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\MessagesContract; -use Onlyfansapi\Services\SavedForLater\Messages\SettingsService; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\MessagesContract; +use OnlyFansAPI\Services\SavedForLater\Messages\SettingsService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class MessagesService implements MessagesContract { diff --git a/src/Services/SavedForLater/Posts/SettingsRawService.php b/src/Services/SavedForLater/Posts/SettingsRawService.php index cf6067a8..df8d12a2 100644 --- a/src/Services/SavedForLater/Posts/SettingsRawService.php +++ b/src/Services/SavedForLater/Posts/SettingsRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater\Posts; +namespace OnlyFansAPI\Services\SavedForLater\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\Posts\SettingsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\Posts\SettingsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsRawService implements SettingsRawContract { diff --git a/src/Services/SavedForLater/Posts/SettingsService.php b/src/Services/SavedForLater/Posts/SettingsService.php index 5a5e68de..7d9487a6 100644 --- a/src/Services/SavedForLater/Posts/SettingsService.php +++ b/src/Services/SavedForLater/Posts/SettingsService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater\Posts; +namespace OnlyFansAPI\Services\SavedForLater\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\Posts\SettingsContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingParams\Period; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\Posts\SettingsContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsService implements SettingsContract { diff --git a/src/Services/SavedForLater/PostsRawService.php b/src/Services/SavedForLater/PostsRawService.php index 4f3e0c5b..917dd00c 100644 --- a/src/Services/SavedForLater/PostsRawService.php +++ b/src/Services/SavedForLater/PostsRawService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater; +namespace OnlyFansAPI\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\PostListParams; -use Onlyfansapi\SavedForLater\Posts\PostListResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\PostsRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\PostListParams; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\PostsRawContract; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PostsRawService implements PostsRawContract { diff --git a/src/Services/SavedForLater/PostsService.php b/src/Services/SavedForLater/PostsService.php index dc6483b3..ae09603f 100644 --- a/src/Services/SavedForLater/PostsService.php +++ b/src/Services/SavedForLater/PostsService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SavedForLater; +namespace OnlyFansAPI\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\SavedForLater\Posts\PostListResponse; -use Onlyfansapi\ServiceContracts\SavedForLater\PostsContract; -use Onlyfansapi\Services\SavedForLater\Posts\SettingsService; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse; +use OnlyFansAPI\ServiceContracts\SavedForLater\PostsContract; +use OnlyFansAPI\Services\SavedForLater\Posts\SettingsService; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class PostsService implements PostsContract { diff --git a/src/Services/SavedForLaterRawService.php b/src/Services/SavedForLaterRawService.php index 32a4114e..1977b644 100644 --- a/src/Services/SavedForLaterRawService.php +++ b/src/Services/SavedForLaterRawService.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\SavedForLaterRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\SavedForLaterRawContract; final class SavedForLaterRawService implements SavedForLaterRawContract { diff --git a/src/Services/SavedForLaterService.php b/src/Services/SavedForLaterService.php index 66f12c43..7e3efff3 100644 --- a/src/Services/SavedForLaterService.php +++ b/src/Services/SavedForLaterService.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ServiceContracts\SavedForLaterContract; -use Onlyfansapi\Services\SavedForLater\MessagesService; -use Onlyfansapi\Services\SavedForLater\PostsService; +use OnlyFansAPI\Client; +use OnlyFansAPI\ServiceContracts\SavedForLaterContract; +use OnlyFansAPI\Services\SavedForLater\MessagesService; +use OnlyFansAPI\Services\SavedForLater\PostsService; final class SavedForLaterService implements SavedForLaterContract { diff --git a/src/Services/SearchRawService.php b/src/Services/SearchRawService.php index e0fd15db..3e6d9b4e 100644 --- a/src/Services/SearchRawService.php +++ b/src/Services/SearchRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Search\SearchProfilesParams; -use Onlyfansapi\Search\SearchProfilesParams\Filter; -use Onlyfansapi\Search\SearchProfilesParams\Sort; -use Onlyfansapi\Search\SearchProfilesParams\SortDirection; -use Onlyfansapi\Search\SearchProfilesResponse; -use Onlyfansapi\ServiceContracts\SearchRawContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Search\SearchProfilesParams; +use OnlyFansAPI\Search\SearchProfilesParams\Filter; +use OnlyFansAPI\Search\SearchProfilesParams\Sort; +use OnlyFansAPI\Search\SearchProfilesParams\SortDirection; +use OnlyFansAPI\Search\SearchProfilesResponse; +use OnlyFansAPI\ServiceContracts\SearchRawContract; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Search\SearchProfilesParams\Filter - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Search\SearchProfilesParams\Filter + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SearchRawService implements SearchRawContract { diff --git a/src/Services/SearchService.php b/src/Services/SearchService.php index 7eabc91f..5d9e2a6e 100644 --- a/src/Services/SearchService.php +++ b/src/Services/SearchService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\Search\SearchProfilesParams\Filter; -use Onlyfansapi\Search\SearchProfilesParams\Sort; -use Onlyfansapi\Search\SearchProfilesParams\SortDirection; -use Onlyfansapi\Search\SearchProfilesResponse; -use Onlyfansapi\ServiceContracts\SearchContract; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Search\SearchProfilesParams\Filter; +use OnlyFansAPI\Search\SearchProfilesParams\Sort; +use OnlyFansAPI\Search\SearchProfilesParams\SortDirection; +use OnlyFansAPI\Search\SearchProfilesResponse; +use OnlyFansAPI\ServiceContracts\SearchContract; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Search\SearchProfilesParams\Filter - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Search\SearchProfilesParams\Filter + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SearchService implements SearchContract { diff --git a/src/Services/Settings/BlockedCountriesRawService.php b/src/Services/Settings/BlockedCountriesRawService.php index a351f86a..be6b6c38 100644 --- a/src/Services/Settings/BlockedCountriesRawService.php +++ b/src/Services/Settings/BlockedCountriesRawService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; +namespace OnlyFansAPI\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\BlockedCountriesRawContract; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateParams; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\BlockedCountriesRawContract; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateParams; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BlockedCountriesRawService implements BlockedCountriesRawContract { diff --git a/src/Services/Settings/BlockedCountriesService.php b/src/Services/Settings/BlockedCountriesService.php index acf0e62c..44288e02 100644 --- a/src/Services/Settings/BlockedCountriesService.php +++ b/src/Services/Settings/BlockedCountriesService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; +namespace OnlyFansAPI\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\BlockedCountriesContract; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\BlockedCountriesContract; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BlockedCountriesService implements BlockedCountriesContract { diff --git a/src/Services/Settings/SocialMediaButtonsRawService.php b/src/Services/Settings/SocialMediaButtonsRawService.php index 898f989a..e9544c5c 100644 --- a/src/Services/Settings/SocialMediaButtonsRawService.php +++ b/src/Services/Settings/SocialMediaButtonsRawService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; +namespace OnlyFansAPI\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\SocialMediaButtonsRawContract; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateParams; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\SocialMediaButtonsRawContract; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateParams; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SocialMediaButtonsRawService implements SocialMediaButtonsRawContract { diff --git a/src/Services/Settings/SocialMediaButtonsService.php b/src/Services/Settings/SocialMediaButtonsService.php index 03e5aa97..7c52dafa 100644 --- a/src/Services/Settings/SocialMediaButtonsService.php +++ b/src/Services/Settings/SocialMediaButtonsService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\SocialMediaButtonsContract; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +namespace OnlyFansAPI\Services\Settings; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\SocialMediaButtonsContract; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SocialMediaButtonsService implements SocialMediaButtonsContract { diff --git a/src/Services/Settings/WelcomeMessageRawService.php b/src/Services/Settings/WelcomeMessageRawService.php index 8d6fa106..96b33fed 100644 --- a/src/Services/Settings/WelcomeMessageRawService.php +++ b/src/Services/Settings/WelcomeMessageRawService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; +namespace OnlyFansAPI\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\WelcomeMessageRawContract; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleParams; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateParams; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\WelcomeMessageRawContract; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleParams; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateParams; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WelcomeMessageRawService implements WelcomeMessageRawContract { diff --git a/src/Services/Settings/WelcomeMessageService.php b/src/Services/Settings/WelcomeMessageService.php index 7781c0cf..da2523a0 100644 --- a/src/Services/Settings/WelcomeMessageService.php +++ b/src/Services/Settings/WelcomeMessageService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Settings; +namespace OnlyFansAPI\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Settings\WelcomeMessageContract; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Settings\WelcomeMessageContract; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WelcomeMessageService implements WelcomeMessageContract { diff --git a/src/Services/SettingsRawService.php b/src/Services/SettingsRawService.php index 3762d3c6..6a7fcc06 100644 --- a/src/Services/SettingsRawService.php +++ b/src/Services/SettingsRawService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SettingsRawContract; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityParams; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Settings\SettingGetResponse; -use Onlyfansapi\Settings\SettingUpdateProfileParams; -use Onlyfansapi\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceParams; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SettingsRawContract; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityParams; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; +use OnlyFansAPI\Settings\SettingGetResponse; +use OnlyFansAPI\Settings\SettingUpdateProfileParams; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceParams; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsRawService implements SettingsRawContract { diff --git a/src/Services/SettingsService.php b/src/Services/SettingsService.php index 978732b9..32f01ba1 100644 --- a/src/Services/SettingsService.php +++ b/src/Services/SettingsService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SettingsContract; -use Onlyfansapi\Services\Settings\BlockedCountriesService; -use Onlyfansapi\Services\Settings\SocialMediaButtonsService; -use Onlyfansapi\Services\Settings\WelcomeMessageService; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Settings\SettingGetResponse; -use Onlyfansapi\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SettingsContract; +use OnlyFansAPI\Services\Settings\BlockedCountriesService; +use OnlyFansAPI\Services\Settings\SocialMediaButtonsService; +use OnlyFansAPI\Services\Settings\WelcomeMessageService; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; +use OnlyFansAPI\Settings\SettingGetResponse; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SettingsService implements SettingsContract { diff --git a/src/Services/SharedTrackingLinks/TagsRawService.php b/src/Services/SharedTrackingLinks/TagsRawService.php index 6dfa7aa5..cf3fd6aa 100644 --- a/src/Services/SharedTrackingLinks/TagsRawService.php +++ b/src/Services/SharedTrackingLinks/TagsRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SharedTrackingLinks; +namespace OnlyFansAPI\Services\SharedTrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrackingLinks\TagsRawContract; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveParams; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrackingLinks\TagsRawContract; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveParams; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; /** * APIs for Tracking Links (campaigns) that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared campaigns. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsRawService implements TagsRawContract { diff --git a/src/Services/SharedTrackingLinks/TagsService.php b/src/Services/SharedTrackingLinks/TagsService.php index b9de554c..5ac2cd2b 100644 --- a/src/Services/SharedTrackingLinks/TagsService.php +++ b/src/Services/SharedTrackingLinks/TagsService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SharedTrackingLinks; +namespace OnlyFansAPI\Services\SharedTrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrackingLinks\TagsContract; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrackingLinks\TagsContract; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; /** * APIs for Tracking Links (campaigns) that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared campaigns. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsService implements TagsContract { diff --git a/src/Services/SharedTrackingLinksRawService.php b/src/Services/SharedTrackingLinksRawService.php index eddb8a28..6260ed9b 100644 --- a/src/Services/SharedTrackingLinksRawService.php +++ b/src/Services/SharedTrackingLinksRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrackingLinksRawContract; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListParams; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessParams; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrackingLinksRawContract; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessParams; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; /** * APIs for Tracking Links (campaigns) that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared campaigns. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SharedTrackingLinksRawService implements SharedTrackingLinksRawContract { diff --git a/src/Services/SharedTrackingLinksService.php b/src/Services/SharedTrackingLinksService.php index 13ceccfb..b47296f8 100644 --- a/src/Services/SharedTrackingLinksService.php +++ b/src/Services/SharedTrackingLinksService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrackingLinksContract; -use Onlyfansapi\Services\SharedTrackingLinks\TagsService; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrackingLinksContract; +use OnlyFansAPI\Services\SharedTrackingLinks\TagsService; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; /** * APIs for Tracking Links (campaigns) that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared campaigns. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SharedTrackingLinksService implements SharedTrackingLinksContract { diff --git a/src/Services/SharedTrialLinks/TagsRawService.php b/src/Services/SharedTrialLinks/TagsRawService.php index 1de7ecfa..474d73fd 100644 --- a/src/Services/SharedTrialLinks/TagsRawService.php +++ b/src/Services/SharedTrialLinks/TagsRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SharedTrialLinks; +namespace OnlyFansAPI\Services\SharedTrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrialLinks\TagsRawContract; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagListParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveParams; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrialLinks\TagsRawContract; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveParams; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; /** * APIs for Free Trial Links that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsRawService implements TagsRawContract { diff --git a/src/Services/SharedTrialLinks/TagsService.php b/src/Services/SharedTrialLinks/TagsService.php index cf482893..306f253f 100644 --- a/src/Services/SharedTrialLinks/TagsService.php +++ b/src/Services/SharedTrialLinks/TagsService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\SharedTrialLinks; +namespace OnlyFansAPI\Services\SharedTrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrialLinks\TagsContract; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrialLinks\TagsContract; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; /** * APIs for Free Trial Links that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsService implements TagsContract { diff --git a/src/Services/SharedTrialLinksRawService.php b/src/Services/SharedTrialLinksRawService.php index 98954dfc..0d57a5c4 100644 --- a/src/Services/SharedTrialLinksRawService.php +++ b/src/Services/SharedTrialLinksRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrialLinksRawContract; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListParams; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessParams; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrialLinksRawContract; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessParams; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; /** * APIs for Free Trial Links that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SharedTrialLinksRawService implements SharedTrialLinksRawContract { diff --git a/src/Services/SharedTrialLinksService.php b/src/Services/SharedTrialLinksService.php index 75c64920..3e81ba34 100644 --- a/src/Services/SharedTrialLinksService.php +++ b/src/Services/SharedTrialLinksService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SharedTrialLinksContract; -use Onlyfansapi\Services\SharedTrialLinks\TagsService; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SharedTrialLinksContract; +use OnlyFansAPI\Services\SharedTrialLinks\TagsService; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; /** * APIs for Free Trial Links that other OF creators have shared with this account. Revenue, cost, and spender data are not available for shared links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SharedTrialLinksService implements SharedTrialLinksContract { diff --git a/src/Services/SmartLinkPostbacksRawService.php b/src/Services/SmartLinkPostbacksRawService.php index 8c6e16fb..bdb122ed 100644 --- a/src/Services/SmartLinkPostbacksRawService.php +++ b/src/Services/SmartLinkPostbacksRawService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\MapOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SmartLinkPostbacksRawContract; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\MapOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SmartLinkPostbacksRawContract; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; /** * APIs for managing Smart Link postback destinations. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinkPostbacksRawService implements SmartLinkPostbacksRawContract { diff --git a/src/Services/SmartLinkPostbacksService.php b/src/Services/SmartLinkPostbacksService.php index 28cc47d6..1c94c9a5 100644 --- a/src/Services/SmartLinkPostbacksService.php +++ b/src/Services/SmartLinkPostbacksService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SmartLinkPostbacksContract; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SmartLinkPostbacksContract; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; /** * APIs for managing Smart Link postback destinations. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinkPostbacksService implements SmartLinkPostbacksContract { @@ -97,7 +97,7 @@ public function retrieve( * * @param int $postbackID The postback ID * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback - * @param \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` + * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` * @param string $url the destination URL * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions @@ -107,7 +107,7 @@ public function retrieve( public function update( int $postbackID, array $conversionTypes, - \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, + \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, string $url, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 9abbbdf4..21bb3b58 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -2,40 +2,40 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SmartLinksRawContract; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams\LinkType; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListClicksParams; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams\ConversionType; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams\Sort; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\SmartLinks\SmartLinkListParams; -use Onlyfansapi\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersParams; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveStatsParams; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SmartLinksRawContract; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams\LinkType; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksParams; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams\ConversionType; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListParams; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersParams; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveStatsParams; /** * APIs for managing Smart Links (Free Trial Links and Tracking Links with pooled inventory). * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinksRawService implements SmartLinksRawContract { diff --git a/src/Services/SmartLinksService.php b/src/Services/SmartLinksService.php index 664522e0..0898a3ee 100644 --- a/src/Services/SmartLinksService.php +++ b/src/Services/SmartLinksService.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SmartLinksContract; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams\LinkType; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams\ConversionType; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams\Sort; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SmartLinksContract; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams\LinkType; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams\ConversionType; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; /** * APIs for managing Smart Links (Free Trial Links and Tracking Links with pooled inventory). * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinksService implements SmartLinksContract { diff --git a/src/Services/Statistics/ReachRawService.php b/src/Services/Statistics/ReachRawService.php index 08e37f0f..075147c5 100644 --- a/src/Services/Statistics/ReachRawService.php +++ b/src/Services/Statistics/ReachRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Statistics; +namespace OnlyFansAPI\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Statistics\ReachRawContract; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Type; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Statistics\ReachRawContract; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Type; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ReachRawService implements ReachRawContract { diff --git a/src/Services/Statistics/ReachService.php b/src/Services/Statistics/ReachService.php index e2820193..d2ccbd7d 100644 --- a/src/Services/Statistics/ReachService.php +++ b/src/Services/Statistics/ReachService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Statistics; +namespace OnlyFansAPI\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Statistics\ReachContract; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Type; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Statistics\ReachContract; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Type; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class ReachService implements ReachContract { diff --git a/src/Services/Statistics/StatementsRawService.php b/src/Services/Statistics/StatementsRawService.php index 3cb904c4..f2c99631 100644 --- a/src/Services/Statistics/StatementsRawService.php +++ b/src/Services/Statistics/StatementsRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Statistics; +namespace OnlyFansAPI\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Statistics\StatementsRawContract; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams\Type; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Statistics\StatementsRawContract; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams\Type; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StatementsRawService implements StatementsRawContract { diff --git a/src/Services/Statistics/StatementsService.php b/src/Services/Statistics/StatementsService.php index f8da3b55..402013a5 100644 --- a/src/Services/Statistics/StatementsService.php +++ b/src/Services/Statistics/StatementsService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Statistics; +namespace OnlyFansAPI\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Statistics\StatementsContract; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams\Type; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Statistics\StatementsContract; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams\Type; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StatementsService implements StatementsContract { diff --git a/src/Services/StatisticsRawService.php b/src/Services/StatisticsRawService.php index 17585e62..75daa82f 100644 --- a/src/Services/StatisticsRawService.php +++ b/src/Services/StatisticsRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StatisticsRawContract; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsParams; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsResponse; -use Onlyfansapi\Statistics\StatisticGetOverviewParams; -use Onlyfansapi\Statistics\StatisticGetOverviewParams\Type; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsParams; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StatisticsRawContract; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsParams; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StatisticsRawService implements StatisticsRawContract { diff --git a/src/Services/StatisticsService.php b/src/Services/StatisticsService.php index 89f0a192..d4e6a794 100644 --- a/src/Services/StatisticsService.php +++ b/src/Services/StatisticsService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StatisticsContract; -use Onlyfansapi\Services\Statistics\ReachService; -use Onlyfansapi\Services\Statistics\StatementsService; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsResponse; -use Onlyfansapi\Statistics\StatisticGetOverviewParams\Type; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StatisticsContract; +use OnlyFansAPI\Services\Statistics\ReachService; +use OnlyFansAPI\Services\Statistics\StatementsService; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StatisticsService implements StatisticsContract { diff --git a/src/Services/StoredRawService.php b/src/Services/StoredRawService.php index 6939a5ee..656a1b74 100644 --- a/src/Services/StoredRawService.php +++ b/src/Services/StoredRawService.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StoredRawContract; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListSharedTrialLinksParams; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Stored\StoredListTrackingLinksParams; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListTrialLinksParams; -use Onlyfansapi\Stored\StoredListTrialLinksResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StoredRawContract; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksParams; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; +use OnlyFansAPI\Stored\StoredListTrackingLinksParams; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListTrialLinksParams; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter as FilterShape3 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter as FilterShape3 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoredRawService implements StoredRawContract { diff --git a/src/Services/StoredService.php b/src/Services/StoredService.php index ae5f4a21..b2bfe608 100644 --- a/src/Services/StoredService.php +++ b/src/Services/StoredService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StoredContract; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListTrialLinksResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StoredContract; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse; /** - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter as FilterShape3 - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter as FilterShape1 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter as FilterShape2 + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter as FilterShape3 + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoredService implements StoredContract { @@ -73,7 +73,7 @@ public function listSharedTrackingLinks( * List all shared Free Trial Links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter|FilterShape1 $filter + * @param \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter|FilterShape1 $filter * @param int $limit The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -82,7 +82,7 @@ public function listSharedTrackingLinks( */ public function listSharedTrialLinks( string $account, - \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, @@ -103,7 +103,7 @@ public function listSharedTrialLinks( * List all stored tracking links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter|FilterShape2 $filter + * @param \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter|FilterShape2 $filter * @param int $limit The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -112,7 +112,7 @@ public function listSharedTrialLinks( */ public function listTrackingLinks( string $account, - \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, @@ -133,7 +133,7 @@ public function listTrackingLinks( * List all stored free trial links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * * @param string $account The Account ID - * @param \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter|FilterShape3 $filter + * @param \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter|FilterShape3 $filter * @param int $limit The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 1000. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. * @param RequestOpts|null $requestOptions @@ -142,7 +142,7 @@ public function listTrackingLinks( */ public function listTrialLinks( string $account, - \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter|array|null $filter = null, + \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, RequestOptions|array|null $requestOptions = null, diff --git a/src/Services/Stories/HighlightsRawService.php b/src/Services/Stories/HighlightsRawService.php index f34f8034..c032a51b 100644 --- a/src/Services/Stories/HighlightsRawService.php +++ b/src/Services/Stories/HighlightsRawService.php @@ -2,32 +2,32 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Stories; +namespace OnlyFansAPI\Services\Stories; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Stories\HighlightsRawContract; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryParams; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightCreateParams; -use Onlyfansapi\Stories\Highlights\HighlightDeleteParams; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Stories\Highlights\HighlightListParams; -use Onlyfansapi\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryParams; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightRetrieveParams; -use Onlyfansapi\Stories\Highlights\HighlightUpdateParams; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Stories\HighlightsRawContract; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryParams; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightCreateParams; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteParams; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse; +use OnlyFansAPI\Stories\Highlights\HighlightListParams; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryParams; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRetrieveParams; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateParams; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; /** * APIs for managing OnlyFans story highlights. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class HighlightsRawService implements HighlightsRawContract { diff --git a/src/Services/Stories/HighlightsService.php b/src/Services/Stories/HighlightsService.php index cd6dfdc0..af8fc3c6 100644 --- a/src/Services/Stories/HighlightsService.php +++ b/src/Services/Stories/HighlightsService.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Stories; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Stories\HighlightsContract; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +namespace OnlyFansAPI\Services\Stories; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Stories\HighlightsContract; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; /** * APIs for managing OnlyFans story highlights. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class HighlightsService implements HighlightsContract { diff --git a/src/Services/StoriesRawService.php b/src/Services/StoriesRawService.php index 3ee119bb..36cd0a8f 100644 --- a/src/Services/StoriesRawService.php +++ b/src/Services/StoriesRawService.php @@ -2,33 +2,33 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StoriesRawContract; -use Onlyfansapi\Stories\StoryCreateParams; -use Onlyfansapi\Stories\StoryDeleteParams; -use Onlyfansapi\Stories\StoryDeleteResponse; -use Onlyfansapi\Stories\StoryGetResponse; -use Onlyfansapi\Stories\StoryGetStatsResponse; -use Onlyfansapi\Stories\StoryListActiveResponse; -use Onlyfansapi\Stories\StoryListArchiveParams; -use Onlyfansapi\Stories\StoryListArchiveResponse; -use Onlyfansapi\Stories\StoryListViewersParams; -use Onlyfansapi\Stories\StoryListViewersResponse; -use Onlyfansapi\Stories\StoryMarkAsWatchedParams; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Stories\StoryNewResponse; -use Onlyfansapi\Stories\StoryRetrieveParams; -use Onlyfansapi\Stories\StoryRetrieveStatsParams; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StoriesRawContract; +use OnlyFansAPI\Stories\StoryCreateParams; +use OnlyFansAPI\Stories\StoryDeleteParams; +use OnlyFansAPI\Stories\StoryDeleteResponse; +use OnlyFansAPI\Stories\StoryGetResponse; +use OnlyFansAPI\Stories\StoryGetStatsResponse; +use OnlyFansAPI\Stories\StoryListActiveResponse; +use OnlyFansAPI\Stories\StoryListArchiveParams; +use OnlyFansAPI\Stories\StoryListArchiveResponse; +use OnlyFansAPI\Stories\StoryListViewersParams; +use OnlyFansAPI\Stories\StoryListViewersResponse; +use OnlyFansAPI\Stories\StoryMarkAsWatchedParams; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; +use OnlyFansAPI\Stories\StoryNewResponse; +use OnlyFansAPI\Stories\StoryRetrieveParams; +use OnlyFansAPI\Stories\StoryRetrieveStatsParams; /** * APIs for managing OnlyFans stories. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoriesRawService implements StoriesRawContract { diff --git a/src/Services/StoriesService.php b/src/Services/StoriesService.php index 680ac4ca..eff04208 100644 --- a/src/Services/StoriesService.php +++ b/src/Services/StoriesService.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\StoriesContract; -use Onlyfansapi\Services\Stories\HighlightsService; -use Onlyfansapi\Stories\StoryDeleteResponse; -use Onlyfansapi\Stories\StoryGetResponse; -use Onlyfansapi\Stories\StoryGetStatsResponse; -use Onlyfansapi\Stories\StoryListActiveResponse; -use Onlyfansapi\Stories\StoryListArchiveResponse; -use Onlyfansapi\Stories\StoryListViewersResponse; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Stories\StoryNewResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\StoriesContract; +use OnlyFansAPI\Services\Stories\HighlightsService; +use OnlyFansAPI\Stories\StoryDeleteResponse; +use OnlyFansAPI\Stories\StoryGetResponse; +use OnlyFansAPI\Stories\StoryGetStatsResponse; +use OnlyFansAPI\Stories\StoryListActiveResponse; +use OnlyFansAPI\Stories\StoryListArchiveResponse; +use OnlyFansAPI\Stories\StoryListViewersResponse; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; +use OnlyFansAPI\Stories\StoryNewResponse; /** * APIs for managing OnlyFans stories. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoriesService implements StoriesContract { diff --git a/src/Services/SubscribersRawService.php b/src/Services/SubscribersRawService.php index c3c54a62..9880a3c1 100644 --- a/src/Services/SubscribersRawService.php +++ b/src/Services/SubscribersRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SubscribersRawContract; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams\Type; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SubscribersRawContract; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams\Type; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SubscribersRawService implements SubscribersRawContract { diff --git a/src/Services/SubscribersService.php b/src/Services/SubscribersService.php index 66f18030..391cd76b 100644 --- a/src/Services/SubscribersService.php +++ b/src/Services/SubscribersService.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\SubscribersContract; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams\Type; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\SubscribersContract; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams\Type; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SubscribersService implements SubscribersContract { diff --git a/src/Services/TrackingLinks/TagsRawService.php b/src/Services/TrackingLinks/TagsRawService.php index b796d7d5..fe1e6189 100644 --- a/src/Services/TrackingLinks/TagsRawService.php +++ b/src/Services/TrackingLinks/TagsRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\TrackingLinks; +namespace OnlyFansAPI\Services\TrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrackingLinks\TagsRawContract; -use Onlyfansapi\TrackingLinks\Tags\TagAddParams; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\TrackingLinks\Tags\TagListParams; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveParams; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrackingLinks\TagsRawContract; +use OnlyFansAPI\TrackingLinks\Tags\TagAddParams; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagListParams; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveParams; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; /** * APIs for managing tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsRawService implements TagsRawContract { diff --git a/src/Services/TrackingLinks/TagsService.php b/src/Services/TrackingLinks/TagsService.php index f201aa5f..843088e3 100644 --- a/src/Services/TrackingLinks/TagsService.php +++ b/src/Services/TrackingLinks/TagsService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\TrackingLinks; +namespace OnlyFansAPI\Services\TrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrackingLinks\TagsContract; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrackingLinks\TagsContract; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; /** * APIs for managing tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsService implements TagsContract { diff --git a/src/Services/TrackingLinksRawService.php b/src/Services/TrackingLinksRawService.php index 21f4673c..8b316d1d 100644 --- a/src/Services/TrackingLinksRawService.php +++ b/src/Services/TrackingLinksRawService.php @@ -2,37 +2,37 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrackingLinksRawContract; -use Onlyfansapi\TrackingLinks\TrackingLinkCreateParams; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteParams; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsParams; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sort; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sortby; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersParams; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkRetrieveParams; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrackingLinksRawContract; +use OnlyFansAPI\TrackingLinks\TrackingLinkCreateParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkRetrieveParams; /** * APIs for managing tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TrackingLinksRawService implements TrackingLinksRawContract { diff --git a/src/Services/TrackingLinksService.php b/src/Services/TrackingLinksService.php index d5e19024..ca9cc8b6 100644 --- a/src/Services/TrackingLinksService.php +++ b/src/Services/TrackingLinksService.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrackingLinksContract; -use Onlyfansapi\Services\TrackingLinks\TagsService; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sort; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sortby; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrackingLinksContract; +use OnlyFansAPI\Services\TrackingLinks\TagsService; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; /** * APIs for managing tracking links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TrackingLinksService implements TrackingLinksContract { diff --git a/src/Services/TransactionsRawService.php b/src/Services/TransactionsRawService.php index 8b13e9f3..121f22b5 100644 --- a/src/Services/TransactionsRawService.php +++ b/src/Services/TransactionsRawService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TransactionsRawContract; -use Onlyfansapi\Transactions\TransactionListParams; -use Onlyfansapi\Transactions\TransactionListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TransactionsRawContract; +use OnlyFansAPI\Transactions\TransactionListParams; +use OnlyFansAPI\Transactions\TransactionListResponse; /** * APIs for managing OnlyFans transactions. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TransactionsRawService implements TransactionsRawContract { diff --git a/src/Services/TransactionsService.php b/src/Services/TransactionsService.php index 1d7cd85f..4a5f69ec 100644 --- a/src/Services/TransactionsService.php +++ b/src/Services/TransactionsService.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TransactionsContract; -use Onlyfansapi\Transactions\TransactionListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TransactionsContract; +use OnlyFansAPI\Transactions\TransactionListResponse; /** * APIs for managing OnlyFans transactions. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TransactionsService implements TransactionsContract { diff --git a/src/Services/TrialLinks/TagsRawService.php b/src/Services/TrialLinks/TagsRawService.php index ce7a9d87..25e37eb3 100644 --- a/src/Services/TrialLinks/TagsRawService.php +++ b/src/Services/TrialLinks/TagsRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\TrialLinks; +namespace OnlyFansAPI\Services\TrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrialLinks\TagsRawContract; -use Onlyfansapi\TrialLinks\Tags\TagAddParams; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\TrialLinks\Tags\TagListParams; -use Onlyfansapi\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\TrialLinks\Tags\TagRemoveParams; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrialLinks\TagsRawContract; +use OnlyFansAPI\TrialLinks\Tags\TagAddParams; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrialLinks\Tags\TagListParams; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveParams; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; /** * APIs for managing Free Trial Links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsRawService implements TagsRawContract { diff --git a/src/Services/TrialLinks/TagsService.php b/src/Services/TrialLinks/TagsService.php index bfe04405..9e69442c 100644 --- a/src/Services/TrialLinks/TagsService.php +++ b/src/Services/TrialLinks/TagsService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\TrialLinks; +namespace OnlyFansAPI\Services\TrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrialLinks\TagsContract; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrialLinks\TagsContract; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; /** * APIs for managing Free Trial Links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TagsService implements TagsContract { diff --git a/src/Services/TrialLinksRawService.php b/src/Services/TrialLinksRawService.php index 05d6dc74..e8429d02 100644 --- a/src/Services/TrialLinksRawService.php +++ b/src/Services/TrialLinksRawService.php @@ -2,39 +2,39 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrialLinksRawContract; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\Duration; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\OfferLimit; -use Onlyfansapi\TrialLinks\TrialLinkDeleteParams; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\TrialLinks\TrialLinkListParams; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Field; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Sort; -use Onlyfansapi\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersParams; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersParams; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveParams; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveStatsParams; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrialLinksRawContract; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\Duration; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\OfferLimit; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteParams; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListParams; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Field; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Sort; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersParams; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersParams; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveParams; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveStatsParams; /** * APIs for managing Free Trial Links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TrialLinksRawService implements TrialLinksRawContract { diff --git a/src/Services/TrialLinksService.php b/src/Services/TrialLinksService.php index 9aa21abc..39377955 100644 --- a/src/Services/TrialLinksService.php +++ b/src/Services/TrialLinksService.php @@ -2,31 +2,31 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\TrialLinksContract; -use Onlyfansapi\Services\TrialLinks\TagsService; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\Duration; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\OfferLimit; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Field; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Sort; -use Onlyfansapi\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\TrialLinksContract; +use OnlyFansAPI\Services\TrialLinks\TagsService; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\Duration; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\OfferLimit; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Field; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Sort; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; /** * APIs for managing Free Trial Links. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class TrialLinksService implements TrialLinksContract { diff --git a/src/Services/UserLists/UsersRawService.php b/src/Services/UserLists/UsersRawService.php index b6e883b2..5f1f69c2 100644 --- a/src/Services/UserLists/UsersRawService.php +++ b/src/Services/UserLists/UsersRawService.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\UserLists; +namespace OnlyFansAPI\Services\UserLists; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UserLists\UsersRawContract; -use Onlyfansapi\UserLists\Users\UserAddParams; -use Onlyfansapi\UserLists\Users\UserAddResponse; -use Onlyfansapi\UserLists\Users\UserClearParams; -use Onlyfansapi\UserLists\Users\UserClearResponse; -use Onlyfansapi\UserLists\Users\UserListParams; -use Onlyfansapi\UserLists\Users\UserListPinnedParams; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\UserLists\Users\UserListResponse; -use Onlyfansapi\UserLists\Users\UserPinParams; -use Onlyfansapi\UserLists\Users\UserPinResponse; -use Onlyfansapi\UserLists\Users\UserRemoveParams; -use Onlyfansapi\UserLists\Users\UserRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UserLists\UsersRawContract; +use OnlyFansAPI\UserLists\Users\UserAddParams; +use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserClearParams; +use OnlyFansAPI\UserLists\Users\UserClearResponse; +use OnlyFansAPI\UserLists\Users\UserListParams; +use OnlyFansAPI\UserLists\Users\UserListPinnedParams; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; +use OnlyFansAPI\UserLists\Users\UserListResponse; +use OnlyFansAPI\UserLists\Users\UserPinParams; +use OnlyFansAPI\UserLists\Users\UserPinResponse; +use OnlyFansAPI\UserLists\Users\UserRemoveParams; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UsersRawService implements UsersRawContract { diff --git a/src/Services/UserLists/UsersService.php b/src/Services/UserLists/UsersService.php index 7744816c..2aa3655f 100644 --- a/src/Services/UserLists/UsersService.php +++ b/src/Services/UserLists/UsersService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\UserLists; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UserLists\UsersContract; -use Onlyfansapi\UserLists\Users\UserAddResponse; -use Onlyfansapi\UserLists\Users\UserClearResponse; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\UserLists\Users\UserListResponse; -use Onlyfansapi\UserLists\Users\UserPinResponse; -use Onlyfansapi\UserLists\Users\UserRemoveResponse; +namespace OnlyFansAPI\Services\UserLists; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UserLists\UsersContract; +use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserClearResponse; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; +use OnlyFansAPI\UserLists\Users\UserListResponse; +use OnlyFansAPI\UserLists\Users\UserPinResponse; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UsersService implements UsersContract { diff --git a/src/Services/UserListsRawService.php b/src/Services/UserListsRawService.php index 7ec6b93b..21f5507d 100644 --- a/src/Services/UserListsRawService.php +++ b/src/Services/UserListsRawService.php @@ -2,26 +2,26 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UserListsRawContract; -use Onlyfansapi\UserLists\UserListCreateParams; -use Onlyfansapi\UserLists\UserListDeleteParams; -use Onlyfansapi\UserLists\UserListDeleteResponse; -use Onlyfansapi\UserLists\UserListGetResponse; -use Onlyfansapi\UserLists\UserListListParams; -use Onlyfansapi\UserLists\UserListListResponse; -use Onlyfansapi\UserLists\UserListNewResponse; -use Onlyfansapi\UserLists\UserListRetrieveParams; -use Onlyfansapi\UserLists\UserListUpdateParams; -use Onlyfansapi\UserLists\UserListUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UserListsRawContract; +use OnlyFansAPI\UserLists\UserListCreateParams; +use OnlyFansAPI\UserLists\UserListDeleteParams; +use OnlyFansAPI\UserLists\UserListDeleteResponse; +use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListParams; +use OnlyFansAPI\UserLists\UserListListResponse; +use OnlyFansAPI\UserLists\UserListNewResponse; +use OnlyFansAPI\UserLists\UserListRetrieveParams; +use OnlyFansAPI\UserLists\UserListUpdateParams; +use OnlyFansAPI\UserLists\UserListUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UserListsRawService implements UserListsRawContract { diff --git a/src/Services/UserListsService.php b/src/Services/UserListsService.php index 28cb2508..fce02d32 100644 --- a/src/Services/UserListsService.php +++ b/src/Services/UserListsService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UserListsContract; -use Onlyfansapi\Services\UserLists\UsersService; -use Onlyfansapi\UserLists\UserListDeleteResponse; -use Onlyfansapi\UserLists\UserListGetResponse; -use Onlyfansapi\UserLists\UserListListResponse; -use Onlyfansapi\UserLists\UserListNewResponse; -use Onlyfansapi\UserLists\UserListUpdateResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UserListsContract; +use OnlyFansAPI\Services\UserLists\UsersService; +use OnlyFansAPI\UserLists\UserListDeleteResponse; +use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListResponse; +use OnlyFansAPI\UserLists\UserListNewResponse; +use OnlyFansAPI\UserLists\UserListUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UserListsService implements UserListsContract { diff --git a/src/Services/Users/BlockRawService.php b/src/Services/Users/BlockRawService.php index 1b4183cb..e63c2675 100644 --- a/src/Services/Users/BlockRawService.php +++ b/src/Services/Users/BlockRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\BlockRawContract; -use Onlyfansapi\Users\Block\BlockCreateParams; -use Onlyfansapi\Users\Block\BlockDeleteParams; -use Onlyfansapi\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Users\Block\BlockNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\BlockRawContract; +use OnlyFansAPI\Users\Block\BlockCreateParams; +use OnlyFansAPI\Users\Block\BlockDeleteParams; +use OnlyFansAPI\Users\Block\BlockDeleteResponse; +use OnlyFansAPI\Users\Block\BlockNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BlockRawService implements BlockRawContract { diff --git a/src/Services/Users/BlockService.php b/src/Services/Users/BlockService.php index 33d28f58..9015ab05 100644 --- a/src/Services/Users/BlockService.php +++ b/src/Services/Users/BlockService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\BlockContract; -use Onlyfansapi\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Users\Block\BlockNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\BlockContract; +use OnlyFansAPI\Users\Block\BlockDeleteResponse; +use OnlyFansAPI\Users\Block\BlockNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class BlockService implements BlockContract { diff --git a/src/Services/Users/RestrictRawService.php b/src/Services/Users/RestrictRawService.php index b1eff478..01871eae 100644 --- a/src/Services/Users/RestrictRawService.php +++ b/src/Services/Users/RestrictRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\RestrictRawContract; -use Onlyfansapi\Users\Restrict\RestrictCreateParams; -use Onlyfansapi\Users\Restrict\RestrictDeleteParams; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Users\Restrict\RestrictNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\RestrictRawContract; +use OnlyFansAPI\Users\Restrict\RestrictCreateParams; +use OnlyFansAPI\Users\Restrict\RestrictDeleteParams; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class RestrictRawService implements RestrictRawContract { diff --git a/src/Services/Users/RestrictService.php b/src/Services/Users/RestrictService.php index a5795c71..109cc510 100644 --- a/src/Services/Users/RestrictService.php +++ b/src/Services/Users/RestrictService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\RestrictContract; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Users\Restrict\RestrictNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\RestrictContract; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class RestrictService implements RestrictContract { diff --git a/src/Services/Users/SubscribeRawService.php b/src/Services/Users/SubscribeRawService.php index dd68f534..5fbf6b98 100644 --- a/src/Services/Users/SubscribeRawService.php +++ b/src/Services/Users/SubscribeRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\SubscribeRawContract; -use Onlyfansapi\Users\Subscribe\SubscribeCreateParams; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteParams; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\SubscribeRawContract; +use OnlyFansAPI\Users\Subscribe\SubscribeCreateParams; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteParams; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SubscribeRawService implements SubscribeRawContract { diff --git a/src/Services/Users/SubscribeService.php b/src/Services/Users/SubscribeService.php index f8dc4068..c958a05f 100644 --- a/src/Services/Users/SubscribeService.php +++ b/src/Services/Users/SubscribeService.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Services\Users; +namespace OnlyFansAPI\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\Users\SubscribeContract; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\Users\SubscribeContract; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SubscribeService implements SubscribeContract { diff --git a/src/Services/UsersRawService.php b/src/Services/UsersRawService.php index b598bb30..ca89cae3 100644 --- a/src/Services/UsersRawService.php +++ b/src/Services/UsersRawService.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UsersRawContract; -use Onlyfansapi\Users\UserGetResponse; -use Onlyfansapi\Users\UserListParams; -use Onlyfansapi\Users\UserListResponse; -use Onlyfansapi\Users\UserRetrieveParams; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UsersRawContract; +use OnlyFansAPI\Users\UserGetResponse; +use OnlyFansAPI\Users\UserListParams; +use OnlyFansAPI\Users\UserListResponse; +use OnlyFansAPI\Users\UserRetrieveParams; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UsersRawService implements UsersRawContract { diff --git a/src/Services/UsersService.php b/src/Services/UsersService.php index 7535b0d4..92ab732b 100644 --- a/src/Services/UsersService.php +++ b/src/Services/UsersService.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\UsersContract; -use Onlyfansapi\Services\Users\BlockService; -use Onlyfansapi\Services\Users\RestrictService; -use Onlyfansapi\Services\Users\SubscribeService; -use Onlyfansapi\Users\UserGetResponse; -use Onlyfansapi\Users\UserListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\UsersContract; +use OnlyFansAPI\Services\Users\BlockService; +use OnlyFansAPI\Services\Users\RestrictService; +use OnlyFansAPI\Services\Users\SubscribeService; +use OnlyFansAPI\Users\UserGetResponse; +use OnlyFansAPI\Users\UserListResponse; /** * APIs for fetching OnlyFans users. * - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class UsersService implements UsersContract { diff --git a/src/Services/WebhooksRawService.php b/src/Services/WebhooksRawService.php index 17b3812c..1b26a8ac 100644 --- a/src/Services/WebhooksRawService.php +++ b/src/Services/WebhooksRawService.php @@ -2,24 +2,24 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Conversion\MapOf; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\WebhooksRawContract; -use Onlyfansapi\Webhooks\WebhookCreateParams; -use Onlyfansapi\Webhooks\WebhookGetResponse; -use Onlyfansapi\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Webhooks\WebhookListResponse; -use Onlyfansapi\Webhooks\WebhookNewResponse; -use Onlyfansapi\Webhooks\WebhookUpdateParams; -use Onlyfansapi\Webhooks\WebhookUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Conversion\MapOf; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\WebhooksRawContract; +use OnlyFansAPI\Webhooks\WebhookCreateParams; +use OnlyFansAPI\Webhooks\WebhookGetResponse; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse; +use OnlyFansAPI\Webhooks\WebhookListResponse; +use OnlyFansAPI\Webhooks\WebhookNewResponse; +use OnlyFansAPI\Webhooks\WebhookUpdateParams; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WebhooksRawService implements WebhooksRawContract { diff --git a/src/Services/WebhooksService.php b/src/Services/WebhooksService.php index 6453a35d..78abf62a 100644 --- a/src/Services/WebhooksService.php +++ b/src/Services/WebhooksService.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; - -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\WebhooksContract; -use Onlyfansapi\Webhooks\WebhookGetResponse; -use Onlyfansapi\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Webhooks\WebhookListResponse; -use Onlyfansapi\Webhooks\WebhookNewResponse; -use Onlyfansapi\Webhooks\WebhookUpdateResponse; +namespace OnlyFansAPI\Services; + +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\WebhooksContract; +use OnlyFansAPI\Webhooks\WebhookGetResponse; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse; +use OnlyFansAPI\Webhooks\WebhookListResponse; +use OnlyFansAPI\Webhooks\WebhookNewResponse; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WebhooksService implements WebhooksContract { diff --git a/src/Services/WhoamiRawService.php b/src/Services/WhoamiRawService.php index 4dd7365b..928aaacc 100644 --- a/src/Services/WhoamiRawService.php +++ b/src/Services/WhoamiRawService.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Contracts\BaseResponse; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\WhoamiRawContract; -use Onlyfansapi\Whoami\WhoamiGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Contracts\BaseResponse; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\WhoamiRawContract; +use OnlyFansAPI\Whoami\WhoamiGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WhoamiRawService implements WhoamiRawContract { diff --git a/src/Services/WhoamiService.php b/src/Services/WhoamiService.php index 088116c8..cbd37e8f 100644 --- a/src/Services/WhoamiService.php +++ b/src/Services/WhoamiService.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Onlyfansapi\Services; +namespace OnlyFansAPI\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Exceptions\APIException; -use Onlyfansapi\RequestOptions; -use Onlyfansapi\ServiceContracts\WhoamiContract; -use Onlyfansapi\Whoami\WhoamiGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\ServiceContracts\WhoamiContract; +use OnlyFansAPI\Whoami\WhoamiGetResponse; /** - * @phpstan-import-type RequestOpts from \Onlyfansapi\RequestOptions + * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class WhoamiService implements WhoamiContract { diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse.php index 97618bc7..c763ed71 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries; +namespace OnlyFansAPI\Settings\BlockedCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\Data * * @phpstan-type BlockedCountryGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse/Data.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse/Data.php index cc1287ff..e403e3a3 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse/Data.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{blockedCountries?: list|null} diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta.php index b999afcb..5ac80471 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Cache; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Credits; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Cache.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Cache.php index 290f7040..a89dc5b3 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Cache.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Credits.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Credits.php index eac6bbe9..2945b613 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Credits.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_RateLimits.php b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_RateLimits.php index 2efd5a4f..d57fab3f 100644 --- a/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_RateLimits.php +++ b/src/Settings/BlockedCountries/BlockedCountryGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateParams.php b/src/Settings/BlockedCountries/BlockedCountryUpdateParams.php index fff18893..73b93de1 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateParams.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries; +namespace OnlyFansAPI\Settings\BlockedCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Updates the countries blocked from viewing the account. * - * @see Onlyfansapi\Services\Settings\BlockedCountriesService::update() + * @see OnlyFansAPI\Services\Settings\BlockedCountriesService::update() * * @phpstan-type BlockedCountryUpdateParamsShape = array{ * blockedCountries: list, blockedStates?: list|null diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse.php index 3d727519..1461cd64 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries; +namespace OnlyFansAPI\Settings\BlockedCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\Data * * @phpstan-type BlockedCountryUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/Data.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/Data.php index f30cb7c5..0418cb9d 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/Data.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta.php index be695cba..935a6ada 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Cache.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Cache.php index fe71f3c6..0495b7db 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Cache.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Credits.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Credits.php index 15685b15..36830a5b 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Credits.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_RateLimits.php b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_RateLimits.php index 54526834..8fa881a4 100644 --- a/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_RateLimits.php +++ b/src/Settings/BlockedCountries/BlockedCountryUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SettingCheckUsernameAvailabilityParams.php b/src/Settings/SettingCheckUsernameAvailabilityParams.php index 9126b000..953743ee 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityParams.php +++ b/src/Settings/SettingCheckUsernameAvailabilityParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Check if a username is taken. Returns `false` if the username is available, `true` if it is already taken. * - * @see Onlyfansapi\Services\SettingsService::checkUsernameAvailability() + * @see OnlyFansAPI\Services\SettingsService::checkUsernameAvailability() * * @phpstan-type SettingCheckUsernameAvailabilityParamsShape = array{ * username: string diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse.php b/src/Settings/SettingCheckUsernameAvailabilityResponse.php index cd2cba3c..f80fff03 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\Data * * @phpstan-type SettingCheckUsernameAvailabilityResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse/Data.php b/src/Settings/SettingCheckUsernameAvailabilityResponse/Data.php index c5f76a00..c5a58010 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse/Data.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; +namespace OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta.php b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta.php index 4977f262..7e9ac238 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; +namespace OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Cache.php b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Cache.php index 79125905..cddfc9ca 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Cache.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Credits.php b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Credits.php index 4e4c3bf6..571d0a8b 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Credits.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_RateLimits.php b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_RateLimits.php index df453b8a..5934b3d8 100644 --- a/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_RateLimits.php +++ b/src/Settings/SettingCheckUsernameAvailabilityResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SettingGetResponse.php b/src/Settings/SettingGetResponse.php index e4f2b1a4..6d3c838d 100644 --- a/src/Settings/SettingGetResponse.php +++ b/src/Settings/SettingGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Settings\SettingGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingGetResponse\_Meta; +use OnlyFansAPI\Settings\SettingGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SettingGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SettingGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SettingGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SettingGetResponse\Data * * @phpstan-type SettingGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/SettingGetResponse/Data.php b/src/Settings/SettingGetResponse/Data.php index ca960f26..6fd2d46c 100644 --- a/src/Settings/SettingGetResponse/Data.php +++ b/src/Settings/SettingGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse; +namespace OnlyFansAPI\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; /** - * @phpstan-import-type CanAddSubscriberByBundleShape from \Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle + * @phpstan-import-type CanAddSubscriberByBundleShape from \OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle * * @phpstan-type DataShape = array{ * activityHubAllowed?: bool|null, diff --git a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle.php b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle.php index 19c36752..fdfa7b37 100644 --- a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle.php +++ b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\Data; +namespace OnlyFansAPI\Settings\SettingGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Discounts; -use Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Durations; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Discounts; +use OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Durations; /** - * @phpstan-import-type DiscountsShape from \Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Discounts - * @phpstan-import-type DurationsShape from \Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Durations + * @phpstan-import-type DiscountsShape from \OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Discounts + * @phpstan-import-type DurationsShape from \OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle\Durations * * @phpstan-type CanAddSubscriberByBundleShape = array{ * discounts?: null|Discounts|DiscountsShape, diff --git a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Discounts.php b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Discounts.php index 27176cd7..01c59b67 100644 --- a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Discounts.php +++ b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Discounts.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; +namespace OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DiscountsShape = array{ diff --git a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Durations.php b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Durations.php index 54a6ead3..41da2bef 100644 --- a/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Durations.php +++ b/src/Settings/SettingGetResponse/Data/CanAddSubscriberByBundle/Durations.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; +namespace OnlyFansAPI\Settings\SettingGetResponse\Data\CanAddSubscriberByBundle; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DurationsShape = array{ diff --git a/src/Settings/SettingGetResponse/_Meta.php b/src/Settings/SettingGetResponse/_Meta.php index a80d033a..d8bc4538 100644 --- a/src/Settings/SettingGetResponse/_Meta.php +++ b/src/Settings/SettingGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse; +namespace OnlyFansAPI\Settings\SettingGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingGetResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SettingGetResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SettingGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingGetResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SettingGetResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SettingGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SettingGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SettingGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SettingGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SettingGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SettingGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SettingGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SettingGetResponse/_Meta/_Cache.php b/src/Settings/SettingGetResponse/_Meta/_Cache.php index 027a9070..695bfa55 100644 --- a/src/Settings/SettingGetResponse/_Meta/_Cache.php +++ b/src/Settings/SettingGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SettingGetResponse/_Meta/_Credits.php b/src/Settings/SettingGetResponse/_Meta/_Credits.php index 3448d791..ee9ecf3a 100644 --- a/src/Settings/SettingGetResponse/_Meta/_Credits.php +++ b/src/Settings/SettingGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SettingGetResponse/_Meta/_RateLimits.php b/src/Settings/SettingGetResponse/_Meta/_RateLimits.php index cbe1df05..2a773fed 100644 --- a/src/Settings/SettingGetResponse/_Meta/_RateLimits.php +++ b/src/Settings/SettingGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingGetResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SettingUpdateProfileParams.php b/src/Settings/SettingUpdateProfileParams.php index dbbd149a..d3b60610 100644 --- a/src/Settings/SettingUpdateProfileParams.php +++ b/src/Settings/SettingUpdateProfileParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Updates the account profile. **Only include the fields you want to update.** To make a field empty, set it to `null`. * - * @see Onlyfansapi\Services\SettingsService::updateProfile() + * @see OnlyFansAPI\Services\SettingsService::updateProfile() * * @phpstan-type SettingUpdateProfileParamsShape = array{ * about?: string|null, diff --git a/src/Settings/SettingUpdateProfileResponse.php b/src/Settings/SettingUpdateProfileResponse.php index ca704604..2303c910 100644 --- a/src/Settings/SettingUpdateProfileResponse.php +++ b/src/Settings/SettingUpdateProfileResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta; -use Onlyfansapi\Settings\SettingUpdateProfileResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SettingUpdateProfileResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SettingUpdateProfileResponse\Data * * @phpstan-type SettingUpdateProfileResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/SettingUpdateProfileResponse/Data.php b/src/Settings/SettingUpdateProfileResponse/Data.php index 57cde1ab..43a09b80 100644 --- a/src/Settings/SettingUpdateProfileResponse/Data.php +++ b/src/Settings/SettingUpdateProfileResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateProfileResponse; +namespace OnlyFansAPI\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/SettingUpdateProfileResponse/_Meta.php b/src/Settings/SettingUpdateProfileResponse/_Meta.php index f5f44f1f..925b11b5 100644 --- a/src/Settings/SettingUpdateProfileResponse/_Meta.php +++ b/src/Settings/SettingUpdateProfileResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateProfileResponse; +namespace OnlyFansAPI\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SettingUpdateProfileResponse/_Meta/_Cache.php b/src/Settings/SettingUpdateProfileResponse/_Meta/_Cache.php index 2ce0bc39..a7a0eb5d 100644 --- a/src/Settings/SettingUpdateProfileResponse/_Meta/_Cache.php +++ b/src/Settings/SettingUpdateProfileResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SettingUpdateProfileResponse/_Meta/_Credits.php b/src/Settings/SettingUpdateProfileResponse/_Meta/_Credits.php index 22ba898e..5df29f88 100644 --- a/src/Settings/SettingUpdateProfileResponse/_Meta/_Credits.php +++ b/src/Settings/SettingUpdateProfileResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SettingUpdateProfileResponse/_Meta/_RateLimits.php b/src/Settings/SettingUpdateProfileResponse/_Meta/_RateLimits.php index a23e083b..f2a29d0b 100644 --- a/src/Settings/SettingUpdateProfileResponse/_Meta/_RateLimits.php +++ b/src/Settings/SettingUpdateProfileResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateProfileResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateProfileResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SettingUpdateSubscriptionPriceParams.php b/src/Settings/SettingUpdateSubscriptionPriceParams.php index d618a8ee..cca342a6 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceParams.php +++ b/src/Settings/SettingUpdateSubscriptionPriceParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update the account subscription price. Send `0` or `"free"` to make the account free. ⚠️ WARNING! OnlyFans limits updating the subscription price to max. 3 times per day. * - * @see Onlyfansapi\Services\SettingsService::updateSubscriptionPrice() + * @see OnlyFansAPI\Services\SettingsService::updateSubscriptionPrice() * * @phpstan-type SettingUpdateSubscriptionPriceParamsShape = array{price: string} */ diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse.php b/src/Settings/SettingUpdateSubscriptionPriceResponse.php index 81b71e98..b899d346 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings; +namespace OnlyFansAPI\Settings; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\Data * * @phpstan-type SettingUpdateSubscriptionPriceResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse/Data.php b/src/Settings/SettingUpdateSubscriptionPriceResponse/Data.php index e7ba292e..e521ba01 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse/Data.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +namespace OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta.php b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta.php index a7b50a18..3500dc13 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +namespace OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Cache.php b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Cache.php index 1e3027f3..87e8a5c8 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Cache.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Credits.php b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Credits.php index d4c62d39..a749262c 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Credits.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_RateLimits.php b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_RateLimits.php index ee247258..4853f889 100644 --- a/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_RateLimits.php +++ b/src/Settings/SettingUpdateSubscriptionPriceResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; +namespace OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams.php index 8670f11e..be93b7b5 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams\Type; /** * Adds a new social media button to the account. * - * @see Onlyfansapi\Services\Settings\SocialMediaButtonsService::add() + * @see OnlyFansAPI\Services\Settings\SocialMediaButtonsService::add() * * @phpstan-type SocialMediaButtonAddParamsShape = array{ * label: string, type: Type|value-of, value: string diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams/Type.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams/Type.php index e7c31850..db054307 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams/Type.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddParams; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddParams; /** * The button type. diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse.php index dd7f7588..1e1ad553 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\Data * * @phpstan-type SocialMediaButtonAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/Data.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/Data.php index 6a5bd2ab..d08e8d72 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/Data.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta.php index 4d06a7b4..6f0614a8 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Cache.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Cache.php index 4e740365..e19e29e3 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Cache.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Credits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Credits.php index cf44bad5..832fef38 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Credits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_RateLimits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_RateLimits.php index df495c35..8affd0b9 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_RateLimits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteParams.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteParams.php index 734cca85..9b84e01d 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteParams.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Deletes a social media button from the account. * - * @see Onlyfansapi\Services\Settings\SocialMediaButtonsService::delete() + * @see OnlyFansAPI\Services\Settings\SocialMediaButtonsService::delete() * * @phpstan-type SocialMediaButtonDeleteParamsShape = array{account: string} */ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse.php index b6ad2e75..d3ed8943 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\Data * * @phpstan-type SocialMediaButtonDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/Data.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/Data.php index 9e754a7d..e59422b7 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/Data.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta.php index 278aa47a..0bc65c7f 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Cache.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Cache.php index 257e1e7a..359003dc 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Cache.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Credits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Credits.php index 0874f724..37176d2b 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Credits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_RateLimits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_RateLimits.php index 653802bf..5d4dbdf6 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_RateLimits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse.php index 2716adc1..6177545a 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\Data * * @phpstan-type SocialMediaButtonListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/Data.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/Data.php index 39c069d7..07c1a537 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/Data.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta.php index 390caa34..fa274b27 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Cache.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Cache.php index b871da73..3d1df746 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Cache.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Credits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Credits.php index dce1e464..eab27014 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Credits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_RateLimits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_RateLimits.php index 479f41d1..ccdfde02 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_RateLimits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderParams.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderParams.php index bd2e47e0..e6ba875a 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderParams.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Changes the order of social media buttons for the account. * - * @see Onlyfansapi\Services\Settings\SocialMediaButtonsService::reorder() + * @see OnlyFansAPI\Services\Settings\SocialMediaButtonsService::reorder() * * @phpstan-type SocialMediaButtonReorderParamsShape = array{ * buttonIDs: list diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse.php index 2d817380..178b3fa0 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\Data * * @phpstan-type SocialMediaButtonReorderResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/Data.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/Data.php index cc8f5ce5..d9e58e8c 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/Data.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta.php index 452b5998..00de29f2 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Cache.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Cache.php index 443e613c..8088a19f 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Cache.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Credits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Credits.php index b75790ce..f6cb661a 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Credits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_RateLimits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_RateLimits.php index ada674b3..dac8443b 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_RateLimits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonReorderResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateParams.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateParams.php index 0b875356..91ae9005 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateParams.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Updates a social media button from the account. * - * @see Onlyfansapi\Services\Settings\SocialMediaButtonsService::update() + * @see OnlyFansAPI\Services\Settings\SocialMediaButtonsService::update() * * @phpstan-type SocialMediaButtonUpdateParamsShape = array{ * account: string, label: string diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse.php index b9176992..4dc439a5 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons; +namespace OnlyFansAPI\Settings\SocialMediaButtons; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\Data * * @phpstan-type SocialMediaButtonUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/Data.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/Data.php index 47db6812..559421a1 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/Data.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta.php index 15059c76..2a25f47e 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Cache.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Cache.php index 8038a43a..300a15f3 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Cache.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Credits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Credits.php index d10f3e89..1cd6d5b6 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Credits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_RateLimits.php b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_RateLimits.php index 0a8a97d7..1c9af7bf 100644 --- a/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_RateLimits.php +++ b/src/Settings/SocialMediaButtons/SocialMediaButtonUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse.php index abff426e..98aac602 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage; +namespace OnlyFansAPI\Settings\WelcomeMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data * * @phpstan-type WelcomeMessageGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data.php index 71fa7162..5d6a3c76 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media.php index e7bc7feb..844618d5 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files.php index 1245a542..38888c42 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Full; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Preview; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Full; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Preview; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\SquarePreview; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Full.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Full.php index 146d24c4..97e4a8ce 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Full.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Preview.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Preview.php index b4f83e9c..1607a7be 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Preview.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/SquarePreview.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/SquarePreview.php index b26ef934..b208b8da 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/SquarePreview.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Thumb.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Thumb.php index 9eb1a811..8249209a 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Thumb.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/VideoSources.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/VideoSources.php index eca65b41..7d38d5b4 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/VideoSources.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/Data/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta.php index cd1ea251..182bfe27 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Cache; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Credits; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Cache.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Cache.php index 010b1e25..8f9325f1 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Cache.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Credits.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Credits.php index ef5e8cb7..3c60f990 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Credits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_RateLimits.php b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_RateLimits.php index 98d349be..64b2ef6e 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_RateLimits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleParams.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleParams.php index e3941d4e..9d1acc1c 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleParams.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage; +namespace OnlyFansAPI\Settings\WelcomeMessage; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Enable or disable the automatic welcome message that is sent when someone subscribes. * - * @see Onlyfansapi\Services\Settings\WelcomeMessageService::toggle() + * @see OnlyFansAPI\Services\Settings\WelcomeMessageService::toggle() * * @phpstan-type WelcomeMessageToggleParamsShape = array{enabled: bool} */ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse.php index 7789939b..bcf4bff8 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage; +namespace OnlyFansAPI\Settings\WelcomeMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\Data * * @phpstan-type WelcomeMessageToggleResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/Data.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/Data.php index ba5ab6f3..8f4dd39a 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/Data.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta.php index b2735fdf..543d988e 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Cache; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Credits; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Cache.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Cache.php index 0b176632..bd804d11 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Cache.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Credits.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Credits.php index 439a53aa..348f96da 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Credits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_RateLimits.php b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_RateLimits.php index 3644a753..d02155df 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_RateLimits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageToggleResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateParams.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateParams.php index aa890a26..ef6c4c07 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateParams.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage; +namespace OnlyFansAPI\Settings\WelcomeMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update the automatic welcome message template that is sent when someone subscribes. * - * @see Onlyfansapi\Services\Settings\WelcomeMessageService::update() + * @see OnlyFansAPI\Services\Settings\WelcomeMessageService::update() * * @phpstan-type WelcomeMessageUpdateParamsShape = array{ * isForward?: bool|null, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse.php index f855dfb4..8f315031 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage; +namespace OnlyFansAPI\Settings\WelcomeMessage; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data * * @phpstan-type WelcomeMessageUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data.php index e2eae656..88cda760 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media.php index 014bc17c..37792905 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files.php index 2b449149..13be1b6f 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Full; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Preview; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Full; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Preview; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\SquarePreview; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Full.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Full.php index 34b4605b..956db813 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Full.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Preview.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Preview.php index 0afa18bb..6fd41608 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Preview.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Preview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PreviewShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/SquarePreview.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/SquarePreview.php index 4a827985..8f819496 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/SquarePreview.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/SquarePreview.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SquarePreviewShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Thumb.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Thumb.php index 117ef3c5..71d8cd99 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Thumb.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/VideoSources.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/VideoSources.php index d1a9dfb0..edab7945 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/VideoSources.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/Data/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta.php index 092e70c6..69291035 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Cache.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Cache.php index 62ff28cb..d75a924a 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Cache.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Credits.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Credits.php index 9bd8b227..735fa0b9 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Credits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_RateLimits.php b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_RateLimits.php index e1ccb1e8..02a3a42f 100644 --- a/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_RateLimits.php +++ b/src/Settings/WelcomeMessage/WelcomeMessageUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; +namespace OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListParams.php b/src/SharedTrackingLinks/SharedTrackingLinkListParams.php index aa2b011e..15a1ec29 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListParams.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks; +namespace OnlyFansAPI\SharedTrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all Tracking Links (campaigns) shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache. * - * @see Onlyfansapi\Services\SharedTrackingLinksService::list() + * @see OnlyFansAPI\Services\SharedTrackingLinksService::list() * * @phpstan-type SharedTrackingLinkListParamsShape = array{ * limit?: int|null, offset?: int|null, synchronous?: bool|null diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse.php index 94b14ec0..d79963c8 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks; +namespace OnlyFansAPI\SharedTrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Pagination; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Pagination; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data * * @phpstan-type SharedTrackingLinkListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data.php index b7e0ce7c..9701814c 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_.php index e199a888..42803b77 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_\Owner; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_\Owner; /** - * @phpstan-import-type OwnerShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_\Owner + * @phpstan-import-type OwnerShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_\Owner * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_/Owner.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_/Owner.php index 9eb83a54..522a0c97 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_/Owner.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/Data/List_/Owner.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OwnerShape = array{ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta.php index 1fb9bf09..e6d5ca15 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Cache.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Cache.php index 2946a27b..cf67d5f1 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Cache.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Credits.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Credits.php index a2a993a3..544da25c 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Credits.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_RateLimits.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_RateLimits.php index fe8acd4b..2dd7749f 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_RateLimits.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Pagination.php b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Pagination.php index 696fb76c..dc950719 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Pagination.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessParams.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessParams.php index 12970b4e..c222f5c1 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessParams.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks; +namespace OnlyFansAPI\SharedTrackingLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Revoke the account's access to a shared Tracking Link (campaign). Calls OnlyFans `DELETE /campaigns/share-access`, then removes the local cache row. The owner keeps the link. * - * @see Onlyfansapi\Services\SharedTrackingLinksService::revokeAccess() + * @see OnlyFansAPI\Services\SharedTrackingLinksService::revokeAccess() * * @phpstan-type SharedTrackingLinkRevokeAccessParamsShape = array{account: string} */ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse.php index 1ec8c759..0454bb9a 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks; +namespace OnlyFansAPI\SharedTrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\Data * * @phpstan-type SharedTrackingLinkRevokeAccessResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/Data.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/Data.php index 7f5a1efb..640bfd51 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/Data.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta.php index be0a0039..f5e4bd95 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Cache.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Cache.php index cd3778e0..13c9021d 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Cache.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Credits.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Credits.php index aab696f3..84af23b4 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Credits.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_RateLimits.php b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_RateLimits.php index 63b01b63..8714394b 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_RateLimits.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkRevokeAccessResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagAddParams.php b/src/SharedTrackingLinks/Tags/TagAddParams.php index 5e3f0cf5..e3cf0e9f 100644 --- a/src/SharedTrackingLinks/Tags/TagAddParams.php +++ b/src/SharedTrackingLinks/Tags/TagAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add tags to a shared Tracking Link. Existing tags are preserved. Tag namespace is shared with owned Tracking Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrackingLinks\TagsService::add() + * @see OnlyFansAPI\Services\SharedTrackingLinks\TagsService::add() * * @phpstan-type TagAddParamsShape = array{account: string, tags: list} */ diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse.php b/src/SharedTrackingLinks/Tags/TagAddResponse.php index 0aae974d..05964bb7 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\Data * * @phpstan-type TagAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse/Data.php b/src/SharedTrackingLinks/Tags/TagAddResponse/Data.php index 19b71aa9..7eb4728e 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse/Data.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta.php b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta.php index 6e3be3ed..ef18b610 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php index 7c62f903..5ecbe294 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php index 46745fa9..7ae460a3 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php index c6dd0e6a..83b64acf 100644 --- a/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php +++ b/src/SharedTrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagListParams.php b/src/SharedTrackingLinks/Tags/TagListParams.php index 914b985a..e04695be 100644 --- a/src/SharedTrackingLinks/Tags/TagListParams.php +++ b/src/SharedTrackingLinks/Tags/TagListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get tags for a specific shared Tracking Link. Tag namespace is shared with owned Tracking Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrackingLinks\TagsService::list() + * @see OnlyFansAPI\Services\SharedTrackingLinks\TagsService::list() * * @phpstan-type TagListParamsShape = array{account: string} */ diff --git a/src/SharedTrackingLinks/Tags/TagListResponse.php b/src/SharedTrackingLinks/Tags/TagListResponse.php index 4ffea405..8f52b8cc 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\Data * * @phpstan-type TagListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrackingLinks/Tags/TagListResponse/Data.php b/src/SharedTrackingLinks/Tags/TagListResponse/Data.php index 679235ff..44333a51 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse/Data.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta.php b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta.php index 886cec99..1827a8b6 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Cache.php b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Cache.php index a8c50ced..ee05f879 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Cache.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Credits.php b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Credits.php index 2a72d056..1789590d 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Credits.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php index b9e5c5d1..03e6f08c 100644 --- a/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php +++ b/src/SharedTrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagRemoveParams.php b/src/SharedTrackingLinks/Tags/TagRemoveParams.php index b13e4f9b..c45521d9 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveParams.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove tags from a shared Tracking Link. Tag namespace is shared with owned Tracking Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrackingLinks\TagsService::remove() + * @see OnlyFansAPI\Services\SharedTrackingLinks\TagsService::remove() * * @phpstan-type TagRemoveParamsShape = array{account: string, tags: list} */ diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse.php index 379f9770..dfb83b1b 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags; +namespace OnlyFansAPI\SharedTrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\Data * * @phpstan-type TagRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse/Data.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse/Data.php index bd67b89a..04b3b350 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse/Data.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta.php index ff14cfe6..c89fe855 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php index 78d5adf9..72b63555 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php index 7a3404b7..ffb00b8b 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php index 81014fc1..a51616dd 100644 --- a/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php +++ b/src/SharedTrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrialLinks/SharedTrialLinkListParams.php b/src/SharedTrialLinks/SharedTrialLinkListParams.php index 650d9cb9..7c1f6360 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListParams.php +++ b/src/SharedTrialLinks/SharedTrialLinkListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks; +namespace OnlyFansAPI\SharedTrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all Free Trial Links shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache. * - * @see Onlyfansapi\Services\SharedTrialLinksService::list() + * @see OnlyFansAPI\Services\SharedTrialLinksService::list() * * @phpstan-type SharedTrialLinkListParamsShape = array{ * limit?: int|null, offset?: int|null, synchronous?: bool|null diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse.php b/src/SharedTrialLinks/SharedTrialLinkListResponse.php index 1f717964..f7c722c0 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks; +namespace OnlyFansAPI\SharedTrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Pagination; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Pagination; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data * * @phpstan-type SharedTrialLinkListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data.php index ef83cece..c0516af3 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_.php index 44e4f066..a485da73 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_\Owner; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_\Owner; /** - * @phpstan-import-type OwnerShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_\Owner + * @phpstan-import-type OwnerShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_\Owner * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_/Owner.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_/Owner.php index 62d4ea19..308fb855 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_/Owner.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/Data/List_/Owner.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OwnerShape = array{ diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta.php index 5ea105bd..658e9c25 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Cache.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Cache.php index 2d27fb47..c9b58815 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Cache.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Credits.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Credits.php index 2555c3cd..9cdc569c 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Credits.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_RateLimits.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_RateLimits.php index b804af78..2b692843 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_RateLimits.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Pagination.php b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Pagination.php index 0fa40c32..eae2da0e 100644 --- a/src/SharedTrialLinks/SharedTrialLinkListResponse/_Pagination.php +++ b/src/SharedTrialLinks/SharedTrialLinkListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessParams.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessParams.php index 06556197..0bf01c2c 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessParams.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks; +namespace OnlyFansAPI\SharedTrialLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Revoke the account's access to a shared Free Trial Link. Calls OnlyFans `DELETE /trials/share-access`, then removes the local cache row. The owner keeps the link. * - * @see Onlyfansapi\Services\SharedTrialLinksService::revokeAccess() + * @see OnlyFansAPI\Services\SharedTrialLinksService::revokeAccess() * * @phpstan-type SharedTrialLinkRevokeAccessParamsShape = array{account: string} */ diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse.php index c8bcc0df..ffb135a9 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks; +namespace OnlyFansAPI\SharedTrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\Data * * @phpstan-type SharedTrialLinkRevokeAccessResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/Data.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/Data.php index b44b9c39..88a2b07c 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/Data.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta.php index 834d002c..a3eb553e 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Cache.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Cache.php index 9ed687bd..e68ff9d4 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Cache.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Credits.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Credits.php index 429aff8b..c1829d3e 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Credits.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_RateLimits.php b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_RateLimits.php index 9009374e..965693a2 100644 --- a/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_RateLimits.php +++ b/src/SharedTrialLinks/SharedTrialLinkRevokeAccessResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagAddParams.php b/src/SharedTrialLinks/Tags/TagAddParams.php index e554f7d6..1d1fd08b 100644 --- a/src/SharedTrialLinks/Tags/TagAddParams.php +++ b/src/SharedTrialLinks/Tags/TagAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add tags to a shared Free Trial Link. Existing tags are preserved. Tag namespace is shared with owned Free Trial Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrialLinks\TagsService::add() + * @see OnlyFansAPI\Services\SharedTrialLinks\TagsService::add() * * @phpstan-type TagAddParamsShape = array{account: string, tags: list} */ diff --git a/src/SharedTrialLinks/Tags/TagAddResponse.php b/src/SharedTrialLinks/Tags/TagAddResponse.php index 31e4175c..3f678bfc 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\Data * * @phpstan-type TagAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrialLinks/Tags/TagAddResponse/Data.php b/src/SharedTrialLinks/Tags/TagAddResponse/Data.php index 03b2d7a8..f28a8c29 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse/Data.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta.php b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta.php index 4484c50b..2a7af437 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Cache.php b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Cache.php index 268ddffc..ecbd3463 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Cache.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Credits.php b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Credits.php index 7c0f83c3..8d9c37ee 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Credits.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php index 74a7cf72..4f9c2ab9 100644 --- a/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php +++ b/src/SharedTrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagListParams.php b/src/SharedTrialLinks/Tags/TagListParams.php index e66c864f..f07b6706 100644 --- a/src/SharedTrialLinks/Tags/TagListParams.php +++ b/src/SharedTrialLinks/Tags/TagListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get tags for a specific shared Free Trial Link. Tag namespace is shared with owned Free Trial Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrialLinks\TagsService::list() + * @see OnlyFansAPI\Services\SharedTrialLinks\TagsService::list() * * @phpstan-type TagListParamsShape = array{account: string} */ diff --git a/src/SharedTrialLinks/Tags/TagListResponse.php b/src/SharedTrialLinks/Tags/TagListResponse.php index 9ff47de3..513a5de5 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse.php +++ b/src/SharedTrialLinks/Tags/TagListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\Data * * @phpstan-type TagListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrialLinks/Tags/TagListResponse/Data.php b/src/SharedTrialLinks/Tags/TagListResponse/Data.php index 7f4a612d..593d8b8e 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse/Data.php +++ b/src/SharedTrialLinks/Tags/TagListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrialLinks/Tags/TagListResponse/_Meta.php b/src/SharedTrialLinks/Tags/TagListResponse/_Meta.php index fbcf2638..8753bb5b 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse/_Meta.php +++ b/src/SharedTrialLinks/Tags/TagListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Cache.php b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Cache.php index 617281e1..da3fd66c 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Cache.php +++ b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Credits.php b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Credits.php index 364cd3f3..d8a13456 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Credits.php +++ b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php index d4878919..d9ba33c2 100644 --- a/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php +++ b/src/SharedTrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagRemoveParams.php b/src/SharedTrialLinks/Tags/TagRemoveParams.php index c9152d7a..aee3a376 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveParams.php +++ b/src/SharedTrialLinks/Tags/TagRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove tags from a shared Free Trial Link. Tag namespace is shared with owned Free Trial Links. This is a free endpoint. * - * @see Onlyfansapi\Services\SharedTrialLinks\TagsService::remove() + * @see OnlyFansAPI\Services\SharedTrialLinks\TagsService::remove() * * @phpstan-type TagRemoveParamsShape = array{account: string, tags: list} */ diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse.php b/src/SharedTrialLinks/Tags/TagRemoveResponse.php index 3bbe6426..2a458d11 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags; +namespace OnlyFansAPI\SharedTrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\Data * * @phpstan-type TagRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse/Data.php b/src/SharedTrialLinks/Tags/TagRemoveResponse/Data.php index 8a01006a..0177c020 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse/Data.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta.php b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta.php index ea780994..81dd5348 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Cache; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Credits; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php index 06b97cae..5939f2ac 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php index 4d29b642..1d640425 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php index 6d8d72b1..9744af8f 100644 --- a/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php +++ b/src/SharedTrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php index 36c5cb68..1f77f583 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; /** * Create a postback that fires for selected Smart Link conversion types. * - * @see Onlyfansapi\Services\SmartLinkPostbacksService::create() + * @see OnlyFansAPI\Services\SmartLinkPostbacksService::create() * * @phpstan-type SmartLinkPostbackCreateParamsShape = array{ * conversionTypes: list, diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/SmartLinkScope.php b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/SmartLinkScope.php index 355d6295..390ae5a0 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/SmartLinkScope.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/SmartLinkScope.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackCreateParams; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams; /** * `global` fires for all Smart Links. `campaign_specific` fires only for selected Smart Links. diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse.php index 4bca1571..e7d7cfb1 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data * * @phpstan-type SmartLinkPostbackGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php index 3285f1f8..b87e03b9 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink; /** - * @phpstan-import-type SmartLinkShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink + * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/SmartLink.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/SmartLink.php index c3bb829c..33294832 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/SmartLink.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/SmartLink.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SmartLinkShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta.php index c0a15f2e..fffe05d0 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Cache.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Cache.php index 2dab6ed4..1b181cfd 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Cache.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Credits.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Credits.php index 8702cfe6..6df9a05f 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Credits.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse.php index b3e671b7..c77e45c0 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data * * @phpstan-type SmartLinkPostbackListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php index 1b8e6998..fe5da2ec 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink; /** - * @phpstan-import-type LatestResponseShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse - * @phpstan-import-type SmartLinkShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink + * @phpstan-import-type LatestResponseShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse + * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/LatestResponse.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/LatestResponse.php index 6a05e8fa..85378428 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/LatestResponse.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/LatestResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type LatestResponseShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/SmartLink.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/SmartLink.php index 72ff0a4f..8ddc921e 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/SmartLink.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/SmartLink.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SmartLinkShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta.php index 687a685e..38234dbc 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Cache.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Cache.php index 2cadbeaa..e132005a 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Cache.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Credits.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Credits.php index 97a68685..6daec124 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Credits.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse.php index 2868289c..3f96eb3d 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data * * @phpstan-type SmartLinkPostbackNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php index 12a7b491..144b6aaa 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta.php index 2d742f05..0851511d 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Cache.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Cache.php index 2f59fe2e..cf53f723 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Cache.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Credits.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Credits.php index 39eea734..7ad751e7 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Credits.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php index 18f3b673..6233f426 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope; /** * Update a Smart Link postback configuration. * - * @see Onlyfansapi\Services\SmartLinkPostbacksService::update() + * @see OnlyFansAPI\Services\SmartLinkPostbacksService::update() * * @phpstan-type SmartLinkPostbackUpdateParamsShape = array{ * conversionTypes: list, diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/SmartLinkScope.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/SmartLinkScope.php index 9b81685e..3320b492 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/SmartLinkScope.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/SmartLinkScope.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams; /** * `global` or `campaign_specific`. diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse.php index 341f2d64..bc8db095 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks; +namespace OnlyFansAPI\SmartLinkPostbacks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data * * @phpstan-type SmartLinkPostbackUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php index 5a7e1c23..0e268f54 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink; /** - * @phpstan-import-type SmartLinkShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink + * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/SmartLink.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/SmartLink.php index 9932cc83..242121b5 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/SmartLink.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/SmartLink.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SmartLinkShape = array{ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta.php index d193cdca..39be9146 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Cache.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Cache.php index fad95456..84713c2a 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Cache.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Credits.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Credits.php index d34b0be9..1aaa465f 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Credits.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; +namespace OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkCreateParams.php b/src/SmartLinks/SmartLinkCreateParams.php index 13d1b90a..6da313c7 100644 --- a/src/SmartLinks/SmartLinkCreateParams.php +++ b/src/SmartLinks/SmartLinkCreateParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkCreateParams\LinkType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkCreateParams\LinkType; /** * Create a new Smart Link for the account. Smart Links are pooled Free Trial or Tracking links that rotate inventory automatically. * - * @see Onlyfansapi\Services\SmartLinksService::create() + * @see OnlyFansAPI\Services\SmartLinksService::create() * * @phpstan-type SmartLinkCreateParamsShape = array{ * accountID: string, diff --git a/src/SmartLinks/SmartLinkCreateParams/LinkType.php b/src/SmartLinks/SmartLinkCreateParams/LinkType.php index 0cf9811e..d07f2581 100644 --- a/src/SmartLinks/SmartLinkCreateParams/LinkType.php +++ b/src/SmartLinks/SmartLinkCreateParams/LinkType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkCreateParams; +namespace OnlyFansAPI\SmartLinks\SmartLinkCreateParams; /** * The type of Smart Link to create. diff --git a/src/SmartLinks/SmartLinkDeleteResponse.php b/src/SmartLinks/SmartLinkDeleteResponse.php index 52213105..5ae8123b 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse.php +++ b/src/SmartLinks/SmartLinkDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\Data * * @phpstan-type SmartLinkDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkDeleteResponse/Data.php b/src/SmartLinks/SmartLinkDeleteResponse/Data.php index ea662136..60ecf418 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse/Data.php +++ b/src/SmartLinks/SmartLinkDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/SmartLinks/SmartLinkDeleteResponse/_Meta.php b/src/SmartLinks/SmartLinkDeleteResponse/_Meta.php index 0d1be173..33696081 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_Credits; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Cache.php index 65df033b..aa39b2a6 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Credits.php index 366a7abf..4da5f9b2 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_RateLimits.php b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_RateLimits.php index 0cf0c526..d70c8b39 100644 --- a/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_RateLimits.php +++ b/src/SmartLinks/SmartLinkDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SmartLinks/SmartLinkGetResponse.php b/src/SmartLinks/SmartLinkGetResponse.php index 582728d0..40a2bc84 100644 --- a/src/SmartLinks/SmartLinkGetResponse.php +++ b/src/SmartLinks/SmartLinkGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data * * @phpstan-type SmartLinkGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkGetResponse/Data.php b/src/SmartLinks/SmartLinkGetResponse/Data.php index 3cd396b4..43fcda81 100644 --- a/src/SmartLinks/SmartLinkGetResponse/Data.php +++ b/src/SmartLinks/SmartLinkGetResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data\Account; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data\Cost; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data\Account; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data\Cost; /** - * @phpstan-import-type AccountShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data\Account - * @phpstan-import-type CostShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data\Cost + * @phpstan-import-type AccountShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data\Account + * @phpstan-import-type CostShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data\Cost * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/SmartLinks/SmartLinkGetResponse/Data/Account.php b/src/SmartLinks/SmartLinkGetResponse/Data/Account.php index 597c37d9..b53eac13 100644 --- a/src/SmartLinks/SmartLinkGetResponse/Data/Account.php +++ b/src/SmartLinks/SmartLinkGetResponse/Data/Account.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AccountShape = array{ diff --git a/src/SmartLinks/SmartLinkGetResponse/Data/Cost.php b/src/SmartLinks/SmartLinkGetResponse/Data/Cost.php index e6d13932..a34cc4bc 100644 --- a/src/SmartLinks/SmartLinkGetResponse/Data/Cost.php +++ b/src/SmartLinks/SmartLinkGetResponse/Data/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/SmartLinks/SmartLinkGetResponse/_Meta.php b/src/SmartLinks/SmartLinkGetResponse/_Meta.php index 826e184a..4127edee 100644 --- a/src/SmartLinks/SmartLinkGetResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_Credits; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_Credits; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SmartLinks/SmartLinkGetResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkGetResponse/_Meta/_Cache.php index 46288b50..1de30e69 100644 --- a/src/SmartLinks/SmartLinkGetResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkGetResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkGetResponse/_Meta/_Credits.php index 13702c52..33e96952 100644 --- a/src/SmartLinks/SmartLinkGetResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkGetResponse/_Meta/_RateLimits.php b/src/SmartLinks/SmartLinkGetResponse/_Meta/_RateLimits.php index 82f5e092..8dc8ac0a 100644 --- a/src/SmartLinks/SmartLinkGetResponse/_Meta/_RateLimits.php +++ b/src/SmartLinks/SmartLinkGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SmartLinks/SmartLinkGetStatsResponse.php b/src/SmartLinks/SmartLinkGetStatsResponse.php index 82c5e74a..9bcac29e 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data * * @phpstan-type SmartLinkGetStatsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/Data.php b/src/SmartLinks/SmartLinkGetStatsResponse/Data.php index c2e03e39..5c9689a9 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/Data.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\DailyMetric; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\MonthlyMetric; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\DailyMetric; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\MonthlyMetric; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\Summary; /** - * @phpstan-import-type DailyMetricShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\DailyMetric - * @phpstan-import-type MonthlyMetricShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\MonthlyMetric - * @phpstan-import-type SummaryShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data\Summary + * @phpstan-import-type DailyMetricShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\DailyMetric + * @phpstan-import-type MonthlyMetricShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\MonthlyMetric + * @phpstan-import-type SummaryShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data\Summary * * @phpstan-type DataShape = array{ * dailyMetrics?: list|null, diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/Data/DailyMetric.php b/src/SmartLinks/SmartLinkGetStatsResponse/Data/DailyMetric.php index 26b3c4ea..1dacf970 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/Data/DailyMetric.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/Data/DailyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DailyMetricShape = array{ diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/Data/MonthlyMetric.php b/src/SmartLinks/SmartLinkGetStatsResponse/Data/MonthlyMetric.php index 67414fb0..6a80317c 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/Data/MonthlyMetric.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/Data/MonthlyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MonthlyMetricShape = array{ diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/Data/Summary.php b/src/SmartLinks/SmartLinkGetStatsResponse/Data/Summary.php index b3078f7f..fb688180 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/Data/Summary.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta.php b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta.php index 41d8b650..0a6dc6a5 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Cache.php index 98666425..4d18c15f 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Credits.php index 2b06efec..399c472e 100644 --- a/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkGetStatsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkListClicksParams.php b/src/SmartLinks/SmartLinkListClicksParams.php index 6cbe0c04..c089b409 100644 --- a/src/SmartLinks/SmartLinkListClicksParams.php +++ b/src/SmartLinks/SmartLinkListClicksParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Query smart link clicks in a date range with optional bot/duplicate filtering. * - * @see Onlyfansapi\Services\SmartLinksService::listClicks() + * @see OnlyFansAPI\Services\SmartLinksService::listClicks() * * @phpstan-type SmartLinkListClicksParamsShape = array{ * dateEnd?: string|null, diff --git a/src/SmartLinks/SmartLinkListClicksResponse.php b/src/SmartLinks/SmartLinkListClicksResponse.php index c8cb976a..e476e648 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse.php +++ b/src/SmartLinks/SmartLinkListClicksResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data * * @phpstan-type SmartLinkListClicksResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkListClicksResponse/Data.php b/src/SmartLinks/SmartLinkListClicksResponse/Data.php index 1253ea72..52202461 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/Data.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/Data.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Chart; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Filters; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Row; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Chart; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Filters; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Row; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Summary; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Chart - * @phpstan-import-type FiltersShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Filters - * @phpstan-import-type RowShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Row - * @phpstan-import-type SummaryShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data\Summary + * @phpstan-import-type ChartShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Chart + * @phpstan-import-type FiltersShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Filters + * @phpstan-import-type RowShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Row + * @phpstan-import-type SummaryShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data\Summary * * @phpstan-type DataShape = array{ * chart?: list|null, diff --git a/src/SmartLinks/SmartLinkListClicksResponse/Data/Chart.php b/src/SmartLinks/SmartLinkListClicksResponse/Data/Chart.php index 1016b9f4..00f623c5 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/Data/Chart.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/Data/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{clicks?: int|null, timestamp?: string|null} diff --git a/src/SmartLinks/SmartLinkListClicksResponse/Data/Filters.php b/src/SmartLinks/SmartLinkListClicksResponse/Data/Filters.php index f307cbca..795e87de 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/Data/Filters.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/Data/Filters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FiltersShape = array{ diff --git a/src/SmartLinks/SmartLinkListClicksResponse/Data/Row.php b/src/SmartLinks/SmartLinkListClicksResponse/Data/Row.php index 57ea224c..56036fa2 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/Data/Row.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/Data/Row.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RowShape = array{ diff --git a/src/SmartLinks/SmartLinkListClicksResponse/Data/Summary.php b/src/SmartLinks/SmartLinkListClicksResponse/Data/Summary.php index 617e87ad..dae6a271 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/Data/Summary.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{clicksTotal?: int|null} diff --git a/src/SmartLinks/SmartLinkListClicksResponse/_Meta.php b/src/SmartLinks/SmartLinkListClicksResponse/_Meta.php index 79124d52..94f1de6e 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Cache.php index d2fdf6e3..649c91b5 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Credits.php index 5af30182..094dddfb 100644 --- a/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkListClicksResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListClicksResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsParams.php b/src/SmartLinks/SmartLinkListConversionsParams.php index c27751d4..b9ae759e 100644 --- a/src/SmartLinks/SmartLinkListConversionsParams.php +++ b/src/SmartLinks/SmartLinkListConversionsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsParams\ConversionType; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams\ConversionType; /** * Query smart link conversions in a date range with optional bot/duplicate and conversion type filtering. * - * @see Onlyfansapi\Services\SmartLinksService::listConversions() + * @see OnlyFansAPI\Services\SmartLinksService::listConversions() * * @phpstan-type SmartLinkListConversionsParamsShape = array{ * conversionType?: null|ConversionType|value-of, diff --git a/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php b/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php index dae4bef1..106fe914 100644 --- a/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php +++ b/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsParams; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsParams; /** * Optional conversion type filter. diff --git a/src/SmartLinks/SmartLinkListConversionsResponse.php b/src/SmartLinks/SmartLinkListConversionsResponse.php index 28b501b7..f8a2e75c 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data * * @phpstan-type SmartLinkListConversionsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data.php index 729bd1c5..23bac5ae 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Chart; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Filters; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Chart; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Filters; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Summary; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Chart - * @phpstan-import-type FiltersShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Filters - * @phpstan-import-type RowShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row - * @phpstan-import-type SummaryShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Summary + * @phpstan-import-type ChartShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Chart + * @phpstan-import-type FiltersShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Filters + * @phpstan-import-type RowShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row + * @phpstan-import-type SummaryShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Summary * * @phpstan-type DataShape = array{ * chart?: list|null, diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Chart.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Chart.php index 9480e2ad..560def09 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Chart.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Chart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Filters.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Filters.php index c6dcbb8f..5050ba37 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Filters.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Filters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FiltersShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row.php index d9da6de4..9fc22cab 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Click; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Fan; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Click; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Fan; /** - * @phpstan-import-type ClickShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Click - * @phpstan-import-type FanShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Fan + * @phpstan-import-type ClickShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Click + * @phpstan-import-type FanShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row\Fan * * @phpstan-type RowShape = array{ * id?: string|null, diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Click.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Click.php index e043f350..85eececd 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Click.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Click.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ClickShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Fan.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Fan.php index 9753f4b1..c17d75c5 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Fan.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Row/Fan.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data\Row; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data\Row; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FanShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Summary.php b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Summary.php index c25fc547..ecf7a0a5 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/Data/Summary.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta.php b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta.php index d8623ad9..3867a817 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Cache.php index 3fe14078..00076eee 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Credits.php index c326427c..15cfb91c 100644 --- a/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkListConversionsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkListFansParams.php b/src/SmartLinks/SmartLinkListFansParams.php index d2890ef7..2748b849 100644 --- a/src/SmartLinks/SmartLinkListFansParams.php +++ b/src/SmartLinks/SmartLinkListFansParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListFansParams\Sort; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; /** * Query attributed Smart Link fans with aggregate fan metrics and subscriber attribution metadata. * - * @see Onlyfansapi\Services\SmartLinksService::listFans() + * @see OnlyFansAPI\Services\SmartLinksService::listFans() * * @phpstan-type SmartLinkListFansParamsShape = array{ * hasMessages?: bool|null, diff --git a/src/SmartLinks/SmartLinkListFansParams/Sort.php b/src/SmartLinks/SmartLinkListFansParams/Sort.php index 2841c23a..be37c577 100644 --- a/src/SmartLinks/SmartLinkListFansParams/Sort.php +++ b/src/SmartLinks/SmartLinkListFansParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansParams; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansParams; /** * Optional sort field. Default `-revenue_net`. diff --git a/src/SmartLinks/SmartLinkListFansResponse.php b/src/SmartLinks/SmartLinkListFansResponse.php index d3d129f3..56d5e2de 100644 --- a/src/SmartLinks/SmartLinkListFansResponse.php +++ b/src/SmartLinks/SmartLinkListFansResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data * * @phpstan-type SmartLinkListFansResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data.php b/src/SmartLinks/SmartLinkListFansResponse/Data.php index e41bd680..55cb62eb 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Filters; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Row; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Filters; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Row; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Summary; /** - * @phpstan-import-type FiltersShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Filters - * @phpstan-import-type RowShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Row - * @phpstan-import-type SummaryShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data\Summary + * @phpstan-import-type FiltersShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Filters + * @phpstan-import-type RowShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Row + * @phpstan-import-type SummaryShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Summary * * @phpstan-type DataShape = array{ * filters?: null|Filters|FiltersShape, diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php index c7b323ab..e97578f5 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FiltersShape = array{ diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php index ce8e836b..b4f21fcd 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RowShape = array{ diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php index cf7ebc9d..a8c56e46 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/SmartLinks/SmartLinkListFansResponse/_Meta.php b/src/SmartLinks/SmartLinkListFansResponse/_Meta.php index 32a88aa0..484c8391 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkListFansResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Cache.php index 766e8d6d..6fe6fce5 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Credits.php index ca5bb971..dbec8ff3 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkListFansResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListFansResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkListParams.php b/src/SmartLinks/SmartLinkListParams.php index 36606092..8b7aba50 100644 --- a/src/SmartLinks/SmartLinkListParams.php +++ b/src/SmartLinks/SmartLinkListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * List all Smart Links. * - * @see Onlyfansapi\Services\SmartLinksService::list() + * @see OnlyFansAPI\Services\SmartLinksService::list() * * @phpstan-type SmartLinkListParamsShape = array{ * accountIDs?: string|null, diff --git a/src/SmartLinks/SmartLinkListResponse.php b/src/SmartLinks/SmartLinkListResponse.php index a79b3a75..99021e47 100644 --- a/src/SmartLinks/SmartLinkListResponse.php +++ b/src/SmartLinks/SmartLinkListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data * * @phpstan-type SmartLinkListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/SmartLinks/SmartLinkListResponse/Data.php b/src/SmartLinks/SmartLinkListResponse/Data.php index 8ebc133b..eef66658 100644 --- a/src/SmartLinks/SmartLinkListResponse/Data.php +++ b/src/SmartLinks/SmartLinkListResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\Data\Account; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\Data\Cost; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data\Account; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data\Cost; /** - * @phpstan-import-type AccountShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\Data\Account - * @phpstan-import-type CostShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\Data\Cost + * @phpstan-import-type AccountShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data\Account + * @phpstan-import-type CostShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data\Cost * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/SmartLinks/SmartLinkListResponse/Data/Account.php b/src/SmartLinks/SmartLinkListResponse/Data/Account.php index 4f702929..de9caf62 100644 --- a/src/SmartLinks/SmartLinkListResponse/Data/Account.php +++ b/src/SmartLinks/SmartLinkListResponse/Data/Account.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AccountShape = array{ diff --git a/src/SmartLinks/SmartLinkListResponse/Data/Cost.php b/src/SmartLinks/SmartLinkListResponse/Data/Cost.php index 671f17f8..4356bf7c 100644 --- a/src/SmartLinks/SmartLinkListResponse/Data/Cost.php +++ b/src/SmartLinks/SmartLinkListResponse/Data/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/SmartLinks/SmartLinkListResponse/_Meta.php b/src/SmartLinks/SmartLinkListResponse/_Meta.php index c7a994af..3277864d 100644 --- a/src/SmartLinks/SmartLinkListResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_Credits; -use Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_Credits; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SmartLinks/SmartLinkListResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkListResponse/_Meta/_Cache.php index 9aa92daf..c13efbce 100644 --- a/src/SmartLinks/SmartLinkListResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkListResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkListResponse/_Meta/_Credits.php index 1ed04f73..986d1487 100644 --- a/src/SmartLinks/SmartLinkListResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkListResponse/_Meta/_RateLimits.php b/src/SmartLinks/SmartLinkListResponse/_Meta/_RateLimits.php index 6d7d3bd5..72965ef5 100644 --- a/src/SmartLinks/SmartLinkListResponse/_Meta/_RateLimits.php +++ b/src/SmartLinks/SmartLinkListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SmartLinks/SmartLinkListSpendersParams.php b/src/SmartLinks/SmartLinkListSpendersParams.php index 64db9d68..b1f7ac26 100644 --- a/src/SmartLinks/SmartLinkListSpendersParams.php +++ b/src/SmartLinks/SmartLinkListSpendersParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Compatibility endpoint returning fans with attributed spend through a Smart Link. * - * @see Onlyfansapi\Services\SmartLinksService::listSpenders() + * @see OnlyFansAPI\Services\SmartLinksService::listSpenders() * * @phpstan-type SmartLinkListSpendersParamsShape = array{ * limit?: int|null, minSpend?: float|null, offset?: int|null diff --git a/src/SmartLinks/SmartLinkListSpendersResponse.php b/src/SmartLinks/SmartLinkListSpendersResponse.php index 0a4e9682..1cc0ef6b 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\Data * * @phpstan-type SmartLinkListSpendersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/SmartLinks/SmartLinkListSpendersResponse/Data.php b/src/SmartLinks/SmartLinkListSpendersResponse/Data.php index 5767d3bb..cab3196b 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse/Data.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\Data\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\Data\Revenue; /** - * @phpstan-import-type RevenueShape from \Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\Data\Revenue + * @phpstan-import-type RevenueShape from \OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\Data\Revenue * * @phpstan-type DataShape = array{ * onlyfansID?: string|null, diff --git a/src/SmartLinks/SmartLinkListSpendersResponse/Data/Revenue.php b/src/SmartLinks/SmartLinkListSpendersResponse/Data/Revenue.php index 9b36765b..55f70ba9 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse/Data/Revenue.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse/Data/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta.php b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta.php index 18441a35..35561709 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Cache.php index d812a073..097c3914 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Credits.php index 857cc20b..f0122a45 100644 --- a/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkListSpendersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkNewResponse.php b/src/SmartLinks/SmartLinkNewResponse.php index da3d3227..29d28a01 100644 --- a/src/SmartLinks/SmartLinkNewResponse.php +++ b/src/SmartLinks/SmartLinkNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data * * @phpstan-type SmartLinkNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/SmartLinks/SmartLinkNewResponse/Data.php b/src/SmartLinks/SmartLinkNewResponse/Data.php index 799690da..3b8979d6 100644 --- a/src/SmartLinks/SmartLinkNewResponse/Data.php +++ b/src/SmartLinks/SmartLinkNewResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data\Account; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data\Cost; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data\Account; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data\Cost; /** - * @phpstan-import-type AccountShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data\Account - * @phpstan-import-type CostShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data\Cost + * @phpstan-import-type AccountShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data\Account + * @phpstan-import-type CostShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data\Cost * * @phpstan-type DataShape = array{ * id?: string|null, diff --git a/src/SmartLinks/SmartLinkNewResponse/Data/Account.php b/src/SmartLinks/SmartLinkNewResponse/Data/Account.php index 55a5ddac..1df39d3b 100644 --- a/src/SmartLinks/SmartLinkNewResponse/Data/Account.php +++ b/src/SmartLinks/SmartLinkNewResponse/Data/Account.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AccountShape = array{ diff --git a/src/SmartLinks/SmartLinkNewResponse/Data/Cost.php b/src/SmartLinks/SmartLinkNewResponse/Data/Cost.php index 756283e5..8744adda 100644 --- a/src/SmartLinks/SmartLinkNewResponse/Data/Cost.php +++ b/src/SmartLinks/SmartLinkNewResponse/Data/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse\Data; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/SmartLinks/SmartLinkNewResponse/_Meta.php b/src/SmartLinks/SmartLinkNewResponse/_Meta.php index 9c49fd6d..f017d192 100644 --- a/src/SmartLinks/SmartLinkNewResponse/_Meta.php +++ b/src/SmartLinks/SmartLinkNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_Cache; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_Credits; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_Cache; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_Credits; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/SmartLinks/SmartLinkNewResponse/_Meta/_Cache.php b/src/SmartLinks/SmartLinkNewResponse/_Meta/_Cache.php index fea7b093..2e6e8225 100644 --- a/src/SmartLinks/SmartLinkNewResponse/_Meta/_Cache.php +++ b/src/SmartLinks/SmartLinkNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/SmartLinks/SmartLinkNewResponse/_Meta/_Credits.php b/src/SmartLinks/SmartLinkNewResponse/_Meta/_Credits.php index ca0bb5c0..3cca76e3 100644 --- a/src/SmartLinks/SmartLinkNewResponse/_Meta/_Credits.php +++ b/src/SmartLinks/SmartLinkNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/SmartLinks/SmartLinkNewResponse/_Meta/_RateLimits.php b/src/SmartLinks/SmartLinkNewResponse/_Meta/_RateLimits.php index 7be57942..13b40775 100644 --- a/src/SmartLinks/SmartLinkNewResponse/_Meta/_RateLimits.php +++ b/src/SmartLinks/SmartLinkNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkNewResponse\_Meta; +namespace OnlyFansAPI\SmartLinks\SmartLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/SmartLinks/SmartLinkRetrieveCohortArpsParams.php b/src/SmartLinks/SmartLinkRetrieveCohortArpsParams.php index 01f950fd..803496f0 100644 --- a/src/SmartLinks/SmartLinkRetrieveCohortArpsParams.php +++ b/src/SmartLinks/SmartLinkRetrieveCohortArpsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; /** * Get per-link time-to-profit cohort ARPS windows for a specific Smart Link. * - * @see Onlyfansapi\Services\SmartLinksService::retrieveCohortArps() + * @see OnlyFansAPI\Services\SmartLinksService::retrieveCohortArps() * * @phpstan-type SmartLinkRetrieveCohortArpsParamsShape = array{ * acquisitionEnd?: string|null, diff --git a/src/SmartLinks/SmartLinkRetrieveCohortArpsParams/RevenueBasis.php b/src/SmartLinks/SmartLinkRetrieveCohortArpsParams/RevenueBasis.php index 1542f893..9e15dd6e 100644 --- a/src/SmartLinks/SmartLinkRetrieveCohortArpsParams/RevenueBasis.php +++ b/src/SmartLinks/SmartLinkRetrieveCohortArpsParams/RevenueBasis.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks\SmartLinkRetrieveCohortArpsParams; +namespace OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams; /** * Revenue basis. Defaults to `net`. diff --git a/src/SmartLinks/SmartLinkRetrieveStatsParams.php b/src/SmartLinks/SmartLinkRetrieveStatsParams.php index 9ddf61da..755a35bb 100644 --- a/src/SmartLinks/SmartLinkRetrieveStatsParams.php +++ b/src/SmartLinks/SmartLinkRetrieveStatsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\SmartLinks; +namespace OnlyFansAPI\SmartLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get dashboard-style summary plus daily and monthly metrics for a specific Smart Link on the current team. * - * @see Onlyfansapi\Services\SmartLinksService::retrieveStats() + * @see OnlyFansAPI\Services\SmartLinksService::retrieveStats() * * @phpstan-type SmartLinkRetrieveStatsParamsShape = array{ * dateEnd?: string|null, dateStart?: string|null diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsParams.php b/src/Statistics/Reach/ReachGetProfileVisitorsParams.php index 0646b9a7..96212819 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsParams.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach; +namespace OnlyFansAPI\Statistics\Reach; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Filter; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams\Type; /** * Get the number of profile visitors for a given period. * - * @see Onlyfansapi\Services\Statistics\ReachService::getProfileVisitors() + * @see OnlyFansAPI\Services\Statistics\ReachService::getProfileVisitors() * * @phpstan-type ReachGetProfileVisitorsParamsShape = array{ * endDate: string, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsParams/Filter.php b/src/Statistics/Reach/ReachGetProfileVisitorsParams/Filter.php index f345a2dc..d7aaf0f0 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsParams/Filter.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsParams/Filter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams; /** * Optionally, filter the results by `chart` or `topCountries`. See example responses. diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsParams/Type.php b/src/Statistics/Reach/ReachGetProfileVisitorsParams/Type.php index edaa169a..6045b11c 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsParams/Type.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsParams; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsParams; /** * Filter all / users / guests. diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse.php index b2337770..1c9b327d 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach; +namespace OnlyFansAPI\Statistics\Reach; -use Onlyfansapi\Core\Concerns\SdkUnion; -use Onlyfansapi\Core\Conversion\Contracts\Converter; -use Onlyfansapi\Core\Conversion\Contracts\ConverterSource; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +use OnlyFansAPI\Core\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; /** * No filter. * - * @phpstan-import-type UnionMember0Shape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0 - * @phpstan-import-type UnionMember1Shape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1 - * @phpstan-import-type UnionMember2Shape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2 + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1 + * @phpstan-import-type UnionMember2Shape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2 * * @phpstan-type ReachGetProfileVisitorsResponseVariants = UnionMember0|UnionMember1|UnionMember2 * @phpstan-type ReachGetProfileVisitorsResponseShape = ReachGetProfileVisitorsResponseVariants|UnionMember0Shape|UnionMember1Shape|UnionMember2Shape diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0.php index d20d1550..3c2a1425 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; /** * No filter. * - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data * * @phpstan-type UnionMember0Shape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data.php index cdbb8f2f..ce8c8ffd 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Total; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Total; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart - * @phpstan-import-type TopCountriesShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries - * @phpstan-import-type TopDurationUsersShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers - * @phpstan-import-type TotalShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Total + * @phpstan-import-type ChartShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart + * @phpstan-import-type TopCountriesShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries + * @phpstan-import-type TopDurationUsersShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers + * @phpstan-import-type TotalShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Total * * @phpstan-type DataShape = array{ * chart?: null|Chart|ChartShape, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart.php index c1e92f87..19c79b39 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Duration; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Visitor; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Duration; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Visitor; /** - * @phpstan-import-type DurationShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Duration - * @phpstan-import-type VisitorShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Visitor + * @phpstan-import-type DurationShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Duration + * @phpstan-import-type VisitorShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart\Visitor * * @phpstan-type ChartShape = array{ * duration?: list|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Duration.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Duration.php index 48496e44..86425713 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Duration.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Duration.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DurationShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Visitor.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Visitor.php index 3a2b5672..34bca5ea 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Visitor.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Chart/Visitor.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\Chart; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VisitorShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries.php index 2cbad165..8c0d64bc 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Totals; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Totals; /** - * @phpstan-import-type RowShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row - * @phpstan-import-type TotalsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Totals + * @phpstan-import-type RowShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row + * @phpstan-import-type TotalsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Totals * * @phpstan-type TopCountriesShape = array{ * hasMore?: bool|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row.php index 87034f9c..902f6ca8 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row\ViewsCount; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row\ViewsCount; /** - * @phpstan-import-type ViewsCountShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row\ViewsCount + * @phpstan-import-type ViewsCountShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row\ViewsCount * * @phpstan-type RowShape = array{ * countryCode?: string|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row/ViewsCount.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row/ViewsCount.php index f23e1671..43ff2f09 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row/ViewsCount.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Row/ViewsCount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries\Row; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ViewsCountShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Totals.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Totals.php index c0e59538..e444f3c0 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Totals.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopCountries/Totals.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TotalsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers.php index 8c0c76ac..8ae4b75a 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers\Totals; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers\Totals; /** - * @phpstan-import-type TotalsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers\Totals + * @phpstan-import-type TotalsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers\Totals * * @phpstan-type TopDurationUsersShape = array{totals?: null|Totals|TotalsShape} */ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers/Totals.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers/Totals.php index 24d658f7..3acab680 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers/Totals.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/TopDurationUsers/Totals.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data\TopDurationUsers; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TotalsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Total.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Total.php index 328e2d8c..6dc3fe16 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Total.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/Data/Total.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TotalShape = array{current?: string|null, delta?: float|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta.php index 9098bf86..f762fc15 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Cache; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Credits; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Cache; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Credits; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Cache.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Cache.php index 03dbfea2..02feb8fd 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Cache.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Credits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Credits.php index bbf01a38..346302eb 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Credits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_RateLimits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_RateLimits.php index 3a5b8ca6..8232d135 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_RateLimits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember0/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember0\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1.php index 294328be..5635975d 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; /** * Chart filter. * - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data * * @phpstan-type UnionMember1Shape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data.php index 55e59fdf..ce270f28 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Total; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Total; /** - * @phpstan-import-type ChartShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart - * @phpstan-import-type TotalShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Total + * @phpstan-import-type ChartShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart + * @phpstan-import-type TotalShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Total * * @phpstan-type DataShape = array{ * chart?: null|Chart|ChartShape, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart.php index 4b124058..50da30ad 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Duration; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Visitor; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Duration; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Visitor; /** - * @phpstan-import-type DurationShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Duration - * @phpstan-import-type VisitorShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Visitor + * @phpstan-import-type DurationShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Duration + * @phpstan-import-type VisitorShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart\Visitor * * @phpstan-type ChartShape = array{ * duration?: list|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Duration.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Duration.php index 61b1fba8..1f5c97da 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Duration.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Duration.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DurationShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Visitor.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Visitor.php index cf0ec008..f6a58e55 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Visitor.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Chart/Visitor.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data\Chart; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VisitorShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Total.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Total.php index 9b8d48f5..f976160f 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Total.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/Data/Total.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TotalShape = array{current?: string|null, delta?: float|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta.php index 93761498..99be83cd 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Cache; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Credits; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Cache; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Credits; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Cache.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Cache.php index 77e57253..122fe7bf 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Cache.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Credits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Credits.php index e85895a4..f9104b28 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Credits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_RateLimits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_RateLimits.php index bc5e54c2..053a49be 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_RateLimits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember1/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember1\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2.php index e81fad32..a862c96b 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data; /** * Top countries filter. * - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data * * @phpstan-type UnionMember2Shape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data.php index 70c8111f..fe892269 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; /** - * @phpstan-import-type TopCountriesShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries + * @phpstan-import-type TopCountriesShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries * * @phpstan-type DataShape = array{ * hasStats?: bool|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries.php index 89ebad19..f58be1ab 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Totals; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Totals; /** - * @phpstan-import-type RowShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row - * @phpstan-import-type TotalsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Totals + * @phpstan-import-type RowShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row + * @phpstan-import-type TotalsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Totals * * @phpstan-type TopCountriesShape = array{ * hasMore?: bool|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row.php index 7ce4bea2..a22e5384 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row\ViewsCount; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row\ViewsCount; /** - * @phpstan-import-type ViewsCountShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row\ViewsCount + * @phpstan-import-type ViewsCountShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row\ViewsCount * * @phpstan-type RowShape = array{ * countryCode?: string|null, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row/ViewsCount.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row/ViewsCount.php index d373e2b4..26156d1b 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row/ViewsCount.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Row/ViewsCount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries\Row; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ViewsCountShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Totals.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Totals.php index 72628566..074e364f 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Totals.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/Data/TopCountries/Totals.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\Data\TopCountries; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TotalsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta.php index 1d4e68f6..58889b51 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Cache; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Credits; -use Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Cache; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Credits; +use OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Cache.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Cache.php index 7d9847d4..68d5f3a8 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Cache.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Credits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Credits.php index f8382833..40557267 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Credits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_RateLimits.php b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_RateLimits.php index 245e38ad..eef834da 100644 --- a/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_RateLimits.php +++ b/src/Statistics/Reach/ReachGetProfileVisitorsResponse/UnionMember2/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; +namespace OnlyFansAPI\Statistics\Reach\ReachGetProfileVisitorsResponse\UnionMember2\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Statistics/Statements/StatementGetEarningsParams.php b/src/Statistics/Statements/StatementGetEarningsParams.php index c85d1cd1..a8579c53 100644 --- a/src/Statistics/Statements/StatementGetEarningsParams.php +++ b/src/Statistics/Statements/StatementGetEarningsParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements; +namespace OnlyFansAPI\Statistics\Statements; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams\Type; /** * Get the earnings for a given period. * - * @see Onlyfansapi\Services\Statistics\StatementsService::getEarnings() + * @see OnlyFansAPI\Services\Statistics\StatementsService::getEarnings() * * @phpstan-type StatementGetEarningsParamsShape = array{ * startDate: string, endDate?: string|null, type?: null|Type|value-of diff --git a/src/Statistics/Statements/StatementGetEarningsParams/Type.php b/src/Statistics/Statements/StatementGetEarningsParams/Type.php index 5fcdd04b..1f0c6477 100644 --- a/src/Statistics/Statements/StatementGetEarningsParams/Type.php +++ b/src/Statistics/Statements/StatementGetEarningsParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsParams; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsParams; /** * Filter by All / Subscriptions / Tips / Posts / Messages / Streams. diff --git a/src/Statistics/Statements/StatementGetEarningsResponse.php b/src/Statistics/Statements/StatementGetEarningsResponse.php index cd39b27e..3b3df06c 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements; +namespace OnlyFansAPI\Statistics\Statements; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data * * @phpstan-type StatementGetEarningsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/Data.php b/src/Statistics/Statements/StatementGetEarningsResponse/Data.php index 671918bd..800b102f 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/Data.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total; /** - * @phpstan-import-type TotalShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total + * @phpstan-import-type TotalShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total * * @phpstan-type DataShape = array{total?: null|Total|TotalShape} */ diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total.php b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total.php index 1f5980d8..064821d3 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartAmount; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartCount; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartAmount; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartCount; /** - * @phpstan-import-type ChartAmountShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartAmount - * @phpstan-import-type ChartCountShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartCount + * @phpstan-import-type ChartAmountShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartAmount + * @phpstan-import-type ChartCountShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total\ChartCount * * @phpstan-type TotalShape = array{ * chartAmount?: list|null, diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartAmount.php b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartAmount.php index e3686311..f722b19f 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartAmount.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartAmount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartAmountShape = array{count?: float|null, date?: string|null} diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartCount.php b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartCount.php index 45ba5a81..f76c7ad3 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartCount.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/Data/Total/ChartCount.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\Data\Total; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\Data\Total; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartCountShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta.php b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta.php index 0da0e1a8..e3f6321f 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Cache; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Credits; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Cache; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Credits; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Cache.php b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Cache.php index d378e62c..647d03e6 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Cache.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Credits.php b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Credits.php index 4e956c7b..dd817f6f 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Credits.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_RateLimits.php b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_RateLimits.php index 7b565e2f..7a86e25d 100644 --- a/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_RateLimits.php +++ b/src/Statistics/Statements/StatementGetEarningsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse\_Meta; +namespace OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Statistics/StatisticCalculateTotalTransactionsParams.php b/src/Statistics/StatisticCalculateTotalTransactionsParams.php index 62f49e9f..117cf724 100644 --- a/src/Statistics/StatisticCalculateTotalTransactionsParams.php +++ b/src/Statistics/StatisticCalculateTotalTransactionsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Calculate the total transactions and amounts. * - * @see Onlyfansapi\Services\StatisticsService::calculateTotalTransactions() + * @see OnlyFansAPI\Services\StatisticsService::calculateTotalTransactions() * * @phpstan-type StatisticCalculateTotalTransactionsParamsShape = array{ * endDate: string, startDate: string diff --git a/src/Statistics/StatisticCalculateTotalTransactionsResponse.php b/src/Statistics/StatisticCalculateTotalTransactionsResponse.php index c53ebba3..643ca553 100644 --- a/src/Statistics/StatisticCalculateTotalTransactionsResponse.php +++ b/src/Statistics/StatisticCalculateTotalTransactionsResponse.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StatisticCalculateTotalTransactionsResponseShape = array{ diff --git a/src/Statistics/StatisticGetOverviewParams.php b/src/Statistics/StatisticGetOverviewParams.php index 3ee91fa3..e6194b39 100644 --- a/src/Statistics/StatisticGetOverviewParams.php +++ b/src/Statistics/StatisticGetOverviewParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; /** * Get an overview of statistics for fans, visitors, posts, or general. * - * @see Onlyfansapi\Services\StatisticsService::getOverview() + * @see OnlyFansAPI\Services\StatisticsService::getOverview() * * @phpstan-type StatisticGetOverviewParamsShape = array{ * endDate?: string|null, diff --git a/src/Statistics/StatisticGetOverviewParams/Type.php b/src/Statistics/StatisticGetOverviewParams/Type.php index e02948e9..81c94fc0 100644 --- a/src/Statistics/StatisticGetOverviewParams/Type.php +++ b/src/Statistics/StatisticGetOverviewParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewParams; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewParams; /** * The type of statistics to retrieve (default = empty). diff --git a/src/Statistics/StatisticGetOverviewResponse.php b/src/Statistics/StatisticGetOverviewResponse.php index 0981d457..066edba1 100644 --- a/src/Statistics/StatisticGetOverviewResponse.php +++ b/src/Statistics/StatisticGetOverviewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data * * @phpstan-type StatisticGetOverviewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/StatisticGetOverviewResponse/Data.php b/src/Statistics/StatisticGetOverviewResponse/Data.php index 7dc4fc9a..aa3a429e 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Earning; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Earning; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors; /** - * @phpstan-import-type EarningShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Earning - * @phpstan-import-type MassMessagesShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages - * @phpstan-import-type PostsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts - * @phpstan-import-type StreamsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams - * @phpstan-import-type VisitorsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors + * @phpstan-import-type EarningShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Earning + * @phpstan-import-type MassMessagesShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages + * @phpstan-import-type PostsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts + * @phpstan-import-type StreamsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams + * @phpstan-import-type VisitorsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors * * @phpstan-type DataShape = array{ * earning?: null|Earning|EarningShape, diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Earning.php b/src/Statistics/StatisticGetOverviewResponse/Data/Earning.php index 5bd596e4..92a4276c 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Earning.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Earning.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages.php b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages.php index 81347208..a6e6fb71 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\ChartData; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Count; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Earnings; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Views; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\ChartData; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Count; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Earnings; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Views; /** - * @phpstan-import-type ChartDataShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\ChartData - * @phpstan-import-type CountShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Count - * @phpstan-import-type EarningsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Earnings - * @phpstan-import-type ViewsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Views + * @phpstan-import-type ChartDataShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\ChartData + * @phpstan-import-type CountShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Count + * @phpstan-import-type EarningsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Earnings + * @phpstan-import-type ViewsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages\Views * * @phpstan-type MassMessagesShape = array{ * chartData?: list|null, diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/ChartData.php b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/ChartData.php index 44a0c54f..7c914d8a 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/ChartData.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/ChartData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartDataShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Count.php b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Count.php index df3db170..4cfb6444 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Count.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Count.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountShape = array{delta?: float|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Earnings.php b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Earnings.php index b0cdc4df..ff61ae02 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Earnings.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Earnings.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningsShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Views.php b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Views.php index b208b479..94a0c008 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Views.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/MassMessages/Views.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\MassMessages; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\MassMessages; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ViewsShape = array{delta?: int|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Posts.php b/src/Statistics/StatisticGetOverviewResponse/Data/Posts.php index 6ab0d7c3..c1b26628 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Posts.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Posts.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\ChartData; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Count; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Earnings; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Views; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\ChartData; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Count; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Earnings; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Views; /** - * @phpstan-import-type ChartDataShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\ChartData - * @phpstan-import-type CountShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Count - * @phpstan-import-type EarningsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Earnings - * @phpstan-import-type ViewsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts\Views + * @phpstan-import-type ChartDataShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\ChartData + * @phpstan-import-type CountShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Count + * @phpstan-import-type EarningsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Earnings + * @phpstan-import-type ViewsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts\Views * * @phpstan-type PostsShape = array{ * chartData?: list|null, diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/ChartData.php b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/ChartData.php index 30f48d58..02082ee4 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/ChartData.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/ChartData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartDataShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Count.php b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Count.php index f1602402..04ba6b13 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Count.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Count.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountShape = array{delta?: int|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Earnings.php b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Earnings.php index f77c4296..47aec4c4 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Earnings.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Earnings.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningsShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Views.php b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Views.php index 8af7bd38..6fd9768a 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Views.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Posts/Views.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Posts; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Posts; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ViewsShape = array{delta?: float|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Streams.php b/src/Statistics/StatisticGetOverviewResponse/Data/Streams.php index fac68f9f..94681c41 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Streams.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Streams.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\ChartData; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Count; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Earnings; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Views; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\ChartData; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Count; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Earnings; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Views; /** - * @phpstan-import-type ChartDataShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\ChartData - * @phpstan-import-type CountShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Count - * @phpstan-import-type EarningsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Earnings - * @phpstan-import-type ViewsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams\Views + * @phpstan-import-type ChartDataShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\ChartData + * @phpstan-import-type CountShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Count + * @phpstan-import-type EarningsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Earnings + * @phpstan-import-type ViewsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams\Views * * @phpstan-type StreamsShape = array{ * chartData?: list|null, diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/ChartData.php b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/ChartData.php index 687532bc..de38d375 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/ChartData.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/ChartData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartDataShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Count.php b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Count.php index 53346ffb..b2feaeb3 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Count.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Count.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CountShape = array{delta?: int|null, total?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Earnings.php b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Earnings.php index 3b8d6a3a..ecda44c0 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Earnings.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Earnings.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningsShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Views.php b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Views.php index 913aebcb..1d6e9542 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Views.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Streams/Views.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Streams; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Streams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ViewsShape = array{delta?: int|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors.php index 01b9cad0..0f81fcc8 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\ChartData; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Earnings; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\ChartData; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Earnings; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; /** - * @phpstan-import-type ChartDataShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\ChartData - * @phpstan-import-type EarningsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Earnings - * @phpstan-import-type SubscriptionsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions - * @phpstan-import-type VisitorsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Visitors as VisitorsShape1 + * @phpstan-import-type ChartDataShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\ChartData + * @phpstan-import-type EarningsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Earnings + * @phpstan-import-type SubscriptionsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions + * @phpstan-import-type VisitorsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Visitors as VisitorsShape1 * * @phpstan-type VisitorsShape = array{ * chartData?: list|null, * earnings?: null|Earnings|EarningsShape, * hasStatistic?: bool|null, * subscriptions?: null|Subscriptions|SubscriptionsShape, - * visitors?: null|\Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Visitors|VisitorsShape1, + * visitors?: null|\OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Visitors|VisitorsShape1, * } */ final class Visitors implements BaseModel diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/ChartData.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/ChartData.php index 46ec869c..3fa73e15 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/ChartData.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/ChartData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ChartDataShape = array{count?: int|null, date?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Earnings.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Earnings.php index fe608981..db9728ca 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Earnings.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Earnings.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningsShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions.php index c358d722..dfc4f2fb 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\New_; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\Renew; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\New_; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\Renew; /** - * @phpstan-import-type NewShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\New_ - * @phpstan-import-type RenewShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\Renew + * @phpstan-import-type NewShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\New_ + * @phpstan-import-type RenewShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions\Renew * * @phpstan-type SubscriptionsShape = array{ * new?: null|New_|NewShape, renew?: null|Renew|RenewShape diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/New_.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/New_.php index 1aef688a..c140a39e 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/New_.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/New_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type NewShape = array{delta?: float|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/Renew.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/Renew.php index 15eacef7..56362564 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/Renew.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Subscriptions/Renew.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors\Subscriptions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RenewShape = array{delta?: int|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Visitors.php b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Visitors.php index e4c59934..b6e64876 100644 --- a/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Visitors.php +++ b/src/Statistics/StatisticGetOverviewResponse/Data/Visitors/Visitors.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\Data\Visitors; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\Data\Visitors; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VisitorsShape = array{delta?: int|null, total?: int|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/_Meta.php b/src/Statistics/StatisticGetOverviewResponse/_Meta.php index 9d2dce99..e6677dc8 100644 --- a/src/Statistics/StatisticGetOverviewResponse/_Meta.php +++ b/src/Statistics/StatisticGetOverviewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_Cache; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_Credits; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_Cache; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_Credits; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/StatisticGetOverviewResponse/_Meta/_Cache.php b/src/Statistics/StatisticGetOverviewResponse/_Meta/_Cache.php index 973aaf0c..4a859e37 100644 --- a/src/Statistics/StatisticGetOverviewResponse/_Meta/_Cache.php +++ b/src/Statistics/StatisticGetOverviewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/StatisticGetOverviewResponse/_Meta/_Credits.php b/src/Statistics/StatisticGetOverviewResponse/_Meta/_Credits.php index edd330d7..91dd3faf 100644 --- a/src/Statistics/StatisticGetOverviewResponse/_Meta/_Credits.php +++ b/src/Statistics/StatisticGetOverviewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/StatisticGetOverviewResponse/_Meta/_RateLimits.php b/src/Statistics/StatisticGetOverviewResponse/_Meta/_RateLimits.php index 7df7df6d..2d67df28 100644 --- a/src/Statistics/StatisticGetOverviewResponse/_Meta/_RateLimits.php +++ b/src/Statistics/StatisticGetOverviewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetOverviewResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetOverviewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Statistics/StatisticGetSubscriberMetricsParams.php b/src/Statistics/StatisticGetSubscriberMetricsParams.php index 91922c1a..0716e601 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsParams.php +++ b/src/Statistics/StatisticGetSubscriberMetricsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get subscriber metrics including total, new, renewed, paid, and free subscriptions for a specified timeframe. `unknown_subscriptions` indicates deleted fan accounts. * - * @see Onlyfansapi\Services\StatisticsService::getSubscriberMetrics() + * @see OnlyFansAPI\Services\StatisticsService::getSubscriberMetrics() * * @phpstan-type StatisticGetSubscriberMetricsParamsShape = array{ * endDate: string, startDate: string, detailed?: bool|null diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse.php b/src/Statistics/StatisticGetSubscriberMetricsResponse.php index 6c3a3aad..cfc3be02 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics; +namespace OnlyFansAPI\Statistics; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\Data * * @phpstan-type StatisticGetSubscriberMetricsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/Data.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/Data.php index 67d1756c..5a2e09ef 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/Data.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\Data\Detailed; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\Data\Detailed; /** - * @phpstan-import-type DetailedShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\Data\Detailed + * @phpstan-import-type DetailedShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\Data\Detailed * * @phpstan-type DataShape = array{ * detailed?: null|Detailed|DetailedShape, diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/Data/Detailed.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/Data/Detailed.php index d3781a01..8fdd6dee 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/Data/Detailed.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/Data/Detailed.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\Data; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DetailedShape = array{ diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta.php index 8ab945f8..af7e7062 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Cache; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Credits; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Cache; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Credits; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Cache.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Cache.php index 209d3117..6028d8ba 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Cache.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Credits.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Credits.php index 95973cf1..60de79be 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Credits.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_RateLimits.php b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_RateLimits.php index f044e912..438547e9 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_RateLimits.php +++ b/src/Statistics/StatisticGetSubscriberMetricsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; +namespace OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stored/StoredListSharedTrackingLinksParams.php b/src/Stored/StoredListSharedTrackingLinksParams.php index 2e1f396e..15febcad 100644 --- a/src/Stored/StoredListSharedTrackingLinksParams.php +++ b/src/Stored/StoredListSharedTrackingLinksParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter; /** * List all shared Tracking Links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * - * @see Onlyfansapi\Services\StoredService::listSharedTrackingLinks() + * @see OnlyFansAPI\Services\StoredService::listSharedTrackingLinks() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams\Filter * * @phpstan-type StoredListSharedTrackingLinksParamsShape = array{ * filter?: null|Filter|FilterShape, limit?: int|null, offset?: int|null diff --git a/src/Stored/StoredListSharedTrackingLinksParams/Filter.php b/src/Stored/StoredListSharedTrackingLinksParams/Filter.php index 50a9be2a..1f5e91d5 100644 --- a/src/Stored/StoredListSharedTrackingLinksParams/Filter.php +++ b/src/Stored/StoredListSharedTrackingLinksParams/Filter.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksParams; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FilterShape = array{ diff --git a/src/Stored/StoredListSharedTrackingLinksResponse.php b/src/Stored/StoredListSharedTrackingLinksResponse.php index 054c1149..f364ddfc 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Pagination; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Pagination; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data * * @phpstan-type StoredListSharedTrackingLinksResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/Data.php b/src/Stored/StoredListSharedTrackingLinksResponse/Data.php index c911e76c..41b29464 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/Data.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_.php b/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_.php index 48e87c22..a55d9cc2 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data\List_\Owner; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data\List_\Owner; /** - * @phpstan-import-type OwnerShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data\List_\Owner + * @phpstan-import-type OwnerShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data\List_\Owner * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_/Owner.php b/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_/Owner.php index a0480398..6e481a39 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_/Owner.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/Data/List_/Owner.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OwnerShape = array{ diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta.php b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta.php index 08f01196..3fa95fcb 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Cache; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Credits; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Cache; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Credits; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Cache.php b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Cache.php index 3a54d2e4..2a78fe53 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Cache.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Credits.php b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Credits.php index 605ba84f..cc441db6 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Credits.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_RateLimits.php b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_RateLimits.php index 3bcfb17c..45069c4e 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_RateLimits.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stored/StoredListSharedTrackingLinksResponse/_Pagination.php b/src/Stored/StoredListSharedTrackingLinksResponse/_Pagination.php index 4266ec13..49bb7ab6 100644 --- a/src/Stored/StoredListSharedTrackingLinksResponse/_Pagination.php +++ b/src/Stored/StoredListSharedTrackingLinksResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{ diff --git a/src/Stored/StoredListSharedTrialLinksParams.php b/src/Stored/StoredListSharedTrialLinksParams.php index ed1c7ea3..8436c810 100644 --- a/src/Stored/StoredListSharedTrialLinksParams.php +++ b/src/Stored/StoredListSharedTrialLinksParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter; /** * List all shared Free Trial Links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * - * @see Onlyfansapi\Services\StoredService::listSharedTrialLinks() + * @see OnlyFansAPI\Services\StoredService::listSharedTrialLinks() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksParams\Filter * * @phpstan-type StoredListSharedTrialLinksParamsShape = array{ * filter?: null|Filter|FilterShape, limit?: int|null, offset?: int|null diff --git a/src/Stored/StoredListSharedTrialLinksParams/Filter.php b/src/Stored/StoredListSharedTrialLinksParams/Filter.php index f3652049..1e5e0b02 100644 --- a/src/Stored/StoredListSharedTrialLinksParams/Filter.php +++ b/src/Stored/StoredListSharedTrialLinksParams/Filter.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksParams; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FilterShape = array{ diff --git a/src/Stored/StoredListSharedTrialLinksResponse.php b/src/Stored/StoredListSharedTrialLinksResponse.php index 53b5fe04..ce36e38b 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse.php +++ b/src/Stored/StoredListSharedTrialLinksResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Pagination; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Pagination; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data * * @phpstan-type StoredListSharedTrialLinksResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Stored/StoredListSharedTrialLinksResponse/Data.php b/src/Stored/StoredListSharedTrialLinksResponse/Data.php index 6b31bde7..8f4f7fdd 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/Data.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stored/StoredListSharedTrialLinksResponse/Data/List_.php b/src/Stored/StoredListSharedTrialLinksResponse/Data/List_.php index fb8ed250..ffdbc427 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/Data/List_.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data\List_\Owner; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data\List_\Owner; /** - * @phpstan-import-type OwnerShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data\List_\Owner + * @phpstan-import-type OwnerShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data\List_\Owner * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stored/StoredListSharedTrialLinksResponse/Data/List_/Owner.php b/src/Stored/StoredListSharedTrialLinksResponse/Data/List_/Owner.php index c0281d1d..23acb1c5 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/Data/List_/Owner.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/Data/List_/Owner.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type OwnerShape = array{ diff --git a/src/Stored/StoredListSharedTrialLinksResponse/_Meta.php b/src/Stored/StoredListSharedTrialLinksResponse/_Meta.php index d9a6295f..6ff592d2 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/_Meta.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_Cache; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_Credits; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_Cache; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_Credits; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Cache.php b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Cache.php index 1d5ab6d1..51cc7aa2 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Cache.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Credits.php b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Credits.php index 0dec150d..0483c07a 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Credits.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_RateLimits.php b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_RateLimits.php index b5b03048..c4aea34d 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_RateLimits.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stored/StoredListSharedTrialLinksResponse/_Pagination.php b/src/Stored/StoredListSharedTrialLinksResponse/_Pagination.php index fdfade83..a28f0662 100644 --- a/src/Stored/StoredListSharedTrialLinksResponse/_Pagination.php +++ b/src/Stored/StoredListSharedTrialLinksResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{ diff --git a/src/Stored/StoredListTrackingLinksParams.php b/src/Stored/StoredListTrackingLinksParams.php index aeb04811..fbca10ad 100644 --- a/src/Stored/StoredListTrackingLinksParams.php +++ b/src/Stored/StoredListTrackingLinksParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter; /** * List all stored tracking links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * - * @see Onlyfansapi\Services\StoredService::listTrackingLinks() + * @see OnlyFansAPI\Services\StoredService::listTrackingLinks() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrackingLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrackingLinksParams\Filter * * @phpstan-type StoredListTrackingLinksParamsShape = array{ * filter?: null|Filter|FilterShape, limit?: int|null, offset?: int|null diff --git a/src/Stored/StoredListTrackingLinksParams/Filter.php b/src/Stored/StoredListTrackingLinksParams/Filter.php index 3cad0815..801743f8 100644 --- a/src/Stored/StoredListTrackingLinksParams/Filter.php +++ b/src/Stored/StoredListTrackingLinksParams/Filter.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksParams; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FilterShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse.php b/src/Stored/StoredListTrackingLinksResponse.php index 2d61b55d..23e39c78 100644 --- a/src/Stored/StoredListTrackingLinksResponse.php +++ b/src/Stored/StoredListTrackingLinksResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Pagination; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Pagination; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data * * @phpstan-type StoredListTrackingLinksResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Stored/StoredListTrackingLinksResponse/Data.php b/src/Stored/StoredListTrackingLinksResponse/Data.php index e6305537..6bb2f6ff 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stored/StoredListTrackingLinksResponse/Data/List_.php b/src/Stored/StoredListTrackingLinksResponse/Data/List_.php index b7351d40..ca04e4d9 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data/List_.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data/List_.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Cost; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Links; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Cost; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Links; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Revenue; /** - * @phpstan-import-type CostShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Cost - * @phpstan-import-type LinksShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Revenue + * @phpstan-import-type CostShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Cost + * @phpstan-import-type LinksShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Revenue * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Cost.php b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Cost.php index ec2c582c..02968784 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Cost.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links.php b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links.php index 9790f768..4bd4d36e 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links/Related.php b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links/Related.php index 99810021..0011ca11 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links/Related.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_\Links; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Revenue.php b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Revenue.php index bfcaae64..f456e8fb 100644 --- a/src/Stored/StoredListTrackingLinksResponse/Data/List_/Revenue.php +++ b/src/Stored/StoredListTrackingLinksResponse/Data/List_/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse/_Meta.php b/src/Stored/StoredListTrackingLinksResponse/_Meta.php index 5c403908..a176961f 100644 --- a/src/Stored/StoredListTrackingLinksResponse/_Meta.php +++ b/src/Stored/StoredListTrackingLinksResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_Cache; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_Credits; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_Cache; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_Credits; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stored/StoredListTrackingLinksResponse/_Meta/_Cache.php b/src/Stored/StoredListTrackingLinksResponse/_Meta/_Cache.php index b65cc7d1..e85aef26 100644 --- a/src/Stored/StoredListTrackingLinksResponse/_Meta/_Cache.php +++ b/src/Stored/StoredListTrackingLinksResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stored/StoredListTrackingLinksResponse/_Meta/_Credits.php b/src/Stored/StoredListTrackingLinksResponse/_Meta/_Credits.php index 4992bcf1..7e4be218 100644 --- a/src/Stored/StoredListTrackingLinksResponse/_Meta/_Credits.php +++ b/src/Stored/StoredListTrackingLinksResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse/_Meta/_RateLimits.php b/src/Stored/StoredListTrackingLinksResponse/_Meta/_RateLimits.php index b0405816..ea727f5f 100644 --- a/src/Stored/StoredListTrackingLinksResponse/_Meta/_RateLimits.php +++ b/src/Stored/StoredListTrackingLinksResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stored/StoredListTrackingLinksResponse/_Pagination.php b/src/Stored/StoredListTrackingLinksResponse/_Pagination.php index 115d0c92..c9ac3579 100644 --- a/src/Stored/StoredListTrackingLinksResponse/_Pagination.php +++ b/src/Stored/StoredListTrackingLinksResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrackingLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Stored/StoredListTrialLinksParams.php b/src/Stored/StoredListTrialLinksParams.php index 2ff3cc8c..bd7bd9c4 100644 --- a/src/Stored/StoredListTrialLinksParams.php +++ b/src/Stored/StoredListTrialLinksParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksParams\Filter; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter; /** * List all stored free trial links from the OnlyFansAPI Cache. This is a free endpoint that does not call the OnlyFans API. * - * @see Onlyfansapi\Services\StoredService::listTrialLinks() + * @see OnlyFansAPI\Services\StoredService::listTrialLinks() * - * @phpstan-import-type FilterShape from \Onlyfansapi\Stored\StoredListTrialLinksParams\Filter + * @phpstan-import-type FilterShape from \OnlyFansAPI\Stored\StoredListTrialLinksParams\Filter * * @phpstan-type StoredListTrialLinksParamsShape = array{ * filter?: null|Filter|FilterShape, limit?: int|null, offset?: int|null diff --git a/src/Stored/StoredListTrialLinksParams/Filter.php b/src/Stored/StoredListTrialLinksParams/Filter.php index 964536c4..123a609a 100644 --- a/src/Stored/StoredListTrialLinksParams/Filter.php +++ b/src/Stored/StoredListTrialLinksParams/Filter.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksParams; +namespace OnlyFansAPI\Stored\StoredListTrialLinksParams; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FilterShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse.php b/src/Stored/StoredListTrialLinksResponse.php index a628ca42..74db5237 100644 --- a/src/Stored/StoredListTrialLinksResponse.php +++ b/src/Stored/StoredListTrialLinksResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored; +namespace OnlyFansAPI\Stored; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\_Pagination; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Pagination; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data * * @phpstan-type StoredListTrialLinksResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Stored/StoredListTrialLinksResponse/Data.php b/src/Stored/StoredListTrialLinksResponse/Data.php index d0f4b858..14a90a41 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data.php +++ b/src/Stored/StoredListTrialLinksResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stored/StoredListTrialLinksResponse/Data/List_.php b/src/Stored/StoredListTrialLinksResponse/Data/List_.php index 5c395194..e4adb713 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data/List_.php +++ b/src/Stored/StoredListTrialLinksResponse/Data/List_.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\Data; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Cost; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Links; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Cost; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Links; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Revenue; /** - * @phpstan-import-type CostShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Cost - * @phpstan-import-type LinksShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Revenue + * @phpstan-import-type CostShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Cost + * @phpstan-import-type LinksShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Revenue * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stored/StoredListTrialLinksResponse/Data/List_/Cost.php b/src/Stored/StoredListTrialLinksResponse/Data/List_/Cost.php index 75d77580..393e15ea 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data/List_/Cost.php +++ b/src/Stored/StoredListTrialLinksResponse/Data/List_/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse/Data/List_/Links.php b/src/Stored/StoredListTrialLinksResponse/Data/List_/Links.php index 0191c278..c1c52055 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data/List_/Links.php +++ b/src/Stored/StoredListTrialLinksResponse/Data/List_/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/Stored/StoredListTrialLinksResponse/Data/List_/Links/Related.php b/src/Stored/StoredListTrialLinksResponse/Data/List_/Links/Related.php index 3ea98ce3..960e20c7 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data/List_/Links/Related.php +++ b/src/Stored/StoredListTrialLinksResponse/Data/List_/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_\Links; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse/Data/List_/Revenue.php b/src/Stored/StoredListTrialLinksResponse/Data/List_/Revenue.php index e5f40d4c..3cfce92d 100644 --- a/src/Stored/StoredListTrialLinksResponse/Data/List_/Revenue.php +++ b/src/Stored/StoredListTrialLinksResponse/Data/List_/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\Data\List_; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse/_Meta.php b/src/Stored/StoredListTrialLinksResponse/_Meta.php index d597b61c..6805f9f8 100644 --- a/src/Stored/StoredListTrialLinksResponse/_Meta.php +++ b/src/Stored/StoredListTrialLinksResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_Cache; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_Credits; -use Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_Cache; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_Credits; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stored/StoredListTrialLinksResponse/_Meta/_Cache.php b/src/Stored/StoredListTrialLinksResponse/_Meta/_Cache.php index 172d35e7..8bfd22c3 100644 --- a/src/Stored/StoredListTrialLinksResponse/_Meta/_Cache.php +++ b/src/Stored/StoredListTrialLinksResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stored/StoredListTrialLinksResponse/_Meta/_Credits.php b/src/Stored/StoredListTrialLinksResponse/_Meta/_Credits.php index d31dc349..bfafbef9 100644 --- a/src/Stored/StoredListTrialLinksResponse/_Meta/_Credits.php +++ b/src/Stored/StoredListTrialLinksResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse/_Meta/_RateLimits.php b/src/Stored/StoredListTrialLinksResponse/_Meta/_RateLimits.php index bd875cd8..0cc757ac 100644 --- a/src/Stored/StoredListTrialLinksResponse/_Meta/_RateLimits.php +++ b/src/Stored/StoredListTrialLinksResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse\_Meta; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stored/StoredListTrialLinksResponse/_Pagination.php b/src/Stored/StoredListTrialLinksResponse/_Pagination.php index e87c19e8..1f594c04 100644 --- a/src/Stored/StoredListTrialLinksResponse/_Pagination.php +++ b/src/Stored/StoredListTrialLinksResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stored\StoredListTrialLinksResponse; +namespace OnlyFansAPI\Stored\StoredListTrialLinksResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/Stories/Highlights/HighlightAddStoryParams.php b/src/Stories/Highlights/HighlightAddStoryParams.php index 07ddbad6..6fef29f7 100644 --- a/src/Stories/Highlights/HighlightAddStoryParams.php +++ b/src/Stories/Highlights/HighlightAddStoryParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add a specific story to a story highlight. * - * @see Onlyfansapi\Services\Stories\HighlightsService::addStory() + * @see OnlyFansAPI\Services\Stories\HighlightsService::addStory() * * @phpstan-type HighlightAddStoryParamsShape = array{ * account: string, highlightID: int, storyID: int diff --git a/src/Stories/Highlights/HighlightAddStoryResponse.php b/src/Stories/Highlights/HighlightAddStoryResponse.php index c70c81d4..b7cdbb72 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\Data * * @phpstan-type HighlightAddStoryResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightAddStoryResponse/Data.php b/src/Stories/Highlights/HighlightAddStoryResponse/Data.php index 70c048e3..e1ec03fd 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse/Data.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta.php b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta.php index 178e36ad..3c75f143 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Cache.php index 2c7da26a..0d386b3b 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Credits.php index 6ca052bc..96b7143c 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_RateLimits.php index 05e779e1..59372691 100644 --- a/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightAddStoryResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightCreateParams.php b/src/Stories/Highlights/HighlightCreateParams.php index 3204051c..50fcb8e7 100644 --- a/src/Stories/Highlights/HighlightCreateParams.php +++ b/src/Stories/Highlights/HighlightCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new story highlight. * - * @see Onlyfansapi\Services\Stories\HighlightsService::create() + * @see OnlyFansAPI\Services\Stories\HighlightsService::create() * * @phpstan-type HighlightCreateParamsShape = array{ * coverStoryID: int, storyIDs: list, title: string diff --git a/src/Stories/Highlights/HighlightDeleteParams.php b/src/Stories/Highlights/HighlightDeleteParams.php index 4c37783e..284aba83 100644 --- a/src/Stories/Highlights/HighlightDeleteParams.php +++ b/src/Stories/Highlights/HighlightDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a specific story highlight by its ID. * - * @see Onlyfansapi\Services\Stories\HighlightsService::delete() + * @see OnlyFansAPI\Services\Stories\HighlightsService::delete() * * @phpstan-type HighlightDeleteParamsShape = array{account: string} */ diff --git a/src/Stories/Highlights/HighlightDeleteResponse.php b/src/Stories/Highlights/HighlightDeleteResponse.php index cce83f32..003c37b8 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse.php +++ b/src/Stories/Highlights/HighlightDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\Data * * @phpstan-type HighlightDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightDeleteResponse/Data.php b/src/Stories/Highlights/HighlightDeleteResponse/Data.php index 5e7349d1..35de8dc8 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse/Data.php +++ b/src/Stories/Highlights/HighlightDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Stories/Highlights/HighlightDeleteResponse/_Meta.php b/src/Stories/Highlights/HighlightDeleteResponse/_Meta.php index f070ef0e..90d059f2 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Cache.php index 5b4dae11..fc819c3b 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Credits.php index 2c0e446f..cdeed107 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_RateLimits.php index 94a1209b..85e17dbf 100644 --- a/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightGetResponse.php b/src/Stories/Highlights/HighlightGetResponse.php index d0679a92..d20042c7 100644 --- a/src/Stories/Highlights/HighlightGetResponse.php +++ b/src/Stories/Highlights/HighlightGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data * * @phpstan-type HighlightGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightGetResponse/Data.php b/src/Stories/Highlights/HighlightGetResponse/Data.php index a1326bff..302b532f 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story; /** - * @phpstan-import-type StoryShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story + * @phpstan-import-type StoryShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story.php index c93a7dfb..77ca883d 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Text; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Text; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media - * @phpstan-import-type TextShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Text + * @phpstan-import-type MediaShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media + * @phpstan-import-type TextShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Text * * @phpstan-type StoryShape = array{ * id?: int|null, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media.php index a0f61e3c..85bff49f 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files.php index 60a49e26..24691222 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Full; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Full; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Full.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Full.php index 517a53ac..f9e4c430 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Full.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview.php index b8a21f32..f5cda51f 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview\Sources * * @phpstan-type PreviewShape = array{ * height?: int|null, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview/Sources.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview/Sources.php index aed3c318..59418cfd 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview/Sources.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Preview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\Preview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null} diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview.php index 0a4c14d0..e0393c65 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview\Sources * * @phpstan-type SquarePreviewShape = array{ * height?: int|null, diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview/Sources.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview/Sources.php index a3558369..edb5697c 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview/Sources.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/SquarePreview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files\SquarePreview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null, w480?: string|null} diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Thumb.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Thumb.php index 4c444821..c115509b 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Thumb.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/VideoSources.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/VideoSources.php index 9a545d75..8eecdde7 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/VideoSources.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story\Media; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Text.php b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Text.php index e006eeb7..6100660b 100644 --- a/src/Stories/Highlights/HighlightGetResponse/Data/Story/Text.php +++ b/src/Stories/Highlights/HighlightGetResponse/Data/Story/Text.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\Data\Story; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\Data\Story; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TextShape = array{ diff --git a/src/Stories/Highlights/HighlightGetResponse/_Meta.php b/src/Stories/Highlights/HighlightGetResponse/_Meta.php index ef090c3a..1d32ba81 100644 --- a/src/Stories/Highlights/HighlightGetResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightGetResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightGetResponse/_Meta/_Cache.php index a6505234..c3f17bee 100644 --- a/src/Stories/Highlights/HighlightGetResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightGetResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightGetResponse/_Meta/_Credits.php index 15783842..84c68c18 100644 --- a/src/Stories/Highlights/HighlightGetResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightGetResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightGetResponse/_Meta/_RateLimits.php index b44cc685..c584126e 100644 --- a/src/Stories/Highlights/HighlightGetResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightGetResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightListParams.php b/src/Stories/Highlights/HighlightListParams.php index 7f844271..52b2f865 100644 --- a/src/Stories/Highlights/HighlightListParams.php +++ b/src/Stories/Highlights/HighlightListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve a list of your story highlights. * - * @see Onlyfansapi\Services\Stories\HighlightsService::list() + * @see OnlyFansAPI\Services\Stories\HighlightsService::list() * * @phpstan-type HighlightListParamsShape = array{ * limit?: int|null, offset?: int|null diff --git a/src/Stories/Highlights/HighlightListResponse.php b/src/Stories/Highlights/HighlightListResponse.php index f188f0d4..565716b3 100644 --- a/src/Stories/Highlights/HighlightListResponse.php +++ b/src/Stories/Highlights/HighlightListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\Data * * @phpstan-type HighlightListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightListResponse/Data.php b/src/Stories/Highlights/HighlightListResponse/Data.php index 94b496fb..85116462 100644 --- a/src/Stories/Highlights/HighlightListResponse/Data.php +++ b/src/Stories/Highlights/HighlightListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stories/Highlights/HighlightListResponse/Data/List_.php b/src/Stories/Highlights/HighlightListResponse/Data/List_.php index ed817e6c..f1ceb922 100644 --- a/src/Stories/Highlights/HighlightListResponse/Data/List_.php +++ b/src/Stories/Highlights/HighlightListResponse/Data/List_.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse\Data; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListShape = array{ diff --git a/src/Stories/Highlights/HighlightListResponse/_Meta.php b/src/Stories/Highlights/HighlightListResponse/_Meta.php index f90b39bb..3297c4f6 100644 --- a/src/Stories/Highlights/HighlightListResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightListResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightListResponse/_Meta/_Cache.php index d501000d..2d6715c7 100644 --- a/src/Stories/Highlights/HighlightListResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightListResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightListResponse/_Meta/_Credits.php index 983c7baa..6db048b4 100644 --- a/src/Stories/Highlights/HighlightListResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightListResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightListResponse/_Meta/_RateLimits.php index b54dccce..e321ee0e 100644 --- a/src/Stories/Highlights/HighlightListResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightListResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightNewResponse.php b/src/Stories/Highlights/HighlightNewResponse.php index 43710dce..5af0e44a 100644 --- a/src/Stories/Highlights/HighlightNewResponse.php +++ b/src/Stories/Highlights/HighlightNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightNewResponse\Data * * @phpstan-type HighlightNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightNewResponse/Data.php b/src/Stories/Highlights/HighlightNewResponse/Data.php index 5ce93c53..de4956f3 100644 --- a/src/Stories/Highlights/HighlightNewResponse/Data.php +++ b/src/Stories/Highlights/HighlightNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightNewResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Stories/Highlights/HighlightNewResponse/_Meta.php b/src/Stories/Highlights/HighlightNewResponse/_Meta.php index fa2327bb..f6a352e2 100644 --- a/src/Stories/Highlights/HighlightNewResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightNewResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightNewResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightNewResponse/_Meta/_Cache.php index a2529339..a31bb50f 100644 --- a/src/Stories/Highlights/HighlightNewResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightNewResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightNewResponse/_Meta/_Credits.php index 90e6cd6a..6ea46544 100644 --- a/src/Stories/Highlights/HighlightNewResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightNewResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightNewResponse/_Meta/_RateLimits.php index b1388695..9745734b 100644 --- a/src/Stories/Highlights/HighlightNewResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightNewResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightRemoveStoryParams.php b/src/Stories/Highlights/HighlightRemoveStoryParams.php index 8fa742c4..e9173242 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryParams.php +++ b/src/Stories/Highlights/HighlightRemoveStoryParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove a specific story from a story highlight. * - * @see Onlyfansapi\Services\Stories\HighlightsService::removeStory() + * @see OnlyFansAPI\Services\Stories\HighlightsService::removeStory() * * @phpstan-type HighlightRemoveStoryParamsShape = array{ * account: string, highlightID: int diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse.php b/src/Stories/Highlights/HighlightRemoveStoryResponse.php index 6982d44e..2769850a 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\Data * * @phpstan-type HighlightRemoveStoryResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse/Data.php b/src/Stories/Highlights/HighlightRemoveStoryResponse/Data.php index a057ca67..8040c6d9 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse/Data.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta.php b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta.php index 11067e76..ab2ac549 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Cache.php index a5bcdb6a..2e3abd71 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Credits.php index 534bdd6d..865e906b 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_RateLimits.php index 476f44f5..508e3c26 100644 --- a/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightRemoveStoryResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/Highlights/HighlightRetrieveParams.php b/src/Stories/Highlights/HighlightRetrieveParams.php index 331b9778..08173b2c 100644 --- a/src/Stories/Highlights/HighlightRetrieveParams.php +++ b/src/Stories/Highlights/HighlightRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve details of a specific story highlight by its ID. * - * @see Onlyfansapi\Services\Stories\HighlightsService::retrieve() + * @see OnlyFansAPI\Services\Stories\HighlightsService::retrieve() * * @phpstan-type HighlightRetrieveParamsShape = array{account: string} */ diff --git a/src/Stories/Highlights/HighlightUpdateParams.php b/src/Stories/Highlights/HighlightUpdateParams.php index 87093a1d..c862b04a 100644 --- a/src/Stories/Highlights/HighlightUpdateParams.php +++ b/src/Stories/Highlights/HighlightUpdateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update the details of a specific story highlight by its ID. * - * @see Onlyfansapi\Services\Stories\HighlightsService::update() + * @see OnlyFansAPI\Services\Stories\HighlightsService::update() * * @phpstan-type HighlightUpdateParamsShape = array{ * account: string, coverStoryID: int, storyIDs: list, title: string diff --git a/src/Stories/Highlights/HighlightUpdateResponse.php b/src/Stories/Highlights/HighlightUpdateResponse.php index d528003f..4868ae41 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse.php +++ b/src/Stories/Highlights/HighlightUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights; +namespace OnlyFansAPI\Stories\Highlights; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\Data * * @phpstan-type HighlightUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/Highlights/HighlightUpdateResponse/Data.php b/src/Stories/Highlights/HighlightUpdateResponse/Data.php index 12e7bc2f..7d848321 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse/Data.php +++ b/src/Stories/Highlights/HighlightUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Stories/Highlights/HighlightUpdateResponse/_Meta.php b/src/Stories/Highlights/HighlightUpdateResponse/_Meta.php index ea0c7186..0149e624 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse/_Meta.php +++ b/src/Stories/Highlights/HighlightUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +namespace OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Cache.php b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Cache.php index ca87d4b1..55e891ff 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Cache.php +++ b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Credits.php b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Credits.php index 028a4abf..a78fab37 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Credits.php +++ b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_RateLimits.php b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_RateLimits.php index 22dcca99..6b76deb8 100644 --- a/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_RateLimits.php +++ b/src/Stories/Highlights/HighlightUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\Highlights\HighlightUpdateResponse\_Meta; +namespace OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryCreateParams.php b/src/Stories/StoryCreateParams.php index 906e38a3..acc92fdb 100644 --- a/src/Stories/StoryCreateParams.php +++ b/src/Stories/StoryCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Post a new media or vault file to your story. * - * @see Onlyfansapi\Services\StoriesService::create() + * @see OnlyFansAPI\Services\StoriesService::create() * * @phpstan-type StoryCreateParamsShape = array{mediaFiles: list} */ diff --git a/src/Stories/StoryDeleteParams.php b/src/Stories/StoryDeleteParams.php index 5314e4fe..9a92bda5 100644 --- a/src/Stories/StoryDeleteParams.php +++ b/src/Stories/StoryDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a specific story by its ID. * - * @see Onlyfansapi\Services\StoriesService::delete() + * @see OnlyFansAPI\Services\StoriesService::delete() * * @phpstan-type StoryDeleteParamsShape = array{account: string} */ diff --git a/src/Stories/StoryDeleteResponse.php b/src/Stories/StoryDeleteResponse.php index 053bf55c..44e703b2 100644 --- a/src/Stories/StoryDeleteResponse.php +++ b/src/Stories/StoryDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryDeleteResponse\_Meta; -use Onlyfansapi\Stories\StoryDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryDeleteResponse\_Meta; +use OnlyFansAPI\Stories\StoryDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryDeleteResponse\Data * * @phpstan-type StoryDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryDeleteResponse/Data.php b/src/Stories/StoryDeleteResponse/Data.php index c69733ed..143ccde9 100644 --- a/src/Stories/StoryDeleteResponse/Data.php +++ b/src/Stories/StoryDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryDeleteResponse; +namespace OnlyFansAPI\Stories\StoryDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Stories/StoryDeleteResponse/_Meta.php b/src/Stories/StoryDeleteResponse/_Meta.php index cf046abb..f11cf981 100644 --- a/src/Stories/StoryDeleteResponse/_Meta.php +++ b/src/Stories/StoryDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryDeleteResponse; +namespace OnlyFansAPI\Stories\StoryDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryDeleteResponse/_Meta/_Cache.php b/src/Stories/StoryDeleteResponse/_Meta/_Cache.php index 98a01eef..b6d3bc32 100644 --- a/src/Stories/StoryDeleteResponse/_Meta/_Cache.php +++ b/src/Stories/StoryDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryDeleteResponse/_Meta/_Credits.php b/src/Stories/StoryDeleteResponse/_Meta/_Credits.php index 69e31c5a..bdbf30db 100644 --- a/src/Stories/StoryDeleteResponse/_Meta/_Credits.php +++ b/src/Stories/StoryDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryDeleteResponse/_Meta/_RateLimits.php b/src/Stories/StoryDeleteResponse/_Meta/_RateLimits.php index 3771b1a8..b29c0fd3 100644 --- a/src/Stories/StoryDeleteResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryDeleteResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryGetResponse.php b/src/Stories/StoryGetResponse.php index 43fc94e3..f28d7b0a 100644 --- a/src/Stories/StoryGetResponse.php +++ b/src/Stories/StoryGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\_Meta; -use Onlyfansapi\Stories\StoryGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\_Meta; +use OnlyFansAPI\Stories\StoryGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryGetResponse\Data * * @phpstan-type StoryGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryGetResponse/Data.php b/src/Stories/StoryGetResponse/Data.php index 9f5bda69..0297e22c 100644 --- a/src/Stories/StoryGetResponse/Data.php +++ b/src/Stories/StoryGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse; +namespace OnlyFansAPI\Stories\StoryGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Stories/StoryGetResponse/Data/Media.php b/src/Stories/StoryGetResponse/Data/Media.php index 6593b362..229abf7f 100644 --- a/src/Stories/StoryGetResponse/Data/Media.php +++ b/src/Stories/StoryGetResponse/Data/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Stories/StoryGetResponse/Data/Media/Files.php b/src/Stories/StoryGetResponse/Data/Media/Files.php index 401f66e4..4c008dd5 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Full; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Preview; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Full; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Preview; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\SquarePreview; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/Full.php b/src/Stories/StoryGetResponse/Data/Media/Files/Full.php index 930f8fe7..39cb2f73 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/Full.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/Preview.php b/src/Stories/StoryGetResponse/Data/Media/Files/Preview.php index dfbb82b4..2af6a8bd 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/Preview.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/Preview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Preview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Preview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Preview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Preview\Sources * * @phpstan-type PreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/Preview/Sources.php b/src/Stories/StoryGetResponse/Data/Media/Files/Preview/Sources.php index 8df93aa1..fee10277 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/Preview/Sources.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/Preview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\Preview; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\Preview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null} diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview.php b/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview.php index 509e1b3e..f8891543 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\SquarePreview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\SquarePreview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\SquarePreview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\SquarePreview\Sources * * @phpstan-type SquarePreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview/Sources.php b/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview/Sources.php index db05482f..b0fcf25a 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview/Sources.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/SquarePreview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files\SquarePreview; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null, w480?: string|null} diff --git a/src/Stories/StoryGetResponse/Data/Media/Files/Thumb.php b/src/Stories/StoryGetResponse/Data/Media/Files/Thumb.php index ad1d8461..c529dff3 100644 --- a/src/Stories/StoryGetResponse/Data/Media/Files/Thumb.php +++ b/src/Stories/StoryGetResponse/Data/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Stories/StoryGetResponse/Data/Media/VideoSources.php b/src/Stories/StoryGetResponse/Data/Media/VideoSources.php index cc7bac3a..2267cc2b 100644 --- a/src/Stories/StoryGetResponse/Data/Media/VideoSources.php +++ b/src/Stories/StoryGetResponse/Data/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\Data\Media; +namespace OnlyFansAPI\Stories\StoryGetResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Stories/StoryGetResponse/_Meta.php b/src/Stories/StoryGetResponse/_Meta.php index 3472f720..c9b3e16d 100644 --- a/src/Stories/StoryGetResponse/_Meta.php +++ b/src/Stories/StoryGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse; +namespace OnlyFansAPI\Stories\StoryGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryGetResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryGetResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryGetResponse/_Meta/_Cache.php b/src/Stories/StoryGetResponse/_Meta/_Cache.php index b342722d..6cc9d331 100644 --- a/src/Stories/StoryGetResponse/_Meta/_Cache.php +++ b/src/Stories/StoryGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryGetResponse/_Meta/_Credits.php b/src/Stories/StoryGetResponse/_Meta/_Credits.php index 613191a4..5ab6e653 100644 --- a/src/Stories/StoryGetResponse/_Meta/_Credits.php +++ b/src/Stories/StoryGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryGetResponse/_Meta/_RateLimits.php b/src/Stories/StoryGetResponse/_Meta/_RateLimits.php index 612d974e..f5c6e43c 100644 --- a/src/Stories/StoryGetResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryGetStatsResponse.php b/src/Stories/StoryGetStatsResponse.php index 8827c2d5..9551c236 100644 --- a/src/Stories/StoryGetStatsResponse.php +++ b/src/Stories/StoryGetStatsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetStatsResponse\_Meta; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryGetStatsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data * * @phpstan-type StoryGetStatsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryGetStatsResponse/Data.php b/src/Stories/StoryGetStatsResponse/Data.php index b8e0be84..52645bac 100644 --- a/src/Stories/StoryGetStatsResponse/Data.php +++ b/src/Stories/StoryGetStatsResponse/Data.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryCommentChart; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryLikeChart; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryLookChart; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryTipChart; -use Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryTipSumChart; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryCommentChart; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryLikeChart; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryLookChart; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryTipChart; +use OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryTipSumChart; /** - * @phpstan-import-type StoryCommentChartShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryCommentChart - * @phpstan-import-type StoryLikeChartShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryLikeChart - * @phpstan-import-type StoryLookChartShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryLookChart - * @phpstan-import-type StoryTipChartShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryTipChart - * @phpstan-import-type StoryTipSumChartShape from \Onlyfansapi\Stories\StoryGetStatsResponse\Data\StoryTipSumChart + * @phpstan-import-type StoryCommentChartShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryCommentChart + * @phpstan-import-type StoryLikeChartShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryLikeChart + * @phpstan-import-type StoryLookChartShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryLookChart + * @phpstan-import-type StoryTipChartShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryTipChart + * @phpstan-import-type StoryTipSumChartShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\Data\StoryTipSumChart * * @phpstan-type DataShape = array{ * createdAt?: string|null, diff --git a/src/Stories/StoryGetStatsResponse/Data/StoryCommentChart.php b/src/Stories/StoryGetStatsResponse/Data/StoryCommentChart.php index ef5ea8d6..c4051321 100644 --- a/src/Stories/StoryGetStatsResponse/Data/StoryCommentChart.php +++ b/src/Stories/StoryGetStatsResponse/Data/StoryCommentChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StoryCommentChartShape = array{ diff --git a/src/Stories/StoryGetStatsResponse/Data/StoryLikeChart.php b/src/Stories/StoryGetStatsResponse/Data/StoryLikeChart.php index 0ec386c7..a71972d5 100644 --- a/src/Stories/StoryGetStatsResponse/Data/StoryLikeChart.php +++ b/src/Stories/StoryGetStatsResponse/Data/StoryLikeChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StoryLikeChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Stories/StoryGetStatsResponse/Data/StoryLookChart.php b/src/Stories/StoryGetStatsResponse/Data/StoryLookChart.php index 142ca217..0d485a62 100644 --- a/src/Stories/StoryGetStatsResponse/Data/StoryLookChart.php +++ b/src/Stories/StoryGetStatsResponse/Data/StoryLookChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StoryLookChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Stories/StoryGetStatsResponse/Data/StoryTipChart.php b/src/Stories/StoryGetStatsResponse/Data/StoryTipChart.php index 832739cf..6dad7798 100644 --- a/src/Stories/StoryGetStatsResponse/Data/StoryTipChart.php +++ b/src/Stories/StoryGetStatsResponse/Data/StoryTipChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StoryTipChartShape = array{count?: int|null, date?: string|null} diff --git a/src/Stories/StoryGetStatsResponse/Data/StoryTipSumChart.php b/src/Stories/StoryGetStatsResponse/Data/StoryTipSumChart.php index 4acd6caf..b673a079 100644 --- a/src/Stories/StoryGetStatsResponse/Data/StoryTipSumChart.php +++ b/src/Stories/StoryGetStatsResponse/Data/StoryTipSumChart.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\Data; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type StoryTipSumChartShape = array{ diff --git a/src/Stories/StoryGetStatsResponse/_Meta.php b/src/Stories/StoryGetStatsResponse/_Meta.php index f0657791..58196de9 100644 --- a/src/Stories/StoryGetStatsResponse/_Meta.php +++ b/src/Stories/StoryGetStatsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryGetStatsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryGetStatsResponse/_Meta/_Cache.php b/src/Stories/StoryGetStatsResponse/_Meta/_Cache.php index ccfa7256..31d643fd 100644 --- a/src/Stories/StoryGetStatsResponse/_Meta/_Cache.php +++ b/src/Stories/StoryGetStatsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryGetStatsResponse/_Meta/_Credits.php b/src/Stories/StoryGetStatsResponse/_Meta/_Credits.php index 8db2572d..6877500a 100644 --- a/src/Stories/StoryGetStatsResponse/_Meta/_Credits.php +++ b/src/Stories/StoryGetStatsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryGetStatsResponse/_Meta/_RateLimits.php b/src/Stories/StoryGetStatsResponse/_Meta/_RateLimits.php index eeab2088..923c8585 100644 --- a/src/Stories/StoryGetStatsResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryGetStatsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryGetStatsResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryListActiveResponse.php b/src/Stories/StoryListActiveResponse.php index 249d7230..092bd3d3 100644 --- a/src/Stories/StoryListActiveResponse.php +++ b/src/Stories/StoryListActiveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\_Meta; -use Onlyfansapi\Stories\StoryListActiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\_Meta; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryListActiveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryListActiveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data * * @phpstan-type StoryListActiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Stories/StoryListActiveResponse/Data.php b/src/Stories/StoryListActiveResponse/Data.php index 85c94bf6..74fded89 100644 --- a/src/Stories/StoryListActiveResponse/Data.php +++ b/src/Stories/StoryListActiveResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse; +namespace OnlyFansAPI\Stories\StoryListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Stories/StoryListActiveResponse/Data/Media.php b/src/Stories/StoryListActiveResponse/Data/Media.php index f1d94e3c..c14923a5 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media.php +++ b/src/Stories/StoryListActiveResponse/Data/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files.php b/src/Stories/StoryListActiveResponse/Data/Media/Files.php index e95a09bb..2d1b80c7 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Full; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Preview; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Full; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Preview; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/Full.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/Full.php index 1bb3bdcb..55f47ef3 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/Full.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview.php index 41019272..c715b116 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Preview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Preview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Preview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Preview\Sources * * @phpstan-type PreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview/Sources.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview/Sources.php index f9ff0431..0f2f9bb8 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview/Sources.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/Preview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\Preview; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\Preview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null} diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview.php index ffc1aca3..722564c9 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview\Sources * * @phpstan-type SquarePreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview/Sources.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview/Sources.php index 714dab9f..63a8721d 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview/Sources.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/SquarePreview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files\SquarePreview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null, w480?: string|null} diff --git a/src/Stories/StoryListActiveResponse/Data/Media/Files/Thumb.php b/src/Stories/StoryListActiveResponse/Data/Media/Files/Thumb.php index cd034948..e85e80e1 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/Files/Thumb.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Stories/StoryListActiveResponse/Data/Media/VideoSources.php b/src/Stories/StoryListActiveResponse/Data/Media/VideoSources.php index f2d372a9..9bc69941 100644 --- a/src/Stories/StoryListActiveResponse/Data/Media/VideoSources.php +++ b/src/Stories/StoryListActiveResponse/Data/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\Data\Media; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Stories/StoryListActiveResponse/_Meta.php b/src/Stories/StoryListActiveResponse/_Meta.php index 5eb06ae8..9b60bd07 100644 --- a/src/Stories/StoryListActiveResponse/_Meta.php +++ b/src/Stories/StoryListActiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse; +namespace OnlyFansAPI\Stories\StoryListActiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryListActiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryListActiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryListActiveResponse/_Meta/_Cache.php b/src/Stories/StoryListActiveResponse/_Meta/_Cache.php index 828dd418..20e276e3 100644 --- a/src/Stories/StoryListActiveResponse/_Meta/_Cache.php +++ b/src/Stories/StoryListActiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryListActiveResponse/_Meta/_Credits.php b/src/Stories/StoryListActiveResponse/_Meta/_Credits.php index 4a228272..ccee0b6b 100644 --- a/src/Stories/StoryListActiveResponse/_Meta/_Credits.php +++ b/src/Stories/StoryListActiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryListActiveResponse/_Meta/_RateLimits.php b/src/Stories/StoryListActiveResponse/_Meta/_RateLimits.php index b76931a0..d3214b84 100644 --- a/src/Stories/StoryListActiveResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryListActiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListActiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListActiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryListArchiveParams.php b/src/Stories/StoryListArchiveParams.php index 19f21f95..da9e2c01 100644 --- a/src/Stories/StoryListArchiveParams.php +++ b/src/Stories/StoryListArchiveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve a list of your archived stories. * - * @see Onlyfansapi\Services\StoriesService::listArchive() + * @see OnlyFansAPI\Services\StoriesService::listArchive() * * @phpstan-type StoryListArchiveParamsShape = array{ * limit?: int|null, marker?: string|null diff --git a/src/Stories/StoryListArchiveResponse.php b/src/Stories/StoryListArchiveResponse.php index ef9c6cea..215eb16c 100644 --- a/src/Stories/StoryListArchiveResponse.php +++ b/src/Stories/StoryListArchiveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\_Meta; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryListArchiveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data * * @phpstan-type StoryListArchiveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryListArchiveResponse/Data.php b/src/Stories/StoryListArchiveResponse/Data.php index 88248fec..e0f11fb3 100644 --- a/src/Stories/StoryListArchiveResponse/Data.php +++ b/src/Stories/StoryListArchiveResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, marker?: int|null diff --git a/src/Stories/StoryListArchiveResponse/Data/List_.php b/src/Stories/StoryListArchiveResponse/Data/List_.php index 3c5e96f1..9fe730ad 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media.php index 3a3c6455..0c749579 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\VideoSources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\VideoSources; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files - * @phpstan-import-type VideoSourcesShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\VideoSources + * @phpstan-import-type FilesShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files + * @phpstan-import-type VideoSourcesShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\VideoSources * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files.php index 5de24161..7a8278e6 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Full; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Thumb; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Full; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Thumb; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Full - * @phpstan-import-type PreviewShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview - * @phpstan-import-type SquarePreviewShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview - * @phpstan-import-type ThumbShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Thumb + * @phpstan-import-type FullShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Full + * @phpstan-import-type PreviewShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview + * @phpstan-import-type SquarePreviewShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview + * @phpstan-import-type ThumbShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Thumb * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Full.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Full.php index 6a8c6387..6259bfc2 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Full.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview.php index 39a805b9..bf3f34ef 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview\Sources * * @phpstan-type PreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview/Sources.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview/Sources.php index 871260b1..7063b298 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview/Sources.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Preview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\Preview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null} diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview.php index 6935334b..7c8e5993 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview\Sources; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview\Sources; /** - * @phpstan-import-type SourcesShape from \Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview\Sources + * @phpstan-import-type SourcesShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview\Sources * * @phpstan-type SquarePreviewShape = array{ * height?: int|null, diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview/Sources.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview/Sources.php index fe12727e..15c767f3 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview/Sources.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/SquarePreview/Sources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files\SquarePreview; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SourcesShape = array{w150?: string|null, w480?: string|null} diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Thumb.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Thumb.php index bac59686..69fdf98a 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Thumb.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/Files/Thumb.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media\Files; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ThumbShape = array{ diff --git a/src/Stories/StoryListArchiveResponse/Data/List_/Media/VideoSources.php b/src/Stories/StoryListArchiveResponse/Data/List_/Media/VideoSources.php index 6ce6fa1e..0a557238 100644 --- a/src/Stories/StoryListArchiveResponse/Data/List_/Media/VideoSources.php +++ b/src/Stories/StoryListArchiveResponse/Data/List_/Media/VideoSources.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\Data\List_\Media; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\Data\List_\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type VideoSourcesShape = array{_240?: string|null, _720?: string|null} diff --git a/src/Stories/StoryListArchiveResponse/_Meta.php b/src/Stories/StoryListArchiveResponse/_Meta.php index b608642d..db4d2e4a 100644 --- a/src/Stories/StoryListArchiveResponse/_Meta.php +++ b/src/Stories/StoryListArchiveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryListArchiveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryListArchiveResponse/_Meta/_Cache.php b/src/Stories/StoryListArchiveResponse/_Meta/_Cache.php index 55afce6c..faba2430 100644 --- a/src/Stories/StoryListArchiveResponse/_Meta/_Cache.php +++ b/src/Stories/StoryListArchiveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryListArchiveResponse/_Meta/_Credits.php b/src/Stories/StoryListArchiveResponse/_Meta/_Credits.php index a85d0975..7097b0b7 100644 --- a/src/Stories/StoryListArchiveResponse/_Meta/_Credits.php +++ b/src/Stories/StoryListArchiveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryListArchiveResponse/_Meta/_RateLimits.php b/src/Stories/StoryListArchiveResponse/_Meta/_RateLimits.php index 45655d3a..f3d838ad 100644 --- a/src/Stories/StoryListArchiveResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryListArchiveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListArchiveResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListArchiveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryListViewersParams.php b/src/Stories/StoryListViewersParams.php index 53e70a45..545b48ab 100644 --- a/src/Stories/StoryListViewersParams.php +++ b/src/Stories/StoryListViewersParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve the list of viewers for a specific story by its ID. * - * @see Onlyfansapi\Services\StoriesService::listViewers() + * @see OnlyFansAPI\Services\StoriesService::listViewers() * * @phpstan-type StoryListViewersParamsShape = array{ * account: string, limit?: int|null, offset?: int|null diff --git a/src/Stories/StoryListViewersResponse.php b/src/Stories/StoryListViewersResponse.php index 1b7747b9..b0e4f87d 100644 --- a/src/Stories/StoryListViewersResponse.php +++ b/src/Stories/StoryListViewersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListViewersResponse\_Meta; -use Onlyfansapi\Stories\StoryListViewersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListViewersResponse\_Meta; +use OnlyFansAPI\Stories\StoryListViewersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryListViewersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryListViewersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryListViewersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryListViewersResponse\Data * * @phpstan-type StoryListViewersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryListViewersResponse/Data.php b/src/Stories/StoryListViewersResponse/Data.php index 10e4bb51..402da9f2 100644 --- a/src/Stories/StoryListViewersResponse/Data.php +++ b/src/Stories/StoryListViewersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse; +namespace OnlyFansAPI\Stories\StoryListViewersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListViewersResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListViewersResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Stories\StoryListViewersResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Stories\StoryListViewersResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/Stories/StoryListViewersResponse/Data/List_.php b/src/Stories/StoryListViewersResponse/Data/List_.php index f79bb71c..b6ff1538 100644 --- a/src/Stories/StoryListViewersResponse/Data/List_.php +++ b/src/Stories/StoryListViewersResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse\Data; +namespace OnlyFansAPI\Stories\StoryListViewersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListViewersResponse\Data\List_\ListsState; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListViewersResponse\Data\List_\ListsState; /** - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Stories\StoryListViewersResponse\Data\List_\ListsState + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Stories\StoryListViewersResponse\Data\List_\ListsState * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/Stories/StoryListViewersResponse/Data/List_/ListsState.php b/src/Stories/StoryListViewersResponse/Data/List_/ListsState.php index 19f90c09..b56121dd 100644 --- a/src/Stories/StoryListViewersResponse/Data/List_/ListsState.php +++ b/src/Stories/StoryListViewersResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse\Data\List_; +namespace OnlyFansAPI\Stories\StoryListViewersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Stories/StoryListViewersResponse/_Meta.php b/src/Stories/StoryListViewersResponse/_Meta.php index 9dcbe8ff..77c18947 100644 --- a/src/Stories/StoryListViewersResponse/_Meta.php +++ b/src/Stories/StoryListViewersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse; +namespace OnlyFansAPI\Stories\StoryListViewersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryListViewersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryListViewersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryListViewersResponse/_Meta/_Cache.php b/src/Stories/StoryListViewersResponse/_Meta/_Cache.php index 21234023..19074bf4 100644 --- a/src/Stories/StoryListViewersResponse/_Meta/_Cache.php +++ b/src/Stories/StoryListViewersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListViewersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryListViewersResponse/_Meta/_Credits.php b/src/Stories/StoryListViewersResponse/_Meta/_Credits.php index 12782a17..cd0a8c09 100644 --- a/src/Stories/StoryListViewersResponse/_Meta/_Credits.php +++ b/src/Stories/StoryListViewersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListViewersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryListViewersResponse/_Meta/_RateLimits.php b/src/Stories/StoryListViewersResponse/_Meta/_RateLimits.php index 02693bb9..8d5ad441 100644 --- a/src/Stories/StoryListViewersResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryListViewersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryListViewersResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryListViewersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryMarkAsWatchedParams.php b/src/Stories/StoryMarkAsWatchedParams.php index 6c5d0819..1b0b324a 100644 --- a/src/Stories/StoryMarkAsWatchedParams.php +++ b/src/Stories/StoryMarkAsWatchedParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Mark a specific story as watched by its ID. * - * @see Onlyfansapi\Services\StoriesService::markAsWatched() + * @see OnlyFansAPI\Services\StoriesService::markAsWatched() * * @phpstan-type StoryMarkAsWatchedParamsShape = array{account: string} */ diff --git a/src/Stories/StoryMarkAsWatchedResponse.php b/src/Stories/StoryMarkAsWatchedResponse.php index fda3b64a..8ee1680e 100644 --- a/src/Stories/StoryMarkAsWatchedResponse.php +++ b/src/Stories/StoryMarkAsWatchedResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryMarkAsWatchedResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\Data * * @phpstan-type StoryMarkAsWatchedResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryMarkAsWatchedResponse/Data.php b/src/Stories/StoryMarkAsWatchedResponse/Data.php index 6e760b33..a346721b 100644 --- a/src/Stories/StoryMarkAsWatchedResponse/Data.php +++ b/src/Stories/StoryMarkAsWatchedResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryMarkAsWatchedResponse; +namespace OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/Stories/StoryMarkAsWatchedResponse/_Meta.php b/src/Stories/StoryMarkAsWatchedResponse/_Meta.php index 0a893950..4722123c 100644 --- a/src/Stories/StoryMarkAsWatchedResponse/_Meta.php +++ b/src/Stories/StoryMarkAsWatchedResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryMarkAsWatchedResponse; +namespace OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Cache.php b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Cache.php index c6aee3a8..06e34b26 100644 --- a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Cache.php +++ b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Credits.php b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Credits.php index b184633a..80436211 100644 --- a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Credits.php +++ b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_RateLimits.php b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_RateLimits.php index 2f9a6385..19deb27c 100644 --- a/src/Stories/StoryMarkAsWatchedResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryMarkAsWatchedResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryMarkAsWatchedResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryMarkAsWatchedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryNewResponse.php b/src/Stories/StoryNewResponse.php index 935501e2..98643188 100644 --- a/src/Stories/StoryNewResponse.php +++ b/src/Stories/StoryNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryNewResponse\_Meta; -use Onlyfansapi\Stories\StoryNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryNewResponse\_Meta; +use OnlyFansAPI\Stories\StoryNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Stories\StoryNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Stories\StoryNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Stories\StoryNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Stories\StoryNewResponse\Data * * @phpstan-type StoryNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Stories/StoryNewResponse/Data.php b/src/Stories/StoryNewResponse/Data.php index 1df372fa..e3b661bf 100644 --- a/src/Stories/StoryNewResponse/Data.php +++ b/src/Stories/StoryNewResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse; +namespace OnlyFansAPI\Stories\StoryNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryNewResponse\Data\Media; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryNewResponse\Data\Media; /** - * @phpstan-import-type MediaShape from \Onlyfansapi\Stories\StoryNewResponse\Data\Media + * @phpstan-import-type MediaShape from \OnlyFansAPI\Stories\StoryNewResponse\Data\Media * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Stories/StoryNewResponse/Data/Media.php b/src/Stories/StoryNewResponse/Data/Media.php index 4edbae13..2fc2300d 100644 --- a/src/Stories/StoryNewResponse/Data/Media.php +++ b/src/Stories/StoryNewResponse/Data/Media.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\Data; +namespace OnlyFansAPI\Stories\StoryNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryNewResponse\Data\Media\Files; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryNewResponse\Data\Media\Files; /** - * @phpstan-import-type FilesShape from \Onlyfansapi\Stories\StoryNewResponse\Data\Media\Files + * @phpstan-import-type FilesShape from \OnlyFansAPI\Stories\StoryNewResponse\Data\Media\Files * * @phpstan-type MediaShape = array{ * id?: int|null, diff --git a/src/Stories/StoryNewResponse/Data/Media/Files.php b/src/Stories/StoryNewResponse/Data/Media/Files.php index 06b1bee6..b264ad4a 100644 --- a/src/Stories/StoryNewResponse/Data/Media/Files.php +++ b/src/Stories/StoryNewResponse/Data/Media/Files.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\Data\Media; +namespace OnlyFansAPI\Stories\StoryNewResponse\Data\Media; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryNewResponse\Data\Media\Files\Full; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryNewResponse\Data\Media\Files\Full; /** - * @phpstan-import-type FullShape from \Onlyfansapi\Stories\StoryNewResponse\Data\Media\Files\Full + * @phpstan-import-type FullShape from \OnlyFansAPI\Stories\StoryNewResponse\Data\Media\Files\Full * * @phpstan-type FilesShape = array{ * full?: null|Full|FullShape, diff --git a/src/Stories/StoryNewResponse/Data/Media/Files/Full.php b/src/Stories/StoryNewResponse/Data/Media/Files/Full.php index bafd9ecb..7c33e04f 100644 --- a/src/Stories/StoryNewResponse/Data/Media/Files/Full.php +++ b/src/Stories/StoryNewResponse/Data/Media/Files/Full.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\Data\Media\Files; +namespace OnlyFansAPI\Stories\StoryNewResponse\Data\Media\Files; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type FullShape = array{ diff --git a/src/Stories/StoryNewResponse/_Meta.php b/src/Stories/StoryNewResponse/_Meta.php index a1d2457c..3f16e3c5 100644 --- a/src/Stories/StoryNewResponse/_Meta.php +++ b/src/Stories/StoryNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse; +namespace OnlyFansAPI\Stories\StoryNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Stories\StoryNewResponse\_Meta\_Cache; -use Onlyfansapi\Stories\StoryNewResponse\_Meta\_Credits; -use Onlyfansapi\Stories\StoryNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Stories\StoryNewResponse\_Meta\_Cache; +use OnlyFansAPI\Stories\StoryNewResponse\_Meta\_Credits; +use OnlyFansAPI\Stories\StoryNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Stories\StoryNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Stories\StoryNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Stories\StoryNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Stories\StoryNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Stories\StoryNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Stories\StoryNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Stories/StoryNewResponse/_Meta/_Cache.php b/src/Stories/StoryNewResponse/_Meta/_Cache.php index 47a443d6..bf5d98fc 100644 --- a/src/Stories/StoryNewResponse/_Meta/_Cache.php +++ b/src/Stories/StoryNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Stories/StoryNewResponse/_Meta/_Credits.php b/src/Stories/StoryNewResponse/_Meta/_Credits.php index 2ea9da90..37213579 100644 --- a/src/Stories/StoryNewResponse/_Meta/_Credits.php +++ b/src/Stories/StoryNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Stories/StoryNewResponse/_Meta/_RateLimits.php b/src/Stories/StoryNewResponse/_Meta/_RateLimits.php index af843a16..09bdfbf8 100644 --- a/src/Stories/StoryNewResponse/_Meta/_RateLimits.php +++ b/src/Stories/StoryNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories\StoryNewResponse\_Meta; +namespace OnlyFansAPI\Stories\StoryNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Stories/StoryRetrieveParams.php b/src/Stories/StoryRetrieveParams.php index cf257c6a..e6d07ea7 100644 --- a/src/Stories/StoryRetrieveParams.php +++ b/src/Stories/StoryRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve details of a specific story by its ID. * - * @see Onlyfansapi\Services\StoriesService::retrieve() + * @see OnlyFansAPI\Services\StoriesService::retrieve() * * @phpstan-type StoryRetrieveParamsShape = array{account: string} */ diff --git a/src/Stories/StoryRetrieveStatsParams.php b/src/Stories/StoryRetrieveStatsParams.php index 80e2a573..e326a87d 100644 --- a/src/Stories/StoryRetrieveStatsParams.php +++ b/src/Stories/StoryRetrieveStatsParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Stories; +namespace OnlyFansAPI\Stories; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Retrieve viewer count, likes count, comments count, and tips statistics for a specific story by its ID. * - * @see Onlyfansapi\Services\StoriesService::retrieveStats() + * @see OnlyFansAPI\Services\StoriesService::retrieveStats() * * @phpstan-type StoryRetrieveStatsParamsShape = array{account: string} */ diff --git a/src/Subscribers/SubscriberGetStatisticsResponse.php b/src/Subscribers/SubscriberGetStatisticsResponse.php index d8e50087..fab5a89b 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers; +namespace OnlyFansAPI\Subscribers; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data * * @phpstan-type SubscriberGetStatisticsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/Data.php b/src/Subscribers/SubscriberGetStatisticsResponse/Data.php index 4fb42fff..435733e8 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/Data.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data\Earning; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data\Earning; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data\Subscribe; /** - * @phpstan-import-type EarningShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data\Earning - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data\Subscribe + * @phpstan-import-type EarningShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data\Earning + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data\Subscribe * * @phpstan-type DataShape = array{ * delta?: float|null, diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/Data/Earning.php b/src/Subscribers/SubscriberGetStatisticsResponse/Data/Earning.php index 15b880c9..9d644bbc 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/Data/Earning.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/Data/Earning.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type EarningShape = array{count?: float|null, date?: string|null} diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/Data/Subscribe.php b/src/Subscribers/SubscriberGetStatisticsResponse/Data/Subscribe.php index 5afea9cf..7ff37cf9 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/Data/Subscribe.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/Data/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\Data; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{count?: int|null, date?: string|null} diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta.php b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta.php index 004c448a..3cdfed57 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Cache; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Credits; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Cache; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Credits; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Cache.php b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Cache.php index 0c2d0ee7..07781ee7 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Cache.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Credits.php b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Credits.php index b19a3ae5..418e28eb 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Credits.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_RateLimits.php b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_RateLimits.php index ef05424b..bcc77037 100644 --- a/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_RateLimits.php +++ b/src/Subscribers/SubscriberGetStatisticsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse\_Meta; +namespace OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Subscribers/SubscriberRetrieveStatisticsParams.php b/src/Subscribers/SubscriberRetrieveStatisticsParams.php index 2de0cac9..8a5f1f95 100644 --- a/src/Subscribers/SubscriberRetrieveStatisticsParams.php +++ b/src/Subscribers/SubscriberRetrieveStatisticsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers; +namespace OnlyFansAPI\Subscribers; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams\Type; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams\Type; /** * Get subscriber and earning statistics for an account for a specified timeframe. Optionally, filter by all, renews, or new subscribers. * - * @see Onlyfansapi\Services\SubscribersService::retrieveStatistics() + * @see OnlyFansAPI\Services\SubscribersService::retrieveStatistics() * * @phpstan-type SubscriberRetrieveStatisticsParamsShape = array{ * endDate?: string|null, diff --git a/src/Subscribers/SubscriberRetrieveStatisticsParams/Type.php b/src/Subscribers/SubscriberRetrieveStatisticsParams/Type.php index 4ed4fdde..6f38af37 100644 --- a/src/Subscribers/SubscriberRetrieveStatisticsParams/Type.php +++ b/src/Subscribers/SubscriberRetrieveStatisticsParams/Type.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\Subscribers\SubscriberRetrieveStatisticsParams; +namespace OnlyFansAPI\Subscribers\SubscriberRetrieveStatisticsParams; /** * Filter the subscriber statistics (default = total). diff --git a/src/TrackingLinks/Tags/TagAddParams.php b/src/TrackingLinks/Tags/TagAddParams.php index 60481174..1a9a9477 100644 --- a/src/TrackingLinks/Tags/TagAddParams.php +++ b/src/TrackingLinks/Tags/TagAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add tags to a specific tracking link. Existing tags are preserved. This is a free endpoint. * - * @see Onlyfansapi\Services\TrackingLinks\TagsService::add() + * @see OnlyFansAPI\Services\TrackingLinks\TagsService::add() * * @phpstan-type TagAddParamsShape = array{account: string, tags: list} */ diff --git a/src/TrackingLinks/Tags/TagAddResponse.php b/src/TrackingLinks/Tags/TagAddResponse.php index 499e9704..b4feb1b3 100644 --- a/src/TrackingLinks/Tags/TagAddResponse.php +++ b/src/TrackingLinks/Tags/TagAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\Tags\TagAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\Data * * @phpstan-type TagAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/Tags/TagAddResponse/Data.php b/src/TrackingLinks/Tags/TagAddResponse/Data.php index d9c2b4ec..c00ef52d 100644 --- a/src/TrackingLinks/Tags/TagAddResponse/Data.php +++ b/src/TrackingLinks/Tags/TagAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrackingLinks/Tags/TagAddResponse/_Meta.php b/src/TrackingLinks/Tags/TagAddResponse/_Meta.php index ab2412fe..ebf9ea2b 100644 --- a/src/TrackingLinks/Tags/TagAddResponse/_Meta.php +++ b/src/TrackingLinks/Tags/TagAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php index 6a1241de..cd4b99f6 100644 --- a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php index d4b2b9b8..1e1a322e 100644 --- a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php index 3669002f..7fe663a4 100644 --- a/src/TrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/Tags/TagAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/Tags/TagListParams.php b/src/TrackingLinks/Tags/TagListParams.php index a0329c24..2ca12982 100644 --- a/src/TrackingLinks/Tags/TagListParams.php +++ b/src/TrackingLinks/Tags/TagListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get tags for a specific tracking link. This is a free endpoint. * - * @see Onlyfansapi\Services\TrackingLinks\TagsService::list() + * @see OnlyFansAPI\Services\TrackingLinks\TagsService::list() * * @phpstan-type TagListParamsShape = array{account: string} */ diff --git a/src/TrackingLinks/Tags/TagListResponse.php b/src/TrackingLinks/Tags/TagListResponse.php index 305fe498..7be56656 100644 --- a/src/TrackingLinks/Tags/TagListResponse.php +++ b/src/TrackingLinks/Tags/TagListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\Tags\TagListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\Tags\TagListResponse\Data * * @phpstan-type TagListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/Tags/TagListResponse/Data.php b/src/TrackingLinks/Tags/TagListResponse/Data.php index f30d0ca8..491249e1 100644 --- a/src/TrackingLinks/Tags/TagListResponse/Data.php +++ b/src/TrackingLinks/Tags/TagListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagListResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrackingLinks/Tags/TagListResponse/_Meta.php b/src/TrackingLinks/Tags/TagListResponse/_Meta.php index 98ab3309..5e41c0e2 100644 --- a/src/TrackingLinks/Tags/TagListResponse/_Meta.php +++ b/src/TrackingLinks/Tags/TagListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagListResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/Tags/TagListResponse/_Meta/_Cache.php b/src/TrackingLinks/Tags/TagListResponse/_Meta/_Cache.php index 49facb33..e160769d 100644 --- a/src/TrackingLinks/Tags/TagListResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/Tags/TagListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/Tags/TagListResponse/_Meta/_Credits.php b/src/TrackingLinks/Tags/TagListResponse/_Meta/_Credits.php index 6d3d7c81..47749e08 100644 --- a/src/TrackingLinks/Tags/TagListResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/Tags/TagListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php b/src/TrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php index 8f8668ad..285a7380 100644 --- a/src/TrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/Tags/TagListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/Tags/TagRemoveParams.php b/src/TrackingLinks/Tags/TagRemoveParams.php index 6c3f584d..a8f6bab4 100644 --- a/src/TrackingLinks/Tags/TagRemoveParams.php +++ b/src/TrackingLinks/Tags/TagRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove tags from a specific tracking link. This is a free endpoint. * - * @see Onlyfansapi\Services\TrackingLinks\TagsService::remove() + * @see OnlyFansAPI\Services\TrackingLinks\TagsService::remove() * * @phpstan-type TagRemoveParamsShape = array{account: string, tags: list} */ diff --git a/src/TrackingLinks/Tags/TagRemoveResponse.php b/src/TrackingLinks/Tags/TagRemoveResponse.php index 46008162..6545d0c5 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags; +namespace OnlyFansAPI\TrackingLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\Data * * @phpstan-type TagRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/Tags/TagRemoveResponse/Data.php b/src/TrackingLinks/Tags/TagRemoveResponse/Data.php index 64696f36..a966f5a8 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse/Data.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta.php b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta.php index 3fec97e9..2e696e14 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php index b44a1c95..8419039c 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php index d91a7f6c..93c4e7e7 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php index 72c5b4de..9d8505fa 100644 --- a/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkCreateParams.php b/src/TrackingLinks/TrackingLinkCreateParams.php index 13ea04c5..ea0d1554 100644 --- a/src/TrackingLinks/TrackingLinkCreateParams.php +++ b/src/TrackingLinks/TrackingLinkCreateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new Tracking Link for the account. * - * @see Onlyfansapi\Services\TrackingLinksService::create() + * @see OnlyFansAPI\Services\TrackingLinksService::create() * * @phpstan-type TrackingLinkCreateParamsShape = array{ * name: string, tags?: list|null diff --git a/src/TrackingLinks/TrackingLinkDeleteParams.php b/src/TrackingLinks/TrackingLinkDeleteParams.php index 88b99467..efb3b84a 100644 --- a/src/TrackingLinks/TrackingLinkDeleteParams.php +++ b/src/TrackingLinks/TrackingLinkDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a Tracking Link. * - * @see Onlyfansapi\Services\TrackingLinksService::delete() + * @see OnlyFansAPI\Services\TrackingLinksService::delete() * * @phpstan-type TrackingLinkDeleteParamsShape = array{account: string} */ diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse.php b/src/TrackingLinks/TrackingLinkDeleteResponse.php index a7566a28..b40a1295 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\Data * * @phpstan-type TrackingLinkDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse/Data.php b/src/TrackingLinks/TrackingLinkDeleteResponse/Data.php index 040977e4..aeb1f976 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta.php b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta.php index 434b3cb1..ce843554 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Cache.php index 6fc4dbaa..3a5a6442 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Credits.php index 51b90f96..cf7cb654 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_RateLimits.php index 7492156b..887f07af 100644 --- a/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetCohortArpsParams.php b/src/TrackingLinks/TrackingLinkGetCohortArpsParams.php index 261fec7f..0cde1926 100644 --- a/src/TrackingLinks/TrackingLinkGetCohortArpsParams.php +++ b/src/TrackingLinks/TrackingLinkGetCohortArpsParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; /** * Get per-link time-to-profit cohort ARPS windows for a specific Tracking Link. * - * @see Onlyfansapi\Services\TrackingLinksService::getCohortArps() + * @see OnlyFansAPI\Services\TrackingLinksService::getCohortArps() * * @phpstan-type TrackingLinkGetCohortArpsParamsShape = array{ * account: string, diff --git a/src/TrackingLinks/TrackingLinkGetCohortArpsParams/RevenueBasis.php b/src/TrackingLinks/TrackingLinkGetCohortArpsParams/RevenueBasis.php index 8c39fdb8..8433e6ad 100644 --- a/src/TrackingLinks/TrackingLinkGetCohortArpsParams/RevenueBasis.php +++ b/src/TrackingLinks/TrackingLinkGetCohortArpsParams/RevenueBasis.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetCohortArpsParams; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams; /** * Revenue basis. Defaults to `net`. diff --git a/src/TrackingLinks/TrackingLinkGetResponse.php b/src/TrackingLinks/TrackingLinkGetResponse.php index cfd16f69..f0122b30 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse.php +++ b/src/TrackingLinks/TrackingLinkGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data * * @phpstan-type TrackingLinkGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/TrackingLinkGetResponse/Data.php b/src/TrackingLinks/TrackingLinkGetResponse/Data.php index a92bb082..69803ad2 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Cost; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Links; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Cost; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Links; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Revenue; /** - * @phpstan-import-type CostShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Cost - * @phpstan-import-type LinksShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Revenue + * @phpstan-import-type CostShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Cost + * @phpstan-import-type LinksShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Revenue * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/TrackingLinks/TrackingLinkGetResponse/Data/Cost.php b/src/TrackingLinks/TrackingLinkGetResponse/Data/Cost.php index cd0d39f8..c146f76f 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/Data/Cost.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/Data/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetResponse/Data/Links.php b/src/TrackingLinks/TrackingLinkGetResponse/Data/Links.php index 875d886c..42a912e3 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/Data/Links.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/Data/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/TrackingLinks/TrackingLinkGetResponse/Data/Links/Related.php b/src/TrackingLinks/TrackingLinkGetResponse/Data/Links/Related.php index 87c50093..7645297c 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/Data/Links/Related.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/Data/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data\Links; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetResponse/Data/Revenue.php b/src/TrackingLinks/TrackingLinkGetResponse/Data/Revenue.php index 88f8b0a3..41b63ea4 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/Data/Revenue.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/Data/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetResponse/_Meta.php b/src/TrackingLinks/TrackingLinkGetResponse/_Meta.php index 695c8e1b..cb1923c9 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Cache.php index 62b41cba..cb4fb048 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Credits.php index 07a84b07..d16c0eeb 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_RateLimits.php index fc786299..a3741416 100644 --- a/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetStatsParams.php b/src/TrackingLinks/TrackingLinkGetStatsParams.php index 8867463d..dff00d8c 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsParams.php +++ b/src/TrackingLinks/TrackingLinkGetStatsParams.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get dashboard-style summary plus daily and monthly metrics for a specific Tracking Link. @@ -19,7 +19,7 @@ * - Daily data can only be tracked from the date the account was connected to OnlyFans API; earlier periods are not available. * . * - * @see Onlyfansapi\Services\TrackingLinksService::getStats() + * @see OnlyFansAPI\Services\TrackingLinksService::getStats() * * @phpstan-type TrackingLinkGetStatsParamsShape = array{ * account: string, dateEnd?: string|null, dateStart?: string|null diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse.php b/src/TrackingLinks/TrackingLinkGetStatsResponse.php index 5b4ce859..700600c3 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data * * @phpstan-type TrackingLinkGetStatsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data.php index b1e5c459..785fd024 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\DailyMetric; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\MonthlyMetric; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\DailyMetric; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\MonthlyMetric; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\Summary; /** - * @phpstan-import-type DailyMetricShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\DailyMetric - * @phpstan-import-type MonthlyMetricShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\MonthlyMetric - * @phpstan-import-type SummaryShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data\Summary + * @phpstan-import-type DailyMetricShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\DailyMetric + * @phpstan-import-type MonthlyMetricShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\MonthlyMetric + * @phpstan-import-type SummaryShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data\Summary * * @phpstan-type DataShape = array{ * dailyMetrics?: list|null, diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/DailyMetric.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/DailyMetric.php index 95130b56..72db822e 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/DailyMetric.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/DailyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DailyMetricShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/MonthlyMetric.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/MonthlyMetric.php index bcfd2bb2..183b0ef9 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/MonthlyMetric.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/MonthlyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MonthlyMetricShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/Summary.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/Summary.php index 8d2cfad2..3d6dee01 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/Summary.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta.php index fb2f24a9..bf84bd59 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Cache.php index 35b162cb..b55765ec 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Credits.php index bd0c19f3..b648a2c8 100644 --- a/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkGetStatsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListParams.php b/src/TrackingLinks/TrackingLinkListParams.php index 42115914..b8082a39 100644 --- a/src/TrackingLinks/TrackingLinkListParams.php +++ b/src/TrackingLinks/TrackingLinkListParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sort; -use Onlyfansapi\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; /** * List all tracking links for the account and revenue data. * - * @see Onlyfansapi\Services\TrackingLinksService::list() + * @see OnlyFansAPI\Services\TrackingLinksService::list() * * @phpstan-type TrackingLinkListParamsShape = array{ * endDate?: string|null, diff --git a/src/TrackingLinks/TrackingLinkListParams/Sort.php b/src/TrackingLinks/TrackingLinkListParams/Sort.php index ee5ed20b..e98b6d22 100644 --- a/src/TrackingLinks/TrackingLinkListParams/Sort.php +++ b/src/TrackingLinks/TrackingLinkListParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListParams; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListParams; /** * Sort the results. Default `desc`. diff --git a/src/TrackingLinks/TrackingLinkListParams/Sortby.php b/src/TrackingLinks/TrackingLinkListParams/Sortby.php index 11d0e110..f3a600a0 100644 --- a/src/TrackingLinks/TrackingLinkListParams/Sortby.php +++ b/src/TrackingLinks/TrackingLinkListParams/Sortby.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListParams; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListParams; /** * Sort by subscriber count (claims), or creation date. diff --git a/src/TrackingLinks/TrackingLinkListResponse.php b/src/TrackingLinks/TrackingLinkListResponse.php index 3c91d951..359ca1cc 100644 --- a/src/TrackingLinks/TrackingLinkListResponse.php +++ b/src/TrackingLinks/TrackingLinkListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Pagination; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Pagination; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data * * @phpstan-type TrackingLinkListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/TrackingLinks/TrackingLinkListResponse/Data.php b/src/TrackingLinks/TrackingLinkListResponse/Data.php index 59c6013f..0005c556 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/TrackingLinks/TrackingLinkListResponse/Data/List_.php b/src/TrackingLinks/TrackingLinkListResponse/Data/List_.php index 25e8ca1d..5f273208 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/Data/List_.php +++ b/src/TrackingLinks/TrackingLinkListResponse/Data/List_.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Links; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Links; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Revenue; /** - * @phpstan-import-type LinksShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Revenue + * @phpstan-import-type LinksShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Revenue * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links.php b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links.php index bd07e7ff..0211fa62 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links.php +++ b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links/Related.php b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links/Related.php index 062ef9f8..e41f3f1a 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links/Related.php +++ b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_\Links; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{subscribers?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Revenue.php b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Revenue.php index 00d24483..1bf5d4b3 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Revenue.php +++ b/src/TrackingLinks/TrackingLinkListResponse/Data/List_/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\Data\List_; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListResponse/_Meta.php b/src/TrackingLinks/TrackingLinkListResponse/_Meta.php index fc126827..29f238dc 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Cache.php index 281094f9..20223ae9 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Credits.php index ea76af83..89d98668 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_RateLimits.php index 96dceb29..c2df4138 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListResponse/_Pagination.php b/src/TrackingLinks/TrackingLinkListResponse/_Pagination.php index e9c68fe4..d3c039bf 100644 --- a/src/TrackingLinks/TrackingLinkListResponse/_Pagination.php +++ b/src/TrackingLinks/TrackingLinkListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListSpendersParams.php b/src/TrackingLinks/TrackingLinkListSpendersParams.php index b1724fde..1c78d636 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersParams.php +++ b/src/TrackingLinks/TrackingLinkListSpendersParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get list of spenders who made purchases through a Tracking Link. * - * @see Onlyfansapi\Services\TrackingLinksService::listSpenders() + * @see OnlyFansAPI\Services\TrackingLinksService::listSpenders() * * @phpstan-type TrackingLinkListSpendersParamsShape = array{ * account: string, limit?: int|null, minSpend?: float|null, offset?: int|null diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse.php b/src/TrackingLinks/TrackingLinkListSpendersResponse.php index 993db8a0..4e656f9d 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\Data * * @phpstan-type TrackingLinkListSpendersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/Data.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/Data.php index 1fa58e7f..fb025532 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\Data\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\Data\Revenue; /** - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\Data\Revenue + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\Data\Revenue * * @phpstan-type DataShape = array{ * onlyfansID?: string|null, diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/Data/Revenue.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/Data/Revenue.php index 923737e7..703eadbb 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/Data/Revenue.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/Data/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta.php index f1efcc5a..1d45402f 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Cache.php index 98e64b9e..8e4c867a 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Credits.php index 55881cd5..8c3ac7e3 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_RateLimits.php index 6d3949ed..3e0aa908 100644 --- a/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkListSpendersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListSubscribersParams.php b/src/TrackingLinks/TrackingLinkListSubscribersParams.php index 39ddb5b5..b29de0c7 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersParams.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get list of subscribers who joined through a Tracking Link. * - * @see Onlyfansapi\Services\TrackingLinksService::listSubscribers() + * @see OnlyFansAPI\Services\TrackingLinksService::listSubscribers() * * @phpstan-type TrackingLinkListSubscribersParamsShape = array{ * account: string, limit: int, offset: int diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse.php index 04b5db2a..217ca9e4 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data * * @phpstan-type TrackingLinkListSubscribersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data.php index 07dd0444..609a3922 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, marker?: int|null diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_.php index 7b6d9a79..5a5502a5 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_\AvatarThumbs * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_/AvatarThumbs.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_/AvatarThumbs.php index 8a92d7bb..0f10e895 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_/AvatarThumbs.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta.php index ed45fe7d..15fc5336 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Cache.php index d42fdbdd..d056dbcf 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Credits.php index 40865063..9b17ba44 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_RateLimits.php index d001eeeb..5dfc196f 100644 --- a/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkListSubscribersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkNewResponse.php b/src/TrackingLinks/TrackingLinkNewResponse.php index a44bbb46..c5314193 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse.php +++ b/src/TrackingLinks/TrackingLinkNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\Data * * @phpstan-type TrackingLinkNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/TrackingLinks/TrackingLinkNewResponse/Data.php b/src/TrackingLinks/TrackingLinkNewResponse/Data.php index 9a22e33e..cc64268d 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse/Data.php +++ b/src/TrackingLinks/TrackingLinkNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/TrackingLinks/TrackingLinkNewResponse/_Meta.php b/src/TrackingLinks/TrackingLinkNewResponse/_Meta.php index 9ef6dff1..fbe9004e 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse/_Meta.php +++ b/src/TrackingLinks/TrackingLinkNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_Cache; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_Credits; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_Cache; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_Credits; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Cache.php b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Cache.php index 64bcc679..de5bb5b3 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Cache.php +++ b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Credits.php b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Credits.php index 286b6fbd..b7c5c18e 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Credits.php +++ b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_RateLimits.php b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_RateLimits.php index 1c574cd7..ab4faefa 100644 --- a/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_RateLimits.php +++ b/src/TrackingLinks/TrackingLinkNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks\TrackingLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrackingLinks/TrackingLinkRetrieveParams.php b/src/TrackingLinks/TrackingLinkRetrieveParams.php index 481e71ca..56bebedd 100644 --- a/src/TrackingLinks/TrackingLinkRetrieveParams.php +++ b/src/TrackingLinks/TrackingLinkRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrackingLinks; +namespace OnlyFansAPI\TrackingLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get individual Tracking Link details and it's revenue data. * - * @see Onlyfansapi\Services\TrackingLinksService::retrieve() + * @see OnlyFansAPI\Services\TrackingLinksService::retrieve() * * @phpstan-type TrackingLinkRetrieveParamsShape = array{account: string} */ diff --git a/src/Transactions/TransactionListParams.php b/src/Transactions/TransactionListParams.php index a3d4377d..0dad1a14 100644 --- a/src/Transactions/TransactionListParams.php +++ b/src/Transactions/TransactionListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions; +namespace OnlyFansAPI\Transactions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get a paginated list of transactions for an Account. Newest transactions are first. You can filter by transaction type and tips source. * - * @see Onlyfansapi\Services\TransactionsService::list() + * @see OnlyFansAPI\Services\TransactionsService::list() * * @phpstan-type TransactionListParamsShape = array{ * limit?: string|null, diff --git a/src/Transactions/TransactionListResponse.php b/src/Transactions/TransactionListResponse.php index 73ad5793..2434cf73 100644 --- a/src/Transactions/TransactionListResponse.php +++ b/src/Transactions/TransactionListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions; +namespace OnlyFansAPI\Transactions; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Transactions\TransactionListResponse\_Meta; -use Onlyfansapi\Transactions\TransactionListResponse\_Pagination; -use Onlyfansapi\Transactions\TransactionListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Transactions\TransactionListResponse\_Meta; +use OnlyFansAPI\Transactions\TransactionListResponse\_Pagination; +use OnlyFansAPI\Transactions\TransactionListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Transactions\TransactionListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\Transactions\TransactionListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\Transactions\TransactionListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Transactions\TransactionListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\Transactions\TransactionListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\Transactions\TransactionListResponse\Data * * @phpstan-type TransactionListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/Transactions/TransactionListResponse/Data.php b/src/Transactions/TransactionListResponse/Data.php index f4f9b52c..e331f4d9 100644 --- a/src/Transactions/TransactionListResponse/Data.php +++ b/src/Transactions/TransactionListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse; +namespace OnlyFansAPI\Transactions\TransactionListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Transactions\TransactionListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Transactions\TransactionListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\Transactions\TransactionListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\Transactions\TransactionListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, diff --git a/src/Transactions/TransactionListResponse/Data/List_.php b/src/Transactions/TransactionListResponse/Data/List_.php index fe6641cc..77021e14 100644 --- a/src/Transactions/TransactionListResponse/Data/List_.php +++ b/src/Transactions/TransactionListResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\Data; +namespace OnlyFansAPI\Transactions\TransactionListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Transactions\TransactionListResponse\Data\List_\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Transactions\TransactionListResponse\Data\List_\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\Transactions\TransactionListResponse\Data\List_\User + * @phpstan-import-type UserShape from \OnlyFansAPI\Transactions\TransactionListResponse\Data\List_\User * * @phpstan-type ListShape = array{ * id?: string|null, diff --git a/src/Transactions/TransactionListResponse/Data/List_/User.php b/src/Transactions/TransactionListResponse/Data/List_/User.php index 347a3275..516925aa 100644 --- a/src/Transactions/TransactionListResponse/Data/List_/User.php +++ b/src/Transactions/TransactionListResponse/Data/List_/User.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\Data\List_; +namespace OnlyFansAPI\Transactions\TransactionListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Transactions\TransactionListResponse\Data\List_\User\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Transactions\TransactionListResponse\Data\List_\User\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Transactions\TransactionListResponse\Data\List_\User\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Transactions\TransactionListResponse\Data\List_\User\AvatarThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/Transactions/TransactionListResponse/Data/List_/User/AvatarThumbs.php b/src/Transactions/TransactionListResponse/Data/List_/User/AvatarThumbs.php index df6efa4e..5fd3433d 100644 --- a/src/Transactions/TransactionListResponse/Data/List_/User/AvatarThumbs.php +++ b/src/Transactions/TransactionListResponse/Data/List_/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\Data\List_\User; +namespace OnlyFansAPI\Transactions\TransactionListResponse\Data\List_\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Transactions/TransactionListResponse/_Meta.php b/src/Transactions/TransactionListResponse/_Meta.php index e7f4617a..ab83cd43 100644 --- a/src/Transactions/TransactionListResponse/_Meta.php +++ b/src/Transactions/TransactionListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse; +namespace OnlyFansAPI\Transactions\TransactionListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Transactions\TransactionListResponse\_Meta\_Cache; -use Onlyfansapi\Transactions\TransactionListResponse\_Meta\_Credits; -use Onlyfansapi\Transactions\TransactionListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_Cache; +use OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_Credits; +use OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Transactions\TransactionListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Transactions\TransactionListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Transactions\TransactionListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Transactions\TransactionListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Transactions/TransactionListResponse/_Meta/_Cache.php b/src/Transactions/TransactionListResponse/_Meta/_Cache.php index d327ed22..516ace40 100644 --- a/src/Transactions/TransactionListResponse/_Meta/_Cache.php +++ b/src/Transactions/TransactionListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\_Meta; +namespace OnlyFansAPI\Transactions\TransactionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Transactions/TransactionListResponse/_Meta/_Credits.php b/src/Transactions/TransactionListResponse/_Meta/_Credits.php index 7718f823..742aa3b9 100644 --- a/src/Transactions/TransactionListResponse/_Meta/_Credits.php +++ b/src/Transactions/TransactionListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\_Meta; +namespace OnlyFansAPI\Transactions\TransactionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Transactions/TransactionListResponse/_Meta/_RateLimits.php b/src/Transactions/TransactionListResponse/_Meta/_RateLimits.php index 942211de..9a71b27a 100644 --- a/src/Transactions/TransactionListResponse/_Meta/_RateLimits.php +++ b/src/Transactions/TransactionListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse\_Meta; +namespace OnlyFansAPI\Transactions\TransactionListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Transactions/TransactionListResponse/_Pagination.php b/src/Transactions/TransactionListResponse/_Pagination.php index 0cd2a389..ab9089fa 100644 --- a/src/Transactions/TransactionListResponse/_Pagination.php +++ b/src/Transactions/TransactionListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Transactions\TransactionListResponse; +namespace OnlyFansAPI\Transactions\TransactionListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/TrialLinks/Tags/TagAddParams.php b/src/TrialLinks/Tags/TagAddParams.php index 183dcaa5..49bfcdb0 100644 --- a/src/TrialLinks/Tags/TagAddParams.php +++ b/src/TrialLinks/Tags/TagAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add tags to a specific free trial link. Existing tags are preserved. This is a free endpoint. * - * @see Onlyfansapi\Services\TrialLinks\TagsService::add() + * @see OnlyFansAPI\Services\TrialLinks\TagsService::add() * * @phpstan-type TagAddParamsShape = array{account: string, tags: list} */ diff --git a/src/TrialLinks/Tags/TagAddResponse.php b/src/TrialLinks/Tags/TagAddResponse.php index db70f895..8d65894c 100644 --- a/src/TrialLinks/Tags/TagAddResponse.php +++ b/src/TrialLinks/Tags/TagAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\Tags\TagAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\Tags\TagAddResponse\Data * * @phpstan-type TagAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/Tags/TagAddResponse/Data.php b/src/TrialLinks/Tags/TagAddResponse/Data.php index 935a36c9..f930ac95 100644 --- a/src/TrialLinks/Tags/TagAddResponse/Data.php +++ b/src/TrialLinks/Tags/TagAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrialLinks/Tags/TagAddResponse/_Meta.php b/src/TrialLinks/Tags/TagAddResponse/_Meta.php index a57bec8e..a95ebe9a 100644 --- a/src/TrialLinks/Tags/TagAddResponse/_Meta.php +++ b/src/TrialLinks/Tags/TagAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagAddResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/Tags/TagAddResponse/_Meta/_Cache.php b/src/TrialLinks/Tags/TagAddResponse/_Meta/_Cache.php index 3ef5144e..47fd21f4 100644 --- a/src/TrialLinks/Tags/TagAddResponse/_Meta/_Cache.php +++ b/src/TrialLinks/Tags/TagAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/Tags/TagAddResponse/_Meta/_Credits.php b/src/TrialLinks/Tags/TagAddResponse/_Meta/_Credits.php index 0d7017e0..5fe945cb 100644 --- a/src/TrialLinks/Tags/TagAddResponse/_Meta/_Credits.php +++ b/src/TrialLinks/Tags/TagAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php b/src/TrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php index 5a0cd633..cd482ed7 100644 --- a/src/TrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/Tags/TagAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagAddResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/Tags/TagListParams.php b/src/TrialLinks/Tags/TagListParams.php index fb9cfc4c..9d93c648 100644 --- a/src/TrialLinks/Tags/TagListParams.php +++ b/src/TrialLinks/Tags/TagListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get tags for a specific free trial link. This is a free endpoint. * - * @see Onlyfansapi\Services\TrialLinks\TagsService::list() + * @see OnlyFansAPI\Services\TrialLinks\TagsService::list() * * @phpstan-type TagListParamsShape = array{account: string} */ diff --git a/src/TrialLinks/Tags/TagListResponse.php b/src/TrialLinks/Tags/TagListResponse.php index 0faf05e0..b548d0d6 100644 --- a/src/TrialLinks/Tags/TagListResponse.php +++ b/src/TrialLinks/Tags/TagListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\TrialLinks\Tags\TagListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\Tags\TagListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\Tags\TagListResponse\Data * * @phpstan-type TagListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/Tags/TagListResponse/Data.php b/src/TrialLinks/Tags/TagListResponse/Data.php index 00567ddd..1538e6c0 100644 --- a/src/TrialLinks/Tags/TagListResponse/Data.php +++ b/src/TrialLinks/Tags/TagListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagListResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrialLinks/Tags/TagListResponse/_Meta.php b/src/TrialLinks/Tags/TagListResponse/_Meta.php index 7e443c09..0f2d1bb4 100644 --- a/src/TrialLinks/Tags/TagListResponse/_Meta.php +++ b/src/TrialLinks/Tags/TagListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagListResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/Tags/TagListResponse/_Meta/_Cache.php b/src/TrialLinks/Tags/TagListResponse/_Meta/_Cache.php index c7506228..8f3a4cf8 100644 --- a/src/TrialLinks/Tags/TagListResponse/_Meta/_Cache.php +++ b/src/TrialLinks/Tags/TagListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/Tags/TagListResponse/_Meta/_Credits.php b/src/TrialLinks/Tags/TagListResponse/_Meta/_Credits.php index 7098d6ac..d38d64c2 100644 --- a/src/TrialLinks/Tags/TagListResponse/_Meta/_Credits.php +++ b/src/TrialLinks/Tags/TagListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php b/src/TrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php index 54552bdf..603cf700 100644 --- a/src/TrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/Tags/TagListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/Tags/TagRemoveParams.php b/src/TrialLinks/Tags/TagRemoveParams.php index 35d9a219..53491c03 100644 --- a/src/TrialLinks/Tags/TagRemoveParams.php +++ b/src/TrialLinks/Tags/TagRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove tags from a specific free trial link. This is a free endpoint. * - * @see Onlyfansapi\Services\TrialLinks\TagsService::remove() + * @see OnlyFansAPI\Services\TrialLinks\TagsService::remove() * * @phpstan-type TagRemoveParamsShape = array{account: string, tags: list} */ diff --git a/src/TrialLinks/Tags/TagRemoveResponse.php b/src/TrialLinks/Tags/TagRemoveResponse.php index 476b4f61..9f3d6aa7 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse.php +++ b/src/TrialLinks/Tags/TagRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags; +namespace OnlyFansAPI\TrialLinks\Tags; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\Data * * @phpstan-type TagRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/Tags/TagRemoveResponse/Data.php b/src/TrialLinks/Tags/TagRemoveResponse/Data.php index c87f1de9..c341c097 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse/Data.php +++ b/src/TrialLinks/Tags/TagRemoveResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{tags?: list|null} diff --git a/src/TrialLinks/Tags/TagRemoveResponse/_Meta.php b/src/TrialLinks/Tags/TagRemoveResponse/_Meta.php index 50ec32b6..aa0c5e7d 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse/_Meta.php +++ b/src/TrialLinks/Tags/TagRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +namespace OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php index aa2c3a93..a21d42ad 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php +++ b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php index 9246302e..5ea71eb7 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php +++ b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php index 85be424c..4eff5bc4 100644 --- a/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/Tags/TagRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\Tags\TagRemoveResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkCreateParams.php b/src/TrialLinks/TrialLinkCreateParams.php index fcb21f75..36c6a018 100644 --- a/src/TrialLinks/TrialLinkCreateParams.php +++ b/src/TrialLinks/TrialLinkCreateParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\Duration; -use Onlyfansapi\TrialLinks\TrialLinkCreateParams\OfferLimit; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\Duration; +use OnlyFansAPI\TrialLinks\TrialLinkCreateParams\OfferLimit; /** * Create a new free trial link for the account. * - * @see Onlyfansapi\Services\TrialLinksService::create() + * @see OnlyFansAPI\Services\TrialLinksService::create() * * @phpstan-type TrialLinkCreateParamsShape = array{ * duration: Duration|value-of, diff --git a/src/TrialLinks/TrialLinkCreateParams/Duration.php b/src/TrialLinks/TrialLinkCreateParams/Duration.php index f85cd3c0..800ecfd3 100644 --- a/src/TrialLinks/TrialLinkCreateParams/Duration.php +++ b/src/TrialLinks/TrialLinkCreateParams/Duration.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkCreateParams; +namespace OnlyFansAPI\TrialLinks\TrialLinkCreateParams; /** * The duration of the free trial **in days**. Must be **1**, **3**, **7**, **14**, **30** (1 month), **90** (3 months), **180** (6 months), or **360** (12 months). diff --git a/src/TrialLinks/TrialLinkCreateParams/OfferLimit.php b/src/TrialLinks/TrialLinkCreateParams/OfferLimit.php index 022c5fe7..492e02ad 100644 --- a/src/TrialLinks/TrialLinkCreateParams/OfferLimit.php +++ b/src/TrialLinks/TrialLinkCreateParams/OfferLimit.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkCreateParams; +namespace OnlyFansAPI\TrialLinks\TrialLinkCreateParams; /** * How many people can use this offer. Must either be **0** (for no limit), or a number between **1**-**10**, **50**, or **100**. diff --git a/src/TrialLinks/TrialLinkDeleteParams.php b/src/TrialLinks/TrialLinkDeleteParams.php index 82ab707f..22adb826 100644 --- a/src/TrialLinks/TrialLinkDeleteParams.php +++ b/src/TrialLinks/TrialLinkDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a free trial link by its ID. * - * @see Onlyfansapi\Services\TrialLinksService::delete() + * @see OnlyFansAPI\Services\TrialLinksService::delete() * * @phpstan-type TrialLinkDeleteParamsShape = array{account: string} */ diff --git a/src/TrialLinks/TrialLinkDeleteResponse.php b/src/TrialLinks/TrialLinkDeleteResponse.php index fab5d0c4..9b10e934 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse.php +++ b/src/TrialLinks/TrialLinkDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\Data * * @phpstan-type TrialLinkDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/TrialLinkDeleteResponse/Data.php b/src/TrialLinks/TrialLinkDeleteResponse/Data.php index 76517144..9a8fee12 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse/Data.php +++ b/src/TrialLinks/TrialLinkDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/TrialLinks/TrialLinkDeleteResponse/_Meta.php b/src/TrialLinks/TrialLinkDeleteResponse/_Meta.php index 0d4b0ac0..ac080ee5 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Cache.php index d25f66ad..e5c3f86a 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Credits.php index 218cb284..fa1747e3 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_RateLimits.php index 086de09a..5e8471bd 100644 --- a/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkDeleteResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkGetResponse.php b/src/TrialLinks/TrialLinkGetResponse.php index 46e54e6a..aa73afc1 100644 --- a/src/TrialLinks/TrialLinkGetResponse.php +++ b/src/TrialLinks/TrialLinkGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data * * @phpstan-type TrialLinkGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/TrialLinkGetResponse/Data.php b/src/TrialLinks/TrialLinkGetResponse/Data.php index b840b07a..4b23ecf5 100644 --- a/src/TrialLinks/TrialLinkGetResponse/Data.php +++ b/src/TrialLinks/TrialLinkGetResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Cost; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Links; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Cost; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Links; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Revenue; /** - * @phpstan-import-type CostShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Cost - * @phpstan-import-type LinksShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Revenue + * @phpstan-import-type CostShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Cost + * @phpstan-import-type LinksShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Revenue * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/TrialLinks/TrialLinkGetResponse/Data/Cost.php b/src/TrialLinks/TrialLinkGetResponse/Data/Cost.php index d6be4ce2..66562e66 100644 --- a/src/TrialLinks/TrialLinkGetResponse/Data/Cost.php +++ b/src/TrialLinks/TrialLinkGetResponse/Data/Cost.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type CostShape = array{ diff --git a/src/TrialLinks/TrialLinkGetResponse/Data/Links.php b/src/TrialLinks/TrialLinkGetResponse/Data/Links.php index 7a84bb19..a94cfe9c 100644 --- a/src/TrialLinks/TrialLinkGetResponse/Data/Links.php +++ b/src/TrialLinks/TrialLinkGetResponse/Data/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/TrialLinks/TrialLinkGetResponse/Data/Links/Related.php b/src/TrialLinks/TrialLinkGetResponse/Data/Links/Related.php index 2c756d75..468a66fe 100644 --- a/src/TrialLinks/TrialLinkGetResponse/Data/Links/Related.php +++ b/src/TrialLinks/TrialLinkGetResponse/Data/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data\Links; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{subscribers?: string|null} diff --git a/src/TrialLinks/TrialLinkGetResponse/Data/Revenue.php b/src/TrialLinks/TrialLinkGetResponse/Data/Revenue.php index 8dc866b9..22845762 100644 --- a/src/TrialLinks/TrialLinkGetResponse/Data/Revenue.php +++ b/src/TrialLinks/TrialLinkGetResponse/Data/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrialLinks/TrialLinkGetResponse/_Meta.php b/src/TrialLinks/TrialLinkGetResponse/_Meta.php index f60bd5a6..183f3f59 100644 --- a/src/TrialLinks/TrialLinkGetResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkGetResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkGetResponse/_Meta/_Cache.php index 11800887..d3f2a532 100644 --- a/src/TrialLinks/TrialLinkGetResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkGetResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkGetResponse/_Meta/_Credits.php index 657dd87f..acbb648b 100644 --- a/src/TrialLinks/TrialLinkGetResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkGetResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkGetResponse/_Meta/_RateLimits.php index be0f7512..34243f30 100644 --- a/src/TrialLinks/TrialLinkGetResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkGetStatsResponse.php b/src/TrialLinks/TrialLinkGetStatsResponse.php index f519ec9f..8629b931 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data * * @phpstan-type TrialLinkGetStatsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/Data.php b/src/TrialLinks/TrialLinkGetStatsResponse/Data.php index a51ac171..13da99d1 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/Data.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/Data.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\DailyMetric; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\MonthlyMetric; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\Summary; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\DailyMetric; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\MonthlyMetric; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\Summary; /** - * @phpstan-import-type DailyMetricShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\DailyMetric - * @phpstan-import-type MonthlyMetricShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\MonthlyMetric - * @phpstan-import-type SummaryShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data\Summary + * @phpstan-import-type DailyMetricShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\DailyMetric + * @phpstan-import-type MonthlyMetricShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\MonthlyMetric + * @phpstan-import-type SummaryShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data\Summary * * @phpstan-type DataShape = array{ * dailyMetrics?: list|null, diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/Data/DailyMetric.php b/src/TrialLinks/TrialLinkGetStatsResponse/Data/DailyMetric.php index e4bc9568..8a6f0a62 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/Data/DailyMetric.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/Data/DailyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DailyMetricShape = array{ diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/Data/MonthlyMetric.php b/src/TrialLinks/TrialLinkGetStatsResponse/Data/MonthlyMetric.php index 99a0dc74..911d70e1 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/Data/MonthlyMetric.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/Data/MonthlyMetric.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type MonthlyMetricShape = array{ diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/Data/Summary.php b/src/TrialLinks/TrialLinkGetStatsResponse/Data/Summary.php index 03ba3fef..75a56658 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/Data/Summary.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/Data/Summary.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SummaryShape = array{ diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta.php b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta.php index 8e52f02f..f212ccfe 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Cache.php index 521c51e5..4ea08dde 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Credits.php index 6bdd6faf..ada7ae52 100644 --- a/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkGetStatsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkListParams.php b/src/TrialLinks/TrialLinkListParams.php index 81ee826f..2d52489e 100644 --- a/src/TrialLinks/TrialLinkListParams.php +++ b/src/TrialLinks/TrialLinkListParams.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Field; -use Onlyfansapi\TrialLinks\TrialLinkListParams\Sort; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Field; +use OnlyFansAPI\TrialLinks\TrialLinkListParams\Sort; /** * List all free trial links for the account, including the details and statistics. * - * @see Onlyfansapi\Services\TrialLinksService::list() + * @see OnlyFansAPI\Services\TrialLinksService::list() * * @phpstan-type TrialLinkListParamsShape = array{ * limit: int, diff --git a/src/TrialLinks/TrialLinkListParams/Field.php b/src/TrialLinks/TrialLinkListParams/Field.php index ec7bab27..312f74b6 100644 --- a/src/TrialLinks/TrialLinkListParams/Field.php +++ b/src/TrialLinks/TrialLinkListParams/Field.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListParams; +namespace OnlyFansAPI\TrialLinks\TrialLinkListParams; /** * Sort the results by a field. Default `create_date`. diff --git a/src/TrialLinks/TrialLinkListParams/Sort.php b/src/TrialLinks/TrialLinkListParams/Sort.php index 0f05b02c..7337ec33 100644 --- a/src/TrialLinks/TrialLinkListParams/Sort.php +++ b/src/TrialLinks/TrialLinkListParams/Sort.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListParams; +namespace OnlyFansAPI\TrialLinks\TrialLinkListParams; /** * Sort the results. Default `desc`. diff --git a/src/TrialLinks/TrialLinkListResponse.php b/src/TrialLinks/TrialLinkListResponse.php index 89bc3e05..85c9b525 100644 --- a/src/TrialLinks/TrialLinkListResponse.php +++ b/src/TrialLinks/TrialLinkListResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\_Pagination; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Pagination; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data * * @phpstan-type TrialLinkListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/TrialLinks/TrialLinkListResponse/Data.php b/src/TrialLinks/TrialLinkListResponse/Data.php index 10b97ad3..56116d93 100644 --- a/src/TrialLinks/TrialLinkListResponse/Data.php +++ b/src/TrialLinks/TrialLinkListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/TrialLinks/TrialLinkListResponse/Data/List_.php b/src/TrialLinks/TrialLinkListResponse/Data/List_.php index 06956721..2bcc6fc0 100644 --- a/src/TrialLinks/TrialLinkListResponse/Data/List_.php +++ b/src/TrialLinks/TrialLinkListResponse/Data/List_.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Links; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Links; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Revenue; /** - * @phpstan-import-type LinksShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Links - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Revenue + * @phpstan-import-type LinksShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Links + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Revenue * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/TrialLinks/TrialLinkListResponse/Data/List_/Links.php b/src/TrialLinks/TrialLinkListResponse/Data/List_/Links.php index d48db56b..ae89563f 100644 --- a/src/TrialLinks/TrialLinkListResponse/Data/List_/Links.php +++ b/src/TrialLinks/TrialLinkListResponse/Data/List_/Links.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Links\Related; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Links\Related; /** - * @phpstan-import-type RelatedShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Links\Related + * @phpstan-import-type RelatedShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Links\Related * * @phpstan-type LinksShape = array{related?: null|Related|RelatedShape} */ diff --git a/src/TrialLinks/TrialLinkListResponse/Data/List_/Links/Related.php b/src/TrialLinks/TrialLinkListResponse/Data/List_/Links/Related.php index bb3bb437..d0f803a8 100644 --- a/src/TrialLinks/TrialLinkListResponse/Data/List_/Links/Related.php +++ b/src/TrialLinks/TrialLinkListResponse/Data/List_/Links/Related.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_\Links; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_\Links; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RelatedShape = array{subscribers?: string|null} diff --git a/src/TrialLinks/TrialLinkListResponse/Data/List_/Revenue.php b/src/TrialLinks/TrialLinkListResponse/Data/List_/Revenue.php index bc343907..769c6559 100644 --- a/src/TrialLinks/TrialLinkListResponse/Data/List_/Revenue.php +++ b/src/TrialLinks/TrialLinkListResponse/Data/List_/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrialLinks/TrialLinkListResponse/_Meta.php b/src/TrialLinks/TrialLinkListResponse/_Meta.php index 6f1d6da2..fbce8561 100644 --- a/src/TrialLinks/TrialLinkListResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkListResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkListResponse/_Meta/_Cache.php index 14db62dd..c19442d0 100644 --- a/src/TrialLinks/TrialLinkListResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkListResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkListResponse/_Meta/_Credits.php index 48c1c18f..b4583fbc 100644 --- a/src/TrialLinks/TrialLinkListResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkListResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkListResponse/_Meta/_RateLimits.php index 865a4359..241a5ac9 100644 --- a/src/TrialLinks/TrialLinkListResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkListResponse/_Pagination.php b/src/TrialLinks/TrialLinkListResponse/_Pagination.php index c3219c34..5bc80410 100644 --- a/src/TrialLinks/TrialLinkListResponse/_Pagination.php +++ b/src/TrialLinks/TrialLinkListResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/TrialLinks/TrialLinkListSpendersParams.php b/src/TrialLinks/TrialLinkListSpendersParams.php index c630f3a9..c334e884 100644 --- a/src/TrialLinks/TrialLinkListSpendersParams.php +++ b/src/TrialLinks/TrialLinkListSpendersParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Only available if we already scraped subscribers and calculated revenue per fan. * - * @see Onlyfansapi\Services\TrialLinksService::listSpenders() + * @see OnlyFansAPI\Services\TrialLinksService::listSpenders() * * @phpstan-type TrialLinkListSpendersParamsShape = array{ * account: string, limit?: int|null, minSpend?: float|null, offset?: int|null diff --git a/src/TrialLinks/TrialLinkListSpendersResponse.php b/src/TrialLinks/TrialLinkListSpendersResponse.php index 8ba43ef4..468e1900 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\Data * * @phpstan-type TrialLinkListSpendersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/Data.php b/src/TrialLinks/TrialLinkListSpendersResponse/Data.php index 0727a7fc..a0649a51 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/Data.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\Data\Revenue; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\Data\Revenue; /** - * @phpstan-import-type RevenueShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\Data\Revenue + * @phpstan-import-type RevenueShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\Data\Revenue * * @phpstan-type DataShape = array{ * onlyfansID?: string|null, diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/Data/Revenue.php b/src/TrialLinks/TrialLinkListSpendersResponse/Data/Revenue.php index 07869a7b..aaa4c413 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/Data/Revenue.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/Data/Revenue.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\Data; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type RevenueShape = array{ diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta.php b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta.php index fc10a078..386222f1 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Cache.php index 82878e46..108c87b5 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Credits.php index 983fd251..5ac86d17 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_RateLimits.php index 9546144f..90becc12 100644 --- a/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkListSpendersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersParams.php b/src/TrialLinks/TrialLinkListSubscribersParams.php index 8e7fa847..e5a4fb67 100644 --- a/src/TrialLinks/TrialLinkListSubscribersParams.php +++ b/src/TrialLinks/TrialLinkListSubscribersParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get list of subscribers who joined through a Free Trial Link. * - * @see Onlyfansapi\Services\TrialLinksService::listSubscribers() + * @see OnlyFansAPI\Services\TrialLinksService::listSubscribers() * * @phpstan-type TrialLinkListSubscribersParamsShape = array{ * account: string, limit: int, offset: int diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse.php b/src/TrialLinks/TrialLinkListSubscribersResponse.php index fa1c19c0..c4ff0744 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data * * @phpstan-type TrialLinkListSubscribersResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data.php index 0239e8ca..1c1fb87a 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_.php index 702fd713..ee797455 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderSize; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\ListsState; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\PromoOffer; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderSize; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\ListsState; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\PromoOffer; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\PromoOffer - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\PromoOffer + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/AvatarThumbs.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/AvatarThumbs.php index 331c72c5..2fab58e9 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/AvatarThumbs.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderSize.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderSize.php index 7953ed0f..1e389068 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderSize.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderThumbs.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderThumbs.php index 2eec3180..03aa66c7 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderThumbs.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/ListsState.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/ListsState.php index 603bd1a8..d581e72f 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/ListsState.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/PromoOffer.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/PromoOffer.php index 3355ec22..15c1396b 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/PromoOffer.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData.php index 23bea5b5..2a0a6dea 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData/Subscribe.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData/Subscribe.php index 478a2e16..b822296e 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData.php index cbec978c..48595a39 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData/Subscribe.php b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData/Subscribe.php index f05127a9..b4d4a5a0 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData/Subscribe.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/Data/List_/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta.php b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta.php index 6d679aed..6a9e245b 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Cache.php index 1790094a..12a97bb8 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Credits.php index f4f72f69..6733c7cd 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_RateLimits.php index ded461f0..5a48ede3 100644 --- a/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkListSubscribersResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkNewResponse.php b/src/TrialLinks/TrialLinkNewResponse.php index 4982845b..e3cda7e4 100644 --- a/src/TrialLinks/TrialLinkNewResponse.php +++ b/src/TrialLinks/TrialLinkNewResponse.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Pagination; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Pagination; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta - * @phpstan-import-type _PaginationShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Pagination - * @phpstan-import-type DataShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta + * @phpstan-import-type _PaginationShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Pagination + * @phpstan-import-type DataShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\Data * * @phpstan-type TrialLinkNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, diff --git a/src/TrialLinks/TrialLinkNewResponse/Data.php b/src/TrialLinks/TrialLinkNewResponse/Data.php index c9d2aee7..6b52761a 100644 --- a/src/TrialLinks/TrialLinkNewResponse/Data.php +++ b/src/TrialLinks/TrialLinkNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/TrialLinks/TrialLinkNewResponse/_Meta.php b/src/TrialLinks/TrialLinkNewResponse/_Meta.php index bdd3867e..f4d1e91a 100644 --- a/src/TrialLinks/TrialLinkNewResponse/_Meta.php +++ b/src/TrialLinks/TrialLinkNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_Cache; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_Credits; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_Cache; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_Credits; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/TrialLinks/TrialLinkNewResponse/_Meta/_Cache.php b/src/TrialLinks/TrialLinkNewResponse/_Meta/_Cache.php index f6a6c914..aa2dfe3b 100644 --- a/src/TrialLinks/TrialLinkNewResponse/_Meta/_Cache.php +++ b/src/TrialLinks/TrialLinkNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/TrialLinks/TrialLinkNewResponse/_Meta/_Credits.php b/src/TrialLinks/TrialLinkNewResponse/_Meta/_Credits.php index df569544..2975dec2 100644 --- a/src/TrialLinks/TrialLinkNewResponse/_Meta/_Credits.php +++ b/src/TrialLinks/TrialLinkNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/TrialLinks/TrialLinkNewResponse/_Meta/_RateLimits.php b/src/TrialLinks/TrialLinkNewResponse/_Meta/_RateLimits.php index 35105b5f..98ee4a8e 100644 --- a/src/TrialLinks/TrialLinkNewResponse/_Meta/_RateLimits.php +++ b/src/TrialLinks/TrialLinkNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse\_Meta; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/TrialLinks/TrialLinkNewResponse/_Pagination.php b/src/TrialLinks/TrialLinkNewResponse/_Pagination.php index 3a6d885a..7988d35e 100644 --- a/src/TrialLinks/TrialLinkNewResponse/_Pagination.php +++ b/src/TrialLinks/TrialLinkNewResponse/_Pagination.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkNewResponse; +namespace OnlyFansAPI\TrialLinks\TrialLinkNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _PaginationShape = array{nextPage?: string|null} diff --git a/src/TrialLinks/TrialLinkRetrieveCohortArpsParams.php b/src/TrialLinks/TrialLinkRetrieveCohortArpsParams.php index 83f09fbd..6a45be18 100644 --- a/src/TrialLinks/TrialLinkRetrieveCohortArpsParams.php +++ b/src/TrialLinks/TrialLinkRetrieveCohortArpsParams.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams\RevenueBasis; /** * Get per-link time-to-profit cohort ARPS windows for a specific Free Trial Link. * - * @see Onlyfansapi\Services\TrialLinksService::retrieveCohortArps() + * @see OnlyFansAPI\Services\TrialLinksService::retrieveCohortArps() * * @phpstan-type TrialLinkRetrieveCohortArpsParamsShape = array{ * account: string, diff --git a/src/TrialLinks/TrialLinkRetrieveCohortArpsParams/RevenueBasis.php b/src/TrialLinks/TrialLinkRetrieveCohortArpsParams/RevenueBasis.php index 6efb8ed4..860d7921 100644 --- a/src/TrialLinks/TrialLinkRetrieveCohortArpsParams/RevenueBasis.php +++ b/src/TrialLinks/TrialLinkRetrieveCohortArpsParams/RevenueBasis.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks\TrialLinkRetrieveCohortArpsParams; +namespace OnlyFansAPI\TrialLinks\TrialLinkRetrieveCohortArpsParams; /** * Revenue basis. Defaults to `net`. diff --git a/src/TrialLinks/TrialLinkRetrieveParams.php b/src/TrialLinks/TrialLinkRetrieveParams.php index c51bcc61..f6c81253 100644 --- a/src/TrialLinks/TrialLinkRetrieveParams.php +++ b/src/TrialLinks/TrialLinkRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get individual Free Trial Link details and it's revenue data. * - * @see Onlyfansapi\Services\TrialLinksService::retrieve() + * @see OnlyFansAPI\Services\TrialLinksService::retrieve() * * @phpstan-type TrialLinkRetrieveParamsShape = array{account: string} */ diff --git a/src/TrialLinks/TrialLinkRetrieveStatsParams.php b/src/TrialLinks/TrialLinkRetrieveStatsParams.php index 22e2877d..3e57f4d4 100644 --- a/src/TrialLinks/TrialLinkRetrieveStatsParams.php +++ b/src/TrialLinks/TrialLinkRetrieveStatsParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\TrialLinks; +namespace OnlyFansAPI\TrialLinks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get dashboard-style summary plus daily and monthly metrics for a specific Free Trial Link. * - * @see Onlyfansapi\Services\TrialLinksService::retrieveStats() + * @see OnlyFansAPI\Services\TrialLinksService::retrieveStats() * * @phpstan-type TrialLinkRetrieveStatsParamsShape = array{ * account: string, dateEnd?: string|null, dateStart?: string|null diff --git a/src/UserLists/UserListCreateParams.php b/src/UserLists/UserListCreateParams.php index 4bb19fca..d2e0cd55 100644 --- a/src/UserLists/UserListCreateParams.php +++ b/src/UserLists/UserListCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a OnlyFans User List. * - * @see Onlyfansapi\Services\UserListsService::create() + * @see OnlyFansAPI\Services\UserListsService::create() * * @phpstan-type UserListCreateParamsShape = array{name: string} */ diff --git a/src/UserLists/UserListDeleteParams.php b/src/UserLists/UserListDeleteParams.php index b6eee84d..c88e64c7 100644 --- a/src/UserLists/UserListDeleteParams.php +++ b/src/UserLists/UserListDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Delete a OnlyFans User List. * - * @see Onlyfansapi\Services\UserListsService::delete() + * @see OnlyFansAPI\Services\UserListsService::delete() * * @phpstan-type UserListDeleteParamsShape = array{account: string} */ diff --git a/src/UserLists/UserListDeleteResponse.php b/src/UserLists/UserListDeleteResponse.php index 8ee71d83..e0a323d7 100644 --- a/src/UserLists/UserListDeleteResponse.php +++ b/src/UserLists/UserListDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListDeleteResponse\_Meta; -use Onlyfansapi\UserLists\UserListDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta; +use OnlyFansAPI\UserLists\UserListDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\UserListDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\UserListDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\UserListDeleteResponse\Data * * @phpstan-type UserListDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/UserListDeleteResponse/Data.php b/src/UserLists/UserListDeleteResponse/Data.php index b1aed18d..c3da94b8 100644 --- a/src/UserLists/UserListDeleteResponse/Data.php +++ b/src/UserLists/UserListDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListDeleteResponse; +namespace OnlyFansAPI\UserLists\UserListDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/UserLists/UserListDeleteResponse/_Meta.php b/src/UserLists/UserListDeleteResponse/_Meta.php index 6dd4ae51..96427057 100644 --- a/src/UserLists/UserListDeleteResponse/_Meta.php +++ b/src/UserLists/UserListDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListDeleteResponse; +namespace OnlyFansAPI\UserLists\UserListDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\UserListDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/UserListDeleteResponse/_Meta/_Cache.php b/src/UserLists/UserListDeleteResponse/_Meta/_Cache.php index b9c87358..623f7060 100644 --- a/src/UserLists/UserListDeleteResponse/_Meta/_Cache.php +++ b/src/UserLists/UserListDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListDeleteResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/UserListDeleteResponse/_Meta/_Credits.php b/src/UserLists/UserListDeleteResponse/_Meta/_Credits.php index db1cbf92..4569fa85 100644 --- a/src/UserLists/UserListDeleteResponse/_Meta/_Credits.php +++ b/src/UserLists/UserListDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListDeleteResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/UserListDeleteResponse/_Meta/_RateLimits.php b/src/UserLists/UserListDeleteResponse/_Meta/_RateLimits.php index bb236d05..eadbef35 100644 --- a/src/UserLists/UserListDeleteResponse/_Meta/_RateLimits.php +++ b/src/UserLists/UserListDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListDeleteResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/UserListGetResponse.php b/src/UserLists/UserListGetResponse.php index 5d3d3229..0213c668 100644 --- a/src/UserLists/UserListGetResponse.php +++ b/src/UserLists/UserListGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListGetResponse\_Meta; -use Onlyfansapi\UserLists\UserListGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListGetResponse\_Meta; +use OnlyFansAPI\UserLists\UserListGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\UserListGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\UserListGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\UserListGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\UserListGetResponse\Data * * @phpstan-type UserListGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/UserListGetResponse/Data.php b/src/UserLists/UserListGetResponse/Data.php index e02c715a..bba9c473 100644 --- a/src/UserLists/UserListGetResponse/Data.php +++ b/src/UserLists/UserListGetResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse; +namespace OnlyFansAPI\UserLists\UserListGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListGetResponse\Data\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListGetResponse\Data\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\UserLists\UserListGetResponse\Data\User + * @phpstan-import-type UserShape from \OnlyFansAPI\UserLists\UserListGetResponse\Data\User * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/UserLists/UserListGetResponse/Data/User.php b/src/UserLists/UserListGetResponse/Data/User.php index 2ba55c3a..1b3cd443 100644 --- a/src/UserLists/UserListGetResponse/Data/User.php +++ b/src/UserLists/UserListGetResponse/Data/User.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse\Data; +namespace OnlyFansAPI\UserLists\UserListGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListGetResponse\Data\User\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListGetResponse\Data\User\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\UserLists\UserListGetResponse\Data\User\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\UserLists\UserListGetResponse\Data\User\AvatarThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/UserLists/UserListGetResponse/Data/User/AvatarThumbs.php b/src/UserLists/UserListGetResponse/Data/User/AvatarThumbs.php index 8a109df2..fd412ad8 100644 --- a/src/UserLists/UserListGetResponse/Data/User/AvatarThumbs.php +++ b/src/UserLists/UserListGetResponse/Data/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse\Data\User; +namespace OnlyFansAPI\UserLists\UserListGetResponse\Data\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/UserLists/UserListGetResponse/_Meta.php b/src/UserLists/UserListGetResponse/_Meta.php index d7eee7bd..9ff2cb3f 100644 --- a/src/UserLists/UserListGetResponse/_Meta.php +++ b/src/UserLists/UserListGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse; +namespace OnlyFansAPI\UserLists\UserListGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListGetResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\UserListGetResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\UserListGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\UserListGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\UserListGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\UserListGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\UserListGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/UserListGetResponse/_Meta/_Cache.php b/src/UserLists/UserListGetResponse/_Meta/_Cache.php index 86eb98b8..51656886 100644 --- a/src/UserLists/UserListGetResponse/_Meta/_Cache.php +++ b/src/UserLists/UserListGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/UserListGetResponse/_Meta/_Credits.php b/src/UserLists/UserListGetResponse/_Meta/_Credits.php index cea860b4..0bd0fa45 100644 --- a/src/UserLists/UserListGetResponse/_Meta/_Credits.php +++ b/src/UserLists/UserListGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/UserListGetResponse/_Meta/_RateLimits.php b/src/UserLists/UserListGetResponse/_Meta/_RateLimits.php index 83a35d7b..66f3483f 100644 --- a/src/UserLists/UserListGetResponse/_Meta/_RateLimits.php +++ b/src/UserLists/UserListGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListGetResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/UserListListParams.php b/src/UserLists/UserListListParams.php index 190dec16..63a1a66a 100644 --- a/src/UserLists/UserListListParams.php +++ b/src/UserLists/UserListListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get a list of OnlyFans Collections - User Lists. * - * @see Onlyfansapi\Services\UserListsService::list() + * @see OnlyFansAPI\Services\UserListsService::list() * * @phpstan-type UserListListParamsShape = array{ * limit?: int|null, offset?: int|null diff --git a/src/UserLists/UserListListResponse.php b/src/UserLists/UserListListResponse.php index 32a52a2f..c6208c2c 100644 --- a/src/UserLists/UserListListResponse.php +++ b/src/UserLists/UserListListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListListResponse\_Meta; -use Onlyfansapi\UserLists\UserListListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListListResponse\_Meta; +use OnlyFansAPI\UserLists\UserListListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\UserListListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\UserListListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\UserListListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\UserListListResponse\Data * * @phpstan-type UserListListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/UserLists/UserListListResponse/Data.php b/src/UserLists/UserListListResponse/Data.php index 763437cf..68f160d3 100644 --- a/src/UserLists/UserListListResponse/Data.php +++ b/src/UserLists/UserListListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListListResponse; +namespace OnlyFansAPI\UserLists\UserListListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/UserLists/UserListListResponse/_Meta.php b/src/UserLists/UserListListResponse/_Meta.php index 70378cbd..1a6c3864 100644 --- a/src/UserLists/UserListListResponse/_Meta.php +++ b/src/UserLists/UserListListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListListResponse; +namespace OnlyFansAPI\UserLists\UserListListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListListResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\UserListListResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\UserListListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListListResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\UserListListResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\UserListListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\UserListListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\UserListListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\UserListListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\UserListListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\UserListListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\UserListListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/UserListListResponse/_Meta/_Cache.php b/src/UserLists/UserListListResponse/_Meta/_Cache.php index 1219b4a0..f3a264bb 100644 --- a/src/UserLists/UserListListResponse/_Meta/_Cache.php +++ b/src/UserLists/UserListListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListListResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/UserListListResponse/_Meta/_Credits.php b/src/UserLists/UserListListResponse/_Meta/_Credits.php index c965a7c0..adc938f1 100644 --- a/src/UserLists/UserListListResponse/_Meta/_Credits.php +++ b/src/UserLists/UserListListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListListResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/UserListListResponse/_Meta/_RateLimits.php b/src/UserLists/UserListListResponse/_Meta/_RateLimits.php index 36f12e7f..f13a6fbf 100644 --- a/src/UserLists/UserListListResponse/_Meta/_RateLimits.php +++ b/src/UserLists/UserListListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListListResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/UserListNewResponse.php b/src/UserLists/UserListNewResponse.php index 8b67af7b..e9d8b8c3 100644 --- a/src/UserLists/UserListNewResponse.php +++ b/src/UserLists/UserListNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListNewResponse\_Meta; -use Onlyfansapi\UserLists\UserListNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListNewResponse\_Meta; +use OnlyFansAPI\UserLists\UserListNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\UserListNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\UserListNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\UserListNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\UserListNewResponse\Data * * @phpstan-type UserListNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/UserListNewResponse/Data.php b/src/UserLists/UserListNewResponse/Data.php index 59a8afef..b4ec0d76 100644 --- a/src/UserLists/UserListNewResponse/Data.php +++ b/src/UserLists/UserListNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListNewResponse; +namespace OnlyFansAPI\UserLists\UserListNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/UserLists/UserListNewResponse/_Meta.php b/src/UserLists/UserListNewResponse/_Meta.php index 770e65d6..5d325ba0 100644 --- a/src/UserLists/UserListNewResponse/_Meta.php +++ b/src/UserLists/UserListNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListNewResponse; +namespace OnlyFansAPI\UserLists\UserListNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListNewResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\UserListNewResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\UserListNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\UserListNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\UserListNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\UserListNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\UserListNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/UserListNewResponse/_Meta/_Cache.php b/src/UserLists/UserListNewResponse/_Meta/_Cache.php index f3fb094d..bee301f3 100644 --- a/src/UserLists/UserListNewResponse/_Meta/_Cache.php +++ b/src/UserLists/UserListNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListNewResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/UserListNewResponse/_Meta/_Credits.php b/src/UserLists/UserListNewResponse/_Meta/_Credits.php index 64d1a2a9..a1610ef8 100644 --- a/src/UserLists/UserListNewResponse/_Meta/_Credits.php +++ b/src/UserLists/UserListNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListNewResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/UserListNewResponse/_Meta/_RateLimits.php b/src/UserLists/UserListNewResponse/_Meta/_RateLimits.php index 45c2deb4..f0d6cecc 100644 --- a/src/UserLists/UserListNewResponse/_Meta/_RateLimits.php +++ b/src/UserLists/UserListNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListNewResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/UserListRetrieveParams.php b/src/UserLists/UserListRetrieveParams.php index 7cacabd5..2c868927 100644 --- a/src/UserLists/UserListRetrieveParams.php +++ b/src/UserLists/UserListRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get a user list. * - * @see Onlyfansapi\Services\UserListsService::retrieve() + * @see OnlyFansAPI\Services\UserListsService::retrieve() * * @phpstan-type UserListRetrieveParamsShape = array{account: string} */ diff --git a/src/UserLists/UserListUpdateParams.php b/src/UserLists/UserListUpdateParams.php index 45a341b6..45e68e28 100644 --- a/src/UserLists/UserListUpdateParams.php +++ b/src/UserLists/UserListUpdateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update a OnlyFans User List. * - * @see Onlyfansapi\Services\UserListsService::update() + * @see OnlyFansAPI\Services\UserListsService::update() * * @phpstan-type UserListUpdateParamsShape = array{ * account: string, name: string, isPinnedToFeed?: bool|null diff --git a/src/UserLists/UserListUpdateResponse.php b/src/UserLists/UserListUpdateResponse.php index c0340134..a855e456 100644 --- a/src/UserLists/UserListUpdateResponse.php +++ b/src/UserLists/UserListUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists; +namespace OnlyFansAPI\UserLists; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListUpdateResponse\_Meta; -use Onlyfansapi\UserLists\UserListUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta; +use OnlyFansAPI\UserLists\UserListUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\UserListUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\UserListUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\UserListUpdateResponse\Data * * @phpstan-type UserListUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/UserListUpdateResponse/Data.php b/src/UserLists/UserListUpdateResponse/Data.php index e785a74c..603bdd67 100644 --- a/src/UserLists/UserListUpdateResponse/Data.php +++ b/src/UserLists/UserListUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListUpdateResponse; +namespace OnlyFansAPI\UserLists\UserListUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/UserLists/UserListUpdateResponse/_Meta.php b/src/UserLists/UserListUpdateResponse/_Meta.php index 5035a58f..498e6100 100644 --- a/src/UserLists/UserListUpdateResponse/_Meta.php +++ b/src/UserLists/UserListUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListUpdateResponse; +namespace OnlyFansAPI\UserLists\UserListUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\UserListUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/UserListUpdateResponse/_Meta/_Cache.php b/src/UserLists/UserListUpdateResponse/_Meta/_Cache.php index 9e069635..f36cc850 100644 --- a/src/UserLists/UserListUpdateResponse/_Meta/_Cache.php +++ b/src/UserLists/UserListUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListUpdateResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/UserListUpdateResponse/_Meta/_Credits.php b/src/UserLists/UserListUpdateResponse/_Meta/_Credits.php index e62fb712..2ad7e3af 100644 --- a/src/UserLists/UserListUpdateResponse/_Meta/_Credits.php +++ b/src/UserLists/UserListUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListUpdateResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/UserListUpdateResponse/_Meta/_RateLimits.php b/src/UserLists/UserListUpdateResponse/_Meta/_RateLimits.php index 48567f60..2d7fe8d4 100644 --- a/src/UserLists/UserListUpdateResponse/_Meta/_RateLimits.php +++ b/src/UserLists/UserListUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\UserListUpdateResponse\_Meta; +namespace OnlyFansAPI\UserLists\UserListUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserAddParams.php b/src/UserLists/Users/UserAddParams.php index fe5d1ea0..7ec3ff4b 100644 --- a/src/UserLists/Users/UserAddParams.php +++ b/src/UserLists/Users/UserAddParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Add multiple Users To OnlyFans User List. * - * @see Onlyfansapi\Services\UserLists\UsersService::add() + * @see OnlyFansAPI\Services\UserLists\UsersService::add() * * @phpstan-type UserAddParamsShape = array{account: string, ids: list} */ diff --git a/src/UserLists/Users/UserAddResponse.php b/src/UserLists/Users/UserAddResponse.php index 19b0916d..2b813e87 100644 --- a/src/UserLists/Users/UserAddResponse.php +++ b/src/UserLists/Users/UserAddResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserAddResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserAddResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserAddResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserAddResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserAddResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\Data * * @phpstan-type UserAddResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserAddResponse/Data.php b/src/UserLists/Users/UserAddResponse/Data.php index 795e309e..4ae749b2 100644 --- a/src/UserLists/Users/UserAddResponse/Data.php +++ b/src/UserLists/Users/UserAddResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserAddResponse; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{_1224114714?: list|null} diff --git a/src/UserLists/Users/UserAddResponse/_Meta.php b/src/UserLists/Users/UserAddResponse/_Meta.php index 4b8ac363..24c6a4b2 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta.php +++ b/src/UserLists/Users/UserAddResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserAddResponse; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserAddResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserAddResponse/_Meta/_Cache.php b/src/UserLists/Users/UserAddResponse/_Meta/_Cache.php index 1f8ef448..73ce7bc4 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserAddResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php b/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php index d86a066c..1ccc6853 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php index a0c22f5e..eaa0d022 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserClearParams.php b/src/UserLists/Users/UserClearParams.php index 27184a5e..c7528d5b 100644 --- a/src/UserLists/Users/UserClearParams.php +++ b/src/UserLists/Users/UserClearParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove all users from a OnlyFans User List. * - * @see Onlyfansapi\Services\UserLists\UsersService::clear() + * @see OnlyFansAPI\Services\UserLists\UsersService::clear() * * @phpstan-type UserClearParamsShape = array{account: string} */ diff --git a/src/UserLists/Users/UserClearResponse.php b/src/UserLists/Users/UserClearResponse.php index e64b5f9f..826683de 100644 --- a/src/UserLists/Users/UserClearResponse.php +++ b/src/UserLists/Users/UserClearResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserClearResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserClearResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserClearResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserClearResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserClearResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserClearResponse\Data * * @phpstan-type UserClearResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserClearResponse/Data.php b/src/UserLists/Users/UserClearResponse/Data.php index f537d08b..1c9debeb 100644 --- a/src/UserLists/Users/UserClearResponse/Data.php +++ b/src/UserLists/Users/UserClearResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserClearResponse; +namespace OnlyFansAPI\UserLists\Users\UserClearResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/UserLists/Users/UserClearResponse/_Meta.php b/src/UserLists/Users/UserClearResponse/_Meta.php index 28bf71e4..b2423f70 100644 --- a/src/UserLists/Users/UserClearResponse/_Meta.php +++ b/src/UserLists/Users/UserClearResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserClearResponse; +namespace OnlyFansAPI\UserLists\Users\UserClearResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserClearResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserClearResponse/_Meta/_Cache.php b/src/UserLists/Users/UserClearResponse/_Meta/_Cache.php index 0cdb8138..ba0e5056 100644 --- a/src/UserLists/Users/UserClearResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserClearResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserClearResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserClearResponse/_Meta/_Credits.php b/src/UserLists/Users/UserClearResponse/_Meta/_Credits.php index a07f133a..30cd677b 100644 --- a/src/UserLists/Users/UserClearResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserClearResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserClearResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserClearResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserClearResponse/_Meta/_RateLimits.php index 73dc3867..b1b2bf95 100644 --- a/src/UserLists/Users/UserClearResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserClearResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserClearResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserClearResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserListParams.php b/src/UserLists/Users/UserListParams.php index f49e8983..1e0cde9d 100644 --- a/src/UserLists/Users/UserListParams.php +++ b/src/UserLists/Users/UserListParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get all users in a OnlyFans User List. * - * @see Onlyfansapi\Services\UserLists\UsersService::list() + * @see OnlyFansAPI\Services\UserLists\UsersService::list() * * @phpstan-type UserListParamsShape = array{ * account: string, limit?: string|null, offset?: string|null diff --git a/src/UserLists/Users/UserListPinnedParams.php b/src/UserLists/Users/UserListPinnedParams.php index f9bdb033..6be23992 100644 --- a/src/UserLists/Users/UserListPinnedParams.php +++ b/src/UserLists/Users/UserListPinnedParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get pinned users from an OnlyFans User List. * - * @see Onlyfansapi\Services\UserLists\UsersService::listPinned() + * @see OnlyFansAPI\Services\UserLists\UsersService::listPinned() * * @phpstan-type UserListPinnedParamsShape = array{ * account: string, limit?: string|null, offset?: string|null diff --git a/src/UserLists/Users/UserListPinnedResponse.php b/src/UserLists/Users/UserListPinnedResponse.php index 23e671f0..1462aeb4 100644 --- a/src/UserLists/Users/UserListPinnedResponse.php +++ b/src/UserLists/Users/UserListPinnedResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data * * @phpstan-type UserListPinnedResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserListPinnedResponse/Data.php b/src/UserLists/Users/UserListPinnedResponse/Data.php index 32371218..2fd535dd 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, nextOffset?: int|null diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_.php index d8e866d6..5f60d5d4 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderSize; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\ListsState; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\PromoOffer; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderSize; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\ListsState; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\PromoOffer; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\PromoOffer - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\PromoOffer + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/AvatarThumbs.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/AvatarThumbs.php index 340049f5..65c96758 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/AvatarThumbs.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderSize.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderSize.php index 25a4dce2..3450588a 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderSize.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderThumbs.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderThumbs.php index 081f3b00..58f1eb15 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderThumbs.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/ListsState.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/ListsState.php index 06cceafc..89457413 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/ListsState.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/PromoOffer.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/PromoOffer.php index d4bb74e5..d0934765 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/PromoOffer.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData.php index 262c8f0d..6fdf0191 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData/Subscribe.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData/Subscribe.php index c5cb65ed..20c79602 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData.php index 942573da..20498d6c 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData/Subscribe.php b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData/Subscribe.php index c17e204c..bcda511c 100644 --- a/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData/Subscribe.php +++ b/src/UserLists/Users/UserListPinnedResponse/Data/List_/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/UserLists/Users/UserListPinnedResponse/_Meta.php b/src/UserLists/Users/UserListPinnedResponse/_Meta.php index 80948b8a..d262d224 100644 --- a/src/UserLists/Users/UserListPinnedResponse/_Meta.php +++ b/src/UserLists/Users/UserListPinnedResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserListPinnedResponse/_Meta/_Cache.php b/src/UserLists/Users/UserListPinnedResponse/_Meta/_Cache.php index e120b50e..69b3a819 100644 --- a/src/UserLists/Users/UserListPinnedResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserListPinnedResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserListPinnedResponse/_Meta/_Credits.php b/src/UserLists/Users/UserListPinnedResponse/_Meta/_Credits.php index 87515568..55ea19e2 100644 --- a/src/UserLists/Users/UserListPinnedResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserListPinnedResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserListPinnedResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserListPinnedResponse/_Meta/_RateLimits.php index 861669d0..1e03b0a6 100644 --- a/src/UserLists/Users/UserListPinnedResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserListPinnedResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListPinnedResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListPinnedResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserListResponse.php b/src/UserLists/Users/UserListResponse.php index ad0188b1..5007a4b8 100644 --- a/src/UserLists/Users/UserListResponse.php +++ b/src/UserLists/Users/UserListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data * * @phpstan-type UserListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserListResponse/Data.php b/src/UserLists/Users/UserListResponse/Data.php index 1c34ec5e..b5cffd61 100644 --- a/src/UserLists/Users/UserListResponse/Data.php +++ b/src/UserLists/Users/UserListResponse/Data.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse; +namespace OnlyFansAPI\UserLists\Users\UserListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; /** - * @phpstan-import-type ListShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_ + * @phpstan-import-type ListShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_ * * @phpstan-type DataShape = array{ * hasMore?: bool|null, list?: list|null, nextOffset?: int|null diff --git a/src/UserLists/Users/UserListResponse/Data/List_.php b/src/UserLists/Users/UserListResponse/Data/List_.php index 882b9fa5..5e16fe50 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_.php +++ b/src/UserLists/Users/UserListResponse/Data/List_.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\AvatarThumbs; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\HeaderSize; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\HeaderThumbs; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\ListsState; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\PromoOffer; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedByData; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\AvatarThumbs; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\HeaderSize; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\HeaderThumbs; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\ListsState; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\PromoOffer; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedByData; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\ListsState - * @phpstan-import-type PromoOfferShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\PromoOffer - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\ListsState + * @phpstan-import-type PromoOfferShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\PromoOffer + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/UserLists/Users/UserListResponse/Data/List_/AvatarThumbs.php b/src/UserLists/Users/UserListResponse/Data/List_/AvatarThumbs.php index b8be705c..4ab1ba79 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/AvatarThumbs.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/UserLists/Users/UserListResponse/Data/List_/HeaderSize.php b/src/UserLists/Users/UserListResponse/Data/List_/HeaderSize.php index 9f6c9a5f..943b22f3 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/HeaderSize.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/UserLists/Users/UserListResponse/Data/List_/HeaderThumbs.php b/src/UserLists/Users/UserListResponse/Data/List_/HeaderThumbs.php index 1fae92f5..493328be 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/HeaderThumbs.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/UserLists/Users/UserListResponse/Data/List_/ListsState.php b/src/UserLists/Users/UserListResponse/Data/List_/ListsState.php index 9c243c9a..d5d3cddd 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/ListsState.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/UserLists/Users/UserListResponse/Data/List_/PromoOffer.php b/src/UserLists/Users/UserListResponse/Data/List_/PromoOffer.php index d83b8b05..3c27220d 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/PromoOffer.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/PromoOffer.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type PromoOfferShape = array{ diff --git a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData.php b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData.php index 5f0e94bf..35b7c91c 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData/Subscribe.php b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData/Subscribe.php index 672ef063..50e40119 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData/Subscribe.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedByData; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData.php b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData.php index 64e04dd0..acb4838c 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData\Subscribe * * @phpstan-type SubscribedOnDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData/Subscribe.php b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData/Subscribe.php index d1f1f21a..3217c6e1 100644 --- a/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData/Subscribe.php +++ b/src/UserLists/Users/UserListResponse/Data/List_/SubscribedOnData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\Data\List_\SubscribedOnData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/UserLists/Users/UserListResponse/_Meta.php b/src/UserLists/Users/UserListResponse/_Meta.php index 9e133051..028a6e55 100644 --- a/src/UserLists/Users/UserListResponse/_Meta.php +++ b/src/UserLists/Users/UserListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse; +namespace OnlyFansAPI\UserLists\Users\UserListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserListResponse/_Meta/_Cache.php b/src/UserLists/Users/UserListResponse/_Meta/_Cache.php index 3f60e8fc..577ec431 100644 --- a/src/UserLists/Users/UserListResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserListResponse/_Meta/_Credits.php b/src/UserLists/Users/UserListResponse/_Meta/_Credits.php index b9008f3f..6dc138c8 100644 --- a/src/UserLists/Users/UserListResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserListResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserListResponse/_Meta/_RateLimits.php index 8e46d8f3..7f343950 100644 --- a/src/UserLists/Users/UserListResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserPinParams.php b/src/UserLists/Users/UserPinParams.php index 13244e2d..0b4b244e 100644 --- a/src/UserLists/Users/UserPinParams.php +++ b/src/UserLists/Users/UserPinParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Pin a user in any OnlyFans user list. * - * @see Onlyfansapi\Services\UserLists\UsersService::pin() + * @see OnlyFansAPI\Services\UserLists\UsersService::pin() * * @phpstan-type UserPinParamsShape = array{account: string, userListID: string} */ diff --git a/src/UserLists/Users/UserPinResponse.php b/src/UserLists/Users/UserPinResponse.php index 3c7373fb..3a8091a7 100644 --- a/src/UserLists/Users/UserPinResponse.php +++ b/src/UserLists/Users/UserPinResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserPinResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserPinResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserPinResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserPinResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserPinResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserPinResponse\Data * * @phpstan-type UserPinResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserPinResponse/Data.php b/src/UserLists/Users/UserPinResponse/Data.php index 37c4fe35..3fb90e8e 100644 --- a/src/UserLists/Users/UserPinResponse/Data.php +++ b/src/UserLists/Users/UserPinResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserPinResponse; +namespace OnlyFansAPI\UserLists\Users\UserPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{success?: bool|null} diff --git a/src/UserLists/Users/UserPinResponse/_Meta.php b/src/UserLists/Users/UserPinResponse/_Meta.php index 949a64e4..aaa23c13 100644 --- a/src/UserLists/Users/UserPinResponse/_Meta.php +++ b/src/UserLists/Users/UserPinResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserPinResponse; +namespace OnlyFansAPI\UserLists\Users\UserPinResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserPinResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserPinResponse/_Meta/_Cache.php b/src/UserLists/Users/UserPinResponse/_Meta/_Cache.php index b7103a3f..ac57d2d6 100644 --- a/src/UserLists/Users/UserPinResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserPinResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserPinResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserPinResponse/_Meta/_Credits.php b/src/UserLists/Users/UserPinResponse/_Meta/_Credits.php index 9976d140..4c602258 100644 --- a/src/UserLists/Users/UserPinResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserPinResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserPinResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserPinResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserPinResponse/_Meta/_RateLimits.php index f5428f5f..e1d5fb72 100644 --- a/src/UserLists/Users/UserPinResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserPinResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserPinResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserPinResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/UserLists/Users/UserRemoveParams.php b/src/UserLists/Users/UserRemoveParams.php index b4298080..27b071a0 100644 --- a/src/UserLists/Users/UserRemoveParams.php +++ b/src/UserLists/Users/UserRemoveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Remove User from OnlyFans User List. * - * @see Onlyfansapi\Services\UserLists\UsersService::remove() + * @see OnlyFansAPI\Services\UserLists\UsersService::remove() * * @phpstan-type UserRemoveParamsShape = array{account: string, userListID: string} */ diff --git a/src/UserLists/Users/UserRemoveResponse.php b/src/UserLists/Users/UserRemoveResponse.php index 7582c569..58fec80a 100644 --- a/src/UserLists/Users/UserRemoveResponse.php +++ b/src/UserLists/Users/UserRemoveResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users; +namespace OnlyFansAPI\UserLists\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data * * @phpstan-type UserRemoveResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/UserLists/Users/UserRemoveResponse/Data.php b/src/UserLists/Users/UserRemoveResponse/Data.php index 18b07814..dc578aae 100644 --- a/src/UserLists/Users/UserRemoveResponse/Data.php +++ b/src/UserLists/Users/UserRemoveResponse/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\UserState; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\UserState; /** - * @phpstan-import-type ListShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_ - * @phpstan-import-type UserStateShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\UserState + * @phpstan-import-type ListShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_ + * @phpstan-import-type UserStateShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\UserState * * @phpstan-type DataShape = array{ * list?: null|List_|ListShape, userState?: null|UserState|UserStateShape diff --git a/src/UserLists/Users/UserRemoveResponse/Data/List_.php b/src/UserLists/Users/UserRemoveResponse/Data/List_.php index 40f1d1b0..b30453e9 100644 --- a/src/UserLists/Users/UserRemoveResponse/Data/List_.php +++ b/src/UserLists/Users/UserRemoveResponse/Data/List_.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\Data; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_\User; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_\User; /** - * @phpstan-import-type UserShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_\User + * @phpstan-import-type UserShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_\User * * @phpstan-type ListShape = array{ * id?: int|null, diff --git a/src/UserLists/Users/UserRemoveResponse/Data/List_/User.php b/src/UserLists/Users/UserRemoveResponse/Data/List_/User.php index 4967fef0..f67c0e4e 100644 --- a/src/UserLists/Users/UserRemoveResponse/Data/List_/User.php +++ b/src/UserLists/Users/UserRemoveResponse/Data/List_/User.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_\User\AvatarThumbs; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_\User\AvatarThumbs; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_\User\AvatarThumbs + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_\User\AvatarThumbs * * @phpstan-type UserShape = array{ * id?: int|null, diff --git a/src/UserLists/Users/UserRemoveResponse/Data/List_/User/AvatarThumbs.php b/src/UserLists/Users/UserRemoveResponse/Data/List_/User/AvatarThumbs.php index aa6e2547..24554bef 100644 --- a/src/UserLists/Users/UserRemoveResponse/Data/List_/User/AvatarThumbs.php +++ b/src/UserLists/Users/UserRemoveResponse/Data/List_/User/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\Data\List_\User; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data\List_\User; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/UserLists/Users/UserRemoveResponse/Data/UserState.php b/src/UserLists/Users/UserRemoveResponse/Data/UserState.php index aa6e154b..6f02a309 100644 --- a/src/UserLists/Users/UserRemoveResponse/Data/UserState.php +++ b/src/UserLists/Users/UserRemoveResponse/Data/UserState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\Data; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type UserStateShape = array{ diff --git a/src/UserLists/Users/UserRemoveResponse/_Meta.php b/src/UserLists/Users/UserRemoveResponse/_Meta.php index 1f8ac469..6a0394df 100644 --- a/src/UserLists/Users/UserRemoveResponse/_Meta.php +++ b/src/UserLists/Users/UserRemoveResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_Cache; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_Credits; -use Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/UserLists/Users/UserRemoveResponse/_Meta/_Cache.php b/src/UserLists/Users/UserRemoveResponse/_Meta/_Cache.php index 8544ae2c..bbda3f9e 100644 --- a/src/UserLists/Users/UserRemoveResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserRemoveResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/UserLists/Users/UserRemoveResponse/_Meta/_Credits.php b/src/UserLists/Users/UserRemoveResponse/_Meta/_Credits.php index 69e98ac0..b8dae246 100644 --- a/src/UserLists/Users/UserRemoveResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserRemoveResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/UserLists/Users/UserRemoveResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserRemoveResponse/_Meta/_RateLimits.php index cbc6fbbc..5f4be68c 100644 --- a/src/UserLists/Users/UserRemoveResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserRemoveResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\UserLists\Users\UserRemoveResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserRemoveResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/Block/BlockCreateParams.php b/src/Users/Block/BlockCreateParams.php index 6dcb54cc..3264e64f 100644 --- a/src/Users/Block/BlockCreateParams.php +++ b/src/Users/Block/BlockCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block; +namespace OnlyFansAPI\Users\Block; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Block user from accessing your profile. * - * @see Onlyfansapi\Services\Users\BlockService::create() + * @see OnlyFansAPI\Services\Users\BlockService::create() * * @phpstan-type BlockCreateParamsShape = array{account: string} */ diff --git a/src/Users/Block/BlockDeleteParams.php b/src/Users/Block/BlockDeleteParams.php index f1d7b300..172791c5 100644 --- a/src/Users/Block/BlockDeleteParams.php +++ b/src/Users/Block/BlockDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block; +namespace OnlyFansAPI\Users\Block; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unblock a previously blocked user. * - * @see Onlyfansapi\Services\Users\BlockService::delete() + * @see OnlyFansAPI\Services\Users\BlockService::delete() * * @phpstan-type BlockDeleteParamsShape = array{account: string} */ diff --git a/src/Users/Block/BlockDeleteResponse.php b/src/Users/Block/BlockDeleteResponse.php index e84599df..acdc73bb 100644 --- a/src/Users/Block/BlockDeleteResponse.php +++ b/src/Users/Block/BlockDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block; +namespace OnlyFansAPI\Users\Block; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data * * @phpstan-type BlockDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Block/BlockDeleteResponse/Data.php b/src/Users/Block/BlockDeleteResponse/Data.php index 6ffef82e..b09fb8e0 100644 --- a/src/Users/Block/BlockDeleteResponse/Data.php +++ b/src/Users/Block/BlockDeleteResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\HeaderSize; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\ListsState; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedByData; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedOnData; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\HeaderSize; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\ListsState; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedByData; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedOnData; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/Block/BlockDeleteResponse/Data/AvatarThumbs.php b/src/Users/Block/BlockDeleteResponse/Data/AvatarThumbs.php index b5ce5d20..062fce1e 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/AvatarThumbs.php +++ b/src/Users/Block/BlockDeleteResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/Block/BlockDeleteResponse/Data/HeaderSize.php b/src/Users/Block/BlockDeleteResponse/Data/HeaderSize.php index 964dfd56..10238be5 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/HeaderSize.php +++ b/src/Users/Block/BlockDeleteResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/Block/BlockDeleteResponse/Data/HeaderThumbs.php b/src/Users/Block/BlockDeleteResponse/Data/HeaderThumbs.php index a93dbccc..fc873a2a 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/HeaderThumbs.php +++ b/src/Users/Block/BlockDeleteResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/Block/BlockDeleteResponse/Data/ListsState.php b/src/Users/Block/BlockDeleteResponse/Data/ListsState.php index 260e2014..4cdafd01 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/ListsState.php +++ b/src/Users/Block/BlockDeleteResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData.php b/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData.php index c4efbdcc..ca5088a4 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData.php +++ b/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData/Subscribe.php b/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData/Subscribe.php index c26e92ef..e49189d8 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/Block/BlockDeleteResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/Block/BlockDeleteResponse/Data/SubscribedOnData.php b/src/Users/Block/BlockDeleteResponse/Data/SubscribedOnData.php index 15b0a203..e75e03ef 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/SubscribedOnData.php +++ b/src/Users/Block/BlockDeleteResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/Block/BlockDeleteResponse/Data/SubscriptionBundle.php b/src/Users/Block/BlockDeleteResponse/Data/SubscriptionBundle.php index b805ee15..c47dbaeb 100644 --- a/src/Users/Block/BlockDeleteResponse/Data/SubscriptionBundle.php +++ b/src/Users/Block/BlockDeleteResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Users/Block/BlockDeleteResponse/_Meta.php b/src/Users/Block/BlockDeleteResponse/_Meta.php index e8f83bd0..5019552e 100644 --- a/src/Users/Block/BlockDeleteResponse/_Meta.php +++ b/src/Users/Block/BlockDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/Block/BlockDeleteResponse/_Meta/_Cache.php b/src/Users/Block/BlockDeleteResponse/_Meta/_Cache.php index c017852f..d2e5ac3d 100644 --- a/src/Users/Block/BlockDeleteResponse/_Meta/_Cache.php +++ b/src/Users/Block/BlockDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Block/BlockDeleteResponse/_Meta/_Credits.php b/src/Users/Block/BlockDeleteResponse/_Meta/_Credits.php index 93351e93..b1ab1022 100644 --- a/src/Users/Block/BlockDeleteResponse/_Meta/_Credits.php +++ b/src/Users/Block/BlockDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Block/BlockDeleteResponse/_Meta/_RateLimits.php b/src/Users/Block/BlockDeleteResponse/_Meta/_RateLimits.php index 6ce6c016..b7de065d 100644 --- a/src/Users/Block/BlockDeleteResponse/_Meta/_RateLimits.php +++ b/src/Users/Block/BlockDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/Block/BlockNewResponse.php b/src/Users/Block/BlockNewResponse.php index 388ec313..933db6e2 100644 --- a/src/Users/Block/BlockNewResponse.php +++ b/src/Users/Block/BlockNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block; +namespace OnlyFansAPI\Users\Block; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockNewResponse\_Meta; -use Onlyfansapi\Users\Block\BlockNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockNewResponse\_Meta; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Block\BlockNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Block\BlockNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data * * @phpstan-type BlockNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Block/BlockNewResponse/Data.php b/src/Users/Block/BlockNewResponse/Data.php index b3bc0788..2e4b2a3f 100644 --- a/src/Users/Block/BlockNewResponse/Data.php +++ b/src/Users/Block/BlockNewResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\HeaderSize; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\ListsState; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedByData; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedOnData; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Users\Block\BlockNewResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\HeaderSize; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\ListsState; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedByData; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedOnData; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/Block/BlockNewResponse/Data/AvatarThumbs.php b/src/Users/Block/BlockNewResponse/Data/AvatarThumbs.php index 7fff09e6..85e9607a 100644 --- a/src/Users/Block/BlockNewResponse/Data/AvatarThumbs.php +++ b/src/Users/Block/BlockNewResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/Block/BlockNewResponse/Data/HeaderSize.php b/src/Users/Block/BlockNewResponse/Data/HeaderSize.php index 614721b3..450c3af0 100644 --- a/src/Users/Block/BlockNewResponse/Data/HeaderSize.php +++ b/src/Users/Block/BlockNewResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/Block/BlockNewResponse/Data/HeaderThumbs.php b/src/Users/Block/BlockNewResponse/Data/HeaderThumbs.php index b781bed8..1b910a81 100644 --- a/src/Users/Block/BlockNewResponse/Data/HeaderThumbs.php +++ b/src/Users/Block/BlockNewResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/Block/BlockNewResponse/Data/ListsState.php b/src/Users/Block/BlockNewResponse/Data/ListsState.php index bc901b69..3541b11f 100644 --- a/src/Users/Block/BlockNewResponse/Data/ListsState.php +++ b/src/Users/Block/BlockNewResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/Block/BlockNewResponse/Data/SubscribedByData.php b/src/Users/Block/BlockNewResponse/Data/SubscribedByData.php index 0868f9fd..ace5a60a 100644 --- a/src/Users/Block/BlockNewResponse/Data/SubscribedByData.php +++ b/src/Users/Block/BlockNewResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/Block/BlockNewResponse/Data/SubscribedByData/Subscribe.php b/src/Users/Block/BlockNewResponse/Data/SubscribedByData/Subscribe.php index d5236af4..5e968a19 100644 --- a/src/Users/Block/BlockNewResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/Block/BlockNewResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/Block/BlockNewResponse/Data/SubscribedOnData.php b/src/Users/Block/BlockNewResponse/Data/SubscribedOnData.php index 2faefe61..063e2cc5 100644 --- a/src/Users/Block/BlockNewResponse/Data/SubscribedOnData.php +++ b/src/Users/Block/BlockNewResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/Block/BlockNewResponse/Data/SubscriptionBundle.php b/src/Users/Block/BlockNewResponse/Data/SubscriptionBundle.php index e4d8c618..5256eff3 100644 --- a/src/Users/Block/BlockNewResponse/Data/SubscriptionBundle.php +++ b/src/Users/Block/BlockNewResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\Data; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Users/Block/BlockNewResponse/_Meta.php b/src/Users/Block/BlockNewResponse/_Meta.php index 1f799076..48e9fa17 100644 --- a/src/Users/Block/BlockNewResponse/_Meta.php +++ b/src/Users/Block/BlockNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse; +namespace OnlyFansAPI\Users\Block\BlockNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_Cache; -use Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_Credits; -use Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_Credits; +use OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\Block\BlockNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\Block\BlockNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/Block/BlockNewResponse/_Meta/_Cache.php b/src/Users/Block/BlockNewResponse/_Meta/_Cache.php index b67a0446..b522751a 100644 --- a/src/Users/Block/BlockNewResponse/_Meta/_Cache.php +++ b/src/Users/Block/BlockNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Block/BlockNewResponse/_Meta/_Credits.php b/src/Users/Block/BlockNewResponse/_Meta/_Credits.php index 0633a58a..4b4e48ab 100644 --- a/src/Users/Block/BlockNewResponse/_Meta/_Credits.php +++ b/src/Users/Block/BlockNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Block/BlockNewResponse/_Meta/_RateLimits.php b/src/Users/Block/BlockNewResponse/_Meta/_RateLimits.php index 02eb5fdf..68397bfe 100644 --- a/src/Users/Block/BlockNewResponse/_Meta/_RateLimits.php +++ b/src/Users/Block/BlockNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Block\BlockNewResponse\_Meta; +namespace OnlyFansAPI\Users\Block\BlockNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/Restrict/RestrictCreateParams.php b/src/Users/Restrict/RestrictCreateParams.php index d0a8d31c..012101aa 100644 --- a/src/Users/Restrict/RestrictCreateParams.php +++ b/src/Users/Restrict/RestrictCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict; +namespace OnlyFansAPI\Users\Restrict; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Restrict a user. You will not see messages or comments from this them. * - * @see Onlyfansapi\Services\Users\RestrictService::create() + * @see OnlyFansAPI\Services\Users\RestrictService::create() * * @phpstan-type RestrictCreateParamsShape = array{account: string} */ diff --git a/src/Users/Restrict/RestrictDeleteParams.php b/src/Users/Restrict/RestrictDeleteParams.php index bf48ca1f..28d9c928 100644 --- a/src/Users/Restrict/RestrictDeleteParams.php +++ b/src/Users/Restrict/RestrictDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict; +namespace OnlyFansAPI\Users\Restrict; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unrestrict a previously restricted user. You will start seeing messages and comments from them again. * - * @see Onlyfansapi\Services\Users\RestrictService::delete() + * @see OnlyFansAPI\Services\Users\RestrictService::delete() * * @phpstan-type RestrictDeleteParamsShape = array{account: string} */ diff --git a/src/Users/Restrict/RestrictDeleteResponse.php b/src/Users/Restrict/RestrictDeleteResponse.php index a3e4e45e..c6797da4 100644 --- a/src/Users/Restrict/RestrictDeleteResponse.php +++ b/src/Users/Restrict/RestrictDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict; +namespace OnlyFansAPI\Users\Restrict; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data * * @phpstan-type RestrictDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data.php b/src/Users/Restrict/RestrictDeleteResponse/Data.php index 005b042d..503acd0b 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\HeaderSize; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\ListsState; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedOnData; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\HeaderSize; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\ListsState; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedOnData; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/AvatarThumbs.php b/src/Users/Restrict/RestrictDeleteResponse/Data/AvatarThumbs.php index 133e94d1..0c997daf 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/AvatarThumbs.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderSize.php b/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderSize.php index 581b5c3b..aef32337 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderSize.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderThumbs.php b/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderThumbs.php index c10465bf..9ef7bfed 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderThumbs.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/ListsState.php b/src/Users/Restrict/RestrictDeleteResponse/Data/ListsState.php index 50100df3..ded9b27d 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/ListsState.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData.php b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData.php index ae04a09a..9581bfa2 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData/Subscribe.php b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData/Subscribe.php index 73e9559c..8ec0a34a 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedOnData.php b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedOnData.php index f79545c9..dcd3aaf0 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedOnData.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscriptionBundle.php b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscriptionBundle.php index 37c291e3..d086f894 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/Data/SubscriptionBundle.php +++ b/src/Users/Restrict/RestrictDeleteResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Users/Restrict/RestrictDeleteResponse/_Meta.php b/src/Users/Restrict/RestrictDeleteResponse/_Meta.php index 16289363..77bf961f 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/_Meta.php +++ b/src/Users/Restrict/RestrictDeleteResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_Credits; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Cache.php b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Cache.php index b92d8362..3e9a9a01 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Cache.php +++ b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Credits.php b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Credits.php index bcea3a02..8c3ee7aa 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Credits.php +++ b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_RateLimits.php b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_RateLimits.php index 05d4200f..518bcc4d 100644 --- a/src/Users/Restrict/RestrictDeleteResponse/_Meta/_RateLimits.php +++ b/src/Users/Restrict/RestrictDeleteResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse.php b/src/Users/Restrict/RestrictNewResponse.php index 2f3c423b..d966fe69 100644 --- a/src/Users/Restrict/RestrictNewResponse.php +++ b/src/Users/Restrict/RestrictNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict; +namespace OnlyFansAPI\Users\Restrict; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data * * @phpstan-type RestrictNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Restrict/RestrictNewResponse/Data.php b/src/Users/Restrict/RestrictNewResponse/Data.php index 5a327d9b..41a17820 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data.php +++ b/src/Users/Restrict/RestrictNewResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\HeaderSize; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\ListsState; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedByData; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedOnData; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\HeaderSize; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\ListsState; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedByData; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedOnData; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/Restrict/RestrictNewResponse/Data/AvatarThumbs.php b/src/Users/Restrict/RestrictNewResponse/Data/AvatarThumbs.php index 301b7e04..f3f61932 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/AvatarThumbs.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/Restrict/RestrictNewResponse/Data/HeaderSize.php b/src/Users/Restrict/RestrictNewResponse/Data/HeaderSize.php index 9009387d..4f24ff3d 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/HeaderSize.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/Restrict/RestrictNewResponse/Data/HeaderThumbs.php b/src/Users/Restrict/RestrictNewResponse/Data/HeaderThumbs.php index eda2329a..88ea5975 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/HeaderThumbs.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/Restrict/RestrictNewResponse/Data/ListsState.php b/src/Users/Restrict/RestrictNewResponse/Data/ListsState.php index e08eecc7..7f5947ab 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/ListsState.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData.php b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData.php index 80e0ef36..986e05bd 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData/Subscribe.php b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData/Subscribe.php index 3c14a82f..4fd11863 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedOnData.php b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedOnData.php index ecaff4af..99aa61c0 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/SubscribedOnData.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse/Data/SubscriptionBundle.php b/src/Users/Restrict/RestrictNewResponse/Data/SubscriptionBundle.php index 038e8d24..d3a11153 100644 --- a/src/Users/Restrict/RestrictNewResponse/Data/SubscriptionBundle.php +++ b/src/Users/Restrict/RestrictNewResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\Data; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse/_Meta.php b/src/Users/Restrict/RestrictNewResponse/_Meta.php index cc8f6e10..be413eb5 100644 --- a/src/Users/Restrict/RestrictNewResponse/_Meta.php +++ b/src/Users/Restrict/RestrictNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_Cache; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_Credits; -use Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_Credits; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/Restrict/RestrictNewResponse/_Meta/_Cache.php b/src/Users/Restrict/RestrictNewResponse/_Meta/_Cache.php index 000e3c68..704ba4cc 100644 --- a/src/Users/Restrict/RestrictNewResponse/_Meta/_Cache.php +++ b/src/Users/Restrict/RestrictNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Restrict/RestrictNewResponse/_Meta/_Credits.php b/src/Users/Restrict/RestrictNewResponse/_Meta/_Credits.php index c64da3d8..1c813083 100644 --- a/src/Users/Restrict/RestrictNewResponse/_Meta/_Credits.php +++ b/src/Users/Restrict/RestrictNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Restrict/RestrictNewResponse/_Meta/_RateLimits.php b/src/Users/Restrict/RestrictNewResponse/_Meta/_RateLimits.php index 74e0911e..61cab43e 100644 --- a/src/Users/Restrict/RestrictNewResponse/_Meta/_RateLimits.php +++ b/src/Users/Restrict/RestrictNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Restrict\RestrictNewResponse\_Meta; +namespace OnlyFansAPI\Users\Restrict\RestrictNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/Subscribe/SubscribeCreateParams.php b/src/Users/Subscribe/SubscribeCreateParams.php index 5311d4c6..8f88181a 100644 --- a/src/Users/Subscribe/SubscribeCreateParams.php +++ b/src/Users/Subscribe/SubscribeCreateParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe; +namespace OnlyFansAPI\Users\Subscribe; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Subscribe to a user's profile. * - * @see Onlyfansapi\Services\Users\SubscribeService::create() + * @see OnlyFansAPI\Services\Users\SubscribeService::create() * * @phpstan-type SubscribeCreateParamsShape = array{account: string} */ diff --git a/src/Users/Subscribe/SubscribeDeleteParams.php b/src/Users/Subscribe/SubscribeDeleteParams.php index 0f414a53..2c105f3e 100644 --- a/src/Users/Subscribe/SubscribeDeleteParams.php +++ b/src/Users/Subscribe/SubscribeDeleteParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe; +namespace OnlyFansAPI\Users\Subscribe; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Unsubscribe from a user's profile. * - * @see Onlyfansapi\Services\Users\SubscribeService::delete() + * @see OnlyFansAPI\Services\Users\SubscribeService::delete() * * @phpstan-type SubscribeDeleteParamsShape = array{ * account: string, reason: string diff --git a/src/Users/Subscribe/SubscribeDeleteResponse.php b/src/Users/Subscribe/SubscribeDeleteResponse.php index d37ee4b9..ff2819ca 100644 --- a/src/Users/Subscribe/SubscribeDeleteResponse.php +++ b/src/Users/Subscribe/SubscribeDeleteResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe; +namespace OnlyFansAPI\Users\Subscribe; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\Data * * @phpstan-type SubscribeDeleteResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Subscribe/SubscribeDeleteResponse/Data.php b/src/Users/Subscribe/SubscribeDeleteResponse/Data.php index 974572e5..e22c147c 100644 --- a/src/Users/Subscribe/SubscribeDeleteResponse/Data.php +++ b/src/Users/Subscribe/SubscribeDeleteResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; +namespace OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{message?: string|null, success?: bool|null} diff --git a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta.php b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta.php index d639b730..0170ff32 100644 --- a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta.php +++ b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; +namespace OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Cache; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Credits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Credits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Credits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta\_Credits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, _credits?: null|_Credits|_CreditsShape diff --git a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Cache.php b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Cache.php index 628a2f22..4379e570 100644 --- a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Cache.php +++ b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Credits.php b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Credits.php index 4763f5fc..6e85b0aa 100644 --- a/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Credits.php +++ b/src/Users/Subscribe/SubscribeDeleteResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse\_Meta; +namespace OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Subscribe/SubscribeNewResponse.php b/src/Users/Subscribe/SubscribeNewResponse.php index 72098652..8f034847 100644 --- a/src/Users/Subscribe/SubscribeNewResponse.php +++ b/src/Users/Subscribe/SubscribeNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe; +namespace OnlyFansAPI\Users\Subscribe; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data * * @phpstan-type SubscribeNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data.php b/src/Users/Subscribe/SubscribeNewResponse/Data.php index fa4f4cb5..bf42bf13 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data.php @@ -2,23 +2,23 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\HeaderSize; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\ListsState; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\HeaderSize; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\ListsState; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/AvatarThumbs.php b/src/Users/Subscribe/SubscribeNewResponse/Data/AvatarThumbs.php index d3837258..a3246eaa 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/AvatarThumbs.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderSize.php b/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderSize.php index 7a17dfce..bbe2a98e 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderSize.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderThumbs.php b/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderThumbs.php index e4bafb88..b92a27bc 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderThumbs.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/ListsState.php b/src/Users/Subscribe/SubscribeNewResponse/Data/ListsState.php index f4d6f748..ebb6f29f 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/ListsState.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData.php b/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData.php index bbb42ec6..c4ad4096 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData/Subscribe.php b/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData/Subscribe.php index 618a66c6..88db2466 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/Subscribe/SubscribeNewResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/Subscribe/SubscribeNewResponse/_Meta.php b/src/Users/Subscribe/SubscribeNewResponse/_Meta.php index 8aeef06c..8aa73a15 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/_Meta.php +++ b/src/Users/Subscribe/SubscribeNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_Cache; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_Credits; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_Cache; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_Credits; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Cache.php b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Cache.php index 6e092d97..e483c0e2 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Cache.php +++ b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Credits.php b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Credits.php index ca1095ad..d6946593 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Credits.php +++ b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_RateLimits.php b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_RateLimits.php index 8f142bdc..dee4ce4d 100644 --- a/src/Users/Subscribe/SubscribeNewResponse/_Meta/_RateLimits.php +++ b/src/Users/Subscribe/SubscribeNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\Subscribe\SubscribeNewResponse\_Meta; +namespace OnlyFansAPI\Users\Subscribe\SubscribeNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/UserGetResponse.php b/src/Users/UserGetResponse.php index 92588caa..1a6f2be8 100644 --- a/src/Users/UserGetResponse.php +++ b/src/Users/UserGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users; +namespace OnlyFansAPI\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserGetResponse\_Meta; -use Onlyfansapi\Users\UserGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserGetResponse\_Meta; +use OnlyFansAPI\Users\UserGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\UserGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\UserGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\UserGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\UserGetResponse\Data * * @phpstan-type UserGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/UserGetResponse/Data.php b/src/Users/UserGetResponse/Data.php index 62ca641c..f758614f 100644 --- a/src/Users/UserGetResponse/Data.php +++ b/src/Users/UserGetResponse/Data.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse; - -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserGetResponse\Data\AvatarThumbs; -use Onlyfansapi\Users\UserGetResponse\Data\HeaderSize; -use Onlyfansapi\Users\UserGetResponse\Data\HeaderThumbs; -use Onlyfansapi\Users\UserGetResponse\Data\ListsState; -use Onlyfansapi\Users\UserGetResponse\Data\SubscribedByData; -use Onlyfansapi\Users\UserGetResponse\Data\SubscribedOnData; -use Onlyfansapi\Users\UserGetResponse\Data\SubscriptionBundle; +namespace OnlyFansAPI\Users\UserGetResponse; + +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserGetResponse\Data\AvatarThumbs; +use OnlyFansAPI\Users\UserGetResponse\Data\HeaderSize; +use OnlyFansAPI\Users\UserGetResponse\Data\HeaderThumbs; +use OnlyFansAPI\Users\UserGetResponse\Data\ListsState; +use OnlyFansAPI\Users\UserGetResponse\Data\SubscribedByData; +use OnlyFansAPI\Users\UserGetResponse\Data\SubscribedOnData; +use OnlyFansAPI\Users\UserGetResponse\Data\SubscriptionBundle; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\UserGetResponse\Data\AvatarThumbs - * @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Users\UserGetResponse\Data\HeaderSize - * @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Users\UserGetResponse\Data\HeaderThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\UserGetResponse\Data\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\UserGetResponse\Data\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\UserGetResponse\Data\SubscribedOnData - * @phpstan-import-type SubscriptionBundleShape from \Onlyfansapi\Users\UserGetResponse\Data\SubscriptionBundle + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\UserGetResponse\Data\AvatarThumbs + * @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Users\UserGetResponse\Data\HeaderSize + * @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Users\UserGetResponse\Data\HeaderThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\UserGetResponse\Data\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\UserGetResponse\Data\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\UserGetResponse\Data\SubscribedOnData + * @phpstan-import-type SubscriptionBundleShape from \OnlyFansAPI\Users\UserGetResponse\Data\SubscriptionBundle * * @phpstan-type DataShape = array{ * id?: int|null, diff --git a/src/Users/UserGetResponse/Data/AvatarThumbs.php b/src/Users/UserGetResponse/Data/AvatarThumbs.php index 0f8b1b0e..65bb178d 100644 --- a/src/Users/UserGetResponse/Data/AvatarThumbs.php +++ b/src/Users/UserGetResponse/Data/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/UserGetResponse/Data/HeaderSize.php b/src/Users/UserGetResponse/Data/HeaderSize.php index 973143ef..fece0f3d 100644 --- a/src/Users/UserGetResponse/Data/HeaderSize.php +++ b/src/Users/UserGetResponse/Data/HeaderSize.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderSizeShape = array{height?: int|null, width?: int|null} diff --git a/src/Users/UserGetResponse/Data/HeaderThumbs.php b/src/Users/UserGetResponse/Data/HeaderThumbs.php index 79ee1b6b..5022e255 100644 --- a/src/Users/UserGetResponse/Data/HeaderThumbs.php +++ b/src/Users/UserGetResponse/Data/HeaderThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type HeaderThumbsShape = array{w480?: string|null, w760?: string|null} diff --git a/src/Users/UserGetResponse/Data/ListsState.php b/src/Users/UserGetResponse/Data/ListsState.php index 67f75c98..494195ac 100644 --- a/src/Users/UserGetResponse/Data/ListsState.php +++ b/src/Users/UserGetResponse/Data/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/UserGetResponse/Data/SubscribedByData.php b/src/Users/UserGetResponse/Data/SubscribedByData.php index a92c156b..2b522585 100644 --- a/src/Users/UserGetResponse/Data/SubscribedByData.php +++ b/src/Users/UserGetResponse/Data/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserGetResponse\Data\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserGetResponse\Data\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\UserGetResponse\Data\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\UserGetResponse\Data\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/UserGetResponse/Data/SubscribedByData/Subscribe.php b/src/Users/UserGetResponse/Data/SubscribedByData/Subscribe.php index 948b49f3..a769063e 100644 --- a/src/Users/UserGetResponse/Data/SubscribedByData/Subscribe.php +++ b/src/Users/UserGetResponse/Data/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data\SubscribedByData; +namespace OnlyFansAPI\Users\UserGetResponse\Data\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/UserGetResponse/Data/SubscribedOnData.php b/src/Users/UserGetResponse/Data/SubscribedOnData.php index 8062b86c..6d045059 100644 --- a/src/Users/UserGetResponse/Data/SubscribedOnData.php +++ b/src/Users/UserGetResponse/Data/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/UserGetResponse/Data/SubscriptionBundle.php b/src/Users/UserGetResponse/Data/SubscriptionBundle.php index cdfbb0d4..9fd3f420 100644 --- a/src/Users/UserGetResponse/Data/SubscriptionBundle.php +++ b/src/Users/UserGetResponse/Data/SubscriptionBundle.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\Data; +namespace OnlyFansAPI\Users\UserGetResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscriptionBundleShape = array{ diff --git a/src/Users/UserGetResponse/_Meta.php b/src/Users/UserGetResponse/_Meta.php index 0772fd86..4ad75281 100644 --- a/src/Users/UserGetResponse/_Meta.php +++ b/src/Users/UserGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse; +namespace OnlyFansAPI\Users\UserGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserGetResponse\_Meta\_Cache; -use Onlyfansapi\Users\UserGetResponse\_Meta\_Credits; -use Onlyfansapi\Users\UserGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserGetResponse\_Meta\_Cache; +use OnlyFansAPI\Users\UserGetResponse\_Meta\_Credits; +use OnlyFansAPI\Users\UserGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\UserGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\UserGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\UserGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\UserGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\UserGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\UserGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/UserGetResponse/_Meta/_Cache.php b/src/Users/UserGetResponse/_Meta/_Cache.php index 274cfd0e..e9652d51 100644 --- a/src/Users/UserGetResponse/_Meta/_Cache.php +++ b/src/Users/UserGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\_Meta; +namespace OnlyFansAPI\Users\UserGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/UserGetResponse/_Meta/_Credits.php b/src/Users/UserGetResponse/_Meta/_Credits.php index e536b814..dfa98b4f 100644 --- a/src/Users/UserGetResponse/_Meta/_Credits.php +++ b/src/Users/UserGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\_Meta; +namespace OnlyFansAPI\Users\UserGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/UserGetResponse/_Meta/_RateLimits.php b/src/Users/UserGetResponse/_Meta/_RateLimits.php index 4fb338c4..9dc19726 100644 --- a/src/Users/UserGetResponse/_Meta/_RateLimits.php +++ b/src/Users/UserGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserGetResponse\_Meta; +namespace OnlyFansAPI\Users\UserGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/UserListParams.php b/src/Users/UserListParams.php index a6344f8c..ae036698 100644 --- a/src/Users/UserListParams.php +++ b/src/Users/UserListParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users; +namespace OnlyFansAPI\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Save on credits by getting up to 10 user details with a single request. User details are retrieved using the current `{account}` so fields like `subscribedOnData` which include potential subscription details will be included. * - * @see Onlyfansapi\Services\UsersService::list() + * @see OnlyFansAPI\Services\UsersService::list() * * @phpstan-type UserListParamsShape = array{ids: string} */ diff --git a/src/Users/UserListResponse.php b/src/Users/UserListResponse.php index f7000acb..fe7bdf11 100644 --- a/src/Users/UserListResponse.php +++ b/src/Users/UserListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users; +namespace OnlyFansAPI\Users; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserListResponse\_Meta; -use Onlyfansapi\Users\UserListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserListResponse\_Meta; +use OnlyFansAPI\Users\UserListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Users\UserListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Users\UserListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Users\UserListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Users\UserListResponse\Data * * @phpstan-type UserListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Users/UserListResponse/Data.php b/src/Users/UserListResponse/Data.php index f052c86c..199a2cbf 100644 --- a/src/Users/UserListResponse/Data.php +++ b/src/Users/UserListResponse/Data.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse; +namespace OnlyFansAPI\Users\UserListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserListResponse\Data\_1000000; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000; /** - * @phpstan-import-type _1000000Shape from \Onlyfansapi\Users\UserListResponse\Data\_1000000 + * @phpstan-import-type _1000000Shape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000 * * @phpstan-type DataShape = array{ - * _1000000?: null|\Onlyfansapi\Users\UserListResponse\Data\_1000000|_1000000Shape, + * _1000000?: null|\OnlyFansAPI\Users\UserListResponse\Data\_1000000|_1000000Shape, * } */ final class Data implements BaseModel diff --git a/src/Users/UserListResponse/Data/_1000000.php b/src/Users/UserListResponse/Data/_1000000.php index da7c6108..fba2c0f0 100644 --- a/src/Users/UserListResponse/Data/_1000000.php +++ b/src/Users/UserListResponse/Data/_1000000.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data; +namespace OnlyFansAPI\Users\UserListResponse\Data; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserListResponse\Data\_1000000\AvatarThumbs; -use Onlyfansapi\Users\UserListResponse\Data\_1000000\ListsState; -use Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedByData; -use Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedOnData; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000\AvatarThumbs; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000\ListsState; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedByData; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedOnData; /** - * @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Users\UserListResponse\Data\_1000000\AvatarThumbs - * @phpstan-import-type ListsStateShape from \Onlyfansapi\Users\UserListResponse\Data\_1000000\ListsState - * @phpstan-import-type SubscribedByDataShape from \Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedByData - * @phpstan-import-type SubscribedOnDataShape from \Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedOnData + * @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000\AvatarThumbs + * @phpstan-import-type ListsStateShape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000\ListsState + * @phpstan-import-type SubscribedByDataShape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedByData + * @phpstan-import-type SubscribedOnDataShape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedOnData * * @phpstan-type _1000000Shape = array{ * id?: int|null, diff --git a/src/Users/UserListResponse/Data/_1000000/AvatarThumbs.php b/src/Users/UserListResponse/Data/_1000000/AvatarThumbs.php index c4e72669..2a206438 100644 --- a/src/Users/UserListResponse/Data/_1000000/AvatarThumbs.php +++ b/src/Users/UserListResponse/Data/_1000000/AvatarThumbs.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data\_1000000; +namespace OnlyFansAPI\Users\UserListResponse\Data\_1000000; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type AvatarThumbsShape = array{c144?: string|null, c50?: string|null} diff --git a/src/Users/UserListResponse/Data/_1000000/ListsState.php b/src/Users/UserListResponse/Data/_1000000/ListsState.php index 28a26cd1..2cea6291 100644 --- a/src/Users/UserListResponse/Data/_1000000/ListsState.php +++ b/src/Users/UserListResponse/Data/_1000000/ListsState.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data\_1000000; +namespace OnlyFansAPI\Users\UserListResponse\Data\_1000000; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type ListsStateShape = array{ diff --git a/src/Users/UserListResponse/Data/_1000000/SubscribedByData.php b/src/Users/UserListResponse/Data/_1000000/SubscribedByData.php index fd6c73de..a8e0aa95 100644 --- a/src/Users/UserListResponse/Data/_1000000/SubscribedByData.php +++ b/src/Users/UserListResponse/Data/_1000000/SubscribedByData.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data\_1000000; +namespace OnlyFansAPI\Users\UserListResponse\Data\_1000000; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedByData\Subscribe; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedByData\Subscribe; /** - * @phpstan-import-type SubscribeShape from \Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedByData\Subscribe + * @phpstan-import-type SubscribeShape from \OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedByData\Subscribe * * @phpstan-type SubscribedByDataShape = array{ * discountFinishedAt?: string|null, diff --git a/src/Users/UserListResponse/Data/_1000000/SubscribedByData/Subscribe.php b/src/Users/UserListResponse/Data/_1000000/SubscribedByData/Subscribe.php index e7405673..3d32cc0f 100644 --- a/src/Users/UserListResponse/Data/_1000000/SubscribedByData/Subscribe.php +++ b/src/Users/UserListResponse/Data/_1000000/SubscribedByData/Subscribe.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data\_1000000\SubscribedByData; +namespace OnlyFansAPI\Users\UserListResponse\Data\_1000000\SubscribedByData; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribeShape = array{ diff --git a/src/Users/UserListResponse/Data/_1000000/SubscribedOnData.php b/src/Users/UserListResponse/Data/_1000000/SubscribedOnData.php index 797c828b..8a7133d4 100644 --- a/src/Users/UserListResponse/Data/_1000000/SubscribedOnData.php +++ b/src/Users/UserListResponse/Data/_1000000/SubscribedOnData.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\Data\_1000000; +namespace OnlyFansAPI\Users\UserListResponse\Data\_1000000; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type SubscribedOnDataShape = array{ diff --git a/src/Users/UserListResponse/_Meta.php b/src/Users/UserListResponse/_Meta.php index 8f9b146e..0cce9712 100644 --- a/src/Users/UserListResponse/_Meta.php +++ b/src/Users/UserListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse; +namespace OnlyFansAPI\Users\UserListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Users\UserListResponse\_Meta\_Cache; -use Onlyfansapi\Users\UserListResponse\_Meta\_Credits; -use Onlyfansapi\Users\UserListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Users\UserListResponse\_Meta\_Cache; +use OnlyFansAPI\Users\UserListResponse\_Meta\_Credits; +use OnlyFansAPI\Users\UserListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Users\UserListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Users\UserListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Users\UserListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Users\UserListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Users\UserListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Users\UserListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Users/UserListResponse/_Meta/_Cache.php b/src/Users/UserListResponse/_Meta/_Cache.php index fb7900f8..4eaae2e7 100644 --- a/src/Users/UserListResponse/_Meta/_Cache.php +++ b/src/Users/UserListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Users/UserListResponse/_Meta/_Credits.php b/src/Users/UserListResponse/_Meta/_Credits.php index 0c827abb..b0aeacb8 100644 --- a/src/Users/UserListResponse/_Meta/_Credits.php +++ b/src/Users/UserListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Users/UserListResponse/_Meta/_RateLimits.php b/src/Users/UserListResponse/_Meta/_RateLimits.php index b24c3ff3..0812039e 100644 --- a/src/Users/UserListResponse/_Meta/_RateLimits.php +++ b/src/Users/UserListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Users\UserListResponse\_Meta; +namespace OnlyFansAPI\Users\UserListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Users/UserRetrieveParams.php b/src/Users/UserRetrieveParams.php index d7bb62c7..1f6380fd 100644 --- a/src/Users/UserRetrieveParams.php +++ b/src/Users/UserRetrieveParams.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Users; +namespace OnlyFansAPI\Users; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Get OnlyFans Profile details for a given username. User details are retrieved using the current `{account}` so fields like `subscribedOnData` which include potential subscription details will be included. * - * @see Onlyfansapi\Services\UsersService::retrieve() + * @see OnlyFansAPI\Services\UsersService::retrieve() * * @phpstan-type UserRetrieveParamsShape = array{account: string} */ diff --git a/src/Version.php b/src/Version.php index 7500ce37..809f4cf0 100644 --- a/src/Version.php +++ b/src/Version.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Onlyfansapi; +namespace OnlyFansAPI; // x-release-please-start-version const VERSION = '0.2.0'; diff --git a/src/Webhooks/WebhookCreateParams.php b/src/Webhooks/WebhookCreateParams.php index 61a0962a..7305ea39 100644 --- a/src/Webhooks/WebhookCreateParams.php +++ b/src/Webhooks/WebhookCreateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Create a new webhook for your Team. * - * @see Onlyfansapi\Services\WebhooksService::create() + * @see OnlyFansAPI\Services\WebhooksService::create() * * @phpstan-type WebhookCreateParamsShape = array{ * accountScope: string, diff --git a/src/Webhooks/WebhookGetResponse.php b/src/Webhooks/WebhookGetResponse.php index ad253d3b..6bf90978 100644 --- a/src/Webhooks/WebhookGetResponse.php +++ b/src/Webhooks/WebhookGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookGetResponse\_Meta; -use Onlyfansapi\Webhooks\WebhookGetResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta; +use OnlyFansAPI\Webhooks\WebhookGetResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Webhooks\WebhookGetResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Webhooks\WebhookGetResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Webhooks\WebhookGetResponse\Data * * @phpstan-type WebhookGetResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Webhooks/WebhookGetResponse/Data.php b/src/Webhooks/WebhookGetResponse/Data.php index 625d1f09..49a7534f 100644 --- a/src/Webhooks/WebhookGetResponse/Data.php +++ b/src/Webhooks/WebhookGetResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookGetResponse; +namespace OnlyFansAPI\Webhooks\WebhookGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Webhooks/WebhookGetResponse/_Meta.php b/src/Webhooks/WebhookGetResponse/_Meta.php index 93f058dd..ae1f14b7 100644 --- a/src/Webhooks/WebhookGetResponse/_Meta.php +++ b/src/Webhooks/WebhookGetResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookGetResponse; +namespace OnlyFansAPI\Webhooks\WebhookGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_Cache; -use Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_Credits; -use Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_Cache; +use OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_Credits; +use OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Webhooks\WebhookGetResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Webhooks/WebhookGetResponse/_Meta/_Cache.php b/src/Webhooks/WebhookGetResponse/_Meta/_Cache.php index 5ad5f435..8dd10b60 100644 --- a/src/Webhooks/WebhookGetResponse/_Meta/_Cache.php +++ b/src/Webhooks/WebhookGetResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookGetResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Webhooks/WebhookGetResponse/_Meta/_Credits.php b/src/Webhooks/WebhookGetResponse/_Meta/_Credits.php index e5b430b0..b9fdf9d6 100644 --- a/src/Webhooks/WebhookGetResponse/_Meta/_Credits.php +++ b/src/Webhooks/WebhookGetResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookGetResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Webhooks/WebhookGetResponse/_Meta/_RateLimits.php b/src/Webhooks/WebhookGetResponse/_Meta/_RateLimits.php index 7890edae..78befc8c 100644 --- a/src/Webhooks/WebhookGetResponse/_Meta/_RateLimits.php +++ b/src/Webhooks/WebhookGetResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookGetResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookGetResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Webhooks/WebhookListEventsResponse.php b/src/Webhooks/WebhookListEventsResponse.php index 6ab81df3..5f7ce8c4 100644 --- a/src/Webhooks/WebhookListEventsResponse.php +++ b/src/Webhooks/WebhookListEventsResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta; -use Onlyfansapi\Webhooks\WebhookListEventsResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Webhooks\WebhookListEventsResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Webhooks\WebhookListEventsResponse\Data * * @phpstan-type WebhookListEventsResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Webhooks/WebhookListEventsResponse/Data.php b/src/Webhooks/WebhookListEventsResponse/Data.php index e21dd5dd..10fb95c9 100644 --- a/src/Webhooks/WebhookListEventsResponse/Data.php +++ b/src/Webhooks/WebhookListEventsResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListEventsResponse; +namespace OnlyFansAPI\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{description?: string|null, value?: string|null} diff --git a/src/Webhooks/WebhookListEventsResponse/_Meta.php b/src/Webhooks/WebhookListEventsResponse/_Meta.php index 843d58c0..05a1e7ec 100644 --- a/src/Webhooks/WebhookListEventsResponse/_Meta.php +++ b/src/Webhooks/WebhookListEventsResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListEventsResponse; +namespace OnlyFansAPI\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_Cache; -use Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_Credits; -use Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_Cache; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_Credits; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Webhooks/WebhookListEventsResponse/_Meta/_Cache.php b/src/Webhooks/WebhookListEventsResponse/_Meta/_Cache.php index 9f19275f..43a12769 100644 --- a/src/Webhooks/WebhookListEventsResponse/_Meta/_Cache.php +++ b/src/Webhooks/WebhookListEventsResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Webhooks/WebhookListEventsResponse/_Meta/_Credits.php b/src/Webhooks/WebhookListEventsResponse/_Meta/_Credits.php index ccbb6272..85cfff74 100644 --- a/src/Webhooks/WebhookListEventsResponse/_Meta/_Credits.php +++ b/src/Webhooks/WebhookListEventsResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Webhooks/WebhookListEventsResponse/_Meta/_RateLimits.php b/src/Webhooks/WebhookListEventsResponse/_Meta/_RateLimits.php index a35086d2..a470dab5 100644 --- a/src/Webhooks/WebhookListEventsResponse/_Meta/_RateLimits.php +++ b/src/Webhooks/WebhookListEventsResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListEventsResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListEventsResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Webhooks/WebhookListResponse.php b/src/Webhooks/WebhookListResponse.php index 005916d1..6086d4fb 100644 --- a/src/Webhooks/WebhookListResponse.php +++ b/src/Webhooks/WebhookListResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookListResponse\_Meta; -use Onlyfansapi\Webhooks\WebhookListResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookListResponse\_Meta; +use OnlyFansAPI\Webhooks\WebhookListResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Webhooks\WebhookListResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Webhooks\WebhookListResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Webhooks\WebhookListResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Webhooks\WebhookListResponse\Data * * @phpstan-type WebhookListResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: list|null diff --git a/src/Webhooks/WebhookListResponse/Data.php b/src/Webhooks/WebhookListResponse/Data.php index 8514d3bc..1da24714 100644 --- a/src/Webhooks/WebhookListResponse/Data.php +++ b/src/Webhooks/WebhookListResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListResponse; +namespace OnlyFansAPI\Webhooks\WebhookListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Webhooks/WebhookListResponse/_Meta.php b/src/Webhooks/WebhookListResponse/_Meta.php index d40a1a69..3263a6ab 100644 --- a/src/Webhooks/WebhookListResponse/_Meta.php +++ b/src/Webhooks/WebhookListResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListResponse; +namespace OnlyFansAPI\Webhooks\WebhookListResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_Cache; -use Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_Credits; -use Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_Cache; +use OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_Credits; +use OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Webhooks\WebhookListResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Webhooks\WebhookListResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Webhooks/WebhookListResponse/_Meta/_Cache.php b/src/Webhooks/WebhookListResponse/_Meta/_Cache.php index 629d5b78..0472b3b3 100644 --- a/src/Webhooks/WebhookListResponse/_Meta/_Cache.php +++ b/src/Webhooks/WebhookListResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Webhooks/WebhookListResponse/_Meta/_Credits.php b/src/Webhooks/WebhookListResponse/_Meta/_Credits.php index 5f7b4856..09d21f6e 100644 --- a/src/Webhooks/WebhookListResponse/_Meta/_Credits.php +++ b/src/Webhooks/WebhookListResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Webhooks/WebhookListResponse/_Meta/_RateLimits.php b/src/Webhooks/WebhookListResponse/_Meta/_RateLimits.php index 79816cf1..244c85dd 100644 --- a/src/Webhooks/WebhookListResponse/_Meta/_RateLimits.php +++ b/src/Webhooks/WebhookListResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookListResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookListResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Webhooks/WebhookNewResponse.php b/src/Webhooks/WebhookNewResponse.php index dbe04724..37b13b10 100644 --- a/src/Webhooks/WebhookNewResponse.php +++ b/src/Webhooks/WebhookNewResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookNewResponse\_Meta; -use Onlyfansapi\Webhooks\WebhookNewResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta; +use OnlyFansAPI\Webhooks\WebhookNewResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Webhooks\WebhookNewResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Webhooks\WebhookNewResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Webhooks\WebhookNewResponse\Data * * @phpstan-type WebhookNewResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Webhooks/WebhookNewResponse/Data.php b/src/Webhooks/WebhookNewResponse/Data.php index 7e64778e..3da6dd26 100644 --- a/src/Webhooks/WebhookNewResponse/Data.php +++ b/src/Webhooks/WebhookNewResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookNewResponse; +namespace OnlyFansAPI\Webhooks\WebhookNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Webhooks/WebhookNewResponse/_Meta.php b/src/Webhooks/WebhookNewResponse/_Meta.php index de3ecd03..727dcf98 100644 --- a/src/Webhooks/WebhookNewResponse/_Meta.php +++ b/src/Webhooks/WebhookNewResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookNewResponse; +namespace OnlyFansAPI\Webhooks\WebhookNewResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_Cache; -use Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_Credits; -use Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_Cache; +use OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_Credits; +use OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Webhooks\WebhookNewResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Webhooks/WebhookNewResponse/_Meta/_Cache.php b/src/Webhooks/WebhookNewResponse/_Meta/_Cache.php index 1fd7ef63..0dfcc058 100644 --- a/src/Webhooks/WebhookNewResponse/_Meta/_Cache.php +++ b/src/Webhooks/WebhookNewResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookNewResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Webhooks/WebhookNewResponse/_Meta/_Credits.php b/src/Webhooks/WebhookNewResponse/_Meta/_Credits.php index 68414fcb..a2b879f5 100644 --- a/src/Webhooks/WebhookNewResponse/_Meta/_Credits.php +++ b/src/Webhooks/WebhookNewResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookNewResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Webhooks/WebhookNewResponse/_Meta/_RateLimits.php b/src/Webhooks/WebhookNewResponse/_Meta/_RateLimits.php index 8ab7af6d..7ee644bc 100644 --- a/src/Webhooks/WebhookNewResponse/_Meta/_RateLimits.php +++ b/src/Webhooks/WebhookNewResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookNewResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookNewResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Webhooks/WebhookUpdateParams.php b/src/Webhooks/WebhookUpdateParams.php index 0912c0c4..aec630b1 100644 --- a/src/Webhooks/WebhookUpdateParams.php +++ b/src/Webhooks/WebhookUpdateParams.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Concerns\SdkParams; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Concerns\SdkParams; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * Update an existing webhook. * - * @see Onlyfansapi\Services\WebhooksService::update() + * @see OnlyFansAPI\Services\WebhooksService::update() * * @phpstan-type WebhookUpdateParamsShape = array{ * accountScope: string, diff --git a/src/Webhooks/WebhookUpdateResponse.php b/src/Webhooks/WebhookUpdateResponse.php index 7cda9fea..d86f7265 100644 --- a/src/Webhooks/WebhookUpdateResponse.php +++ b/src/Webhooks/WebhookUpdateResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks; +namespace OnlyFansAPI\Webhooks; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta; -use Onlyfansapi\Webhooks\WebhookUpdateResponse\Data; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse\Data; /** - * @phpstan-import-type _MetaShape from \Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta - * @phpstan-import-type DataShape from \Onlyfansapi\Webhooks\WebhookUpdateResponse\Data + * @phpstan-import-type _MetaShape from \OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta + * @phpstan-import-type DataShape from \OnlyFansAPI\Webhooks\WebhookUpdateResponse\Data * * @phpstan-type WebhookUpdateResponseShape = array{ * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape diff --git a/src/Webhooks/WebhookUpdateResponse/Data.php b/src/Webhooks/WebhookUpdateResponse/Data.php index 14ea9dad..d29b2f00 100644 --- a/src/Webhooks/WebhookUpdateResponse/Data.php +++ b/src/Webhooks/WebhookUpdateResponse/Data.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookUpdateResponse; +namespace OnlyFansAPI\Webhooks\WebhookUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type DataShape = array{ diff --git a/src/Webhooks/WebhookUpdateResponse/_Meta.php b/src/Webhooks/WebhookUpdateResponse/_Meta.php index d3d312fa..4c675b62 100644 --- a/src/Webhooks/WebhookUpdateResponse/_Meta.php +++ b/src/Webhooks/WebhookUpdateResponse/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookUpdateResponse; +namespace OnlyFansAPI\Webhooks\WebhookUpdateResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_Cache; -use Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_Credits; -use Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_RateLimits; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_Cache; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_Credits; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_RateLimits; /** - * @phpstan-import-type _CacheShape from \Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_Cache - * @phpstan-import-type _CreditsShape from \Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_Credits - * @phpstan-import-type _RateLimitsShape from \Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta\_RateLimits + * @phpstan-import-type _CacheShape from \OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta\_RateLimits * * @phpstan-type _MetaShape = array{ * _cache?: null|_Cache|_CacheShape, diff --git a/src/Webhooks/WebhookUpdateResponse/_Meta/_Cache.php b/src/Webhooks/WebhookUpdateResponse/_Meta/_Cache.php index 8a131d3a..81d239af 100644 --- a/src/Webhooks/WebhookUpdateResponse/_Meta/_Cache.php +++ b/src/Webhooks/WebhookUpdateResponse/_Meta/_Cache.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CacheShape = array{isCached?: bool|null, note?: string|null} diff --git a/src/Webhooks/WebhookUpdateResponse/_Meta/_Credits.php b/src/Webhooks/WebhookUpdateResponse/_Meta/_Credits.php index 7a9907f4..216ba586 100644 --- a/src/Webhooks/WebhookUpdateResponse/_Meta/_Credits.php +++ b/src/Webhooks/WebhookUpdateResponse/_Meta/_Credits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _CreditsShape = array{ diff --git a/src/Webhooks/WebhookUpdateResponse/_Meta/_RateLimits.php b/src/Webhooks/WebhookUpdateResponse/_Meta/_RateLimits.php index 1be9201a..f054a1dd 100644 --- a/src/Webhooks/WebhookUpdateResponse/_Meta/_RateLimits.php +++ b/src/Webhooks/WebhookUpdateResponse/_Meta/_RateLimits.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Webhooks\WebhookUpdateResponse\_Meta; +namespace OnlyFansAPI\Webhooks\WebhookUpdateResponse\_Meta; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type _RateLimitsShape = array{ diff --git a/src/Whoami/WhoamiGetResponse.php b/src/Whoami/WhoamiGetResponse.php index f51ec4c4..682a9e32 100644 --- a/src/Whoami/WhoamiGetResponse.php +++ b/src/Whoami/WhoamiGetResponse.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Onlyfansapi\Whoami; +namespace OnlyFansAPI\Whoami; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; -use Onlyfansapi\Whoami\WhoamiGetResponse\APIKey; -use Onlyfansapi\Whoami\WhoamiGetResponse\Team; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Whoami\WhoamiGetResponse\APIKey; +use OnlyFansAPI\Whoami\WhoamiGetResponse\Team; /** - * @phpstan-import-type APIKeyShape from \Onlyfansapi\Whoami\WhoamiGetResponse\APIKey - * @phpstan-import-type TeamShape from \Onlyfansapi\Whoami\WhoamiGetResponse\Team + * @phpstan-import-type APIKeyShape from \OnlyFansAPI\Whoami\WhoamiGetResponse\APIKey + * @phpstan-import-type TeamShape from \OnlyFansAPI\Whoami\WhoamiGetResponse\Team * * @phpstan-type WhoamiGetResponseShape = array{ * apiKey?: null|APIKey|APIKeyShape, team?: null|Team|TeamShape diff --git a/src/Whoami/WhoamiGetResponse/APIKey.php b/src/Whoami/WhoamiGetResponse/APIKey.php index 2705abf5..76ffc3e1 100644 --- a/src/Whoami/WhoamiGetResponse/APIKey.php +++ b/src/Whoami/WhoamiGetResponse/APIKey.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Whoami\WhoamiGetResponse; +namespace OnlyFansAPI\Whoami\WhoamiGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type APIKeyShape = array{ diff --git a/src/Whoami/WhoamiGetResponse/Team.php b/src/Whoami/WhoamiGetResponse/Team.php index b88883d4..db1dafbb 100644 --- a/src/Whoami/WhoamiGetResponse/Team.php +++ b/src/Whoami/WhoamiGetResponse/Team.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Onlyfansapi\Whoami\WhoamiGetResponse; +namespace OnlyFansAPI\Whoami\WhoamiGetResponse; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; /** * @phpstan-type TeamShape = array{name?: string|null, slug?: string|null} diff --git a/tests/ClientTest.php b/tests/ClientTest.php index ffb69e50..3711ceef 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -4,7 +4,7 @@ use Http\Discovery\Psr17FactoryDiscovery; use Http\Mock\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\TestCase; /** @@ -26,7 +26,7 @@ public function testDefaultHeaders(): void $transporter->setDefaultResponse($mockRsp); - $client = new \Onlyfansapi\Client( + $client = new \OnlyFansAPI\Client( baseUrl: 'http://localhost', apiKey: 'My API Key', requestOptions: ['transporter' => $transporter], diff --git a/tests/Core/ModelTest.php b/tests/Core/ModelTest.php index 7c8fd6cd..54bb053c 100644 --- a/tests/Core/ModelTest.php +++ b/tests/Core/ModelTest.php @@ -2,10 +2,10 @@ namespace Tests\Core; -use Onlyfansapi\Core\Attributes\Optional; -use Onlyfansapi\Core\Attributes\Required; -use Onlyfansapi\Core\Concerns\SdkModel; -use Onlyfansapi\Core\Contracts\BaseModel; +use OnlyFansAPI\Core\Attributes\Optional; +use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Concerns\SdkModel; +use OnlyFansAPI\Core\Contracts\BaseModel; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Core/StreamingTransportTest.php b/tests/Core/StreamingTransportTest.php index 26b88d37..e339a383 100644 --- a/tests/Core/StreamingTransportTest.php +++ b/tests/Core/StreamingTransportTest.php @@ -4,9 +4,9 @@ use Http\Discovery\Psr17FactoryDiscovery; use Http\Mock\Client as MockClient; -use Onlyfansapi\Core\BaseClient; -use Onlyfansapi\Core\Util; -use Onlyfansapi\RequestOptions; +use OnlyFansAPI\Core\BaseClient; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\RequestOptions; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Core/UtilTest.php b/tests/Core/UtilTest.php index c1a0fb8d..e6a0b596 100644 --- a/tests/Core/UtilTest.php +++ b/tests/Core/UtilTest.php @@ -3,7 +3,7 @@ namespace Tests\Core; use Http\Discovery\Psr17FactoryDiscovery; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 06c44b45..545acc91 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -2,8 +2,8 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Analytics/Financial/ProfitabilityTest.php b/tests/Services/Analytics/Financial/ProfitabilityTest.php index acb183f7..96bcc2e1 100644 --- a/tests/Services/Analytics/Financial/ProfitabilityTest.php +++ b/tests/Services/Analytics/Financial/ProfitabilityTest.php @@ -2,8 +2,8 @@ namespace Tests\Services\Analytics\Financial; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Analytics/Financial/TransactionsTest.php b/tests/Services/Analytics/Financial/TransactionsTest.php index 9aeed27e..99e7203f 100644 --- a/tests/Services/Analytics/Financial/TransactionsTest.php +++ b/tests/Services/Analytics/Financial/TransactionsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\Analytics\Financial; -use Onlyfansapi\Analytics\Financial\Transactions\TransactionGetSummaryResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Analytics\Financial\Transactions\TransactionGetSummaryResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Analytics/FinancialTest.php b/tests/Services/Analytics/FinancialTest.php index 8abcd513..0911f195 100644 --- a/tests/Services/Analytics/FinancialTest.php +++ b/tests/Services/Analytics/FinancialTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\Analytics; -use Onlyfansapi\Analytics\Financial\FinancialGetForecastResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Analytics\Financial\FinancialGetForecastResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Analytics/SummaryTest.php b/tests/Services/Analytics/SummaryTest.php index c201be0d..93e74b9b 100644 --- a/tests/Services/Analytics/SummaryTest.php +++ b/tests/Services/Analytics/SummaryTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Analytics; -use Onlyfansapi\Analytics\Summary\SummaryGetEarningsOverviewResponse; -use Onlyfansapi\Analytics\Summary\SummaryGetPeriodComparisonResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Analytics\Summary\SummaryGetEarningsOverviewResponse; +use OnlyFansAPI\Analytics\Summary\SummaryGetPeriodComparisonResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/AuthenticateTest.php b/tests/Services/AuthenticateTest.php index 0770ac78..a836de13 100644 --- a/tests/Services/AuthenticateTest.php +++ b/tests/Services/AuthenticateTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Authenticate\AuthenticatePollStatusResponse; -use Onlyfansapi\Authenticate\AuthenticateReauthenticateResponse; -use Onlyfansapi\Authenticate\AuthenticateSend2faEmailResponse; -use Onlyfansapi\Authenticate\AuthenticateSubmit2faResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Authenticate\AuthenticatePollStatusResponse; +use OnlyFansAPI\Authenticate\AuthenticateReauthenticateResponse; +use OnlyFansAPI\Authenticate\AuthenticateSend2faEmailResponse; +use OnlyFansAPI\Authenticate\AuthenticateSubmit2faResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Banking/DetailsTest.php b/tests/Services/Banking/DetailsTest.php index 2fbe12de..c9a8c265 100644 --- a/tests/Services/Banking/DetailsTest.php +++ b/tests/Services/Banking/DetailsTest.php @@ -2,13 +2,13 @@ namespace Tests\Services\Banking; -use Onlyfansapi\Banking\Details\DetailGetAccountCountryDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetBankDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetDac7FormDetailsResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalAndTaxStatusResponse; -use Onlyfansapi\Banking\Details\DetailGetLegalFormDetailsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Banking\Details\DetailGetAccountCountryDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetBankDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetDac7FormDetailsResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalAndTaxStatusResponse; +use OnlyFansAPI\Banking\Details\DetailGetLegalFormDetailsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/BankingTest.php b/tests/Services/BankingTest.php index 71ee854e..1e7433b2 100644 --- a/tests/Services/BankingTest.php +++ b/tests/Services/BankingTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Banking\BankingListAvailablePayoutSystemsResponse; -use Onlyfansapi\Banking\BankingListCountriesResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Banking\BankingListAvailablePayoutSystemsResponse; +use OnlyFansAPI\Banking\BankingListCountriesResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/BundlesTest.php b/tests/Services/BundlesTest.php index 87787de9..e8492403 100644 --- a/tests/Services/BundlesTest.php +++ b/tests/Services/BundlesTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Bundles\BundleDeleteResponse; -use Onlyfansapi\Bundles\BundleListResponse; -use Onlyfansapi\Bundles\BundleNewResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Bundles\BundleDeleteResponse; +use OnlyFansAPI\Bundles\BundleListResponse; +use OnlyFansAPI\Bundles\BundleNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/ChargebacksTest.php b/tests/Services/ChargebacksTest.php index 372a15e9..eb330e5e 100644 --- a/tests/Services/ChargebacksTest.php +++ b/tests/Services/ChargebacksTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Chargebacks\ChargebackCalculateRatioResponse; -use Onlyfansapi\Chargebacks\ChargebackListResponse; -use Onlyfansapi\Chargebacks\ChargebackListStatisticsResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Chargebacks\ChargebackCalculateRatioResponse; +use OnlyFansAPI\Chargebacks\ChargebackListResponse; +use OnlyFansAPI\Chargebacks\ChargebackListStatisticsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Chats/MarkAllAsReadTest.php b/tests/Services/Chats/MarkAllAsReadTest.php index a2a89b66..e7bff37f 100644 --- a/tests/Services/Chats/MarkAllAsReadTest.php +++ b/tests/Services/Chats/MarkAllAsReadTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\Chats; -use Onlyfansapi\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Chats\MarkAllAsRead\MarkAllAsReadAllResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Chats/MessagesTest.php b/tests/Services/Chats/MessagesTest.php index 69b165f9..d83ef120 100644 --- a/tests/Services/Chats/MessagesTest.php +++ b/tests/Services/Chats/MessagesTest.php @@ -2,17 +2,17 @@ namespace Tests\Services\Chats; -use Onlyfansapi\Chats\Messages\MessageDeleteResponse; -use Onlyfansapi\Chats\Messages\MessageGetResponse; -use Onlyfansapi\Chats\Messages\MessageLikeResponse; -use Onlyfansapi\Chats\Messages\MessageListResponse; -use Onlyfansapi\Chats\Messages\MessagePinResponse; -use Onlyfansapi\Chats\Messages\MessageSearchResponse; -use Onlyfansapi\Chats\Messages\MessageSendResponse; -use Onlyfansapi\Chats\Messages\MessageUnlikeResponse; -use Onlyfansapi\Chats\Messages\MessageUnpinResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Chats\Messages\MessageDeleteResponse; +use OnlyFansAPI\Chats\Messages\MessageGetResponse; +use OnlyFansAPI\Chats\Messages\MessageLikeResponse; +use OnlyFansAPI\Chats\Messages\MessageListResponse; +use OnlyFansAPI\Chats\Messages\MessagePinResponse; +use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendResponse; +use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; +use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/ChatsTest.php b/tests/Services/ChatsTest.php index fa3f01b9..8402cc44 100644 --- a/tests/Services/ChatsTest.php +++ b/tests/Services/ChatsTest.php @@ -2,17 +2,17 @@ namespace Tests\Services; -use Onlyfansapi\Chats\ChatDeleteResponse; -use Onlyfansapi\Chats\ChatHideResponse; -use Onlyfansapi\Chats\ChatListMediaResponse; -use Onlyfansapi\Chats\ChatListResponse; -use Onlyfansapi\Chats\ChatMarkAsReadResponse; -use Onlyfansapi\Chats\ChatMarkAsUnreadResponse; -use Onlyfansapi\Chats\ChatMuteResponse; -use Onlyfansapi\Chats\ChatStartTypingResponse; -use Onlyfansapi\Chats\ChatUnmuteResponse; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Chats\ChatDeleteResponse; +use OnlyFansAPI\Chats\ChatHideResponse; +use OnlyFansAPI\Chats\ChatListMediaResponse; +use OnlyFansAPI\Chats\ChatListResponse; +use OnlyFansAPI\Chats\ChatMarkAsReadResponse; +use OnlyFansAPI\Chats\ChatMarkAsUnreadResponse; +use OnlyFansAPI\Chats\ChatMuteResponse; +use OnlyFansAPI\Chats\ChatStartTypingResponse; +use OnlyFansAPI\Chats\ChatUnmuteResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 734f85dc..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\ClientSessions\ClientSessionNewResponse; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Client; +use OnlyFansAPI\ClientSessions\ClientSessionNewResponse; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/DataExportsTest.php b/tests/Services/DataExportsTest.php index 4d23de24..60147a3c 100644 --- a/tests/Services/DataExportsTest.php +++ b/tests/Services/DataExportsTest.php @@ -2,14 +2,14 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\DataExports\DataExportCancelResponse; -use Onlyfansapi\DataExports\DataExportGetResponse; -use Onlyfansapi\DataExports\DataExportListResponse; -use Onlyfansapi\DataExports\DataExportNewResponse; -use Onlyfansapi\DataExports\DataExportRetryResponse; -use Onlyfansapi\DataExports\DataExportStartResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\DataExports\DataExportCancelResponse; +use OnlyFansAPI\DataExports\DataExportGetResponse; +use OnlyFansAPI\DataExports\DataExportListResponse; +use OnlyFansAPI\DataExports\DataExportNewResponse; +use OnlyFansAPI\DataExports\DataExportRetryResponse; +use OnlyFansAPI\DataExports\DataExportStartResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Engagement/Messages/DirectMessagesTest.php b/tests/Services/Engagement/Messages/DirectMessagesTest.php index 00594053..075326db 100644 --- a/tests/Services/Engagement/Messages/DirectMessagesTest.php +++ b/tests/Services/Engagement/Messages/DirectMessagesTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageChartResponse; -use Onlyfansapi\Engagement\Messages\DirectMessages\DirectMessageListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\DirectMessages\DirectMessageListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Engagement/Messages/MassMessagesTest.php b/tests/Services/Engagement/Messages/MassMessagesTest.php index 381590b1..30ef97b4 100644 --- a/tests/Services/Engagement/Messages/MassMessagesTest.php +++ b/tests/Services/Engagement/Messages/MassMessagesTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Engagement\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageChartResponse; -use Onlyfansapi\Engagement\Messages\MassMessages\MassMessageListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageChartResponse; +use OnlyFansAPI\Engagement\Messages\MassMessages\MassMessageListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 635dedd7..54120be1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Engagement; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Engagement\Messages\MessageGetMessageBuyersResponse; -use Onlyfansapi\Engagement\Messages\MessageGetTopMessageResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Engagement\Messages\MessageGetMessageBuyersResponse; +use OnlyFansAPI\Engagement\Messages\MessageGetTopMessageResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Fans/NotesTest.php b/tests/Services/Fans/NotesTest.php index 2e4937c8..da8f0d36 100644 --- a/tests/Services/Fans/NotesTest.php +++ b/tests/Services/Fans/NotesTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\Notes\NoteClearNotesResponse; -use Onlyfansapi\Fans\Notes\NoteGetNotesResponse; -use Onlyfansapi\Fans\Notes\NoteNewEditNotesResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\Notes\NoteClearNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteGetNotesResponse; +use OnlyFansAPI\Fans\Notes\NoteNewEditNotesResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Fans/SummaryTest.php b/tests/Services/Fans/SummaryTest.php index b35b1022..dd9a31cf 100644 --- a/tests/Services/Fans/SummaryTest.php +++ b/tests/Services/Fans/SummaryTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Fans; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\Summary\SummaryGenerateSummaryResponse; -use Onlyfansapi\Fans\Summary\SummaryGetSummaryResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\Summary\SummaryGenerateSummaryResponse; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/FansTest.php b/tests/Services/FansTest.php index d3d43310..a4ee2bf0 100644 --- a/tests/Services/FansTest.php +++ b/tests/Services/FansTest.php @@ -2,15 +2,15 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Fans\FanGetSubscriptionHistoryResponse; -use Onlyfansapi\Fans\FanListActiveResponse; -use Onlyfansapi\Fans\FanListAllResponse; -use Onlyfansapi\Fans\FanListExpiredResponse; -use Onlyfansapi\Fans\FanListLatestResponse; -use Onlyfansapi\Fans\FanListTopResponse; -use Onlyfansapi\Fans\FanSetCustomNameResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Fans\FanGetSubscriptionHistoryResponse; +use OnlyFansAPI\Fans\FanListActiveResponse; +use OnlyFansAPI\Fans\FanListAllResponse; +use OnlyFansAPI\Fans\FanListExpiredResponse; +use OnlyFansAPI\Fans\FanListLatestResponse; +use OnlyFansAPI\Fans\FanListTopResponse; +use OnlyFansAPI\Fans\FanSetCustomNameResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/FollowingTest.php b/tests/Services/FollowingTest.php index fd9fea46..2ff25e6c 100644 --- a/tests/Services/FollowingTest.php +++ b/tests/Services/FollowingTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Following\FollowingListActiveResponse; -use Onlyfansapi\Following\FollowingListAllResponse; -use Onlyfansapi\Following\FollowingListExpiredResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Following\FollowingListActiveResponse; +use OnlyFansAPI\Following\FollowingListAllResponse; +use OnlyFansAPI\Following\FollowingListExpiredResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/GiphyTest.php b/tests/Services/GiphyTest.php index cd642210..62bab563 100644 --- a/tests/Services/GiphyTest.php +++ b/tests/Services/GiphyTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Giphy\GiphyListTrendingResponse; -use Onlyfansapi\Giphy\GiphySearchResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Giphy\GiphyListTrendingResponse; +use OnlyFansAPI\Giphy\GiphySearchResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/LinkTagsTest.php b/tests/Services/LinkTagsTest.php index 36b21534..4c14e5cf 100644 --- a/tests/Services/LinkTagsTest.php +++ b/tests/Services/LinkTagsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\LinkTags\LinkTagListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\LinkTags\LinkTagListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/MassMessagingTest.php b/tests/Services/MassMessagingTest.php index df2e1142..e4696451 100644 --- a/tests/Services/MassMessagingTest.php +++ b/tests/Services/MassMessagingTest.php @@ -2,14 +2,14 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\MassMessaging\MassMessagingDeleteResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetOverviewResponse; -use Onlyfansapi\MassMessaging\MassMessagingGetResponse; -use Onlyfansapi\MassMessaging\MassMessagingListResponse; -use Onlyfansapi\MassMessaging\MassMessagingSendResponse; -use Onlyfansapi\MassMessaging\MassMessagingUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\MassMessaging\MassMessagingDeleteResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetOverviewResponse; +use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; +use OnlyFansAPI\MassMessaging\MassMessagingListResponse; +use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/MeTest.php b/tests/Services/MeTest.php index f32df806..22ca43b8 100644 --- a/tests/Services/MeTest.php +++ b/tests/Services/MeTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Me\MeGetModelStartDateResponse; -use Onlyfansapi\Me\MeGetResponse; -use Onlyfansapi\Me\MeGetTopPercentageResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Me\MeGetModelStartDateResponse; +use OnlyFansAPI\Me\MeGetResponse; +use OnlyFansAPI\Me\MeGetTopPercentageResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Media/UploadsTest.php b/tests/Services/Media/UploadsTest.php index 4e7f40ef..b7f7417b 100644 --- a/tests/Services/Media/UploadsTest.php +++ b/tests/Services/Media/UploadsTest.php @@ -2,8 +2,8 @@ namespace Tests\Services\Media; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index f663c669..c9134fac 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Media\Vault\Lists; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\Lists\Media\MediaAddResponse; -use Onlyfansapi\Media\Vault\Lists\Media\MediaRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaAddResponse; +use OnlyFansAPI\Media\Vault\Lists\Media\MediaRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Media/Vault/ListsTest.php b/tests/Services/Media/Vault/ListsTest.php index c9599285..16e27f56 100644 --- a/tests/Services/Media/Vault/ListsTest.php +++ b/tests/Services/Media/Vault/ListsTest.php @@ -2,13 +2,13 @@ namespace Tests\Services\Media\Vault; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\Lists\ListDeleteResponse; -use Onlyfansapi\Media\Vault\Lists\ListGetResponse; -use Onlyfansapi\Media\Vault\Lists\ListListResponse; -use Onlyfansapi\Media\Vault\Lists\ListNewResponse; -use Onlyfansapi\Media\Vault\Lists\ListUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\Lists\ListDeleteResponse; +use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; +use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Media/VaultTest.php b/tests/Services/Media/VaultTest.php index a4ca4c9c..9c125a49 100644 --- a/tests/Services/Media/VaultTest.php +++ b/tests/Services/Media/VaultTest.php @@ -2,12 +2,12 @@ namespace Tests\Services\Media; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\Vault\VaultDeleteResponse; -use Onlyfansapi\Media\Vault\VaultGetResponse; -use Onlyfansapi\Media\Vault\VaultListResponse; -use Onlyfansapi\Media\Vault\VaultUploadResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\Vault\VaultDeleteResponse; +use OnlyFansAPI\Media\Vault\VaultGetResponse; +use OnlyFansAPI\Media\Vault\VaultListResponse; +use OnlyFansAPI\Media\Vault\VaultUploadResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/MediaTest.php b/tests/Services/MediaTest.php index 8b797d94..c4986d30 100644 --- a/tests/Services/MediaTest.php +++ b/tests/Services/MediaTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Media\MediaScrapeResponse; -use Onlyfansapi\Media\MediaUploadResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Media\MediaScrapeResponse; +use OnlyFansAPI\Media\MediaUploadResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/MessagesTest.php b/tests/Services/MessagesTest.php index db96706c..4a5d634d 100644 --- a/tests/Services/MessagesTest.php +++ b/tests/Services/MessagesTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Messages\MessageAttachTagsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Messages\MessageAttachTagsResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Notifications/TabsOrderTest.php b/tests/Services/Notifications/TabsOrderTest.php index 2a682b2c..752b3001 100644 --- a/tests/Services/Notifications/TabsOrderTest.php +++ b/tests/Services/Notifications/TabsOrderTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Notifications; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderGetResponse; -use Onlyfansapi\Notifications\TabsOrder\TabsOrderUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderGetResponse; +use OnlyFansAPI\Notifications\TabsOrder\TabsOrderUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/NotificationsTest.php b/tests/Services/NotificationsTest.php index 543580e1..0e71ead6 100644 --- a/tests/Services/NotificationsTest.php +++ b/tests/Services/NotificationsTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Notifications\NotificationGetCountsResponse; -use Onlyfansapi\Notifications\NotificationListResponse; -use Onlyfansapi\Notifications\NotificationMarkAllAsReadResponse; -use Onlyfansapi\Notifications\NotificationSearchUsersResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Notifications\NotificationGetCountsResponse; +use OnlyFansAPI\Notifications\NotificationListResponse; +use OnlyFansAPI\Notifications\NotificationMarkAllAsReadResponse; +use OnlyFansAPI\Notifications\NotificationSearchUsersResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/PayoutsTest.php b/tests/Services/PayoutsTest.php index 54d08eb3..adbd16aa 100644 --- a/tests/Services/PayoutsTest.php +++ b/tests/Services/PayoutsTest.php @@ -2,13 +2,13 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Payouts\PayoutGetBalancesResponse; -use Onlyfansapi\Payouts\PayoutGetEarningStatisticsResponse; -use Onlyfansapi\Payouts\PayoutGetEligibilityResponse; -use Onlyfansapi\Payouts\PayoutListRequestsResponse; -use Onlyfansapi\Payouts\PayoutUpdateFrequencyResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Payouts\PayoutGetBalancesResponse; +use OnlyFansAPI\Payouts\PayoutGetEarningStatisticsResponse; +use OnlyFansAPI\Payouts\PayoutGetEligibilityResponse; +use OnlyFansAPI\Payouts\PayoutListRequestsResponse; +use OnlyFansAPI\Payouts\PayoutUpdateFrequencyResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 14aec52c..389a7f19 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -2,15 +2,15 @@ namespace Tests\Services\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\Comments\CommentDeleteResponse; -use Onlyfansapi\Posts\Comments\CommentLikeResponse; -use Onlyfansapi\Posts\Comments\CommentListResponse; -use Onlyfansapi\Posts\Comments\CommentNewResponse; -use Onlyfansapi\Posts\Comments\CommentPinResponse; -use Onlyfansapi\Posts\Comments\CommentUnlikeResponse; -use Onlyfansapi\Posts\Comments\CommentUnpinResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\Comments\CommentDeleteResponse; +use OnlyFansAPI\Posts\Comments\CommentLikeResponse; +use OnlyFansAPI\Posts\Comments\CommentListResponse; +use OnlyFansAPI\Posts\Comments\CommentNewResponse; +use OnlyFansAPI\Posts\Comments\CommentPinResponse; +use OnlyFansAPI\Posts\Comments\CommentUnlikeResponse; +use OnlyFansAPI\Posts\Comments\CommentUnpinResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Posts/LabelsTest.php b/tests/Services/Posts/LabelsTest.php index 5b2fe8f2..a8898fd4 100644 --- a/tests/Services/Posts/LabelsTest.php +++ b/tests/Services/Posts/LabelsTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\Labels\LabelListResponse; -use Onlyfansapi\Posts\Labels\LabelNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\Labels\LabelListResponse; +use OnlyFansAPI\Posts\Labels\LabelNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/PostsTest.php b/tests/Services/PostsTest.php index 4fcbc481..b4fdbf4d 100644 --- a/tests/Services/PostsTest.php +++ b/tests/Services/PostsTest.php @@ -2,16 +2,16 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Posts\PostArchiveResponse; -use Onlyfansapi\Posts\PostDeleteResponse; -use Onlyfansapi\Posts\PostGetResponse; -use Onlyfansapi\Posts\PostListResponse; -use Onlyfansapi\Posts\PostNewResponse; -use Onlyfansapi\Posts\PostPinResponse; -use Onlyfansapi\Posts\PostStatsResponse; -use Onlyfansapi\Posts\PostUnarchiveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostDeleteResponse; +use OnlyFansAPI\Posts\PostGetResponse; +use OnlyFansAPI\Posts\PostListResponse; +use OnlyFansAPI\Posts\PostNewResponse; +use OnlyFansAPI\Posts\PostPinResponse; +use OnlyFansAPI\Posts\PostStatsResponse; +use OnlyFansAPI\Posts\PostUnarchiveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/ProfilesTest.php b/tests/Services/ProfilesTest.php index 94cf308b..4ab0fffe 100644 --- a/tests/Services/ProfilesTest.php +++ b/tests/Services/ProfilesTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Profiles\ProfileGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Profiles\ProfileGetResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/PromotionsTest.php b/tests/Services/PromotionsTest.php index a7203d22..2338e2c9 100644 --- a/tests/Services/PromotionsTest.php +++ b/tests/Services/PromotionsTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Promotions\PromotionDeleteResponse; -use Onlyfansapi\Promotions\PromotionListResponse; -use Onlyfansapi\Promotions\PromotionNewResponse; -use Onlyfansapi\Promotions\PromotionStopResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Promotions\PromotionDeleteResponse; +use OnlyFansAPI\Promotions\PromotionListResponse; +use OnlyFansAPI\Promotions\PromotionNewResponse; +use OnlyFansAPI\Promotions\PromotionStopResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 27bdbd2c..68b0197b 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Queue\QueueCountResponse; -use Onlyfansapi\Queue\QueueListResponse; -use Onlyfansapi\Queue\QueuePublishResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListResponse; +use OnlyFansAPI\Queue\QueuePublishResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/ReleaseFormsTest.php b/tests/Services/ReleaseFormsTest.php index 4d21612e..38b7c413 100644 --- a/tests/Services/ReleaseFormsTest.php +++ b/tests/Services/ReleaseFormsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\ReleaseForms\ReleaseFormListTaggableUsersResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewInvitationLinkResponse; -use Onlyfansapi\ReleaseForms\ReleaseFormNewReleaseFormResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewInvitationLinkResponse; +use OnlyFansAPI\ReleaseForms\ReleaseFormNewReleaseFormResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index ed995402..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\SavedForLater\Messages; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; -use Onlyfansapi\SavedForLater\Messages\Settings\SettingGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingDisableAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingEnableOrUpdateAutomaticMessagingResponse; +use OnlyFansAPI\SavedForLater\Messages\Settings\SettingGetResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SavedForLater/MessagesTest.php b/tests/Services/SavedForLater/MessagesTest.php index 24660e69..743ca949 100644 --- a/tests/Services/SavedForLater/MessagesTest.php +++ b/tests/Services/SavedForLater/MessagesTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SavedForLater\Messages\MessageListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SavedForLater\Messages\MessageListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 6f693813..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\SavedForLater\Posts; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; -use Onlyfansapi\SavedForLater\Posts\Settings\SettingGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingDisableAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingEnableOrUpdateAutomaticPostingResponse; +use OnlyFansAPI\SavedForLater\Posts\Settings\SettingGetResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SavedForLater/PostsTest.php b/tests/Services/SavedForLater/PostsTest.php index 1c52cb92..e2a4eaa7 100644 --- a/tests/Services/SavedForLater/PostsTest.php +++ b/tests/Services/SavedForLater/PostsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\SavedForLater; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SavedForLater\Posts\PostListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SavedForLater\Posts\PostListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SearchTest.php b/tests/Services/SearchTest.php index f1312f0d..b8e1d9af 100644 --- a/tests/Services/SearchTest.php +++ b/tests/Services/SearchTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Search\SearchProfilesResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Search\SearchProfilesResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Settings/BlockedCountriesTest.php b/tests/Services/Settings/BlockedCountriesTest.php index 72d81208..93b196ed 100644 --- a/tests/Services/Settings/BlockedCountriesTest.php +++ b/tests/Services/Settings/BlockedCountriesTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryGetResponse; -use Onlyfansapi\Settings\BlockedCountries\BlockedCountryUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryGetResponse; +use OnlyFansAPI\Settings\BlockedCountries\BlockedCountryUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Settings/SocialMediaButtonsTest.php b/tests/Services/Settings/SocialMediaButtonsTest.php index 36e3fe75..c82d0950 100644 --- a/tests/Services/Settings/SocialMediaButtonsTest.php +++ b/tests/Services/Settings/SocialMediaButtonsTest.php @@ -2,13 +2,13 @@ namespace Tests\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonListResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; -use Onlyfansapi\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonAddResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonDeleteResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonListResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonReorderResponse; +use OnlyFansAPI\Settings\SocialMediaButtons\SocialMediaButtonUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Settings/WelcomeMessageTest.php b/tests/Services/Settings/WelcomeMessageTest.php index d34f7556..b7d8b3b2 100644 --- a/tests/Services/Settings/WelcomeMessageTest.php +++ b/tests/Services/Settings/WelcomeMessageTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\Settings; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageGetResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageToggleResponse; -use Onlyfansapi\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageGetResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageToggleResponse; +use OnlyFansAPI\Settings\WelcomeMessage\WelcomeMessageUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SettingsTest.php b/tests/Services/SettingsTest.php index 48fd6802..b94fc020 100644 --- a/tests/Services/SettingsTest.php +++ b/tests/Services/SettingsTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Settings\SettingCheckUsernameAvailabilityResponse; -use Onlyfansapi\Settings\SettingGetResponse; -use Onlyfansapi\Settings\SettingUpdateProfileResponse; -use Onlyfansapi\Settings\SettingUpdateSubscriptionPriceResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Settings\SettingCheckUsernameAvailabilityResponse; +use OnlyFansAPI\Settings\SettingGetResponse; +use OnlyFansAPI\Settings\SettingUpdateProfileResponse; +use OnlyFansAPI\Settings\SettingUpdateSubscriptionPriceResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SharedTrackingLinks/TagsTest.php b/tests/Services/SharedTrackingLinks/TagsTest.php index f9447a43..f29b55d9 100644 --- a/tests/Services/SharedTrackingLinks/TagsTest.php +++ b/tests/Services/SharedTrackingLinks/TagsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\SharedTrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SharedTrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrackingLinks\Tags\TagRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SharedTrackingLinksTest.php b/tests/Services/SharedTrackingLinksTest.php index 2028edf9..c5e67eed 100644 --- a/tests/Services/SharedTrackingLinksTest.php +++ b/tests/Services/SharedTrackingLinksTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkListResponse; -use Onlyfansapi\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SharedTrialLinks/TagsTest.php b/tests/Services/SharedTrialLinks/TagsTest.php index f1160e8d..a0d947c6 100644 --- a/tests/Services/SharedTrialLinks/TagsTest.php +++ b/tests/Services/SharedTrialLinks/TagsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\SharedTrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SharedTrialLinks\Tags\TagAddResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagListResponse; -use Onlyfansapi\SharedTrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SharedTrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagListResponse; +use OnlyFansAPI\SharedTrialLinks\Tags\TagRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SharedTrialLinksTest.php b/tests/Services/SharedTrialLinksTest.php index aaf30299..a9a827cb 100644 --- a/tests/Services/SharedTrialLinksTest.php +++ b/tests/Services/SharedTrialLinksTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkListResponse; -use Onlyfansapi\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SmartLinkPostbacksTest.php b/tests/Services/SmartLinkPostbacksTest.php index 008714a9..88d54928 100644 --- a/tests/Services/SmartLinkPostbacksTest.php +++ b/tests/Services/SmartLinkPostbacksTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackGetResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackListResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackNewResponse; -use Onlyfansapi\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index e179ef8b..3702bda1 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -2,17 +2,17 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\SmartLinks\SmartLinkDeleteResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetResponse; -use Onlyfansapi\SmartLinks\SmartLinkGetStatsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListClicksResponse; -use Onlyfansapi\SmartLinks\SmartLinkListConversionsResponse; -use Onlyfansapi\SmartLinks\SmartLinkListFansResponse; -use Onlyfansapi\SmartLinks\SmartLinkListResponse; -use Onlyfansapi\SmartLinks\SmartLinkListSpendersResponse; -use Onlyfansapi\SmartLinks\SmartLinkNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\SmartLinks\SmartLinkDeleteResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetResponse; +use OnlyFansAPI\SmartLinks\SmartLinkGetStatsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListClicksResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; +use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Statistics/ReachTest.php b/tests/Services/Statistics/ReachTest.php index f62ea72d..7efc3f5f 100644 --- a/tests/Services/Statistics/ReachTest.php +++ b/tests/Services/Statistics/ReachTest.php @@ -2,8 +2,8 @@ namespace Tests\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Statistics/StatementsTest.php b/tests/Services/Statistics/StatementsTest.php index 704a752d..d2e598d1 100644 --- a/tests/Services/Statistics/StatementsTest.php +++ b/tests/Services/Statistics/StatementsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services\Statistics; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Statistics\Statements\StatementGetEarningsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Statistics\Statements\StatementGetEarningsResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/StatisticsTest.php b/tests/Services/StatisticsTest.php index 36638cc4..8d7c8e94 100644 --- a/tests/Services/StatisticsTest.php +++ b/tests/Services/StatisticsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Statistics\StatisticCalculateTotalTransactionsResponse; -use Onlyfansapi\Statistics\StatisticGetOverviewResponse; -use Onlyfansapi\Statistics\StatisticGetSubscriberMetricsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; +use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/StoredTest.php b/tests/Services/StoredTest.php index 79719f2b..8e5df23a 100644 --- a/tests/Services/StoredTest.php +++ b/tests/Services/StoredTest.php @@ -2,12 +2,12 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Stored\StoredListSharedTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListSharedTrialLinksResponse; -use Onlyfansapi\Stored\StoredListTrackingLinksResponse; -use Onlyfansapi\Stored\StoredListTrialLinksResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Stored\StoredListSharedTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListSharedTrialLinksResponse; +use OnlyFansAPI\Stored\StoredListTrackingLinksResponse; +use OnlyFansAPI\Stored\StoredListTrialLinksResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index a019b1e9..07432a23 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -2,15 +2,15 @@ namespace Tests\Services\Stories; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Stories\Highlights\HighlightAddStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightDeleteResponse; -use Onlyfansapi\Stories\Highlights\HighlightGetResponse; -use Onlyfansapi\Stories\Highlights\HighlightListResponse; -use Onlyfansapi\Stories\Highlights\HighlightNewResponse; -use Onlyfansapi\Stories\Highlights\HighlightRemoveStoryResponse; -use Onlyfansapi\Stories\Highlights\HighlightUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Stories\Highlights\HighlightAddStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightDeleteResponse; +use OnlyFansAPI\Stories\Highlights\HighlightGetResponse; +use OnlyFansAPI\Stories\Highlights\HighlightListResponse; +use OnlyFansAPI\Stories\Highlights\HighlightNewResponse; +use OnlyFansAPI\Stories\Highlights\HighlightRemoveStoryResponse; +use OnlyFansAPI\Stories\Highlights\HighlightUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/StoriesTest.php b/tests/Services/StoriesTest.php index 9010fde6..4feb137e 100644 --- a/tests/Services/StoriesTest.php +++ b/tests/Services/StoriesTest.php @@ -2,16 +2,16 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Stories\StoryDeleteResponse; -use Onlyfansapi\Stories\StoryGetResponse; -use Onlyfansapi\Stories\StoryGetStatsResponse; -use Onlyfansapi\Stories\StoryListActiveResponse; -use Onlyfansapi\Stories\StoryListArchiveResponse; -use Onlyfansapi\Stories\StoryListViewersResponse; -use Onlyfansapi\Stories\StoryMarkAsWatchedResponse; -use Onlyfansapi\Stories\StoryNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Stories\StoryDeleteResponse; +use OnlyFansAPI\Stories\StoryGetResponse; +use OnlyFansAPI\Stories\StoryGetStatsResponse; +use OnlyFansAPI\Stories\StoryListActiveResponse; +use OnlyFansAPI\Stories\StoryListArchiveResponse; +use OnlyFansAPI\Stories\StoryListViewersResponse; +use OnlyFansAPI\Stories\StoryMarkAsWatchedResponse; +use OnlyFansAPI\Stories\StoryNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/SubscribersTest.php b/tests/Services/SubscribersTest.php index 6b4e5097..704d59c4 100644 --- a/tests/Services/SubscribersTest.php +++ b/tests/Services/SubscribersTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Subscribers\SubscriberGetStatisticsResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Subscribers\SubscriberGetStatisticsResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/TrackingLinks/TagsTest.php b/tests/Services/TrackingLinks/TagsTest.php index df7da73a..c70e521a 100644 --- a/tests/Services/TrackingLinks/TagsTest.php +++ b/tests/Services/TrackingLinks/TagsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\TrackingLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\TrackingLinks\Tags\TagAddResponse; -use Onlyfansapi\TrackingLinks\Tags\TagListResponse; -use Onlyfansapi\TrackingLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\TrackingLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagListResponse; +use OnlyFansAPI\TrackingLinks\Tags\TagRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index df805fa8..200ca82b 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -2,15 +2,15 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\TrackingLinks\TrackingLinkDeleteResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkGetStatsResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSpendersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkListSubscribersResponse; -use Onlyfansapi\TrackingLinks\TrackingLinkNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\TrackingLinks\TrackingLinkDeleteResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/TransactionsTest.php b/tests/Services/TransactionsTest.php index 1fbd54aa..6b31768e 100644 --- a/tests/Services/TransactionsTest.php +++ b/tests/Services/TransactionsTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Transactions\TransactionListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Transactions\TransactionListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/TrialLinks/TagsTest.php b/tests/Services/TrialLinks/TagsTest.php index 72e57801..e37f5e23 100644 --- a/tests/Services/TrialLinks/TagsTest.php +++ b/tests/Services/TrialLinks/TagsTest.php @@ -2,11 +2,11 @@ namespace Tests\Services\TrialLinks; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\TrialLinks\Tags\TagAddResponse; -use Onlyfansapi\TrialLinks\Tags\TagListResponse; -use Onlyfansapi\TrialLinks\Tags\TagRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\TrialLinks\Tags\TagAddResponse; +use OnlyFansAPI\TrialLinks\Tags\TagListResponse; +use OnlyFansAPI\TrialLinks\Tags\TagRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index f21278a6..9d312f02 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -2,15 +2,15 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\TrialLinks\TrialLinkDeleteResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetResponse; -use Onlyfansapi\TrialLinks\TrialLinkGetStatsResponse; -use Onlyfansapi\TrialLinks\TrialLinkListResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSpendersResponse; -use Onlyfansapi\TrialLinks\TrialLinkListSubscribersResponse; -use Onlyfansapi\TrialLinks\TrialLinkNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\TrialLinks\TrialLinkDeleteResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetResponse; +use OnlyFansAPI\TrialLinks\TrialLinkGetStatsResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSpendersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkListSubscribersResponse; +use OnlyFansAPI\TrialLinks\TrialLinkNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/UserLists/UsersTest.php b/tests/Services/UserLists/UsersTest.php index f2bbd287..1a5c703f 100644 --- a/tests/Services/UserLists/UsersTest.php +++ b/tests/Services/UserLists/UsersTest.php @@ -2,14 +2,14 @@ namespace Tests\Services\UserLists; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\UserLists\Users\UserAddResponse; -use Onlyfansapi\UserLists\Users\UserClearResponse; -use Onlyfansapi\UserLists\Users\UserListPinnedResponse; -use Onlyfansapi\UserLists\Users\UserListResponse; -use Onlyfansapi\UserLists\Users\UserPinResponse; -use Onlyfansapi\UserLists\Users\UserRemoveResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserClearResponse; +use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; +use OnlyFansAPI\UserLists\Users\UserListResponse; +use OnlyFansAPI\UserLists\Users\UserPinResponse; +use OnlyFansAPI\UserLists\Users\UserRemoveResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 968cb5f2..264c39f8 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -2,13 +2,13 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\UserLists\UserListDeleteResponse; -use Onlyfansapi\UserLists\UserListGetResponse; -use Onlyfansapi\UserLists\UserListListResponse; -use Onlyfansapi\UserLists\UserListNewResponse; -use Onlyfansapi\UserLists\UserListUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\UserLists\UserListDeleteResponse; +use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListResponse; +use OnlyFansAPI\UserLists\UserListNewResponse; +use OnlyFansAPI\UserLists\UserListUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Users/BlockTest.php b/tests/Services/Users/BlockTest.php index ab571200..3ac1e819 100644 --- a/tests/Services/Users/BlockTest.php +++ b/tests/Services/Users/BlockTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Users\Block\BlockDeleteResponse; -use Onlyfansapi\Users\Block\BlockNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Users\Block\BlockDeleteResponse; +use OnlyFansAPI\Users\Block\BlockNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Users/RestrictTest.php b/tests/Services/Users/RestrictTest.php index 7f31f98e..2abfeaaf 100644 --- a/tests/Services/Users/RestrictTest.php +++ b/tests/Services/Users/RestrictTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Users\Restrict\RestrictDeleteResponse; -use Onlyfansapi\Users\Restrict\RestrictNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Users\Restrict\RestrictDeleteResponse; +use OnlyFansAPI\Users\Restrict\RestrictNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/Users/SubscribeTest.php b/tests/Services/Users/SubscribeTest.php index f07a5899..477ea3d2 100644 --- a/tests/Services/Users/SubscribeTest.php +++ b/tests/Services/Users/SubscribeTest.php @@ -2,10 +2,10 @@ namespace Tests\Services\Users; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Users\Subscribe\SubscribeDeleteResponse; -use Onlyfansapi\Users\Subscribe\SubscribeNewResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Users\Subscribe\SubscribeDeleteResponse; +use OnlyFansAPI\Users\Subscribe\SubscribeNewResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/UsersTest.php b/tests/Services/UsersTest.php index 47807516..5883e39e 100644 --- a/tests/Services/UsersTest.php +++ b/tests/Services/UsersTest.php @@ -2,10 +2,10 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Users\UserGetResponse; -use Onlyfansapi\Users\UserListResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Users\UserGetResponse; +use OnlyFansAPI\Users\UserListResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/WebhooksTest.php b/tests/Services/WebhooksTest.php index 79ecaceb..4ebf1b3f 100644 --- a/tests/Services/WebhooksTest.php +++ b/tests/Services/WebhooksTest.php @@ -2,13 +2,13 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Webhooks\WebhookGetResponse; -use Onlyfansapi\Webhooks\WebhookListEventsResponse; -use Onlyfansapi\Webhooks\WebhookListResponse; -use Onlyfansapi\Webhooks\WebhookNewResponse; -use Onlyfansapi\Webhooks\WebhookUpdateResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Webhooks\WebhookGetResponse; +use OnlyFansAPI\Webhooks\WebhookListEventsResponse; +use OnlyFansAPI\Webhooks\WebhookListResponse; +use OnlyFansAPI\Webhooks\WebhookNewResponse; +use OnlyFansAPI\Webhooks\WebhookUpdateResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; diff --git a/tests/Services/WhoamiTest.php b/tests/Services/WhoamiTest.php index 2da402bc..0f6f6c7c 100644 --- a/tests/Services/WhoamiTest.php +++ b/tests/Services/WhoamiTest.php @@ -2,9 +2,9 @@ namespace Tests\Services; -use Onlyfansapi\Client; -use Onlyfansapi\Core\Util; -use Onlyfansapi\Whoami\WhoamiGetResponse; +use OnlyFansAPI\Client; +use OnlyFansAPI\Core\Util; +use OnlyFansAPI\Whoami\WhoamiGetResponse; use PHPUnit\Framework\Attributes\CoversNothing; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; From 2ef90f96597eca193e34f4d811894ea3c77b67d2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 13:12:58 +0000 Subject: [PATCH 02/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 46252709..5fab5c4f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b9b67bf32f2b519e3230760d49e20c30e66107a6991f1a1f1a108f6c578c2fde.yml -openapi_spec_hash: da475361c28b843ddd1b45bbea333762 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-63b68e8d6940d2559684d79f5df7d23dd8a06bbe2aca25cdf89cca87b1c560c1.yml +openapi_spec_hash: ac6c176ffe7dbca140c063f207c33422 config_hash: a522aab696c4535f715ae59ddfe8222f diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 545acc91..bb217b11 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('nobis'); + $result = $this->client->accounts->disconnect('vel'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..1bad2065 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index c9134fac..963f2c8f 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'nihil', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nihil', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 389a7f19..bb6cafec 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'impedit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'impedit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'impedit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'impedit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 3702bda1..805552a7 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('rerum'); + $result = $this->client->smartLinks->listClicks('repellat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('facilis'); + $result = $this->client->smartLinks->listConversions('fuga'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('ducimus'); + $result = $this->client->smartLinks->listFans('voluptas'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('nam'); + $result = $this->client->smartLinks->listSpenders('voluptas'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('eaque'); + $result = $this->client->smartLinks->retrieveCohortArps('accusamus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('impedit'); + $result = $this->client->smartLinks->retrieveStats('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 07432a23..5b1b8a78 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'maxime', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'maxime', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'maxime', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'maxime', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 200ca82b..965303de 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 9d312f02..9b40a439 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'officia', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'officia', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eum', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eum', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 264c39f8..f2a9d577 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sdqtzwslsvoxbkxj' + name: 'lryowwrqdolyyw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sdqtzwslsvoxbkxj' + name: 'lryowwrqdolyyw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f3ef75633a53b82c200b7ae77412aef940ee5bb1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 16:12:57 +0000 Subject: [PATCH 03/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5fab5c4f..4d7ed964 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-63b68e8d6940d2559684d79f5df7d23dd8a06bbe2aca25cdf89cca87b1c560c1.yml -openapi_spec_hash: ac6c176ffe7dbca140c063f207c33422 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-24c34b45781c52033802d46acb3025a7df5a97bbf1090ad66aebcfb2a2cfb930.yml +openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 config_hash: a522aab696c4535f715ae59ddfe8222f diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bb217b11..93269c12 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('vel'); + $result = $this->client->accounts->disconnect('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1bad2065..476da7b4 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'iusto', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'iusto', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 963f2c8f..f772908d 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'reprehenderit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'reprehenderit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'reprehenderit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'reprehenderit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index bb6cafec..78544ef5 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'saepe', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'saepe', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'saepe', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'saepe', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 805552a7..354101a6 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('repellat'); + $result = $this->client->smartLinks->listClicks('illum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('fuga'); + $result = $this->client->smartLinks->listConversions('fugiat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('voluptas'); + $result = $this->client->smartLinks->listFans('autem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('voluptas'); + $result = $this->client->smartLinks->listSpenders('cum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('accusamus'); + $result = $this->client->smartLinks->retrieveCohortArps('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('amet'); + $result = $this->client->smartLinks->retrieveStats('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 5b1b8a78..37386001 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 965303de..63375722 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quis', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quis', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatem', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatem', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'explicabo', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'explicabo', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 9b40a439..99871164 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'illo', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'illo', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'illo', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'illo', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'suscipit', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'suscipit', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellat', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellat', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index f2a9d577..3c7659af 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lryowwrqdolyyw' + name: 'qrruxylgb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lryowwrqdolyyw' + name: 'qrruxylgb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8f5f056765f841e6d6e8e46aa5687da0c1f6f3a2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:36:01 +0000 Subject: [PATCH 04/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4d7ed964..ad4b95d8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-24c34b45781c52033802d46acb3025a7df5a97bbf1090ad66aebcfb2a2cfb930.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-72633437c337ec4d9d333f5e895b2b7a1ef13b1c5d4273906d4a6861e24c99dd.yml openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 -config_hash: a522aab696c4535f715ae59ddfe8222f +config_hash: 6299d85babc83b296c506e0e64fe2c0a From 9c5eb5851492abd9ba67d7ef695a410a2bf838cb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:53:29 +0000 Subject: [PATCH 05/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index ad4b95d8..ad09e23d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-72633437c337ec4d9d333f5e895b2b7a1ef13b1c5d4273906d4a6861e24c99dd.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db07c6b53db2576d9205de576b179c9aaf9929c8342d14ebd5aebd7fe9079caf.yml openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 -config_hash: 6299d85babc83b296c506e0e64fe2c0a +config_hash: daf28359a88850c2eaa3b208a6161584 From 7c0a2714036a35a558c75d2ceee54807583a941f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:58:37 +0000 Subject: [PATCH 06/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index ad09e23d..6127ab43 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db07c6b53db2576d9205de576b179c9aaf9929c8342d14ebd5aebd7fe9079caf.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba5efdf86108ef077f2db1f8a05b84d58f7f218fe2b7e0eb72e3c371cfa30015.yml openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 -config_hash: daf28359a88850c2eaa3b208a6161584 +config_hash: 397c91e15c0024f8b5bbed9b82c2348c From 58b38272e7f25a56f37803f115d685176f58d82d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 18:00:12 +0000 Subject: [PATCH 07/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6127ab43..ad09e23d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba5efdf86108ef077f2db1f8a05b84d58f7f218fe2b7e0eb72e3c371cfa30015.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db07c6b53db2576d9205de576b179c9aaf9929c8342d14ebd5aebd7fe9079caf.yml openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 -config_hash: 397c91e15c0024f8b5bbed9b82c2348c +config_hash: daf28359a88850c2eaa3b208a6161584 From 6a4d30a895dc355c1955e68eb43833911dfc68b0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 18:01:19 +0000 Subject: [PATCH 08/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index ad09e23d..6127ab43 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db07c6b53db2576d9205de576b179c9aaf9929c8342d14ebd5aebd7fe9079caf.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba5efdf86108ef077f2db1f8a05b84d58f7f218fe2b7e0eb72e3c371cfa30015.yml openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 -config_hash: daf28359a88850c2eaa3b208a6161584 +config_hash: 397c91e15c0024f8b5bbed9b82c2348c From 486d47f26ce0d855bf9c3a6b79dbe201cc432e8d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 18:12:57 +0000 Subject: [PATCH 09/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6127ab43..451539e4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba5efdf86108ef077f2db1f8a05b84d58f7f218fe2b7e0eb72e3c371cfa30015.yml -openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bb6c9c76d967f92637fe23928eed8e2b72857607f7d633cd313edac2159251da.yml +openapi_spec_hash: 6ebbddf9d4240bc9dd02c40ba29fdbbc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 93269c12..d2f9eee3 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('sed'); + $result = $this->client->accounts->disconnect('molestiae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 476da7b4..54120be1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatem', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index f772908d..dbf99c4a 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'hic', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'hic', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 354101a6..1a02db24 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('illum'); + $result = $this->client->smartLinks->listClicks('aperiam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('fugiat'); + $result = $this->client->smartLinks->listConversions('sint'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('autem'); + $result = $this->client->smartLinks->listFans('dolores'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('cum'); + $result = $this->client->smartLinks->listSpenders('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('consequatur'); + $result = $this->client->smartLinks->retrieveCohortArps('laborum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('et'); + $result = $this->client->smartLinks->retrieveStats('minus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 37386001..23378147 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 63375722..567f8b7e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'consectetur', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consectetur', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ratione', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ratione', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'reiciendis', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'reiciendis', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 99871164..0243e4a5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'esse', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'esse', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 3c7659af..299bf75c 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qrruxylgb' + name: 'xiu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qrruxylgb' + name: 'xiu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 86666661d840fb5c1d425fb6ab31410064df75ae Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 21:12:54 +0000 Subject: [PATCH 10/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 451539e4..83653c09 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bb6c9c76d967f92637fe23928eed8e2b72857607f7d633cd313edac2159251da.yml -openapi_spec_hash: 6ebbddf9d4240bc9dd02c40ba29fdbbc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a141a23e1d1a4c59fa2127c4504251e3605fe9a38aeee763f8611011acb605da.yml +openapi_spec_hash: 6101f498e1ca4c1ee4c2e8549805ae03 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d2f9eee3..8697d276 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('molestiae'); + $result = $this->client->accounts->disconnect('molestias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..10f819e3 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index dbf99c4a..fe215ff8 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quo', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quo', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 78544ef5..2c5fa47b 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'dicta', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dicta', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dicta', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dicta', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 1a02db24..38bf9292 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('aperiam'); + $result = $this->client->smartLinks->listClicks('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('sint'); + $result = $this->client->smartLinks->listConversions('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('dolores'); + $result = $this->client->smartLinks->listFans('fuga'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('et'); + $result = $this->client->smartLinks->listSpenders('sint'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('laborum'); + $result = $this->client->smartLinks->retrieveCohortArps('esse'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('minus'); + $result = $this->client->smartLinks->retrieveStats('provident'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 23378147..2443ecae 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 567f8b7e..8a7a3bba 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'magnam', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'magnam', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'magnam', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'magnam', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aspernatur', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aspernatur', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'sapiente', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sapiente', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 0243e4a5..a7b36e5d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'non', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'non', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'non', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'non', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'necessitatibus', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'necessitatibus', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'accusantium', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'accusantium', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 299bf75c..d07e5f58 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xiu' + name: 'sbnkuvjffglby' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xiu' + name: 'sbnkuvjffglby' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5ab05cc6e21349df94ab5cbcb6e1f5378cfdcbb9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 22:12:59 +0000 Subject: [PATCH 11/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 83653c09..8dfea494 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a141a23e1d1a4c59fa2127c4504251e3605fe9a38aeee763f8611011acb605da.yml -openapi_spec_hash: 6101f498e1ca4c1ee4c2e8549805ae03 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b1b67389b2df8ca06af07c65230cc567230a17ff873b2d7ced3200a0ad273c6f.yml +openapi_spec_hash: 94a721ac564ca20530c4a60d4ddde14a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 8697d276..9e6bba3b 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('molestias'); + $result = $this->client->accounts->disconnect('rerum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 10f819e3..6fa75c6b 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'neque', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'neque', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index fe215ff8..8858f3ee 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'tempora', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'tempora', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'tempora', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'tempora', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2c5fa47b..458e2438 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'quibusdam', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quibusdam', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quibusdam', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quibusdam', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 38bf9292..0bb0d8e2 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('ut'); + $result = $this->client->smartLinks->listClicks('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('sit'); + $result = $this->client->smartLinks->listConversions('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('fuga'); + $result = $this->client->smartLinks->listFans('architecto'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('sint'); + $result = $this->client->smartLinks->listSpenders('sunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('esse'); + $result = $this->client->smartLinks->retrieveCohortArps('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('provident'); + $result = $this->client->smartLinks->retrieveStats('vel'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2443ecae..f041f0e1 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8a7a3bba..b91c0cb7 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'consequuntur', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consequuntur', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'optio', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'optio', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index a7b36e5d..23c9786c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dicta', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dicta', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dicta', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dicta', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'labore', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'labore', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'perferendis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'perferendis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index d07e5f58..95d7bbdd 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sbnkuvjffglby' + name: 'j' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sbnkuvjffglby' + name: 'j' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1ea639f4b9dbfaa3e8829e3ff58abc9a1831abaa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 23:13:00 +0000 Subject: [PATCH 12/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8dfea494..8b97f93d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b1b67389b2df8ca06af07c65230cc567230a17ff873b2d7ced3200a0ad273c6f.yml -openapi_spec_hash: 94a721ac564ca20530c4a60d4ddde14a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1694e31822508757f6dec4837f9442d42a1eafdf796b6f4ff368c80452050acf.yml +openapi_spec_hash: 19fc90cabcac5a299d832b80e7518648 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9e6bba3b..710561df 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('rerum'); + $result = $this->client->accounts->disconnect('omnis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 6fa75c6b..6ddb7113 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'temporibus', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'temporibus', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 8858f3ee..0d619834 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 458e2438..ace1f5c8 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'qui', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'qui', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'qui', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'qui', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 0bb0d8e2..c44642dc 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('et'); + $result = $this->client->smartLinks->listClicks('similique'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('quis'); + $result = $this->client->smartLinks->listConversions('eius'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('architecto'); + $result = $this->client->smartLinks->listFans('delectus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('sunt'); + $result = $this->client->smartLinks->listSpenders('ullam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('ut'); + $result = $this->client->smartLinks->retrieveCohortArps('nulla'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('vel'); + $result = $this->client->smartLinks->retrieveStats('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index f041f0e1..4e557033 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'totam', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'totam', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b91c0cb7..f8da7647 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'praesentium', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'praesentium', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'praesentium', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'praesentium', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + 'est', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'maiores', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'maiores', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 23c9786c..6a9ca042 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eius', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eius', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eius', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eius', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'impedit', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'impedit', + 'est', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 95d7bbdd..fc1e0693 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'j' + name: 'mmryoeohbatuj' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'j' + name: 'mmryoeohbatuj' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c2a1181639de5c1dca15ebbddb9ce5643631cbe1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 00:13:00 +0000 Subject: [PATCH 13/56] feat(api): api update --- .stats.yml | 4 ++-- src/Media/MediaDownloadParams.php | 2 +- src/ServiceContracts/MediaContract.php | 2 +- src/ServiceContracts/MediaRawContract.php | 2 +- src/Services/MediaRawService.php | 7 +++---- src/Services/MediaService.php | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/MediaTest.php | 4 ++-- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 18 files changed, 57 insertions(+), 58 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8b97f93d..e403fe03 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1694e31822508757f6dec4837f9442d42a1eafdf796b6f4ff368c80452050acf.yml -openapi_spec_hash: 19fc90cabcac5a299d832b80e7518648 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-66432b705e73f5f3a80162c5a91d4f4f3216319c075d1e6491b80e0ec7c3a0bc.yml +openapi_spec_hash: ae75154ff3e4cad180cd49f21f7c3edf config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Media/MediaDownloadParams.php b/src/Media/MediaDownloadParams.php index 2f4c47e1..f2ad1871 100644 --- a/src/Media/MediaDownloadParams.php +++ b/src/Media/MediaDownloadParams.php @@ -10,7 +10,7 @@ use OnlyFansAPI\Core\Contracts\BaseModel; /** - * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is streamed through our proxies and queued for caching. + * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is redirected to `dl.fansapi.com`, which streams it through the account proxy and reports billing back to the API. * * @see OnlyFansAPI\Services\MediaService::download() * diff --git a/src/ServiceContracts/MediaContract.php b/src/ServiceContracts/MediaContract.php index 6a290ca3..4cd2c31d 100644 --- a/src/ServiceContracts/MediaContract.php +++ b/src/ServiceContracts/MediaContract.php @@ -30,7 +30,7 @@ public function download( string $cdnURL, string $account, RequestOptions|array|null $requestOptions = null, - ): string; + ): mixed; /** * @api diff --git a/src/ServiceContracts/MediaRawContract.php b/src/ServiceContracts/MediaRawContract.php index c2708f28..8ee156b7 100644 --- a/src/ServiceContracts/MediaRawContract.php +++ b/src/ServiceContracts/MediaRawContract.php @@ -25,7 +25,7 @@ interface MediaRawContract * @param array|MediaDownloadParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/MediaRawService.php b/src/Services/MediaRawService.php index 2b62f070..3734c5f0 100644 --- a/src/Services/MediaRawService.php +++ b/src/Services/MediaRawService.php @@ -32,13 +32,13 @@ public function __construct(private Client $client) {} /** * @api * - * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is streamed through our proxies and queued for caching. + * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is redirected to `dl.fansapi.com`, which streams it through the account proxy and reports billing back to the API. * * @param string $cdnURL Optional parameter. The CDN URL to scrape. **Keep in mind that these URLs expire in approx. 20 minutes.** So for example, if you fetched Media Vault Items at 01:00pm, the URLs will expire at around 01:20pm * @param array{account: string}|MediaDownloadParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ @@ -58,9 +58,8 @@ public function download( return $this->client->request( method: 'get', path: ['api/%1$s/media/download/%2$s', $account, $cdnURL], - headers: ['Accept' => 'text/plain'], options: $options, - convert: 'string', + convert: null, ); } diff --git a/src/Services/MediaService.php b/src/Services/MediaService.php index c7fdaebe..28ce360b 100644 --- a/src/Services/MediaService.php +++ b/src/Services/MediaService.php @@ -50,7 +50,7 @@ public function __construct(private Client $client) /** * @api * - * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is streamed through our proxies and queued for caching. + * Downloads a file directly from a `https://cdn*.onlyfans.com/*` URL. When the file is already cached on our CDN, this endpoint returns a `302` redirect to a `https://cdn.fansapi.com/*` URL. Most HTTP clients follow redirects automatically (`curl` requires `-L`). Otherwise, the file is redirected to `dl.fansapi.com`, which streams it through the account proxy and reports billing back to the API. * * @param string $cdnURL Optional parameter. The CDN URL to scrape. **Keep in mind that these URLs expire in approx. 20 minutes.** So for example, if you fetched Media Vault Items at 01:00pm, the URLs will expire at around 01:20pm * @param string $account The Account ID @@ -62,7 +62,7 @@ public function download( string $cdnURL, string $account, RequestOptions|array|null $requestOptions = null, - ): string { + ): mixed { $params = Util::removeNulls(['account' => $account]); // @phpstan-ignore-next-line argument.type diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 710561df..9390893b 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('omnis'); + $result = $this->client->accounts->disconnect('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 6ddb7113..9832358c 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'cupiditate', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'cupiditate', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 0d619834..ed22118e 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/MediaTest.php b/tests/Services/MediaTest.php index c4986d30..ce8811fb 100644 --- a/tests/Services/MediaTest.php +++ b/tests/Services/MediaTest.php @@ -42,7 +42,7 @@ public function testDownload(): void ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsString($result); + $this->assertNull($result); } #[Test] @@ -58,7 +58,7 @@ public function testDownloadWithOptionalParams(): void ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsString($result); + $this->assertNull($result); } #[Test] diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ace1f5c8..fc102c60 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'alias', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'alias', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'alias', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'alias', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index c44642dc..7625a138 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('similique'); + $result = $this->client->smartLinks->listClicks('quidem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('eius'); + $result = $this->client->smartLinks->listConversions('facilis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('delectus'); + $result = $this->client->smartLinks->listFans('officia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('ullam'); + $result = $this->client->smartLinks->listSpenders('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('nulla'); + $result = $this->client->smartLinks->retrieveCohortArps('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('ut'); + $result = $this->client->smartLinks->retrieveStats('ea'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 4e557033..5befdf76 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'debitis', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'debitis', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'debitis', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'debitis', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f8da7647..97bbbd9a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'minima', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'minima', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'minima', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'minima', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'error', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 6a9ca042..996b2f83 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'mollitia', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'mollitia', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'velit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'velit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index fc1e0693..6a34491b 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mmryoeohbatuj' + name: 'hrthqjfqgmvb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mmryoeohbatuj' + name: 'hrthqjfqgmvb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8f7eca166f19e68ff8d7ba553041c2e17e054aed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 12:12:55 +0000 Subject: [PATCH 14/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index e403fe03..1ab2730e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-66432b705e73f5f3a80162c5a91d4f4f3216319c075d1e6491b80e0ec7c3a0bc.yml -openapi_spec_hash: ae75154ff3e4cad180cd49f21f7c3edf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-934dfcbcc28cc77e65463c2aec3a558e29e86c13ba73e6ba9a1d75474f954c40.yml +openapi_spec_hash: 1eee160806b94ae8bcddd1114c0f5c66 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9390893b..1fbe742c 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('ut'); + $result = $this->client->accounts->disconnect('similique'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 9832358c..c39f8642 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'modi', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'modi', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index ed22118e..3a325ed0 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'autem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'autem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fc102c60..60e856b0 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'assumenda', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'assumenda', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'assumenda', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'assumenda', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 7625a138..5bc06b95 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('quidem'); + $result = $this->client->smartLinks->listClicks('a'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('facilis'); + $result = $this->client->smartLinks->listConversions('dolorum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('officia'); + $result = $this->client->smartLinks->listFans('blanditiis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('ut'); + $result = $this->client->smartLinks->listSpenders('doloribus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('aut'); + $result = $this->client->smartLinks->retrieveCohortArps('assumenda'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('ea'); + $result = $this->client->smartLinks->retrieveStats('molestias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 5befdf76..86916f8a 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'quidem', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quidem', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 97bbbd9a..f4fdc6bc 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'non', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'non', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'error', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'error', + 'non', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 996b2f83..dc247c18 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nihil', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nihil', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 6a34491b..c66e34cc 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hrthqjfqgmvb' + name: 'brtolusozohwsysuvsajvlcxw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hrthqjfqgmvb' + name: 'brtolusozohwsysuvsajvlcxw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9ac0e9fda55c719f635d291c5f60d7e5d719f1f8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 16:13:03 +0000 Subject: [PATCH 15/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1ab2730e..0cc982eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-934dfcbcc28cc77e65463c2aec3a558e29e86c13ba73e6ba9a1d75474f954c40.yml -openapi_spec_hash: 1eee160806b94ae8bcddd1114c0f5c66 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e55a50c2c81f5391740f555c303206c2b2630a1209919d72b8a6a6e69db1f4f4.yml +openapi_spec_hash: 5a60d7cd395c23807527f20ade0c9b27 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 1fbe742c..78222ddb 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('similique'); + $result = $this->client->accounts->disconnect('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c39f8642..cf0e215f 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vel', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vel', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 3a325ed0..015c6b5c 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 60e856b0..10b7a0ca 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'eos', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'eos', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'eos', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'eos', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 5bc06b95..921fad91 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('a'); + $result = $this->client->smartLinks->listClicks('delectus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('dolorum'); + $result = $this->client->smartLinks->listConversions('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('blanditiis'); + $result = $this->client->smartLinks->listFans('voluptates'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('doloribus'); + $result = $this->client->smartLinks->listSpenders('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('assumenda'); + $result = $this->client->smartLinks->retrieveCohortArps('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('molestias'); + $result = $this->client->smartLinks->retrieveStats('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 86916f8a..6ccbd3cd 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'asperiores', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'asperiores', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'asperiores', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'asperiores', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f4fdc6bc..8624890c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ducimus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ducimus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ducimus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ducimus', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index dc247c18..576549eb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'nostrum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'nostrum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'excepturi', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'excepturi', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nesciunt', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nesciunt', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index c66e34cc..490a02ee 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'brtolusozohwsysuvsajvlcxw' + name: 'dvekkxgdrjbkgolizpqu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'brtolusozohwsysuvsajvlcxw' + name: 'dvekkxgdrjbkgolizpqu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bd033bceb8f8d5e383044483302f73ada1b05aa3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 18:12:57 +0000 Subject: [PATCH 16/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0cc982eb..74e305f0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e55a50c2c81f5391740f555c303206c2b2630a1209919d72b8a6a6e69db1f4f4.yml -openapi_spec_hash: 5a60d7cd395c23807527f20ade0c9b27 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1d0fb906843e55b3d7588949981f47bd5e396d7b7f3fafd5d1a654e771560d0a.yml +openapi_spec_hash: 603da045db41673bca4f25cf1dccc873 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 78222ddb..bf95eefe 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('consequatur'); + $result = $this->client->accounts->disconnect('id'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index cf0e215f..6b2a839f 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 015c6b5c..6acdc1b6 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'sed', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sed', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sed', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sed', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 10b7a0ca..4e91880d 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'commodi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'commodi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'commodi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'commodi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 921fad91..1c84dc55 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('delectus'); + $result = $this->client->smartLinks->listClicks('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('in'); + $result = $this->client->smartLinks->listConversions('animi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('voluptates'); + $result = $this->client->smartLinks->listFans('nisi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('et'); + $result = $this->client->smartLinks->listSpenders('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('et'); + $result = $this->client->smartLinks->retrieveCohortArps('eum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('consequatur'); + $result = $this->client->smartLinks->retrieveStats('perferendis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 6ccbd3cd..02d23d5f 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'dolor', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolor', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolor', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolor', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8624890c..a23ae413 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quod', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quod', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quod', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quod', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 576549eb..1cdc58cb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'numquam', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'numquam', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'fugiat', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'fugiat', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ullam', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ullam', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nihil', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nihil', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 490a02ee..72245496 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dvekkxgdrjbkgolizpqu' + name: 'jgjdgkvafywrsyrcyizljf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dvekkxgdrjbkgolizpqu' + name: 'jgjdgkvafywrsyrcyizljf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3bcbd2e1e77f15472f81aa10191d842f1840c703 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 00:12:55 +0000 Subject: [PATCH 17/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.stats.yml b/.stats.yml index 74e305f0..f02fa897 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1d0fb906843e55b3d7588949981f47bd5e396d7b7f3fafd5d1a654e771560d0a.yml -openapi_spec_hash: 603da045db41673bca4f25cf1dccc873 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3cb873d908d3b4b81941e932344db46ecf629f68ec79a5edd0751edc3d245470.yml +openapi_spec_hash: a0b2473d40f23a530c4586a513838305 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bf95eefe..d5bcfa47 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('id'); + $result = $this->client->accounts->disconnect('laudantium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 6b2a839f..2a9861d3 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sunt', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sunt', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..b98cb396 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 1c84dc55..ee05813a 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('et'); + $result = $this->client->smartLinks->listClicks('id'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('animi'); + $result = $this->client->smartLinks->listConversions('ex'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('nisi'); + $result = $this->client->smartLinks->listFans('quae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('aut'); + $result = $this->client->smartLinks->listSpenders('odit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('eum'); + $result = $this->client->smartLinks->retrieveCohortArps('rem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('perferendis'); + $result = $this->client->smartLinks->retrieveStats('aliquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 02d23d5f..1db271f7 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'distinctio', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'distinctio', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'distinctio', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'distinctio', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a23ae413..7caac180 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vero', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vero', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'similique', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'similique', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 1cdc58cb..4cfe1da3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'omnis', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'omnis', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'omnis', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'omnis', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quaerat', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quaerat', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quibusdam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quibusdam', + 'id', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'expedita', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'expedita', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 72245496..d2c81377 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jgjdgkvafywrsyrcyizljf' + name: 'zdftzflzq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jgjdgkvafywrsyrcyizljf' + name: 'zdftzflzq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 88d64e0d7bc382250803223a0a119b97cf917d11 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 10:13:02 +0000 Subject: [PATCH 18/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index f02fa897..de968c88 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3cb873d908d3b4b81941e932344db46ecf629f68ec79a5edd0751edc3d245470.yml -openapi_spec_hash: a0b2473d40f23a530c4586a513838305 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b7d9b62b07992b1915071ab795f6636a508caba021b53c6e5a2a710a4b5241d2.yml +openapi_spec_hash: 06d16ab25f3ea370fd1f98a00f47f0a0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d5bcfa47..cb502ea8 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('laudantium'); + $result = $this->client->accounts->disconnect('voluptas'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 2a9861d3..07a744d1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'numquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'numquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 6acdc1b6..7ab64700 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b98cb396..cca4f113 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'beatae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'beatae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'beatae', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'beatae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ee05813a..a34c7a3f 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('id'); + $result = $this->client->smartLinks->listClicks('fuga'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ex'); + $result = $this->client->smartLinks->listConversions('ipsum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quae'); + $result = $this->client->smartLinks->listFans('deleniti'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('odit'); + $result = $this->client->smartLinks->listSpenders('dolorum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('rem'); + $result = $this->client->smartLinks->retrieveCohortArps('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('aliquam'); + $result = $this->client->smartLinks->retrieveStats('libero'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 1db271f7..2443ecae 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 7caac180..4b82d7ce 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'doloremque', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'doloremque', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'doloremque', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'doloremque', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'rem', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'rem', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 4cfe1da3..d4d3a1c3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'blanditiis', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'blanditiis', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'blanditiis', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'blanditiis', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'deserunt', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'deserunt', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'omnis', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'omnis', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index d2c81377..56eec51f 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zdftzflzq' + name: 'gwdimjpdnyjxck' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zdftzflzq' + name: 'gwdimjpdnyjxck' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 94c9d7ae48ac6603a0ae107adaa73b5cfc25253d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 13:13:04 +0000 Subject: [PATCH 19/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index de968c88..62663e5a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b7d9b62b07992b1915071ab795f6636a508caba021b53c6e5a2a710a4b5241d2.yml -openapi_spec_hash: 06d16ab25f3ea370fd1f98a00f47f0a0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9eac1756e78aa7ebb44a52251e6cc7e9b71453f4b83621038502db7001fe2e81.yml +openapi_spec_hash: 5e1e13e08b9151eec63c62350b75a542 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index cb502ea8..4ddab277 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('voluptas'); + $result = $this->client->accounts->disconnect('consectetur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..c539120b 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7ab64700..3ca96d36 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'eligendi', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'eligendi', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'eligendi', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'eligendi', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cca4f113..fb05d63e 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index a34c7a3f..ce850a8d 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('fuga'); + $result = $this->client->smartLinks->listClicks('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ipsum'); + $result = $this->client->smartLinks->listConversions('pariatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('deleniti'); + $result = $this->client->smartLinks->listFans('fugiat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('dolorum'); + $result = $this->client->smartLinks->listSpenders('totam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('non'); + $result = $this->client->smartLinks->retrieveCohortArps('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('libero'); + $result = $this->client->smartLinks->retrieveStats('doloremque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2443ecae..c95df78b 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4b82d7ce..e4cb7b72 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'asperiores', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'asperiores', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'asperiores', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'asperiores', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index d4d3a1c3..b6d73eb0 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'repellat', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'repellat', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'repellat', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'repellat', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'vitae', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'vitae', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quibusdam', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quibusdam', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 56eec51f..bfef3cfd 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gwdimjpdnyjxck' + name: 'ulbo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gwdimjpdnyjxck' + name: 'ulbo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9ff977248256672f77bdc2b5ae9121b99b9a43bc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 15:13:07 +0000 Subject: [PATCH 20/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 62663e5a..d04999b0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9eac1756e78aa7ebb44a52251e6cc7e9b71453f4b83621038502db7001fe2e81.yml -openapi_spec_hash: 5e1e13e08b9151eec63c62350b75a542 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2a1ef16720390ce14743c08d67aa6beca760a5b721108e04c2fa9ba816141b02.yml +openapi_spec_hash: 7d897c87507de4f0c59a2e7c26a79004 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 4ddab277..dacf439d 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('consectetur'); + $result = $this->client->accounts->disconnect('ipsum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c539120b..4669eeab 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'esse', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'esse', + 'earum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 3ca96d36..8852fe34 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'illo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'illo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'illo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'illo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fb05d63e..51648210 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'sequi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sequi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'sequi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sequi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ce850a8d..8e96cbb8 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('sed'); + $result = $this->client->smartLinks->listClicks('iure'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('pariatur'); + $result = $this->client->smartLinks->listConversions('reiciendis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('fugiat'); + $result = $this->client->smartLinks->listFans('cumque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('totam'); + $result = $this->client->smartLinks->listSpenders('officiis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('quis'); + $result = $this->client->smartLinks->retrieveCohortArps('dicta'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('doloremque'); + $result = $this->client->smartLinks->retrieveStats('sint'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index c95df78b..8d8cb641 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'sapiente', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sapiente', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sapiente', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sapiente', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e4cb7b72..12b6eb6c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cupiditate', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cupiditate', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'molestias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'molestias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index b6d73eb0..0a210e7b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'natus', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'natus', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'reprehenderit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'reprehenderit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nobis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nobis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index bfef3cfd..c18690a7 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ulbo' + name: 'favabwll' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ulbo' + name: 'favabwll' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1f084c62cbce1fbb85ca5d4e2bd4ebd7a39d5faa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 17:13:02 +0000 Subject: [PATCH 21/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index d04999b0..3e2f5425 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2a1ef16720390ce14743c08d67aa6beca760a5b721108e04c2fa9ba816141b02.yml -openapi_spec_hash: 7d897c87507de4f0c59a2e7c26a79004 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c9d17ae99932b11fa8819040651f08274c017fecf393e316c45623991892d4d9.yml +openapi_spec_hash: 2c5d98333a487dcdc5b27d8d39a467a9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index dacf439d..545acc91 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('ipsum'); + $result = $this->client->accounts->disconnect('nobis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4669eeab..493226f1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'earum', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'earum', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 8852fe34..b3e9355f 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'neque', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'neque', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'neque', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'neque', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..4e91880d 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 8e96cbb8..35b95e12 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('iure'); + $result = $this->client->smartLinks->listClicks('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('reiciendis'); + $result = $this->client->smartLinks->listConversions('at'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('cumque'); + $result = $this->client->smartLinks->listFans('quidem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('officiis'); + $result = $this->client->smartLinks->listSpenders('error'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('dicta'); + $result = $this->client->smartLinks->retrieveCohortArps('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('sint'); + $result = $this->client->smartLinks->retrieveStats('possimus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 8d8cb641..0d9ae3f9 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'sint', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sint', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sint', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sint', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 12b6eb6c..47c36b72 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'occaecati', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'occaecati', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'occaecati', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'occaecati', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quasi', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quasi', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 0a210e7b..4bdd401d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'nihil', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nihil', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nihil', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nihil', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'maxime', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'maxime', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index c18690a7..12791205 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'favabwll' + name: 'yfqwkqknufqvkrkihg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'favabwll' + name: 'yfqwkqknufqvkrkihg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 0a0f76c7046fcc166854cf9887b4797a02475f7f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 20:13:00 +0000 Subject: [PATCH 22/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3e2f5425..57535973 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c9d17ae99932b11fa8819040651f08274c017fecf393e316c45623991892d4d9.yml -openapi_spec_hash: 2c5d98333a487dcdc5b27d8d39a467a9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-228e5e4b58ef1db78cc4762898961e3f01c5e8b0a73c4ecf50e46bdf63fe5874.yml +openapi_spec_hash: 52c5d5d27afadbefbb9672f10f1d4867 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 545acc91..384f8ecc 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('nobis'); + $result = $this->client->accounts->disconnect('quo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 493226f1..07a744d1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index b3e9355f..d0da96a5 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'dolore', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolore', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolore', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolore', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 35b95e12..de9e8bcf 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('sit'); + $result = $this->client->smartLinks->listClicks('laudantium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('at'); + $result = $this->client->smartLinks->listConversions('esse'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quidem'); + $result = $this->client->smartLinks->listFans('impedit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('error'); + $result = $this->client->smartLinks->listSpenders('quibusdam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('qui'); + $result = $this->client->smartLinks->retrieveCohortArps('temporibus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('possimus'); + $result = $this->client->smartLinks->retrieveStats('nulla'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 0d9ae3f9..57ce1246 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'similique', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'similique', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'similique', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'similique', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 47c36b72..f0423b76 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'cupiditate', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'cupiditate', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'cupiditate', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'cupiditate', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsa', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsa', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'facilis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'facilis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 4bdd401d..d81fa3b8 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'est', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'est', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quam', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quam', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 12791205..82e6dc11 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yfqwkqknufqvkrkihg' + name: 'xl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yfqwkqknufqvkrkihg' + name: 'xl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b4af2b45a3e6605f103c614616e4ec6e14bafe56 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 13:13:04 +0000 Subject: [PATCH 23/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 57535973..7c8bcbcf 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-228e5e4b58ef1db78cc4762898961e3f01c5e8b0a73c4ecf50e46bdf63fe5874.yml -openapi_spec_hash: 52c5d5d27afadbefbb9672f10f1d4867 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b97ef4ada355dc29dcda44aaa240d7ae51affb7573331f039de8f204ec07fb6d.yml +openapi_spec_hash: 62f41c3ea5bbda67c8b977f70fbd67d5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 384f8ecc..53e3c4cc 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('quo'); + $result = $this->client->accounts->disconnect('laboriosam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index d0da96a5..59cb67bb 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptas', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptas', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..7ee39e13 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index de9e8bcf..b6397955 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('laudantium'); + $result = $this->client->smartLinks->listClicks('eos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('esse'); + $result = $this->client->smartLinks->listConversions('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('impedit'); + $result = $this->client->smartLinks->listFans('odio'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('quibusdam'); + $result = $this->client->smartLinks->listSpenders('dicta'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('temporibus'); + $result = $this->client->smartLinks->retrieveCohortArps('alias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('nulla'); + $result = $this->client->smartLinks->retrieveStats('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 57ce1246..2b7f092b 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f0423b76..7ef84ccc 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ex', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ex', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ex', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ex', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ullam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ullam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'cupiditate', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'cupiditate', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index d81fa3b8..63c25068 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'tempora', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'tempora', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'tempora', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'tempora', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatibus', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatibus', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'autem', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 82e6dc11..cb1c8e8b 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xl' + name: 'arzef' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xl' + name: 'arzef' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 150fbfa30008ab18d1dc527a787aff9f64705c39 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 11:12:57 +0000 Subject: [PATCH 24/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7c8bcbcf..af709734 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b97ef4ada355dc29dcda44aaa240d7ae51affb7573331f039de8f204ec07fb6d.yml -openapi_spec_hash: 62f41c3ea5bbda67c8b977f70fbd67d5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ef85e250cd665c3626cc59794b128ccb6e806f8efe43ed8a80c77a09bd191214.yml +openapi_spec_hash: 319f7a2c4c40340d82fb29dc4f6cb551 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 53e3c4cc..6764b4bc 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('laboriosam'); + $result = $this->client->accounts->disconnect('quas'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..10c74658 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 59cb67bb..70a5b681 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'sequi', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sequi', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sequi', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sequi', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7ee39e13..1d09e9c6 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'autem', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'autem', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'autem', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'autem', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index b6397955..8d314b79 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('eos'); + $result = $this->client->smartLinks->listClicks('totam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('sit'); + $result = $this->client->smartLinks->listConversions('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('odio'); + $result = $this->client->smartLinks->listFans('quae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('dicta'); + $result = $this->client->smartLinks->listSpenders('eaque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('alias'); + $result = $this->client->smartLinks->retrieveCohortArps('veniam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('voluptatem'); + $result = $this->client->smartLinks->retrieveStats('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2b7f092b..6ac69332 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'repellat', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'repellat', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'repellat', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'repellat', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 7ef84ccc..331a5c45 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'placeat', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'placeat', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'placeat', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'placeat', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eos', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eos', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 63c25068..07dfdee2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'tempore', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'tempore', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'tempore', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'tempore', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'debitis', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'debitis', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'mollitia', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'mollitia', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index cb1c8e8b..9bd2dbd5 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'arzef' + name: 'uwshox' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'arzef' + name: 'uwshox' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9edc1aa34aced890ec942b554c78fb241cd647f8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 16:13:02 +0000 Subject: [PATCH 25/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index af709734..7b5b2f24 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ef85e250cd665c3626cc59794b128ccb6e806f8efe43ed8a80c77a09bd191214.yml -openapi_spec_hash: 319f7a2c4c40340d82fb29dc4f6cb551 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-675cb8ae7441cf596e1a10c0194d8af0f9d6c95b258b3699731ee30ed684ae71.yml +openapi_spec_hash: c9d7797180464b750e0ec0af58540375 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6764b4bc..930818de 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('quas'); + $result = $this->client->accounts->disconnect('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 10c74658..5c5689fe 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'suscipit', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'suscipit', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 70a5b681..0b755386 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'veritatis', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'veritatis', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'veritatis', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'veritatis', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1d09e9c6..59b84195 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'veritatis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'veritatis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'veritatis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'veritatis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 8d314b79..ce8bce0d 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('totam'); + $result = $this->client->smartLinks->listClicks('blanditiis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('est'); + $result = $this->client->smartLinks->listConversions('magnam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quae'); + $result = $this->client->smartLinks->listFans('quisquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('eaque'); + $result = $this->client->smartLinks->listSpenders('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('veniam'); + $result = $this->client->smartLinks->retrieveCohortArps('accusantium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('est'); + $result = $this->client->smartLinks->retrieveStats('a'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 6ac69332..5817f71f 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'fugiat', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'fugiat', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'fugiat', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'fugiat', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 331a5c45..d138000d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'officia', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'officia', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'officia', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'officia', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'architecto', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'architecto', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 07dfdee2..8844f0cf 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sunt', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sunt', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sunt', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sunt', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'velit', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'velit', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'sit', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sit', + 'id', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 9bd2dbd5..8ef9eb63 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'uwshox' + name: 'juw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'uwshox' + name: 'juw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c7f9d3185f39dfae7081e07312e8773705807bd1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 20:13:01 +0000 Subject: [PATCH 26/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b5b2f24..78dfd388 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-675cb8ae7441cf596e1a10c0194d8af0f9d6c95b258b3699731ee30ed684ae71.yml -openapi_spec_hash: c9d7797180464b750e0ec0af58540375 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d34944375289bdc9263e671e1ba4651a791ca2b50ae942618b57a02a78944cea.yml +openapi_spec_hash: 5d40232815622281f16d43e62189f2c4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..bb1b1b97 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('voluptatem'); + $result = $this->client->accounts->disconnect('vero'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 5c5689fe..19103f09 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 0b755386..3de3e957 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'laborum', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'laborum', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'laborum', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'laborum', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59b84195..e5919b83 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ce8bce0d..e945415e 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('blanditiis'); + $result = $this->client->smartLinks->listClicks('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('magnam'); + $result = $this->client->smartLinks->listConversions('id'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quisquam'); + $result = $this->client->smartLinks->listFans('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('sit'); + $result = $this->client->smartLinks->listSpenders('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('accusantium'); + $result = $this->client->smartLinks->retrieveCohortArps('assumenda'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('a'); + $result = $this->client->smartLinks->retrieveStats('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 5817f71f..398dc71e 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'pariatur', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'pariatur', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'pariatur', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'pariatur', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d138000d..40577231 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'inventore', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'inventore', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 8844f0cf..024371f0 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'optio', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'optio', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorem', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorem', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laborum', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laborum', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 8ef9eb63..c5b1bf14 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'juw' + name: 'ec' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'juw' + name: 'ec' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3465acbd130e62466671d2b3e370bbecd67535f9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 21:13:10 +0000 Subject: [PATCH 27/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 ++++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 ++++++++-------- tests/Services/TrialLinksTest.php | 12 ++++++------ tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 78dfd388..add21bf4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d34944375289bdc9263e671e1ba4651a791ca2b50ae942618b57a02a78944cea.yml -openapi_spec_hash: 5d40232815622281f16d43e62189f2c4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e92803f481c7385ea22b1fdde55ec063f05b1ecf5b66a7ab5f22810206cde999.yml +openapi_spec_hash: fed9c7c8439462ab4f3cf2c960eda52e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bb1b1b97..0d20cc2a 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('vero'); + $result = $this->client->accounts->disconnect('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..3b0ee14f 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 3de3e957..1b246c6e 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'corporis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'corporis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'corporis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'corporis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index e5919b83..4f87000c 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'molestias', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'molestias', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'molestias', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'molestias', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index e945415e..ed1ff39b 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('ut'); + $result = $this->client->smartLinks->listClicks('occaecati'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('id'); + $result = $this->client->smartLinks->listConversions('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quis'); + $result = $this->client->smartLinks->listFans('at'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('aut'); + $result = $this->client->smartLinks->listSpenders('doloremque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('assumenda'); + $result = $this->client->smartLinks->retrieveCohortArps('consectetur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('quis'); + $result = $this->client->smartLinks->retrieveStats('dolores'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 398dc71e..69d4da58 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'explicabo', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'explicabo', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'explicabo', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'explicabo', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 40577231..1e0403b0 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'natus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'natus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'natus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'natus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'consequatur', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'consequatur', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 024371f0..8244433e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'facilis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'facilis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'perspiciatis', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'perspiciatis', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nesciunt', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nesciunt', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index c5b1bf14..d0a26b7b 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ec' + name: 'vpcgpo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ec' + name: 'vpcgpo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 347d1c065fcf3ad0e1f8986d3cb8a1e1e65ea4ea Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 14:12:58 +0000 Subject: [PATCH 28/56] feat(api): api update --- .stats.yml | 4 ++-- .../SmartLinkPostbacksContract.php | 2 +- src/Services/SmartLinkPostbacksService.php | 2 +- .../SmartLinkPostbackCreateParams.php | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinkPostbacksTest.php | 8 ++++---- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 17 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.stats.yml b/.stats.yml index add21bf4..1940ec08 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e92803f481c7385ea22b1fdde55ec063f05b1ecf5b66a7ab5f22810206cde999.yml -openapi_spec_hash: fed9c7c8439462ab4f3cf2c960eda52e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-da3477c07ba03855de3b6cdc521c4721e162cc61e9160e2888f54b2c8015f1e6.yml +openapi_spec_hash: 1438c6cc0a359e8fb18784ea4559a206 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/SmartLinkPostbacksContract.php b/src/ServiceContracts/SmartLinkPostbacksContract.php index 09756f1d..a8a0c932 100644 --- a/src/ServiceContracts/SmartLinkPostbacksContract.php +++ b/src/ServiceContracts/SmartLinkPostbacksContract.php @@ -22,7 +22,7 @@ interface SmartLinkPostbacksContract * * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param SmartLinkScope|value-of $smartLinkScope `global` fires for all Smart Links. `campaign_specific` fires only for selected Smart Links. - * @param string $url The destination URL. Variables such as `{click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * @param string $url The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * diff --git a/src/Services/SmartLinkPostbacksService.php b/src/Services/SmartLinkPostbacksService.php index 1c94c9a5..8b4af0fb 100644 --- a/src/Services/SmartLinkPostbacksService.php +++ b/src/Services/SmartLinkPostbacksService.php @@ -42,7 +42,7 @@ public function __construct(private Client $client) * * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param SmartLinkScope|value-of $smartLinkScope `global` fires for all Smart Links. `campaign_specific` fires only for selected Smart Links. - * @param string $url The destination URL. Variables such as `{click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * @param string $url The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php index 1f77f583..02958307 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php @@ -46,7 +46,7 @@ final class SmartLinkPostbackCreateParams implements BaseModel public string $smartLinkScope; /** - * The destination URL. Variables such as `{click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. */ #[Required] public string $url; @@ -137,7 +137,7 @@ public function withSmartLinkScope( } /** - * The destination URL. Variables such as `{click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. */ public function withURL(string $url): self { diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0d20cc2a..64ec4d61 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('est'); + $result = $this->client->accounts->disconnect('ullam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 3b0ee14f..15a2fe0b 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'praesentium', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'praesentium', + 'porro', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 1b246c6e..adef3f81 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quis', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quis', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quis', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quis', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4f87000c..9e78af51 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'temporibus', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'temporibus', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'temporibus', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'temporibus', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinkPostbacksTest.php b/tests/Services/SmartLinkPostbacksTest.php index 88d54928..fcee463d 100644 --- a/tests/Services/SmartLinkPostbacksTest.php +++ b/tests/Services/SmartLinkPostbacksTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->smartLinkPostbacks->create( conversionTypes: ['new_subscriber', 'new_transaction'], smartLinkScope: 'campaign_specific', - url: 'https://example.com/postback?click={click_id}&type={conversion_type}&gclid={gclid}', + url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}&gclid={gclid}', ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -58,7 +58,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->smartLinkPostbacks->create( conversionTypes: ['new_subscriber', 'new_transaction'], smartLinkScope: 'campaign_specific', - url: 'https://example.com/postback?click={click_id}&type={conversion_type}&gclid={gclid}', + url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}&gclid={gclid}', smartLinkIDs: ['01JTESTLINK000000000000001'], ); @@ -90,7 +90,7 @@ public function testUpdate(): void 123, conversionTypes: ['new_subscriber'], smartLinkScope: 'global', - url: 'https://example.com/postback?click={click_id}&type={conversion_type}', + url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}', ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -108,7 +108,7 @@ public function testUpdateWithOptionalParams(): void 123, conversionTypes: ['new_subscriber'], smartLinkScope: 'global', - url: 'https://example.com/postback?click={click_id}&type={conversion_type}', + url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}', smartLinkIDs: ['01JTESTLINK000000000000001'], ); diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ed1ff39b..817b8ef7 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('occaecati'); + $result = $this->client->smartLinks->listClicks('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ut'); + $result = $this->client->smartLinks->listConversions('quo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('at'); + $result = $this->client->smartLinks->listFans('inventore'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('doloremque'); + $result = $this->client->smartLinks->listSpenders('laborum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('consectetur'); + $result = $this->client->smartLinks->retrieveCohortArps('vitae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('dolores'); + $result = $this->client->smartLinks->retrieveStats('molestias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 69d4da58..35068e27 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'itaque', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'itaque', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'itaque', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'itaque', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1e0403b0..cc4939f3 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'inventore', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'inventore', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'molestiae', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'molestiae', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 8244433e..b8f2c2ad 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'in', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'in', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'in', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'in', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'nobis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'nobis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quo', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quo', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index d0a26b7b..31ea5985 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vpcgpo' + name: 'nrogtggpiijwuqmulos' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vpcgpo' + name: 'nrogtggpiijwuqmulos' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e3ff8106fdcde19729265f1b1d5ff04337979b07 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 16:12:57 +0000 Subject: [PATCH 29/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1940ec08..c13af489 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-da3477c07ba03855de3b6cdc521c4721e162cc61e9160e2888f54b2c8015f1e6.yml -openapi_spec_hash: 1438c6cc0a359e8fb18784ea4559a206 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c457858fdd0d57f8f4b687cbcf6b65e5b1cf86f7cefe0d3635cd484a401fd23b.yml +openapi_spec_hash: f5f234adf7d7358ec8fb70bfb1e07aa5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 64ec4d61..16248960 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('ullam'); + $result = $this->client->accounts->disconnect('quisquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 15a2fe0b..1c66f3b6 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index adef3f81..7c6a28d3 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'nam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 9e78af51..36f70c26 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'distinctio', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'distinctio', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'distinctio', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'distinctio', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 817b8ef7..2b25927e 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('in'); + $result = $this->client->smartLinks->listClicks('fugiat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('quo'); + $result = $this->client->smartLinks->listConversions('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('inventore'); + $result = $this->client->smartLinks->listFans('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('laborum'); + $result = $this->client->smartLinks->listSpenders('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('vitae'); + $result = $this->client->smartLinks->retrieveCohortArps('laudantium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('molestias'); + $result = $this->client->smartLinks->retrieveStats('similique'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 35068e27..2a319b97 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'perferendis', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'perferendis', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'perferendis', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'perferendis', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index cc4939f3..1243ece2 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'reprehenderit', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'reprehenderit', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'reprehenderit', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'reprehenderit', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + 'et', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'beatae', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'beatae', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index b8f2c2ad..c3156b34 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolorem', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolorem', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nihil', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nihil', + 'libero', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'laboriosam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laboriosam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 31ea5985..9c155de1 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nrogtggpiijwuqmulos' + name: 'oaoushuzikfwtaepdkm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nrogtggpiijwuqmulos' + name: 'oaoushuzikfwtaepdkm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2ee574d033d7c8bb9abdfd7c3d81821c00cb4d2e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:13:09 +0000 Subject: [PATCH 30/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index c13af489..920904a9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c457858fdd0d57f8f4b687cbcf6b65e5b1cf86f7cefe0d3635cd484a401fd23b.yml -openapi_spec_hash: f5f234adf7d7358ec8fb70bfb1e07aa5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-53b36aaa9725d64141e250734aabae8661a7c89e51dfe432dfa75bcfdb9dcb45.yml +openapi_spec_hash: 3a472c76c2e292198869edf6e24266a9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 16248960..6bfb8e9c 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('quisquam'); + $result = $this->client->accounts->disconnect('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1c66f3b6..7b1d8ba7 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quo', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quo', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7c6a28d3..7f0c8d7d 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 36f70c26..5c1d9f82 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'nobis', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nobis', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nobis', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nobis', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 2b25927e..afedb100 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('fugiat'); + $result = $this->client->smartLinks->listClicks('enim'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('voluptatem'); + $result = $this->client->smartLinks->listConversions('quos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quia'); + $result = $this->client->smartLinks->listFans('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('sit'); + $result = $this->client->smartLinks->listSpenders('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('laudantium'); + $result = $this->client->smartLinks->retrieveCohortArps('quam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('similique'); + $result = $this->client->smartLinks->retrieveStats('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2a319b97..d7e22f05 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'sunt', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sunt', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sunt', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sunt', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1243ece2..dde5ac18 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'animi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'animi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'animi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'animi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'non', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'reprehenderit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'reprehenderit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index c3156b34..5d1f09d5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'illum', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'illum', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'illum', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'illum', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'libero', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'libero', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'eos', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eos', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 9c155de1..0020dc70 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oaoushuzikfwtaepdkm' + name: 'a' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oaoushuzikfwtaepdkm' + name: 'a' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 75cb87233d33df903f3def9ecdf55d127944b3ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 20:13:05 +0000 Subject: [PATCH 31/56] feat(api): api update --- .stats.yml | 4 +-- src/Media/Vault/Lists/ListUpdateParams.php | 26 ++++++++++++++++--- .../Media/Vault/ListsContract.php | 6 +++-- .../Media/Vault/ListsRawContract.php | 2 +- src/Services/Media/Vault/ListsRawService.php | 5 ++-- src/Services/Media/Vault/ListsService.php | 8 +++--- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 +-- .../Services/Media/Vault/Lists/MediaTest.php | 8 +++--- tests/Services/Media/Vault/ListsTest.php | 6 +++-- tests/Services/Posts/CommentsTest.php | 8 +++--- .../SavedForLater/Posts/SettingsTest.php | 4 +-- tests/Services/SmartLinksTest.php | 12 ++++----- tests/Services/Stories/HighlightsTest.php | 8 +++--- tests/Services/TrackingLinksTest.php | 16 ++++++------ tests/Services/TrialLinksTest.php | 20 +++++++------- tests/Services/UserListsTest.php | 4 +-- 18 files changed, 85 insertions(+), 60 deletions(-) diff --git a/.stats.yml b/.stats.yml index 920904a9..e4e8ffa8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-53b36aaa9725d64141e250734aabae8661a7c89e51dfe432dfa75bcfdb9dcb45.yml -openapi_spec_hash: 3a472c76c2e292198869edf6e24266a9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a6dce7668a28815048567f576320f6a79e42ccf548e3b6dbef252d89e1853271.yml +openapi_spec_hash: 8384edfcec4a69602c57dab9143c101d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Media/Vault/Lists/ListUpdateParams.php b/src/Media/Vault/Lists/ListUpdateParams.php index a0d62cdc..e3b36ac3 100644 --- a/src/Media/Vault/Lists/ListUpdateParams.php +++ b/src/Media/Vault/Lists/ListUpdateParams.php @@ -14,7 +14,7 @@ * * @see OnlyFansAPI\Services\Media\Vault\ListsService::update() * - * @phpstan-type ListUpdateParamsShape = array{account: string} + * @phpstan-type ListUpdateParamsShape = array{account: string, name: string} */ final class ListUpdateParams implements BaseModel { @@ -25,18 +25,24 @@ final class ListUpdateParams implements BaseModel #[Required] public string $account; + /** + * The new name for the vault list. Must not be greater than 255 characters. + */ + #[Required] + public string $name; + /** * `new ListUpdateParams()` is missing required properties by the API. * * To enforce required parameters use * ``` - * ListUpdateParams::with(account: ...) + * ListUpdateParams::with(account: ..., name: ...) * ``` * * Otherwise ensure the following setters are called * * ``` - * (new ListUpdateParams)->withAccount(...) + * (new ListUpdateParams)->withAccount(...)->withName(...) * ``` */ public function __construct() @@ -49,11 +55,12 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. */ - public static function with(string $account): self + public static function with(string $account, string $name): self { $self = new self; $self['account'] = $account; + $self['name'] = $name; return $self; } @@ -65,4 +72,15 @@ public function withAccount(string $account): self return $self; } + + /** + * The new name for the vault list. Must not be greater than 255 characters. + */ + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } } diff --git a/src/ServiceContracts/Media/Vault/ListsContract.php b/src/ServiceContracts/Media/Vault/ListsContract.php index 64f01366..9cc5f362 100644 --- a/src/ServiceContracts/Media/Vault/ListsContract.php +++ b/src/ServiceContracts/Media/Vault/ListsContract.php @@ -50,8 +50,9 @@ public function retrieve( /** * @api * - * @param string $listID The ID of the list - * @param string $account The Account ID + * @param string $listID Path param: The ID of the list + * @param string $account Path param: The Account ID + * @param string $name Body param: The new name for the vault list. Must not be greater than 255 characters. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -59,6 +60,7 @@ public function retrieve( public function update( string $listID, string $account, + string $name, RequestOptions|array|null $requestOptions = null, ): ListUpdateResponse; diff --git a/src/ServiceContracts/Media/Vault/ListsRawContract.php b/src/ServiceContracts/Media/Vault/ListsRawContract.php index 321c12a1..2cee7519 100644 --- a/src/ServiceContracts/Media/Vault/ListsRawContract.php +++ b/src/ServiceContracts/Media/Vault/ListsRawContract.php @@ -60,7 +60,7 @@ public function retrieve( /** * @api * - * @param string $listID The ID of the list + * @param string $listID Path param: The ID of the list * @param array|ListUpdateParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/Media/Vault/ListsRawService.php b/src/Services/Media/Vault/ListsRawService.php index 9f915cf6..e9bac9fa 100644 --- a/src/Services/Media/Vault/ListsRawService.php +++ b/src/Services/Media/Vault/ListsRawService.php @@ -103,8 +103,8 @@ public function retrieve( * * Rename a Vault list. * - * @param string $listID The ID of the list - * @param array{account: string}|ListUpdateParams $params + * @param string $listID Path param: The ID of the list + * @param array{account: string, name: string}|ListUpdateParams $params * @param RequestOpts|null $requestOptions * * @return BaseResponse @@ -127,6 +127,7 @@ public function update( return $this->client->request( method: 'put', path: ['api/%1$s/media/vault/lists/%2$s', $account, $listID], + body: (object) array_diff_key($parsed, array_flip(['account'])), options: $options, convert: ListUpdateResponse::class, ); diff --git a/src/Services/Media/Vault/ListsService.php b/src/Services/Media/Vault/ListsService.php index c63cff1d..77d0d164 100644 --- a/src/Services/Media/Vault/ListsService.php +++ b/src/Services/Media/Vault/ListsService.php @@ -93,8 +93,9 @@ public function retrieve( * * Rename a Vault list. * - * @param string $listID The ID of the list - * @param string $account The Account ID + * @param string $listID Path param: The ID of the list + * @param string $account Path param: The Account ID + * @param string $name Body param: The new name for the vault list. Must not be greater than 255 characters. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -102,9 +103,10 @@ public function retrieve( public function update( string $listID, string $account, + string $name, RequestOptions|array|null $requestOptions = null, ): ListUpdateResponse { - $params = Util::removeNulls(['account' => $account]); + $params = Util::removeNulls(['account' => $account, 'name' => $name]); // @phpstan-ignore-next-line argument.type $response = $this->raw->update($listID, params: $params, requestOptions: $requestOptions); diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6bfb8e9c..e26540f0 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('quia'); + $result = $this->client->accounts->disconnect('dignissimos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 7b1d8ba7..9f9da0b0 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7f0c8d7d..48bef33a 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'ex', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ex', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Media/Vault/ListsTest.php b/tests/Services/Media/Vault/ListsTest.php index 16e27f56..6ce4a51a 100644 --- a/tests/Services/Media/Vault/ListsTest.php +++ b/tests/Services/Media/Vault/ListsTest.php @@ -105,7 +105,8 @@ public function testUpdate(): void $result = $this->client->media->vault->lists->update( '123', - account: 'acct_XXXXXXXXXXXXXXX' + account: 'acct_XXXXXXXXXXXXXXX', + name: 'My renamed list' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -121,7 +122,8 @@ public function testUpdateWithOptionalParams(): void $result = $this->client->media->vault->lists->update( '123', - account: 'acct_XXXXXXXXXXXXXXX' + account: 'acct_XXXXXXXXXXXXXXX', + name: 'My renamed list' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5c1d9f82..0831cab1 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'molestiae', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'molestiae', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'molestiae', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'molestiae', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index afedb100..b2c2e2b7 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('enim'); + $result = $this->client->smartLinks->listClicks('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('quos'); + $result = $this->client->smartLinks->listConversions('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('qui'); + $result = $this->client->smartLinks->listFans('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('in'); + $result = $this->client->smartLinks->listSpenders('ullam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('quam'); + $result = $this->client->smartLinks->retrieveCohortArps('eligendi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('non'); + $result = $this->client->smartLinks->retrieveStats('repellat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index d7e22f05..330c218a 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'nulla', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nulla', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nulla', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nulla', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index dde5ac18..c234f758 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quidem', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quidem', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quidem', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quidem', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'a', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'inventore', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'inventore', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 5d1f09d5..3d26f1e9 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'modi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'modi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'modi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'modi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'tempore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'tempore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quam', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quam', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 0020dc70..a26be15a 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'a' + name: 'iirlhpwuag' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'a' + name: 'iirlhpwuag' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 220694c485a0161bee8d450cd84015ecf8708b5c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 03:13:04 +0000 Subject: [PATCH 32/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 10 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.stats.yml b/.stats.yml index e4e8ffa8..e8458a5b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a6dce7668a28815048567f576320f6a79e42ccf548e3b6dbef252d89e1853271.yml -openapi_spec_hash: 8384edfcec4a69602c57dab9143c101d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7ec272d9816b974c4a10229c2fbf38ed7fca5382573f61a61f0d60f4ff7c7dac.yml +openapi_spec_hash: 63d89cac4960c7fd029e686c22109a84 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e26540f0..6529a66f 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('dignissimos'); + $result = $this->client->accounts->disconnect('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 9f9da0b0..10c74658 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aperiam', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aperiam', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 48bef33a..c9134fac 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'id', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'id', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0831cab1..ee4163ea 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'aspernatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aspernatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'aspernatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aspernatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index b2c2e2b7..918a5323 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('et'); + $result = $this->client->smartLinks->listClicks('distinctio'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('natus'); + $result = $this->client->smartLinks->listConversions('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('amet'); + $result = $this->client->smartLinks->listFans('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('ullam'); + $result = $this->client->smartLinks->listSpenders('quibusdam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('eligendi'); + $result = $this->client->smartLinks->retrieveCohortArps('odit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('repellat'); + $result = $this->client->smartLinks->retrieveStats('doloremque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c234f758..1518efc7 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'nemo', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'nemo', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'nemo', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'nemo', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'a', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'a', + 'odio', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'amet', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'amet', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 3d26f1e9..cf74d629 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'id', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'id', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'doloribus', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'doloribus', + 'a', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'necessitatibus', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'necessitatibus', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index a26be15a..2de38c73 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'iirlhpwuag' + name: 'xchmnzdqtiuwhahh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'iirlhpwuag' + name: 'xchmnzdqtiuwhahh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2666e0be7997782696ec390d69ab3f050cf52489 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 11:12:55 +0000 Subject: [PATCH 33/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index e8458a5b..252a0b61 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7ec272d9816b974c4a10229c2fbf38ed7fca5382573f61a61f0d60f4ff7c7dac.yml -openapi_spec_hash: 63d89cac4960c7fd029e686c22109a84 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ccbb99ea966aca7065532cf62680cffc02dbe6418ff94a8d19f073db6e2bebd0.yml +openapi_spec_hash: eebd244f25ae287b2cca731dbeef7fd5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..545acc91 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('aut'); + $result = $this->client->accounts->disconnect('nobis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 10c74658..30019163 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'suscipit', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'suscipit', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index c9134fac..7c6a28d3 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'nihil', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nihil', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ee4163ea..04076030 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'velit', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'velit', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'velit', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'velit', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 918a5323..7b7ae4a9 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('distinctio'); + $result = $this->client->smartLinks->listClicks('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('dolor'); + $result = $this->client->smartLinks->listConversions('odio'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('est'); + $result = $this->client->smartLinks->listFans('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('quibusdam'); + $result = $this->client->smartLinks->listSpenders('beatae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('odit'); + $result = $this->client->smartLinks->retrieveCohortArps('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('doloremque'); + $result = $this->client->smartLinks->retrieveStats('magni'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 330c218a..2443ecae 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1518efc7..078ddb47 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eius', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eius', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'odio', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'odio', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'placeat', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'placeat', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index cf74d629..f903d420 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'a', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'a', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 2de38c73..4899153b 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xchmnzdqtiuwhahh' + name: 'gfpqzjnou' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xchmnzdqtiuwhahh' + name: 'gfpqzjnou' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8e1f5379384bdf367d9cfc2c03602508f94f6336 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 13:12:55 +0000 Subject: [PATCH 34/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 10 +++++----- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 252a0b61..e3aaaadd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ccbb99ea966aca7065532cf62680cffc02dbe6418ff94a8d19f073db6e2bebd0.yml -openapi_spec_hash: eebd244f25ae287b2cca731dbeef7fd5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-641f663d0134786ff1239eab224f03030f08704502dfa7d9f9d8ad3a3caa55e1.yml +openapi_spec_hash: 795d08db1824ff18cf8828f2dfd068f9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 545acc91..1b0ffdee 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('nobis'); + $result = $this->client->accounts->disconnect('voluptatum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 30019163..07ec7fa7 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'officia', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'officia', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7c6a28d3..963f2c8f 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 04076030..cca4f113 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'laborum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'laborum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'laborum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'laborum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 7b7ae4a9..cf21f129 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('quia'); + $result = $this->client->smartLinks->listClicks('error'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('odio'); + $result = $this->client->smartLinks->listConversions('ipsam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('sed'); + $result = $this->client->smartLinks->listFans('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('sed'); + $result = $this->client->smartLinks->retrieveCohortArps('beatae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('magni'); + $result = $this->client->smartLinks->retrieveStats('at'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2443ecae..68c61dd1 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 078ddb47..a8d3798d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laboriosam', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laboriosam', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'ex', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ex', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index f903d420..bbcfa923 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'laborum', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'laborum', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'laborum', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'laborum', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'non', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 4899153b..5ba5c1ba 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gfpqzjnou' + name: 'mklozuwszqf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gfpqzjnou' + name: 'mklozuwszqf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 864aec898b43f1f0f4c47480e1d0d9467d2d0361 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:56:22 +0000 Subject: [PATCH 35/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index e3aaaadd..9dc41654 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-641f663d0134786ff1239eab224f03030f08704502dfa7d9f9d8ad3a3caa55e1.yml -openapi_spec_hash: 795d08db1824ff18cf8828f2dfd068f9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b1ce2ec26e4caee65ba7ac15f712175c2d8008729c61791ef88284a3b1795fff.yml +openapi_spec_hash: 734d7ffe696a29001f0ccd6df2dad77d config_hash: 397c91e15c0024f8b5bbed9b82c2348c From ee92ab916e9276505b10aee4ed6f74a1fa7d7bff Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 16:13:10 +0000 Subject: [PATCH 36/56] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9dc41654..e3aaaadd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b1ce2ec26e4caee65ba7ac15f712175c2d8008729c61791ef88284a3b1795fff.yml -openapi_spec_hash: 734d7ffe696a29001f0ccd6df2dad77d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-641f663d0134786ff1239eab224f03030f08704502dfa7d9f9d8ad3a3caa55e1.yml +openapi_spec_hash: 795d08db1824ff18cf8828f2dfd068f9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c From 0f088f513642c5529a783199dd64f2ce8c8e4230 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 18:13:05 +0000 Subject: [PATCH 37/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index e3aaaadd..113d8fa7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-641f663d0134786ff1239eab224f03030f08704502dfa7d9f9d8ad3a3caa55e1.yml -openapi_spec_hash: 795d08db1824ff18cf8828f2dfd068f9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-58a5691f9bb5e713e93fcc654175160b7cf3dc29aa8a8630cb69dda731c357bc.yml +openapi_spec_hash: 113bf2a7381de8577997aed09e19e195 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 1b0ffdee..ac84cf76 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('voluptatum'); + $result = $this->client->accounts->disconnect('cum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07ec7fa7..2a9861d3 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'explicabo', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'explicabo', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 963f2c8f..f01aab2f 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'reprehenderit', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'reprehenderit', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'reprehenderit', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'reprehenderit', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cca4f113..b20ff12d 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'est', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'est', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'est', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'est', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index cf21f129..c443137d 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('error'); + $result = $this->client->smartLinks->listClicks('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ipsam'); + $result = $this->client->smartLinks->listConversions('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('et'); + $result = $this->client->smartLinks->listFans('saepe'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('beatae'); + $result = $this->client->smartLinks->listSpenders('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('beatae'); + $result = $this->client->smartLinks->retrieveCohortArps('eligendi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('at'); + $result = $this->client->smartLinks->retrieveStats('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 68c61dd1..0ad1f56f 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a8d3798d..bf501b02 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'magni', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'magni', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'magni', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'magni', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'tempora', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'tempora', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index bbcfa923..f8408ec2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dicta', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dicta', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dicta', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dicta', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'inventore', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'inventore', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 5ba5c1ba..6cda0ba5 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mklozuwszqf' + name: 'kzxnsqieiladfairxairlcpjg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mklozuwszqf' + name: 'kzxnsqieiladfairxairlcpjg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a4a09a64f6dc27355e543ad3953e636a28e8fdf9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 20:13:02 +0000 Subject: [PATCH 38/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 113d8fa7..273003d5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-58a5691f9bb5e713e93fcc654175160b7cf3dc29aa8a8630cb69dda731c357bc.yml -openapi_spec_hash: 113bf2a7381de8577997aed09e19e195 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e5b9679cc16dfefa265a334476fb3bc56b4f66e1bc075a519313d18d4d14c5e1.yml +openapi_spec_hash: 2308e7a123b6fa89f5e6f1f2b6496ed6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index ac84cf76..6d1ec048 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('cum'); + $result = $this->client->accounts->disconnect('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 2a9861d3..5faabe07 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'numquam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'numquam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index f01aab2f..7f0c8d7d 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'magnam', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'magnam', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b20ff12d..35bb13bc 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'blanditiis', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'blanditiis', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'blanditiis', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'blanditiis', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index c443137d..5bfeedde 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('qui'); + $result = $this->client->smartLinks->listClicks('totam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ut'); + $result = $this->client->smartLinks->listConversions('rerum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('saepe'); + $result = $this->client->smartLinks->listFans('labore'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('qui'); + $result = $this->client->smartLinks->listSpenders('voluptatum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('eligendi'); + $result = $this->client->smartLinks->retrieveCohortArps('velit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('et'); + $result = $this->client->smartLinks->retrieveStats('omnis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 0ad1f56f..763ede48 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'blanditiis', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'blanditiis', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'blanditiis', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'blanditiis', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index bf501b02..b9fd93d4 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptates', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptates', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptates', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptates', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'ex', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ex', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index f8408ec2..de7fa050 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'repudiandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'repudiandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'repudiandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'repudiandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iure', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iure', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sed', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sed', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'corporis', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'corporis', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 6cda0ba5..93c0fe35 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kzxnsqieiladfairxairlcpjg' + name: 'foxmfspzyffhxlhqxdmlmto' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kzxnsqieiladfairxairlcpjg' + name: 'foxmfspzyffhxlhqxdmlmto' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 77b0151c0213f328df0f0aac7fd44bf5bf9c2f70 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 16:12:56 +0000 Subject: [PATCH 39/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 273003d5..4ed12a07 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e5b9679cc16dfefa265a334476fb3bc56b4f66e1bc075a519313d18d4d14c5e1.yml -openapi_spec_hash: 2308e7a123b6fa89f5e6f1f2b6496ed6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-dfa9194b09a0589fd3344d6ea20b2c2b330b0a235026e4e772a0e95112e94c0d.yml +openapi_spec_hash: 10b2a643dc02cbcd2499ebe551257acd config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6d1ec048..545acc91 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('dolor'); + $result = $this->client->accounts->disconnect('nobis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 5faabe07..8cf80eda 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloremque', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloremque', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7f0c8d7d..b29860a1 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'ex', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ex', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 35bb13bc..83e97f5a 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'deserunt', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'deserunt', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'deserunt', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'deserunt', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 5bfeedde..bc150cd7 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('totam'); + $result = $this->client->smartLinks->listClicks('quibusdam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('rerum'); + $result = $this->client->smartLinks->listConversions('soluta'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('labore'); + $result = $this->client->smartLinks->listFans('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('voluptatum'); + $result = $this->client->smartLinks->listSpenders('culpa'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('velit'); + $result = $this->client->smartLinks->retrieveCohortArps('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('omnis'); + $result = $this->client->smartLinks->retrieveStats('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 763ede48..b4d1bebe 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'nostrum', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nostrum', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nostrum', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nostrum', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b9fd93d4..af00a217 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'assumenda', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'assumenda', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'assumenda', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'assumenda', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'in', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'aperiam', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aperiam', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index de7fa050..7a452379 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'rerum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'rerum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'vel', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'vel', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quae', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quae', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'cumque', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'cumque', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 93c0fe35..ac28b7fa 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'foxmfspzyffhxlhqxdmlmto' + name: 'zxawrlntjvpczctt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'foxmfspzyffhxlhqxdmlmto' + name: 'zxawrlntjvpczctt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6fdab283d9e34a0ebbd0c16f8bd279b8e359e258 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2026 22:13:01 +0000 Subject: [PATCH 40/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4ed12a07..e444cca6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-dfa9194b09a0589fd3344d6ea20b2c2b330b0a235026e4e772a0e95112e94c0d.yml -openapi_spec_hash: 10b2a643dc02cbcd2499ebe551257acd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8e5ddc9ff4b3c807dbee077def9b9ef094ad5f0f34a7c55136ec1179667652f4.yml +openapi_spec_hash: 8ee37c36163bd14eeccfd489360a2d79 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 545acc91..21626e83 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('nobis'); + $result = $this->client->accounts->disconnect('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 8cf80eda..54120be1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index b29860a1..4e83c9c8 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'distinctio', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'distinctio', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'distinctio', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'distinctio', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 83e97f5a..5280f484 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'ipsum', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ipsum', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ipsum', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ipsum', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index bc150cd7..38652003 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('quibusdam'); + $result = $this->client->smartLinks->listClicks('voluptatibus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('soluta'); + $result = $this->client->smartLinks->listConversions('dolores'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('aut'); + $result = $this->client->smartLinks->listFans('voluptate'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('culpa'); + $result = $this->client->smartLinks->listSpenders('reiciendis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('qui'); + $result = $this->client->smartLinks->retrieveCohortArps('repellendus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('voluptatem'); + $result = $this->client->smartLinks->retrieveStats('nesciunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index b4d1bebe..d9151c4a 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'quod', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quod', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quod', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quod', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index af00a217..057fa134 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'molestiae', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'molestiae', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'molestiae', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'molestiae', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'voluptates', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptates', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 7a452379..a718e6bb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'culpa', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'culpa', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorem', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorem', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'hic', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'hic', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index ac28b7fa..e3a6e240 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zxawrlntjvpczctt' + name: 'vjxjprcshnfozfbnfl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zxawrlntjvpczctt' + name: 'vjxjprcshnfozfbnfl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1d2e5c84c3c5d191f22bd07eb5c7fc6bb90aae11 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 02:13:00 +0000 Subject: [PATCH 41/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index e444cca6..48d3a1c9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8e5ddc9ff4b3c807dbee077def9b9ef094ad5f0f34a7c55136ec1179667652f4.yml -openapi_spec_hash: 8ee37c36163bd14eeccfd489360a2d79 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-eab604f37d98f3e04e08f5f50f591467230261503eec23dcd6a36a68e02512b3.yml +openapi_spec_hash: ae4ef4ec4cf3f26b009651f73ada95d4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..4f7d4b56 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('qui'); + $result = $this->client->accounts->disconnect('asperiores'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..f7d04ae4 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 4e83c9c8..6acdc1b6 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quisquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quisquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5280f484..9947b0eb 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'nam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nam', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 38652003..71673af4 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('voluptatibus'); + $result = $this->client->smartLinks->listClicks('nulla'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('dolores'); + $result = $this->client->smartLinks->listConversions('ad'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('voluptate'); + $result = $this->client->smartLinks->listFans('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('reiciendis'); + $result = $this->client->smartLinks->listSpenders('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('repellendus'); + $result = $this->client->smartLinks->retrieveCohortArps('exercitationem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('nesciunt'); + $result = $this->client->smartLinks->retrieveStats('dolorum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index d9151c4a..5817f71f 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'minima', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'minima', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'minima', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'minima', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 057fa134..5aa049d5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index a718e6bb..ed35dc60 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'earum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'earum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'earum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'earum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'repellat', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'repellat', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'deleniti', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'deleniti', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'doloremque', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'doloremque', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index e3a6e240..2673479a 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vjxjprcshnfozfbnfl' + name: 'axmckamrfnnfxpzvob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vjxjprcshnfozfbnfl' + name: 'axmckamrfnnfxpzvob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 14a80f6188eaaec670403e0aeb6b581b0b0e5d6f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 03:12:53 +0000 Subject: [PATCH 42/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 48d3a1c9..dcf3b555 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-eab604f37d98f3e04e08f5f50f591467230261503eec23dcd6a36a68e02512b3.yml -openapi_spec_hash: ae4ef4ec4cf3f26b009651f73ada95d4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f55b2c1592727e33434046d90316dc071b11cce72dacdccb57bed289b11d3367.yml +openapi_spec_hash: 1fdb9cd0b04b4f43e9d4ef8d83634742 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 4f7d4b56..0e6c5710 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('asperiores'); + $result = $this->client->accounts->disconnect('placeat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index f7d04ae4..fdc635ba 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + 'odio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 6acdc1b6..d4765536 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 9947b0eb..0c3d9262 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'doloremque', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'doloremque', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'doloremque', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'doloremque', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 71673af4..60fcf77a 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('nulla'); + $result = $this->client->smartLinks->listClicks('tempora'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ad'); + $result = $this->client->smartLinks->listConversions('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quis'); + $result = $this->client->smartLinks->listFans('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('aut'); + $result = $this->client->smartLinks->listSpenders('eos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('exercitationem'); + $result = $this->client->smartLinks->retrieveCohortArps('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('dolorum'); + $result = $this->client->smartLinks->retrieveStats('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 5817f71f..262940c5 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'pariatur', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'pariatur', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'pariatur', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'pariatur', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5aa049d5..b06b52c6 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'adipisci', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'adipisci', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'commodi', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'commodi', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index ed35dc60..ed1dfba2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ad', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ad', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'non', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nisi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nisi', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 2673479a..ccb2e3da 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'axmckamrfnnfxpzvob' + name: 'owrslgixakelwccdlerecavh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'axmckamrfnnfxpzvob' + name: 'owrslgixakelwccdlerecavh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6c6d5e61c3ec8a8da79936e1a8b01fbcf7b0df69 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 17:13:05 +0000 Subject: [PATCH 43/56] feat(api): api update --- .stats.yml | 4 ++-- .../DataExportGetResponse/Data.php | 14 +++++++++++++ .../DataExportListResponse/Data/Data.php | 14 +++++++++++++ tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 14 files changed, 75 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index dcf3b555..a074d121 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f55b2c1592727e33434046d90316dc071b11cce72dacdccb57bed289b11d3367.yml -openapi_spec_hash: 1fdb9cd0b04b4f43e9d4ef8d83634742 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-80f0a6b60cdd7a4e61c707368aa54fd0c1bce7fc5b5997dc3b42a1bd466dd683.yml +openapi_spec_hash: 72e38ddcd236d501fab63438c14890e2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/DataExports/DataExportGetResponse/Data.php b/src/DataExports/DataExportGetResponse/Data.php index 96a52e91..c5381beb 100644 --- a/src/DataExports/DataExportGetResponse/Data.php +++ b/src/DataExports/DataExportGetResponse/Data.php @@ -21,6 +21,7 @@ * endDate?: string|null, * exportColumns?: list|null, * failedAt?: string|null, + * failedDownloads?: int|null, * failedReason?: string|null, * fileType?: string|null, * progressPercentage?: int|null, @@ -62,6 +63,9 @@ final class Data implements BaseModel #[Optional('failed_at', nullable: true)] public ?string $failedAt; + #[Optional('failed_downloads')] + public ?int $failedDownloads; + #[Optional('failed_reason', nullable: true)] public ?string $failedReason; @@ -108,6 +112,7 @@ public static function with( ?string $endDate = null, ?array $exportColumns = null, ?string $failedAt = null, + ?int $failedDownloads = null, ?string $failedReason = null, ?string $fileType = null, ?int $progressPercentage = null, @@ -127,6 +132,7 @@ public static function with( null !== $endDate && $self['endDate'] = $endDate; null !== $exportColumns && $self['exportColumns'] = $exportColumns; null !== $failedAt && $self['failedAt'] = $failedAt; + null !== $failedDownloads && $self['failedDownloads'] = $failedDownloads; null !== $failedReason && $self['failedReason'] = $failedReason; null !== $fileType && $self['fileType'] = $fileType; null !== $progressPercentage && $self['progressPercentage'] = $progressPercentage; @@ -209,6 +215,14 @@ public function withFailedAt(?string $failedAt): self return $self; } + public function withFailedDownloads(int $failedDownloads): self + { + $self = clone $this; + $self['failedDownloads'] = $failedDownloads; + + return $self; + } + public function withFailedReason(?string $failedReason): self { $self = clone $this; diff --git a/src/DataExports/DataExportListResponse/Data/Data.php b/src/DataExports/DataExportListResponse/Data/Data.php index cad7beab..ad0d6f92 100644 --- a/src/DataExports/DataExportListResponse/Data/Data.php +++ b/src/DataExports/DataExportListResponse/Data/Data.php @@ -23,6 +23,7 @@ * endDate?: string|null, * exportColumns?: list|null, * failedAt?: string|null, + * failedDownloads?: int|null, * failedReason?: string|null, * fileType?: string|null, * progressPercentage?: int|null, @@ -70,6 +71,9 @@ final class Data implements BaseModel #[Optional('failed_at', nullable: true)] public ?string $failedAt; + #[Optional('failed_downloads')] + public ?int $failedDownloads; + #[Optional('failed_reason', nullable: true)] public ?string $failedReason; @@ -118,6 +122,7 @@ public static function with( ?string $endDate = null, ?array $exportColumns = null, ?string $failedAt = null, + ?int $failedDownloads = null, ?string $failedReason = null, ?string $fileType = null, ?int $progressPercentage = null, @@ -139,6 +144,7 @@ public static function with( null !== $endDate && $self['endDate'] = $endDate; null !== $exportColumns && $self['exportColumns'] = $exportColumns; null !== $failedAt && $self['failedAt'] = $failedAt; + null !== $failedDownloads && $self['failedDownloads'] = $failedDownloads; null !== $failedReason && $self['failedReason'] = $failedReason; null !== $fileType && $self['fileType'] = $fileType; null !== $progressPercentage && $self['progressPercentage'] = $progressPercentage; @@ -237,6 +243,14 @@ public function withFailedAt(?string $failedAt): self return $self; } + public function withFailedDownloads(int $failedDownloads): self + { + $self = clone $this; + $self['failedDownloads'] = $failedDownloads; + + return $self; + } + public function withFailedReason(?string $failedReason): self { $self = clone $this; diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0e6c5710..332fcb8b 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('placeat'); + $result = $this->client->accounts->disconnect('eveniet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index fdc635ba..73906f4e 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'odio', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'odio', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index d4765536..a8a13a70 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0c3d9262..b6bf7b4e 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'laudantium', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'laudantium', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'laudantium', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'laudantium', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 60fcf77a..846bac72 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('tempora'); + $result = $this->client->smartLinks->listClicks('itaque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('dolor'); + $result = $this->client->smartLinks->listConversions('aliquid'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('natus'); + $result = $this->client->smartLinks->listFans('culpa'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('eos'); + $result = $this->client->smartLinks->listSpenders('ipsum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('quis'); + $result = $this->client->smartLinks->retrieveCohortArps('quidem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('natus'); + $result = $this->client->smartLinks->retrieveStats('voluptas'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 262940c5..905b7581 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'repudiandae', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'repudiandae', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'repudiandae', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'repudiandae', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b06b52c6..d4bf6278 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'unde', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'unde', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'unde', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'unde', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'pariatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'pariatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index ed1dfba2..c1575317 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quia', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quia', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quia', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quia', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'vel', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'vel', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index ccb2e3da..19d7c521 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'owrslgixakelwccdlerecavh' + name: 'zjrisc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'owrslgixakelwccdlerecavh' + name: 'zjrisc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 19acccf39ac8c0ebf3ecc73c132b61266c26ebc4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 18:12:57 +0000 Subject: [PATCH 44/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index a074d121..eb3560bd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-80f0a6b60cdd7a4e61c707368aa54fd0c1bce7fc5b5997dc3b42a1bd466dd683.yml -openapi_spec_hash: 72e38ddcd236d501fab63438c14890e2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b86afc817b1c0d4b2263da6812323e9a65ab58a08f4521800c03e8b73fee064a.yml +openapi_spec_hash: 277e9d0d8eec92a152492d0c4848e0e9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 332fcb8b..93269c12 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('eveniet'); + $result = $this->client->accounts->disconnect('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 73906f4e..0f7bf8ad 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index a8a13a70..d4765536 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quod', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quod', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quod', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quod', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b6bf7b4e..5f4de04b 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'amet', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'amet', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'amet', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'amet', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 846bac72..36529a1a 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('itaque'); + $result = $this->client->smartLinks->listClicks('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('aliquid'); + $result = $this->client->smartLinks->listConversions('iusto'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('culpa'); + $result = $this->client->smartLinks->listFans('maxime'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('ipsum'); + $result = $this->client->smartLinks->listSpenders('provident'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('quidem'); + $result = $this->client->smartLinks->retrieveCohortArps('atque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('voluptas'); + $result = $this->client->smartLinks->retrieveStats('reprehenderit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 905b7581..84fea1ff 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'nobis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nobis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nobis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nobis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d4bf6278..516355bf 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'eos', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eos', + 'in', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index c1575317..a2c7cedd 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'distinctio', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'distinctio', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'distinctio', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'distinctio', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptate', + 'at', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptate', + 'at', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'assumenda', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'assumenda', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 19d7c521..af08948c 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zjrisc' + name: 'xrbquznbkbofdmhozmxaufvla' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zjrisc' + name: 'xrbquznbkbofdmhozmxaufvla' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c6a50cefc4e7841499c092446deb1ee26b274d25 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 08:12:58 +0000 Subject: [PATCH 45/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index eb3560bd..1ab5398d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b86afc817b1c0d4b2263da6812323e9a65ab58a08f4521800c03e8b73fee064a.yml -openapi_spec_hash: 277e9d0d8eec92a152492d0c4848e0e9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-03ad84203a4ad47fc689c784399b8f4058f84f384ca02e91d13d74deafd1f464.yml +openapi_spec_hash: 1e03c0c31bc6b7ae69eb060385fa7895 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 93269c12..e0412cae 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('sed'); + $result = $this->client->accounts->disconnect('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 0f7bf8ad..07a744d1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'exercitationem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'exercitationem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index d4765536..1fd1cc34 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5f4de04b..8696faa3 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'excepturi', + 'non', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'excepturi', + 'non', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'excepturi', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'excepturi', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 36529a1a..16d7a41d 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('aut'); + $result = $this->client->smartLinks->listClicks('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('iusto'); + $result = $this->client->smartLinks->listConversions('praesentium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('maxime'); + $result = $this->client->smartLinks->listFans('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('provident'); + $result = $this->client->smartLinks->listSpenders('sunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('atque'); + $result = $this->client->smartLinks->retrieveCohortArps('adipisci'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('reprehenderit'); + $result = $this->client->smartLinks->retrieveStats('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 84fea1ff..4a70cfaf 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'temporibus', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'temporibus', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'temporibus', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'temporibus', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 516355bf..37248b61 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'in', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'in', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index a2c7cedd..8f5eb439 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'at', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'at', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nostrum', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nostrum', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index af08948c..47b3ab5f 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xrbquznbkbofdmhozmxaufvla' + name: 'lbafjgqoiwnq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xrbquznbkbofdmhozmxaufvla' + name: 'lbafjgqoiwnq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 90dd8e01337f27a326fc2602614cc19c5ce3db0a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:13:06 +0000 Subject: [PATCH 46/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 10 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1ab5398d..4f56253f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-03ad84203a4ad47fc689c784399b8f4058f84f384ca02e91d13d74deafd1f464.yml -openapi_spec_hash: 1e03c0c31bc6b7ae69eb060385fa7895 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-21f774f4bf5df95043704abdd4ab9f3da7d62b668d1528260c6997910f597873.yml +openapi_spec_hash: 636b1d0d3a9c53ad92114b30c4e616e7 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0412cae..c622d9e0 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('et'); + $result = $this->client->accounts->disconnect('illum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..388efe95 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 1fd1cc34..2f216a8a 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'deleniti', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'deleniti', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'deleniti', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'deleniti', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 8696faa3..1bc687b4 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'non', + 'at', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'non', + 'at', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'non', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'non', + 'at', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 16d7a41d..4b88b3aa 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('sed'); + $result = $this->client->smartLinks->listClicks('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('praesentium'); + $result = $this->client->smartLinks->listConversions('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('in'); + $result = $this->client->smartLinks->listFans('ratione'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('sunt'); + $result = $this->client->smartLinks->listSpenders('quibusdam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('adipisci'); + $result = $this->client->smartLinks->retrieveCohortArps('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('aut'); + $result = $this->client->smartLinks->retrieveStats('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 4a70cfaf..7351f8cd 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'vero', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vero', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vero', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vero', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 37248b61..f54bd75a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'labore', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'labore', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'labore', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'labore', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'delectus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'delectus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'tempore', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'tempore', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 8f5eb439..2ae27bdb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'debitis', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'debitis', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'debitis', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'debitis', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'laborum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laborum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 47b3ab5f..a7ebc1f6 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lbafjgqoiwnq' + name: 'mooxmkikvpsrjrrwo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lbafjgqoiwnq' + name: 'mooxmkikvpsrjrrwo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 71d4210a6cac23be4d7529548e2f0fc1e2023971 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:13:05 +0000 Subject: [PATCH 47/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4f56253f..a60308bc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-21f774f4bf5df95043704abdd4ab9f3da7d62b668d1528260c6997910f597873.yml -openapi_spec_hash: 636b1d0d3a9c53ad92114b30c4e616e7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0df6a9e16609368c35c32ee82fa44621fe492cc33106b4569a52bf2787824e9a.yml +openapi_spec_hash: a352fe439e3bacb87c9bc566e72acbc0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c622d9e0..c43ad486 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('illum'); + $result = $this->client->accounts->disconnect('ea'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 388efe95..73906f4e 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'itaque', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'itaque', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 2f216a8a..58126e97 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1bc687b4..b2ce0016 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'at', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'at', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'at', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'at', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index f8ade652..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 4b88b3aa..99f96e22 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('voluptatem'); + $result = $this->client->smartLinks->listClicks('vitae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('qui'); + $result = $this->client->smartLinks->listConversions('aliquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('ratione'); + $result = $this->client->smartLinks->listFans('laboriosam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('quibusdam'); + $result = $this->client->smartLinks->listSpenders('vel'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('dolor'); + $result = $this->client->smartLinks->retrieveCohortArps('accusamus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('quia'); + $result = $this->client->smartLinks->retrieveStats('dolorem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 7351f8cd..8d8cb641 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'aliquam', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aliquam', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aliquam', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aliquam', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f54bd75a..f2806f0e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'alias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'alias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sed', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 2ae27bdb..82d47da3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolores', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolores', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolores', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolores', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sapiente', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sapiente', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'debitis', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'debitis', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index a7ebc1f6..1f4264fa 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mooxmkikvpsrjrrwo' + name: 'kwbbvsmt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mooxmkikvpsrjrrwo' + name: 'kwbbvsmt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9b2b115d02535e2542f2164eed9b2cc259ddc2a5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 18:13:03 +0000 Subject: [PATCH 48/56] feat(api): api update --- .stats.yml | 4 ++-- src/ServiceContracts/SmartLinksContract.php | 4 +++- src/Services/SmartLinksRawService.php | 7 +++++- src/Services/SmartLinksService.php | 5 +++- src/SmartLinks/SmartLinkListParams.php | 24 +++++++++++++++++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 +++---- tests/Services/Posts/CommentsTest.php | 8 +++---- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++----- tests/Services/Stories/HighlightsTest.php | 8 +++---- tests/Services/TrackingLinksTest.php | 16 ++++++------- tests/Services/TrialLinksTest.php | 20 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 16 files changed, 81 insertions(+), 51 deletions(-) diff --git a/.stats.yml b/.stats.yml index a60308bc..1b10c3a2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0df6a9e16609368c35c32ee82fa44621fe492cc33106b4569a52bf2787824e9a.yml -openapi_spec_hash: a352fe439e3bacb87c9bc566e72acbc0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bee7507b20d149239fdbacb3de6b342dcefd08eefeabf1fd35d38cd898264298.yml +openapi_spec_hash: 6fe4334c602d4eaeef46c509545a17b3 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/SmartLinksContract.php b/src/ServiceContracts/SmartLinksContract.php index 452b692f..b08af736 100644 --- a/src/ServiceContracts/SmartLinksContract.php +++ b/src/ServiceContracts/SmartLinksContract.php @@ -62,9 +62,10 @@ public function retrieve( * * @param string|null $accountIDs comma-separated account prefixed IDs to include * @param int $limit The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. - * @param string|null $metaPixelIDs comma-separated Meta Pixel IDs to include + * @param string|null $metaPixelIDs Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. * @param string|null $name Filter Smart Links by name. Must not be greater than 255 characters. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param string|null $pixelIDs comma-separated ad platform Pixel IDs to include * @param RequestOpts|null $requestOptions * * @throws APIException @@ -75,6 +76,7 @@ public function list( ?string $metaPixelIDs = null, ?string $name = null, ?int $offset = null, + ?string $pixelIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkListResponse; diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 21bb3b58..7372a3ee 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -117,6 +117,7 @@ public function retrieve( * metaPixelIDs?: string|null, * name?: string|null, * offset?: int, + * pixelIDs?: string|null, * }|SmartLinkListParams $params * @param RequestOpts|null $requestOptions * @@ -139,7 +140,11 @@ public function list( path: 'api/smart-links', query: Util::array_transform_keys( $parsed, - ['accountIDs' => 'account_ids', 'metaPixelIDs' => 'meta_pixel_ids'], + [ + 'accountIDs' => 'account_ids', + 'metaPixelIDs' => 'meta_pixel_ids', + 'pixelIDs' => 'pixel_ids', + ], ), options: $options, convert: SmartLinkListResponse::class, diff --git a/src/Services/SmartLinksService.php b/src/Services/SmartLinksService.php index 0898a3ee..40d5893b 100644 --- a/src/Services/SmartLinksService.php +++ b/src/Services/SmartLinksService.php @@ -105,9 +105,10 @@ public function retrieve( * * @param string|null $accountIDs comma-separated account prefixed IDs to include * @param int $limit The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. - * @param string|null $metaPixelIDs comma-separated Meta Pixel IDs to include + * @param string|null $metaPixelIDs Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. * @param string|null $name Filter Smart Links by name. Must not be greater than 255 characters. * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param string|null $pixelIDs comma-separated ad platform Pixel IDs to include * @param RequestOpts|null $requestOptions * * @throws APIException @@ -118,6 +119,7 @@ public function list( ?string $metaPixelIDs = null, ?string $name = null, ?int $offset = null, + ?string $pixelIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkListResponse { $params = Util::removeNulls( @@ -127,6 +129,7 @@ public function list( 'metaPixelIDs' => $metaPixelIDs, 'name' => $name, 'offset' => $offset, + 'pixelIDs' => $pixelIDs, ], ); diff --git a/src/SmartLinks/SmartLinkListParams.php b/src/SmartLinks/SmartLinkListParams.php index 8b7aba50..f9e372db 100644 --- a/src/SmartLinks/SmartLinkListParams.php +++ b/src/SmartLinks/SmartLinkListParams.php @@ -20,6 +20,7 @@ * metaPixelIDs?: string|null, * name?: string|null, * offset?: int|null, + * pixelIDs?: string|null, * } */ final class SmartLinkListParams implements BaseModel @@ -41,7 +42,7 @@ final class SmartLinkListParams implements BaseModel public ?int $limit; /** - * Comma-separated Meta Pixel IDs to include. + * Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. */ #[Optional(nullable: true)] public ?string $metaPixelIDs; @@ -58,6 +59,12 @@ final class SmartLinkListParams implements BaseModel #[Optional] public ?int $offset; + /** + * Comma-separated ad platform Pixel IDs to include. + */ + #[Optional(nullable: true)] + public ?string $pixelIDs; + public function __construct() { $this->initialize(); @@ -74,6 +81,7 @@ public static function with( ?string $metaPixelIDs = null, ?string $name = null, ?int $offset = null, + ?string $pixelIDs = null, ): self { $self = new self; @@ -82,6 +90,7 @@ public static function with( null !== $metaPixelIDs && $self['metaPixelIDs'] = $metaPixelIDs; null !== $name && $self['name'] = $name; null !== $offset && $self['offset'] = $offset; + null !== $pixelIDs && $self['pixelIDs'] = $pixelIDs; return $self; } @@ -109,7 +118,7 @@ public function withLimit(int $limit): self } /** - * Comma-separated Meta Pixel IDs to include. + * Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. */ public function withMetaPixelIDs(?string $metaPixelIDs): self { @@ -140,4 +149,15 @@ public function withOffset(int $offset): self return $self; } + + /** + * Comma-separated ad platform Pixel IDs to include. + */ + public function withPixelIDs(?string $pixelIDs): self + { + $self = clone $this; + $self['pixelIDs'] = $pixelIDs; + + return $self; + } } diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c43ad486..d40a8b51 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('ea'); + $result = $this->client->accounts->disconnect('ipsam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 73906f4e..f7d04ae4 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 58126e97..dbf99c4a 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b2ce0016..f0860872 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'voluptate', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptate', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'voluptate', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptate', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..12ec31fa 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 99f96e22..08c0f582 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('vitae'); + $result = $this->client->smartLinks->listClicks('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('aliquam'); + $result = $this->client->smartLinks->listConversions('excepturi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('laboriosam'); + $result = $this->client->smartLinks->listFans('maxime'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('vel'); + $result = $this->client->smartLinks->listSpenders('odit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('accusamus'); + $result = $this->client->smartLinks->retrieveCohortArps('libero'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('dolorem'); + $result = $this->client->smartLinks->retrieveStats('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 8d8cb641..62989ecd 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'sint', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sint', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sint', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sint', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f2806f0e..c5792d10 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'facere', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'facere', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'facere', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'facere', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'minima', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'minima', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 82d47da3..5d04a2e5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eum', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eum', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eum', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eum', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'est', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quasi', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quasi', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 1f4264fa..c7cfdf55 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kwbbvsmt' + name: 'hbvr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kwbbvsmt' + name: 'hbvr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 428061742e3ddd2355a3c8b03ed4d1d7a04be836 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 01:13:03 +0000 Subject: [PATCH 49/56] feat(api): api update --- .stats.yml | 4 +- .../SmartLinkPostbacksContract.php | 16 ++++ src/Services/SmartLinkPostbacksRawService.php | 10 +++ src/Services/SmartLinkPostbacksService.php | 22 ++++++ .../SmartLinkPostbackCreateParams.php | 74 +++++++++++++++++++ .../HTTPMethod.php | 15 ++++ .../SmartLinkPostbackCreateParams/Header.php | 74 +++++++++++++++++++ .../SmartLinkPostbackGetResponse/Data.php | 49 ++++++++++++ .../Data/Header.php | 60 +++++++++++++++ .../SmartLinkPostbackListResponse/Data.php | 49 ++++++++++++ .../Data/Header.php | 60 +++++++++++++++ .../SmartLinkPostbackNewResponse/Data.php | 50 +++++++++++++ .../Data/Header.php | 60 +++++++++++++++ .../SmartLinkPostbackUpdateParams.php | 74 +++++++++++++++++++ .../HTTPMethod.php | 15 ++++ .../SmartLinkPostbackUpdateParams/Header.php | 74 +++++++++++++++++++ .../SmartLinkPostbackUpdateResponse/Data.php | 49 ++++++++++++ .../Data/Header.php | 60 +++++++++++++++ tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 +- .../Services/Media/Vault/Lists/MediaTest.php | 8 +- tests/Services/Posts/CommentsTest.php | 10 +-- .../SavedForLater/Posts/SettingsTest.php | 4 +- tests/Services/SmartLinkPostbacksTest.php | 6 ++ tests/Services/SmartLinksTest.php | 12 +-- tests/Services/Stories/HighlightsTest.php | 8 +- tests/Services/TrackingLinksTest.php | 16 ++-- tests/Services/TrialLinksTest.php | 20 ++--- tests/Services/UserListsTest.php | 4 +- 29 files changed, 863 insertions(+), 46 deletions(-) create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/HTTPMethod.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/Header.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/Header.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/Header.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data/Header.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/HTTPMethod.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/Header.php create mode 100644 src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/Header.php diff --git a/.stats.yml b/.stats.yml index 1b10c3a2..99bc67bc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bee7507b20d149239fdbacb3de6b342dcefd08eefeabf1fd35d38cd898264298.yml -openapi_spec_hash: 6fe4334c602d4eaeef46c509545a17b3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5a86517cb84478db1099c218ff317bf61ec3b1a0e6b5559f18d86724c714c460.yml +openapi_spec_hash: ef07d9eb4d7cb67521c6e7a82cb3cc5e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/SmartLinkPostbacksContract.php b/src/ServiceContracts/SmartLinkPostbacksContract.php index a8a0c932..c281aee9 100644 --- a/src/ServiceContracts/SmartLinkPostbacksContract.php +++ b/src/ServiceContracts/SmartLinkPostbacksContract.php @@ -6,6 +6,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\HTTPMethod; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; @@ -13,6 +15,8 @@ use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse; /** + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header as HeaderShape1 * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinkPostbacksContract @@ -23,6 +27,9 @@ interface SmartLinkPostbacksContract * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param SmartLinkScope|value-of $smartLinkScope `global` fires for all Smart Links. `campaign_specific` fires only for selected Smart Links. * @param string $url The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * @param string $body Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + * @param list $headers Optional request headers. Header values may include postback variables. + * @param HTTPMethod|value-of $httpMethod HTTP method used for the postback request. Defaults to `GET` when omitted. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * @@ -32,6 +39,9 @@ public function create( array $conversionTypes, SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkPostbackNewResponse; @@ -56,6 +66,9 @@ public function retrieve( * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` * @param string $url the destination URL + * @param string $body Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + * @param list<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header|HeaderShape1> $headers Optional request headers. Header values may include postback variables. + * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod> $httpMethod HTTP method used for the postback request. Existing value is kept when omitted. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * @@ -66,6 +79,9 @@ public function update( array $conversionTypes, \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkPostbackUpdateResponse; diff --git a/src/Services/SmartLinkPostbacksRawService.php b/src/Services/SmartLinkPostbacksRawService.php index bdb122ed..1f31da8c 100644 --- a/src/Services/SmartLinkPostbacksRawService.php +++ b/src/Services/SmartLinkPostbacksRawService.php @@ -11,6 +11,8 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SmartLinkPostbacksRawContract; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\HTTPMethod; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; @@ -21,6 +23,8 @@ /** * APIs for managing Smart Link postback destinations. * + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header as HeaderShape1 * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinkPostbacksRawService implements SmartLinkPostbacksRawContract @@ -40,6 +44,9 @@ public function __construct(private Client $client) {} * conversionTypes: list, * smartLinkScope: SmartLinkScope|value-of, * url: string, + * body?: string, + * headers?: list, + * httpMethod?: HTTPMethod|value-of, * smartLinkIDs?: list, * }|SmartLinkPostbackCreateParams $params * @param RequestOpts|null $requestOptions @@ -102,6 +109,9 @@ public function retrieve( * conversionTypes: list, * smartLinkScope: SmartLinkPostbackUpdateParams\SmartLinkScope|value-of, * url: string, + * body?: string, + * headers?: list, + * httpMethod?: SmartLinkPostbackUpdateParams\HTTPMethod|value-of, * smartLinkIDs?: list, * }|SmartLinkPostbackUpdateParams $params * @param RequestOpts|null $requestOptions diff --git a/src/Services/SmartLinkPostbacksService.php b/src/Services/SmartLinkPostbacksService.php index 8b4af0fb..9bb180dc 100644 --- a/src/Services/SmartLinkPostbacksService.php +++ b/src/Services/SmartLinkPostbacksService.php @@ -9,6 +9,8 @@ use OnlyFansAPI\Core\Util; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SmartLinkPostbacksContract; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\HTTPMethod; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse; @@ -18,6 +20,8 @@ /** * APIs for managing Smart Link postback destinations. * + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header as HeaderShape1 * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinkPostbacksService implements SmartLinkPostbacksContract @@ -43,6 +47,9 @@ public function __construct(private Client $client) * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param SmartLinkScope|value-of $smartLinkScope `global` fires for all Smart Links. `campaign_specific` fires only for selected Smart Links. * @param string $url The destination URL. Variables such as `{external_click_id}`, `{fbclid}`, `{gclid}`, and `{ttclid}` are replaced when the postback is dispatched. + * @param string $body Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + * @param list $headers Optional request headers. Header values may include postback variables. + * @param HTTPMethod|value-of $httpMethod HTTP method used for the postback request. Defaults to `GET` when omitted. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * @@ -52,6 +59,9 @@ public function create( array $conversionTypes, SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkPostbackNewResponse { @@ -60,6 +70,9 @@ public function create( 'conversionTypes' => $conversionTypes, 'smartLinkScope' => $smartLinkScope, 'url' => $url, + 'body' => $body, + 'headers' => $headers, + 'httpMethod' => $httpMethod, 'smartLinkIDs' => $smartLinkIDs, ], ); @@ -99,6 +112,9 @@ public function retrieve( * @param list $conversionTypes one or more Smart Link conversion types that should trigger this postback * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope> $smartLinkScope `global` or `campaign_specific` * @param string $url the destination URL + * @param string $body Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + * @param list<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header|HeaderShape1> $headers Optional request headers. Header values may include postback variables. + * @param \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod|value-of<\OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod> $httpMethod HTTP method used for the postback request. Existing value is kept when omitted. * @param list $smartLinkIDs Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @param RequestOpts|null $requestOptions * @@ -109,6 +125,9 @@ public function update( array $conversionTypes, \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkPostbackUpdateResponse { @@ -117,6 +136,9 @@ public function update( 'conversionTypes' => $conversionTypes, 'smartLinkScope' => $smartLinkScope, 'url' => $url, + 'body' => $body, + 'headers' => $headers, + 'httpMethod' => $httpMethod, 'smartLinkIDs' => $smartLinkIDs, ], ); diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php index 02958307..f2e02ccb 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams.php @@ -9,6 +9,8 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\HTTPMethod; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\SmartLinkScope; /** @@ -16,10 +18,15 @@ * * @see OnlyFansAPI\Services\SmartLinkPostbacksService::create() * + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackCreateParams\Header + * * @phpstan-type SmartLinkPostbackCreateParamsShape = array{ * conversionTypes: list, * smartLinkScope: SmartLinkScope|value-of, * url: string, + * body?: string|null, + * headers?: list|null, + * httpMethod?: null|HTTPMethod|value-of, * smartLinkIDs?: list|null, * } */ @@ -51,6 +58,28 @@ final class SmartLinkPostbackCreateParams implements BaseModel #[Required] public string $url; + /** + * Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + */ + #[Optional] + public ?string $body; + + /** + * Optional request headers. Header values may include postback variables. + * + * @var list
|null $headers + */ + #[Optional(list: Header::class)] + public ?array $headers; + + /** + * HTTP method used for the postback request. Defaults to `GET` when omitted. + * + * @var value-of|null $httpMethod + */ + #[Optional('http_method', enum: HTTPMethod::class)] + public ?string $httpMethod; + /** * Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @@ -90,12 +119,17 @@ public function __construct() * * @param list $conversionTypes * @param SmartLinkScope|value-of $smartLinkScope + * @param list|null $headers + * @param HTTPMethod|value-of|null $httpMethod * @param list|null $smartLinkIDs */ public static function with( array $conversionTypes, SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, ): self { $self = new self; @@ -104,6 +138,9 @@ public static function with( $self['smartLinkScope'] = $smartLinkScope; $self['url'] = $url; + null !== $body && $self['body'] = $body; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; return $self; @@ -147,6 +184,43 @@ public function withURL(string $url): self return $self; } + /** + * Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + */ + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + + /** + * Optional request headers. Header values may include postback variables. + * + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + /** + * HTTP method used for the postback request. Defaults to `GET` when omitted. + * + * @param HTTPMethod|value-of $httpMethod + */ + public function withHTTPMethod(HTTPMethod|string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + /** * Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/HTTPMethod.php b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/HTTPMethod.php new file mode 100644 index 00000000..d4933761 --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackCreateParams/HTTPMethod.php @@ -0,0 +1,15 @@ + */ + use SdkModel; + + /** + * This field is required when headers.*.value is present. Must match the regex /\A[A-Za-z0-9!#$%&'*+.^_`|~-]+\z/. Must not be greater than 100 characters. + */ + #[Optional(nullable: true)] + public ?string $name; + + /** + * Must not be greater than 2000 characters. + */ + #[Optional(nullable: true)] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with( + ?string $name = null, + ?string $value = null + ): self { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + /** + * This field is required when headers.*.value is present. Must match the regex /\A[A-Za-z0-9!#$%&'*+.^_`|~-]+\z/. Must not be greater than 100 characters. + */ + public function withName(?string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + /** + * Must not be greater than 2000 characters. + */ + public function withValue(?string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php index b87e03b9..06f80859 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data.php @@ -7,15 +7,20 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\Header; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink; /** + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\Header * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackGetResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, + * body?: string|null, * conversionTypes?: list|null, * createdAt?: string|null, + * headers?: list|null, + * httpMethod?: string|null, * latestResponse?: string|null, * smartLinkIDs?: list|null, * smartLinkScope?: string|null, @@ -32,6 +37,9 @@ final class Data implements BaseModel #[Optional] public ?int $id; + #[Optional] + public ?string $body; + /** @var list|null $conversionTypes */ #[Optional('conversion_types', list: 'string')] public ?array $conversionTypes; @@ -39,6 +47,13 @@ final class Data implements BaseModel #[Optional('created_at')] public ?string $createdAt; + /** @var list
|null $headers */ + #[Optional(list: Header::class)] + public ?array $headers; + + #[Optional('http_method')] + public ?string $httpMethod; + #[Optional('latest_response', nullable: true)] public ?string $latestResponse; @@ -70,13 +85,17 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list|null $conversionTypes + * @param list|null $headers * @param list|null $smartLinkIDs * @param list|null $smartLinks */ public static function with( ?int $id = null, + ?string $body = null, ?array $conversionTypes = null, ?string $createdAt = null, + ?array $headers = null, + ?string $httpMethod = null, ?string $latestResponse = null, ?array $smartLinkIDs = null, ?string $smartLinkScope = null, @@ -87,8 +106,11 @@ public static function with( $self = new self; null !== $id && $self['id'] = $id; + null !== $body && $self['body'] = $body; null !== $conversionTypes && $self['conversionTypes'] = $conversionTypes; null !== $createdAt && $self['createdAt'] = $createdAt; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $latestResponse && $self['latestResponse'] = $latestResponse; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; null !== $smartLinkScope && $self['smartLinkScope'] = $smartLinkScope; @@ -107,6 +129,14 @@ public function withID(int $id): self return $self; } + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + /** * @param list $conversionTypes */ @@ -126,6 +156,25 @@ public function withCreatedAt(string $createdAt): self return $self; } + /** + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + public function withHTTPMethod(string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + public function withLatestResponse(?string $latestResponse): self { $self = clone $this; diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/Header.php b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/Header.php new file mode 100644 index 00000000..f75f8452 --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackGetResponse/Data/Header.php @@ -0,0 +1,60 @@ + */ + use SdkModel; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with(?string $name = null, ?string $value = null): self + { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withValue(string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php index fe5da2ec..bb25298c 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data.php @@ -7,17 +7,22 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\Header; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink; /** + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\Header * @phpstan-import-type LatestResponseShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\LatestResponse * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackListResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, + * body?: string|null, * conversionTypes?: list|null, * createdAt?: string|null, + * headers?: list|null, + * httpMethod?: string|null, * latestResponse?: null|LatestResponse|LatestResponseShape, * smartLinkIDs?: list|null, * smartLinkScope?: string|null, @@ -34,6 +39,9 @@ final class Data implements BaseModel #[Optional] public ?int $id; + #[Optional] + public ?string $body; + /** @var list|null $conversionTypes */ #[Optional('conversion_types', list: 'string')] public ?array $conversionTypes; @@ -41,6 +49,13 @@ final class Data implements BaseModel #[Optional('created_at')] public ?string $createdAt; + /** @var list
|null $headers */ + #[Optional(list: Header::class)] + public ?array $headers; + + #[Optional('http_method')] + public ?string $httpMethod; + #[Optional('latest_response')] public ?LatestResponse $latestResponse; @@ -72,14 +87,18 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list|null $conversionTypes + * @param list|null $headers * @param LatestResponse|LatestResponseShape|null $latestResponse * @param list|null $smartLinkIDs * @param list|null $smartLinks */ public static function with( ?int $id = null, + ?string $body = null, ?array $conversionTypes = null, ?string $createdAt = null, + ?array $headers = null, + ?string $httpMethod = null, LatestResponse|array|null $latestResponse = null, ?array $smartLinkIDs = null, ?string $smartLinkScope = null, @@ -90,8 +109,11 @@ public static function with( $self = new self; null !== $id && $self['id'] = $id; + null !== $body && $self['body'] = $body; null !== $conversionTypes && $self['conversionTypes'] = $conversionTypes; null !== $createdAt && $self['createdAt'] = $createdAt; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $latestResponse && $self['latestResponse'] = $latestResponse; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; null !== $smartLinkScope && $self['smartLinkScope'] = $smartLinkScope; @@ -110,6 +132,14 @@ public function withID(int $id): self return $self; } + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + /** * @param list $conversionTypes */ @@ -129,6 +159,25 @@ public function withCreatedAt(string $createdAt): self return $self; } + /** + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + public function withHTTPMethod(string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + /** * @param LatestResponse|LatestResponseShape $latestResponse */ diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/Header.php b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/Header.php new file mode 100644 index 00000000..5e19317a --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackListResponse/Data/Header.php @@ -0,0 +1,60 @@ + */ + use SdkModel; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with(?string $name = null, ?string $value = null): self + { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withValue(string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php index 144b6aaa..4cdddcac 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data.php @@ -7,12 +7,18 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data\Header; /** + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackNewResponse\Data\Header + * * @phpstan-type DataShape = array{ * id?: int|null, + * body?: string|null, * conversionTypes?: list|null, * createdAt?: string|null, + * headers?: list|null, + * httpMethod?: string|null, * latestResponse?: string|null, * smartLinkIDs?: list|null, * smartLinkScope?: string|null, @@ -29,6 +35,9 @@ final class Data implements BaseModel #[Optional] public ?int $id; + #[Optional] + public ?string $body; + /** @var list|null $conversionTypes */ #[Optional('conversion_types', list: 'string')] public ?array $conversionTypes; @@ -36,6 +45,13 @@ final class Data implements BaseModel #[Optional('created_at')] public ?string $createdAt; + /** @var list
|null $headers */ + #[Optional(list: Header::class)] + public ?array $headers; + + #[Optional('http_method')] + public ?string $httpMethod; + #[Optional('latest_response', nullable: true)] public ?string $latestResponse; @@ -67,13 +83,17 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list|null $conversionTypes + * @param list|null $headers * @param list|null $smartLinkIDs * @param list|null $smartLinks */ public static function with( ?int $id = null, + ?string $body = null, ?array $conversionTypes = null, ?string $createdAt = null, + ?array $headers = null, + ?string $httpMethod = null, ?string $latestResponse = null, ?array $smartLinkIDs = null, ?string $smartLinkScope = null, @@ -84,8 +104,11 @@ public static function with( $self = new self; null !== $id && $self['id'] = $id; + null !== $body && $self['body'] = $body; null !== $conversionTypes && $self['conversionTypes'] = $conversionTypes; null !== $createdAt && $self['createdAt'] = $createdAt; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $latestResponse && $self['latestResponse'] = $latestResponse; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; null !== $smartLinkScope && $self['smartLinkScope'] = $smartLinkScope; @@ -104,6 +127,14 @@ public function withID(int $id): self return $self; } + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + /** * @param list $conversionTypes */ @@ -123,6 +154,25 @@ public function withCreatedAt(string $createdAt): self return $self; } + /** + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + public function withHTTPMethod(string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + public function withLatestResponse(?string $latestResponse): self { $self = clone $this; diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data/Header.php b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data/Header.php new file mode 100644 index 00000000..d37bea32 --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackNewResponse/Data/Header.php @@ -0,0 +1,60 @@ + */ + use SdkModel; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with(?string $name = null, ?string $value = null): self + { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withValue(string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php index 6233f426..0db2e961 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams.php @@ -9,6 +9,8 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\HTTPMethod; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\SmartLinkScope; /** @@ -16,10 +18,15 @@ * * @see OnlyFansAPI\Services\SmartLinkPostbacksService::update() * + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateParams\Header + * * @phpstan-type SmartLinkPostbackUpdateParamsShape = array{ * conversionTypes: list, * smartLinkScope: SmartLinkScope|value-of, * url: string, + * body?: string|null, + * headers?: list|null, + * httpMethod?: null|HTTPMethod|value-of, * smartLinkIDs?: list|null, * } */ @@ -51,6 +58,28 @@ final class SmartLinkPostbackUpdateParams implements BaseModel #[Required] public string $url; + /** + * Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + */ + #[Optional] + public ?string $body; + + /** + * Optional request headers. Header values may include postback variables. + * + * @var list
|null $headers + */ + #[Optional(list: Header::class)] + public ?array $headers; + + /** + * HTTP method used for the postback request. Existing value is kept when omitted. + * + * @var value-of|null $httpMethod + */ + #[Optional('http_method', enum: HTTPMethod::class)] + public ?string $httpMethod; + /** * Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * @@ -90,12 +119,17 @@ public function __construct() * * @param list $conversionTypes * @param SmartLinkScope|value-of $smartLinkScope + * @param list|null $headers + * @param HTTPMethod|value-of|null $httpMethod * @param list|null $smartLinkIDs */ public static function with( array $conversionTypes, SmartLinkScope|string $smartLinkScope, string $url, + ?string $body = null, + ?array $headers = null, + HTTPMethod|string|null $httpMethod = null, ?array $smartLinkIDs = null, ): self { $self = new self; @@ -104,6 +138,9 @@ public static function with( $self['smartLinkScope'] = $smartLinkScope; $self['url'] = $url; + null !== $body && $self['body'] = $body; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; return $self; @@ -147,6 +184,43 @@ public function withURL(string $url): self return $self; } + /** + * Optional request body template for POST postbacks. Variables are replaced when the postback is dispatched. + */ + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + + /** + * Optional request headers. Header values may include postback variables. + * + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + /** + * HTTP method used for the postback request. Existing value is kept when omitted. + * + * @param HTTPMethod|value-of $httpMethod + */ + public function withHTTPMethod(HTTPMethod|string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + /** * Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`. * diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/HTTPMethod.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/HTTPMethod.php new file mode 100644 index 00000000..472fbbc4 --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateParams/HTTPMethod.php @@ -0,0 +1,15 @@ + */ + use SdkModel; + + /** + * This field is required when headers.*.value is present. Must match the regex /\A[A-Za-z0-9!#$%&'*+.^_`|~-]+\z/. Must not be greater than 100 characters. + */ + #[Optional(nullable: true)] + public ?string $name; + + /** + * Must not be greater than 2000 characters. + */ + #[Optional(nullable: true)] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with( + ?string $name = null, + ?string $value = null + ): self { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + /** + * This field is required when headers.*.value is present. Must match the regex /\A[A-Za-z0-9!#$%&'*+.^_`|~-]+\z/. Must not be greater than 100 characters. + */ + public function withName(?string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + /** + * Must not be greater than 2000 characters. + */ + public function withValue(?string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php index 0e268f54..48521726 100644 --- a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data.php @@ -7,15 +7,20 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\Header; use OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink; /** + * @phpstan-import-type HeaderShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\Header * @phpstan-import-type SmartLinkShape from \OnlyFansAPI\SmartLinkPostbacks\SmartLinkPostbackUpdateResponse\Data\SmartLink * * @phpstan-type DataShape = array{ * id?: int|null, + * body?: string|null, * conversionTypes?: list|null, * createdAt?: string|null, + * headers?: list|null, + * httpMethod?: string|null, * latestResponse?: string|null, * smartLinkIDs?: list|null, * smartLinkScope?: string|null, @@ -32,6 +37,9 @@ final class Data implements BaseModel #[Optional] public ?int $id; + #[Optional] + public ?string $body; + /** @var list|null $conversionTypes */ #[Optional('conversion_types', list: 'string')] public ?array $conversionTypes; @@ -39,6 +47,13 @@ final class Data implements BaseModel #[Optional('created_at')] public ?string $createdAt; + /** @var list
|null $headers */ + #[Optional(list: Header::class)] + public ?array $headers; + + #[Optional('http_method')] + public ?string $httpMethod; + #[Optional('latest_response', nullable: true)] public ?string $latestResponse; @@ -70,13 +85,17 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list|null $conversionTypes + * @param list|null $headers * @param list|null $smartLinkIDs * @param list|null $smartLinks */ public static function with( ?int $id = null, + ?string $body = null, ?array $conversionTypes = null, ?string $createdAt = null, + ?array $headers = null, + ?string $httpMethod = null, ?string $latestResponse = null, ?array $smartLinkIDs = null, ?string $smartLinkScope = null, @@ -87,8 +106,11 @@ public static function with( $self = new self; null !== $id && $self['id'] = $id; + null !== $body && $self['body'] = $body; null !== $conversionTypes && $self['conversionTypes'] = $conversionTypes; null !== $createdAt && $self['createdAt'] = $createdAt; + null !== $headers && $self['headers'] = $headers; + null !== $httpMethod && $self['httpMethod'] = $httpMethod; null !== $latestResponse && $self['latestResponse'] = $latestResponse; null !== $smartLinkIDs && $self['smartLinkIDs'] = $smartLinkIDs; null !== $smartLinkScope && $self['smartLinkScope'] = $smartLinkScope; @@ -107,6 +129,14 @@ public function withID(int $id): self return $self; } + public function withBody(string $body): self + { + $self = clone $this; + $self['body'] = $body; + + return $self; + } + /** * @param list $conversionTypes */ @@ -126,6 +156,25 @@ public function withCreatedAt(string $createdAt): self return $self; } + /** + * @param list $headers + */ + public function withHeaders(array $headers): self + { + $self = clone $this; + $self['headers'] = $headers; + + return $self; + } + + public function withHTTPMethod(string $httpMethod): self + { + $self = clone $this; + $self['httpMethod'] = $httpMethod; + + return $self; + } + public function withLatestResponse(?string $latestResponse): self { $self = clone $this; diff --git a/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/Header.php b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/Header.php new file mode 100644 index 00000000..04f0f4a4 --- /dev/null +++ b/src/SmartLinkPostbacks/SmartLinkPostbackUpdateResponse/Data/Header.php @@ -0,0 +1,60 @@ + */ + use SdkModel; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $value; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + */ + public static function with(?string $name = null, ?string $value = null): self + { + $self = new self; + + null !== $name && $self['name'] = $name; + null !== $value && $self['value'] = $value; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withValue(string $value): self + { + $self = clone $this; + $self['value'] = $value; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d40a8b51..21626e83 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('ipsam'); + $result = $this->client->accounts->disconnect('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index f7d04ae4..07a744d1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index dbf99c4a..a1fd57cc 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'quo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f0860872..543087bf 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,9 +42,9 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'tenetur', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', - text: 'This is a comment.' + text: 'This is a comment.', ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'tenetur', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'tenetur', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'tenetur', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinkPostbacksTest.php b/tests/Services/SmartLinkPostbacksTest.php index fcee463d..79d41fce 100644 --- a/tests/Services/SmartLinkPostbacksTest.php +++ b/tests/Services/SmartLinkPostbacksTest.php @@ -59,6 +59,9 @@ public function testCreateWithOptionalParams(): void conversionTypes: ['new_subscriber', 'new_transaction'], smartLinkScope: 'campaign_specific', url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}&gclid={gclid}', + body: '{"click_id":"{click_id}","value":"{amount_gross}"}', + headers: [['name' => 'Authorization', 'value' => 'Bearer token']], + httpMethod: 'POST', smartLinkIDs: ['01JTESTLINK000000000000001'], ); @@ -109,6 +112,9 @@ public function testUpdateWithOptionalParams(): void conversionTypes: ['new_subscriber'], smartLinkScope: 'global', url: 'https://example.com/postback?click={external_click_id}&type={conversion_type}', + body: '{"click_id":"{click_id}","value":"{amount_gross}"}', + headers: [['name' => 'Authorization', 'value' => 'Bearer token']], + httpMethod: 'POST', smartLinkIDs: ['01JTESTLINK000000000000001'], ); diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 08c0f582..780b0be1 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('aut'); + $result = $this->client->smartLinks->listClicks('voluptate'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('excepturi'); + $result = $this->client->smartLinks->listConversions('sequi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('maxime'); + $result = $this->client->smartLinks->listFans('autem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('odit'); + $result = $this->client->smartLinks->listSpenders('repudiandae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('libero'); + $result = $this->client->smartLinks->retrieveCohortArps('rerum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('quia'); + $result = $this->client->smartLinks->retrieveStats('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 62989ecd..763ede48 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'occaecati', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'occaecati', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'occaecati', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'occaecati', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c5792d10..c7b35174 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quo', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quo', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 5d04a2e5..197494ed 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'non', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'non', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'non', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'non', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index c7cfdf55..8b65232f 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hbvr' + name: 'oykguaf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hbvr' + name: 'oykguaf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b8e24d103b3bac9a421fe448ed681feb7d893313 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 09:12:55 +0000 Subject: [PATCH 50/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 99bc67bc..fc6efd61 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5a86517cb84478db1099c218ff317bf61ec3b1a0e6b5559f18d86724c714c460.yml -openapi_spec_hash: ef07d9eb4d7cb67521c6e7a82cb3cc5e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-12226af0fac38fa09d754de371c332d3bd6e502db824394a83c8814f046b1ad6.yml +openapi_spec_hash: fe932be75d90f80f367107bddaa781e0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..cf0e215f 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index a1fd57cc..091c9ad5 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 543087bf..bb6cafec 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,9 +42,9 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'consequuntur', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', - text: 'This is a comment.', + text: 'This is a comment.' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'consequuntur', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'consequuntur', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'consequuntur', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 8fe3bc04..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 780b0be1..13ba63f4 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('voluptate'); + $result = $this->client->smartLinks->listClicks('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('sequi'); + $result = $this->client->smartLinks->listConversions('ea'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('autem'); + $result = $this->client->smartLinks->listFans('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('repudiandae'); + $result = $this->client->smartLinks->listSpenders('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('rerum'); + $result = $this->client->smartLinks->retrieveCohortArps('eius'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('quis'); + $result = $this->client->smartLinks->retrieveStats('magnam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 763ede48..2f5ae37d 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'nostrum', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nostrum', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nostrum', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nostrum', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c7b35174..996af7a8 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'non', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'pariatur', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'pariatur', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 197494ed..141fa14b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'optio', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'optio', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'maxime', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'maxime', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 8b65232f..7982213f 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oykguaf' + name: 'zkrgzlh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oykguaf' + name: 'zkrgzlh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 25c90afc6bdfcee343e6c1823612ba24b31a5a3c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 10:13:04 +0000 Subject: [PATCH 51/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index fc6efd61..ae9cb11e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-12226af0fac38fa09d754de371c332d3bd6e502db824394a83c8814f046b1ad6.yml -openapi_spec_hash: fe932be75d90f80f367107bddaa781e0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8fc068b0eaa22ed851b43bf6a3504c7aa451ec280d6677e8472a0e1f89b9b9b6.yml +openapi_spec_hash: ae58a89e758acbaa14f71ef912d341cf config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..9e6bba3b 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('qui'); + $result = $this->client->accounts->disconnect('rerum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..8a04ad87 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'us', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index cf0e215f..6e95b20c 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 091c9ad5..ef9c3fe1 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'tenetur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'tenetur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'tenetur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'tenetur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index bb6cafec..3d3d4f03 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'saepe', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'saepe', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'saepe', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'saepe', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..87e0535e 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..d8d3f01a 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 13ba63f4..4dbc5bd9 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('dolor'); + $result = $this->client->smartLinks->listClicks('sit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ea'); + $result = $this->client->smartLinks->listConversions('eum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('et'); + $result = $this->client->smartLinks->listFans('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('est'); + $result = $this->client->smartLinks->listSpenders('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('eius'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptates'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('magnam'); + $result = $this->client->smartLinks->retrieveStats('blanditiis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 2f5ae37d..330c218a 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'animi', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'animi', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'animi', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'animi', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 996af7a8..05e44e36 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'possimus', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'possimus', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 141fa14b..97f6d944 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptas', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptas', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptas', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptas', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vitae', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vitae', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + 'facere', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 7982213f..9bdea96a 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zkrgzlh' + name: 'dxevkwjtngovx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zkrgzlh' + name: 'dxevkwjtngovx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From aac1edf29a337f9eadff734230a30276d1152825 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 13:12:59 +0000 Subject: [PATCH 52/56] feat(api): api update --- .stats.yml | 4 +- src/LinkTags/LinkTagListParams.php | 6 +- src/LinkTags/LinkTagListParams/Type.php | 4 +- src/ServiceContracts/LinkTagsContract.php | 2 +- src/ServiceContracts/SmartLinksContract.php | 4 ++ src/Services/LinkTagsRawService.php | 4 +- src/Services/LinkTagsService.php | 6 +- src/Services/SmartLinksRawService.php | 3 + src/Services/SmartLinksService.php | 5 ++ src/SmartLinks/SmartLinkListParams.php | 22 +++++++ src/SmartLinks/SmartLinkListParams/Filter.php | 60 +++++++++++++++++++ tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 +- .../Services/Media/Vault/Lists/MediaTest.php | 8 +-- tests/Services/Posts/CommentsTest.php | 10 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 +- tests/Services/SmartLinksTest.php | 12 ++-- tests/Services/Stories/HighlightsTest.php | 8 +-- tests/Services/TrackingLinksTest.php | 16 ++--- tests/Services/TrialLinksTest.php | 20 +++---- tests/Services/UserListsTest.php | 4 +- 21 files changed, 152 insertions(+), 56 deletions(-) create mode 100644 src/SmartLinks/SmartLinkListParams/Filter.php diff --git a/.stats.yml b/.stats.yml index ae9cb11e..4e60eca4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8fc068b0eaa22ed851b43bf6a3504c7aa451ec280d6677e8472a0e1f89b9b9b6.yml -openapi_spec_hash: ae58a89e758acbaa14f71ef912d341cf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7208a292a7e06ff0b1104c21c970fabf73cc1adfa4bc33816ab7e4a5553e6267.yml +openapi_spec_hash: 4f652aa77155c360d33db12fc0e9e9cf config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/LinkTags/LinkTagListParams.php b/src/LinkTags/LinkTagListParams.php index 9bca5b26..febd479f 100644 --- a/src/LinkTags/LinkTagListParams.php +++ b/src/LinkTags/LinkTagListParams.php @@ -11,7 +11,7 @@ use OnlyFansAPI\LinkTags\LinkTagListParams\Type; /** - * Get all existing tags that have been used on free trial links and/or tracking links for this account. This is a free endpoint. + * Get all existing tags that have been used on free trial links, tracking links, and/or Smart Links for this account. This is a free endpoint. * * @see OnlyFansAPI\Services\LinkTagsService::list() * @@ -24,7 +24,7 @@ final class LinkTagListParams implements BaseModel use SdkParams; /** - * Filter by link type. If not provided, returns tags for both types. + * Filter by link type. If not provided, returns tags for all types. * * @var value-of|null $type */ @@ -53,7 +53,7 @@ public static function with(Type|string|null $type = null): self } /** - * Filter by link type. If not provided, returns tags for both types. + * Filter by link type. If not provided, returns tags for all types. * * @param Type|value-of $type */ diff --git a/src/LinkTags/LinkTagListParams/Type.php b/src/LinkTags/LinkTagListParams/Type.php index db4f2554..abca18ac 100644 --- a/src/LinkTags/LinkTagListParams/Type.php +++ b/src/LinkTags/LinkTagListParams/Type.php @@ -5,11 +5,13 @@ namespace OnlyFansAPI\LinkTags\LinkTagListParams; /** - * Filter by link type. If not provided, returns tags for both types. + * Filter by link type. If not provided, returns tags for all types. */ enum Type: string { case TRIAL_LINKS = 'trial_links'; case TRACKING_LINKS = 'tracking_links'; + + case SMART_LINKS = 'smart_links'; } diff --git a/src/ServiceContracts/LinkTagsContract.php b/src/ServiceContracts/LinkTagsContract.php index c8f9dca5..a21e6c95 100644 --- a/src/ServiceContracts/LinkTagsContract.php +++ b/src/ServiceContracts/LinkTagsContract.php @@ -17,7 +17,7 @@ interface LinkTagsContract /** * @api * - * @param Type|value-of $type Filter by link type. If not provided, returns tags for both types. + * @param Type|value-of $type Filter by link type. If not provided, returns tags for all types. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/ServiceContracts/SmartLinksContract.php b/src/ServiceContracts/SmartLinksContract.php index b08af736..4f291381 100644 --- a/src/ServiceContracts/SmartLinksContract.php +++ b/src/ServiceContracts/SmartLinksContract.php @@ -15,12 +15,14 @@ use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter; use OnlyFansAPI\SmartLinks\SmartLinkListResponse; use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; use OnlyFansAPI\SmartLinks\SmartLinkRetrieveCohortArpsParams\RevenueBasis; /** + * @phpstan-import-type FilterShape from \OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface SmartLinksContract @@ -61,6 +63,7 @@ public function retrieve( * @api * * @param string|null $accountIDs comma-separated account prefixed IDs to include + * @param Filter|FilterShape $filter * @param int $limit The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. * @param string|null $metaPixelIDs Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. * @param string|null $name Filter Smart Links by name. Must not be greater than 255 characters. @@ -72,6 +75,7 @@ public function retrieve( */ public function list( ?string $accountIDs = null, + Filter|array|null $filter = null, ?int $limit = null, ?string $metaPixelIDs = null, ?string $name = null, diff --git a/src/Services/LinkTagsRawService.php b/src/Services/LinkTagsRawService.php index 4e0eff91..bbbb4ea3 100644 --- a/src/Services/LinkTagsRawService.php +++ b/src/Services/LinkTagsRawService.php @@ -14,7 +14,7 @@ use OnlyFansAPI\ServiceContracts\LinkTagsRawContract; /** - * APIs for managing tags on free trial links and tracking links. + * APIs for managing tags on free trial links, tracking links, and Smart Links. * * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ @@ -29,7 +29,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get all existing tags that have been used on free trial links and/or tracking links for this account. This is a free endpoint. + * Get all existing tags that have been used on free trial links, tracking links, and/or Smart Links for this account. This is a free endpoint. * * @param array{type?: Type|value-of}|LinkTagListParams $params * @param RequestOpts|null $requestOptions diff --git a/src/Services/LinkTagsService.php b/src/Services/LinkTagsService.php index c046b72f..4785b453 100644 --- a/src/Services/LinkTagsService.php +++ b/src/Services/LinkTagsService.php @@ -13,7 +13,7 @@ use OnlyFansAPI\ServiceContracts\LinkTagsContract; /** - * APIs for managing tags on free trial links and tracking links. + * APIs for managing tags on free trial links, tracking links, and Smart Links. * * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ @@ -35,9 +35,9 @@ public function __construct(private Client $client) /** * @api * - * Get all existing tags that have been used on free trial links and/or tracking links for this account. This is a free endpoint. + * Get all existing tags that have been used on free trial links, tracking links, and/or Smart Links for this account. This is a free endpoint. * - * @param Type|value-of $type Filter by link type. If not provided, returns tags for both types. + * @param Type|value-of $type Filter by link type. If not provided, returns tags for all types. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 7372a3ee..86f6501f 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -24,6 +24,7 @@ use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; use OnlyFansAPI\SmartLinks\SmartLinkListParams; +use OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter; use OnlyFansAPI\SmartLinks\SmartLinkListResponse; use OnlyFansAPI\SmartLinks\SmartLinkListSpendersParams; use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; @@ -35,6 +36,7 @@ /** * APIs for managing Smart Links (Free Trial Links and Tracking Links with pooled inventory). * + * @phpstan-import-type FilterShape from \OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinksRawService implements SmartLinksRawContract @@ -113,6 +115,7 @@ public function retrieve( * * @param array{ * accountIDs?: string|null, + * filter?: Filter|FilterShape, * limit?: int, * metaPixelIDs?: string|null, * name?: string|null, diff --git a/src/Services/SmartLinksService.php b/src/Services/SmartLinksService.php index 40d5893b..d2c6be7d 100644 --- a/src/Services/SmartLinksService.php +++ b/src/Services/SmartLinksService.php @@ -18,6 +18,7 @@ use OnlyFansAPI\SmartLinks\SmartLinkListConversionsResponse; use OnlyFansAPI\SmartLinks\SmartLinkListFansParams\Sort; use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse; +use OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter; use OnlyFansAPI\SmartLinks\SmartLinkListResponse; use OnlyFansAPI\SmartLinks\SmartLinkListSpendersResponse; use OnlyFansAPI\SmartLinks\SmartLinkNewResponse; @@ -26,6 +27,7 @@ /** * APIs for managing Smart Links (Free Trial Links and Tracking Links with pooled inventory). * + * @phpstan-import-type FilterShape from \OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class SmartLinksService implements SmartLinksContract @@ -104,6 +106,7 @@ public function retrieve( * List all Smart Links * * @param string|null $accountIDs comma-separated account prefixed IDs to include + * @param Filter|FilterShape $filter * @param int $limit The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. * @param string|null $metaPixelIDs Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include. * @param string|null $name Filter Smart Links by name. Must not be greater than 255 characters. @@ -115,6 +118,7 @@ public function retrieve( */ public function list( ?string $accountIDs = null, + Filter|array|null $filter = null, ?int $limit = null, ?string $metaPixelIDs = null, ?string $name = null, @@ -125,6 +129,7 @@ public function list( $params = Util::removeNulls( [ 'accountIDs' => $accountIDs, + 'filter' => $filter, 'limit' => $limit, 'metaPixelIDs' => $metaPixelIDs, 'name' => $name, diff --git a/src/SmartLinks/SmartLinkListParams.php b/src/SmartLinks/SmartLinkListParams.php index f9e372db..eef5d5fe 100644 --- a/src/SmartLinks/SmartLinkListParams.php +++ b/src/SmartLinks/SmartLinkListParams.php @@ -8,14 +8,18 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter; /** * List all Smart Links. * * @see OnlyFansAPI\Services\SmartLinksService::list() * + * @phpstan-import-type FilterShape from \OnlyFansAPI\SmartLinks\SmartLinkListParams\Filter + * * @phpstan-type SmartLinkListParamsShape = array{ * accountIDs?: string|null, + * filter?: null|Filter|FilterShape, * limit?: int|null, * metaPixelIDs?: string|null, * name?: string|null, @@ -35,6 +39,9 @@ final class SmartLinkListParams implements BaseModel #[Optional(nullable: true)] public ?string $accountIDs; + #[Optional] + public ?Filter $filter; + /** * The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. */ @@ -74,9 +81,12 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param Filter|FilterShape|null $filter */ public static function with( ?string $accountIDs = null, + Filter|array|null $filter = null, ?int $limit = null, ?string $metaPixelIDs = null, ?string $name = null, @@ -86,6 +96,7 @@ public static function with( $self = new self; null !== $accountIDs && $self['accountIDs'] = $accountIDs; + null !== $filter && $self['filter'] = $filter; null !== $limit && $self['limit'] = $limit; null !== $metaPixelIDs && $self['metaPixelIDs'] = $metaPixelIDs; null !== $name && $self['name'] = $name; @@ -106,6 +117,17 @@ public function withAccountIDs(?string $accountIDs): self return $self; } + /** + * @param Filter|FilterShape $filter + */ + public function withFilter(Filter|array $filter): self + { + $self = clone $this; + $self['filter'] = $filter; + + return $self; + } + /** * The number of Smart Links to return. Default `50`. Must be at least 1. Must not be greater than 1000. */ diff --git a/src/SmartLinks/SmartLinkListParams/Filter.php b/src/SmartLinks/SmartLinkListParams/Filter.php new file mode 100644 index 00000000..3caf29ed --- /dev/null +++ b/src/SmartLinks/SmartLinkListParams/Filter.php @@ -0,0 +1,60 @@ +|null} + */ +final class Filter implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + /** + * Must not be greater than 50 characters. + * + * @var list|null $tags + */ + #[Optional(list: 'string')] + public ?array $tags; + + public function __construct() + { + $this->initialize(); + } + + /** + * Construct an instance from the required parameters. + * + * You must use named parameters to construct any parameters with a default value. + * + * @param list|null $tags + */ + public static function with(?array $tags = null): self + { + $self = new self; + + null !== $tags && $self['tags'] = $tags; + + return $self; + } + + /** + * Must not be greater than 50 characters. + * + * @param list $tags + */ + public function withTags(array $tags): self + { + $self = clone $this; + $self['tags'] = $tags; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9e6bba3b..b7f8a200 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('rerum'); + $result = $this->client->accounts->disconnect('eos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 6e95b20c..625b13f7 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatibus', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatibus', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index ef9c3fe1..53dc6a42 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'velit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'velit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 3d3d4f03..306dcb9a 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'incidunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'incidunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'incidunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'incidunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index d8d3f01a..e8d19b8b 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 4dbc5bd9..22675ecc 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('sit'); + $result = $this->client->smartLinks->listClicks('dolor'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('eum'); + $result = $this->client->smartLinks->listConversions('unde'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('est'); + $result = $this->client->smartLinks->listFans('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('et'); + $result = $this->client->smartLinks->listSpenders('quo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('voluptates'); + $result = $this->client->smartLinks->retrieveCohortArps('tenetur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('blanditiis'); + $result = $this->client->smartLinks->retrieveStats('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 330c218a..99b721a5 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 05e44e36..7dee451c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'laborum', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'laborum', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'maxime', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'maxime', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'maxime', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'maxime', + 'et', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 97f6d944..08aa594d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sint', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sint', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'praesentium', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'praesentium', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'facere', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'facere', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 9bdea96a..779f44f3 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dxevkwjtngovx' + name: 'om' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dxevkwjtngovx' + name: 'om' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 64a01471553792208a2e1d71b8f0a1a5b912e79e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 15:13:05 +0000 Subject: [PATCH 53/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- .../SavedForLater/Posts/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4e60eca4..5930ed91 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7208a292a7e06ff0b1104c21c970fabf73cc1adfa4bc33816ab7e4a5553e6267.yml -openapi_spec_hash: 4f652aa77155c360d33db12fc0e9e9cf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-98e4e47da7e64769b6554eea85263c51042b47fd498b081e3db4dd1d84082355.yml +openapi_spec_hash: 28324b15d88b3d82e1a3ea0a0f03a02a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b7f8a200..7107e194 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('eos'); + $result = $this->client->accounts->disconnect('dolores'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a08669c4 100644 --- a/tests/Services/ClientSessionsTest.php +++ b/tests/Services/ClientSessionsTest.php @@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->clientSessions->create( displayName: 'STRLCxGLVC Agency / Model: Stella', clientReferenceID: 'my_crm_model_12345', - proxyCountry: 'uk', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 625b13f7..142003b6 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'necessitatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'necessitatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 53dc6a42..0d619834 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'atque', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'atque', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'atque', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'atque', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..b94934df 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'aut', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'aut', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 87e0535e..137ed990 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index e8d19b8b..8fe3bc04 100644 --- a/tests/Services/SavedForLater/Posts/SettingsTest.php +++ b/tests/Services/SavedForLater/Posts/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void ->savedForLater ->posts ->settings - ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 22675ecc..ec7bcdf0 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('dolor'); + $result = $this->client->smartLinks->listClicks('placeat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('unde'); + $result = $this->client->smartLinks->listConversions('laborum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('quis'); + $result = $this->client->smartLinks->listFans('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('quo'); + $result = $this->client->smartLinks->listSpenders('quisquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('tenetur'); + $result = $this->client->smartLinks->retrieveCohortArps('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('amet'); + $result = $this->client->smartLinks->retrieveStats('voluptatum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 99b721a5..02745a55 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'unde', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'unde', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 7dee451c..520e8092 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'perferendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'perferendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'perferendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'perferendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 08aa594d..0617a85f 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'consectetur', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'consectetur', + 'est', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 779f44f3..b512a1d5 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'om' + name: 'yonlwqrjuftfvp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'om' + name: 'yonlwqrjuftfvp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a1cb6f001508c421e91ca0c01087f4e2ffbcedeb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 16:12:59 +0000 Subject: [PATCH 54/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- tests/Services/Posts/CommentsTest.php | 10 +++++----- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5930ed91..c0182bd6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-98e4e47da7e64769b6554eea85263c51042b47fd498b081e3db4dd1d84082355.yml -openapi_spec_hash: 28324b15d88b3d82e1a3ea0a0f03a02a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bd98dfd5eb9c197536b1a50c0f7f20c7a946ab0b1391ecbd99370981c8d3caa6.yml +openapi_spec_hash: bc927ca065b20e14d6381988600c8afc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7107e194..e0d03654 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('dolores'); + $result = $this->client->accounts->disconnect('cumque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 142003b6..16f4adaf 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 0d619834..58126e97 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b94934df..19419dab 100644 --- a/tests/Services/Posts/CommentsTest.php +++ b/tests/Services/Posts/CommentsTest.php @@ -42,7 +42,7 @@ public function testCreate(): void } $result = $this->client->posts->comments->create( - 'adipisci', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'adipisci', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'adipisci', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'adipisci', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 137ed990..8ebfaa49 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ec7bcdf0..367d9a54 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('placeat'); + $result = $this->client->smartLinks->listClicks('aliquam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('laborum'); + $result = $this->client->smartLinks->listConversions('ut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('est'); + $result = $this->client->smartLinks->listFans('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('quisquam'); + $result = $this->client->smartLinks->listSpenders('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('consequatur'); + $result = $this->client->smartLinks->retrieveCohortArps('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('voluptatum'); + $result = $this->client->smartLinks->retrieveStats('facilis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 02745a55..330c218a 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 520e8092..34882aa1 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'esse', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'esse', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'alias', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'alias', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 0617a85f..53826dab 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolorem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolorem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iste', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iste', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index b512a1d5..8d13fdd6 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yonlwqrjuftfvp' + name: 'fjlvbeydblzfbmpqkaxhxzf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yonlwqrjuftfvp' + name: 'fjlvbeydblzfbmpqkaxhxzf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 881694852a614ed09c77ad922cacfa46dee98e36 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 20:13:07 +0000 Subject: [PATCH 55/56] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- .../Services/Media/Vault/Lists/MediaTest.php | 8 ++++---- .../SavedForLater/Messages/SettingsTest.php | 4 ++-- tests/Services/SmartLinksTest.php | 12 +++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 10 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.stats.yml b/.stats.yml index c0182bd6..7ad8da57 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 266 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bd98dfd5eb9c197536b1a50c0f7f20c7a946ab0b1391ecbd99370981c8d3caa6.yml -openapi_spec_hash: bc927ca065b20e14d6381988600c8afc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bdf0ec6c222e345e512af7c9c9ddc55c0fa72d3860a8c8be3e747667c8c31a81.yml +openapi_spec_hash: af3728e576ac859886d59cc48d3a513d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0d03654..b38a4882 100644 --- a/tests/Services/AccountsTest.php +++ b/tests/Services/AccountsTest.php @@ -47,7 +47,7 @@ public function testDisconnect(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('cumque'); + $result = $this->client->accounts->disconnect('perspiciatis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 16f4adaf..07a744d1 100644 --- a/tests/Services/Engagement/MessagesTest.php +++ b/tests/Services/Engagement/MessagesTest.php @@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 58126e97..68d8afcc 100644 --- a/tests/Services/Media/Vault/Lists/MediaTest.php +++ b/tests/Services/Media/Vault/Lists/MediaTest.php @@ -37,7 +37,7 @@ public function testAdd(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/SavedForLater/Messages/SettingsTest.php b/tests/Services/SavedForLater/Messages/SettingsTest.php index 8ebfaa49..f8ade652 100644 --- a/tests/Services/SavedForLater/Messages/SettingsTest.php +++ b/tests/Services/SavedForLater/Messages/SettingsTest.php @@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void ->savedForLater ->messages ->settings - ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48) + ->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 367d9a54..146645f9 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -117,7 +117,7 @@ public function testListClicks(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listClicks('aliquam'); + $result = $this->client->smartLinks->listClicks('culpa'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('ut'); + $result = $this->client->smartLinks->listConversions('nemo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('consequatur'); + $result = $this->client->smartLinks->listFans('ab'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListFansResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('non'); + $result = $this->client->smartLinks->listSpenders('nobis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveCohortArps('non'); + $result = $this->client->smartLinks->retrieveCohortArps('praesentium'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('facilis'); + $result = $this->client->smartLinks->retrieveStats('quo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 330c218a..85f7191b 100644 --- a/tests/Services/Stories/HighlightsTest.php +++ b/tests/Services/Stories/HighlightsTest.php @@ -193,7 +193,7 @@ public function testAddStory(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quia', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quia', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 34882aa1..33be12de 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laudantium', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laudantium', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'in', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/TrialLinksTest.php b/tests/Services/TrialLinksTest.php index 53826dab..f4fad91d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'repellat', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'repellat', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'repellat', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'repellat', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'labore', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'labore', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatum', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatum', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'veniam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'veniam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 8d13fdd6..8ebc5506 100644 --- a/tests/Services/UserListsTest.php +++ b/tests/Services/UserListsTest.php @@ -41,7 +41,7 @@ public function testCreate(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fjlvbeydblzfbmpqkaxhxzf' + name: 'vpdeabzxzht' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fjlvbeydblzfbmpqkaxhxzf' + name: 'vpdeabzxzht' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 62f2237c20d3be8a3a76d28185e85ec9ac990c90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 20:13:56 +0000 Subject: [PATCH 56/56] release: 0.3.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 55 +++++++++++++++++++++++++++++++++++ src/Version.php | 2 +- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 10f30916..6b7b74c5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.0" + ".": "0.3.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 693ca29e..6183245a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,60 @@ # Changelog +## 0.3.0 (2026-06-12) + +Full Changelog: [v0.2.0...v0.3.0](https://github.com/onlyfansapi/onlyfansapi-php/compare/v0.2.0...v0.3.0) + +### Features + +* **api:** api update ([8816948](https://github.com/onlyfansapi/onlyfansapi-php/commit/881694852a614ed09c77ad922cacfa46dee98e36)) +* **api:** api update ([a1cb6f0](https://github.com/onlyfansapi/onlyfansapi-php/commit/a1cb6f001508c421e91ca0c01087f4e2ffbcedeb)) +* **api:** api update ([64a0147](https://github.com/onlyfansapi/onlyfansapi-php/commit/64a01471553792208a2e1d71b8f0a1a5b912e79e)) +* **api:** api update ([aac1edf](https://github.com/onlyfansapi/onlyfansapi-php/commit/aac1edf29a337f9eadff734230a30276d1152825)) +* **api:** api update ([25c90af](https://github.com/onlyfansapi/onlyfansapi-php/commit/25c90afc6bdfcee343e6c1823612ba24b31a5a3c)) +* **api:** api update ([b8e24d1](https://github.com/onlyfansapi/onlyfansapi-php/commit/b8e24d103b3bac9a421fe448ed681feb7d893313)) +* **api:** api update ([4280617](https://github.com/onlyfansapi/onlyfansapi-php/commit/428061742e3ddd2355a3c8b03ed4d1d7a04be836)) +* **api:** api update ([9b2b115](https://github.com/onlyfansapi/onlyfansapi-php/commit/9b2b115d02535e2542f2164eed9b2cc259ddc2a5)) +* **api:** api update ([71d4210](https://github.com/onlyfansapi/onlyfansapi-php/commit/71d4210a6cac23be4d7529548e2f0fc1e2023971)) +* **api:** api update ([90dd8e0](https://github.com/onlyfansapi/onlyfansapi-php/commit/90dd8e01337f27a326fc2602614cc19c5ce3db0a)) +* **api:** api update ([c6a50ce](https://github.com/onlyfansapi/onlyfansapi-php/commit/c6a50cefc4e7841499c092446deb1ee26b274d25)) +* **api:** api update ([19acccf](https://github.com/onlyfansapi/onlyfansapi-php/commit/19acccf39ac8c0ebf3ecc73c132b61266c26ebc4)) +* **api:** api update ([6c6d5e6](https://github.com/onlyfansapi/onlyfansapi-php/commit/6c6d5e61c3ec8a8da79936e1a8b01fbcf7b0df69)) +* **api:** api update ([14a80f6](https://github.com/onlyfansapi/onlyfansapi-php/commit/14a80f6188eaaec670403e0aeb6b581b0b0e5d6f)) +* **api:** api update ([1d2e5c8](https://github.com/onlyfansapi/onlyfansapi-php/commit/1d2e5c84c3c5d191f22bd07eb5c7fc6bb90aae11)) +* **api:** api update ([6fdab28](https://github.com/onlyfansapi/onlyfansapi-php/commit/6fdab283d9e34a0ebbd0c16f8bd279b8e359e258)) +* **api:** api update ([77b0151](https://github.com/onlyfansapi/onlyfansapi-php/commit/77b0151c0213f328df0f0aac7fd44bf5bf9c2f70)) +* **api:** api update ([a4a09a6](https://github.com/onlyfansapi/onlyfansapi-php/commit/a4a09a64f6dc27355e543ad3953e636a28e8fdf9)) +* **api:** api update ([0f088f5](https://github.com/onlyfansapi/onlyfansapi-php/commit/0f088f513642c5529a783199dd64f2ce8c8e4230)) +* **api:** api update ([8e1f537](https://github.com/onlyfansapi/onlyfansapi-php/commit/8e1f5379384bdf367d9cfc2c03602508f94f6336)) +* **api:** api update ([2666e0b](https://github.com/onlyfansapi/onlyfansapi-php/commit/2666e0be7997782696ec390d69ab3f050cf52489)) +* **api:** api update ([220694c](https://github.com/onlyfansapi/onlyfansapi-php/commit/220694c485a0161bee8d450cd84015ecf8708b5c)) +* **api:** api update ([75cb872](https://github.com/onlyfansapi/onlyfansapi-php/commit/75cb87233d33df903f3def9ecdf55d127944b3ed)) +* **api:** api update ([2ee574d](https://github.com/onlyfansapi/onlyfansapi-php/commit/2ee574d033d7c8bb9abdfd7c3d81821c00cb4d2e)) +* **api:** api update ([e3ff810](https://github.com/onlyfansapi/onlyfansapi-php/commit/e3ff8106fdcde19729265f1b1d5ff04337979b07)) +* **api:** api update ([347d1c0](https://github.com/onlyfansapi/onlyfansapi-php/commit/347d1c065fcf3ad0e1f8986d3cb8a1e1e65ea4ea)) +* **api:** api update ([3465acb](https://github.com/onlyfansapi/onlyfansapi-php/commit/3465acbd130e62466671d2b3e370bbecd67535f9)) +* **api:** api update ([c7f9d31](https://github.com/onlyfansapi/onlyfansapi-php/commit/c7f9d3185f39dfae7081e07312e8773705807bd1)) +* **api:** api update ([9edc1aa](https://github.com/onlyfansapi/onlyfansapi-php/commit/9edc1aa34aced890ec942b554c78fb241cd647f8)) +* **api:** api update ([150fbfa](https://github.com/onlyfansapi/onlyfansapi-php/commit/150fbfa30008ab18d1dc527a787aff9f64705c39)) +* **api:** api update ([b4af2b4](https://github.com/onlyfansapi/onlyfansapi-php/commit/b4af2b45a3e6605f103c614616e4ec6e14bafe56)) +* **api:** api update ([0a0f76c](https://github.com/onlyfansapi/onlyfansapi-php/commit/0a0f76c7046fcc166854cf9887b4797a02475f7f)) +* **api:** api update ([1f084c6](https://github.com/onlyfansapi/onlyfansapi-php/commit/1f084c62cbce1fbb85ca5d4e2bd4ebd7a39d5faa)) +* **api:** api update ([9ff9772](https://github.com/onlyfansapi/onlyfansapi-php/commit/9ff977248256672f77bdc2b5ae9121b99b9a43bc)) +* **api:** api update ([94c9d7a](https://github.com/onlyfansapi/onlyfansapi-php/commit/94c9d7ae48ac6603a0ae107adaa73b5cfc25253d)) +* **api:** api update ([88d64e0](https://github.com/onlyfansapi/onlyfansapi-php/commit/88d64e0d7bc382250803223a0a119b97cf917d11)) +* **api:** api update ([3bcbd2e](https://github.com/onlyfansapi/onlyfansapi-php/commit/3bcbd2e1e77f15472f81aa10191d842f1840c703)) +* **api:** api update ([bd033bc](https://github.com/onlyfansapi/onlyfansapi-php/commit/bd033bceb8f8d5e383044483302f73ada1b05aa3)) +* **api:** api update ([9ac0e9f](https://github.com/onlyfansapi/onlyfansapi-php/commit/9ac0e9fda55c719f635d291c5f60d7e5d719f1f8)) +* **api:** api update ([8f7eca1](https://github.com/onlyfansapi/onlyfansapi-php/commit/8f7eca166f19e68ff8d7ba553041c2e17e054aed)) +* **api:** api update ([c2a1181](https://github.com/onlyfansapi/onlyfansapi-php/commit/c2a1181639de5c1dca15ebbddb9ce5643631cbe1)) +* **api:** api update ([1ea639f](https://github.com/onlyfansapi/onlyfansapi-php/commit/1ea639f4b9dbfaa3e8829e3ff58abc9a1831abaa)) +* **api:** api update ([5ab05cc](https://github.com/onlyfansapi/onlyfansapi-php/commit/5ab05cc6e21349df94ab5cbcb6e1f5378cfdcbb9)) +* **api:** api update ([8666666](https://github.com/onlyfansapi/onlyfansapi-php/commit/86666661d840fb5c1d425fb6ab31410064df75ae)) +* **api:** api update ([486d47f](https://github.com/onlyfansapi/onlyfansapi-php/commit/486d47f26ce0d855bf9c3a6b79dbe201cc432e8d)) +* **api:** api update ([f3ef756](https://github.com/onlyfansapi/onlyfansapi-php/commit/f3ef75633a53b82c200b7ae77412aef940ee5bb1)) +* **api:** api update ([2ef90f9](https://github.com/onlyfansapi/onlyfansapi-php/commit/2ef90f96597eca193e34f4d811894ea3c77b67d2)) +* **api:** manual updates ([6114dbf](https://github.com/onlyfansapi/onlyfansapi-php/commit/6114dbf2f78d56582016ea45f52666e0d26302bf)) + ## 0.2.0 (2026-05-25) Full Changelog: [v0.1.0...v0.2.0](https://github.com/onlyfansapi/onlyfansapi-php/compare/v0.1.0...v0.2.0) diff --git a/src/Version.php b/src/Version.php index 809f4cf0..59d80d80 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace OnlyFansAPI; // x-release-please-start-version -const VERSION = '0.2.0'; +const VERSION = '0.3.0'; // x-release-please-end