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 001/256] 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 002/256] 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 003/256] 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 004/256] 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 005/256] 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 006/256] 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 007/256] 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 008/256] 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 009/256] 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 010/256] 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 011/256] 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 012/256] 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 013/256] 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 014/256] 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 015/256] 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 016/256] 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 017/256] 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 018/256] 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 019/256] 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 020/256] 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 021/256] 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 022/256] 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 023/256] 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 024/256] 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 025/256] 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 026/256] 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 027/256] 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 028/256] 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 029/256] 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 030/256] 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 031/256] 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 032/256] 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 033/256] 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 034/256] 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 035/256] 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 036/256] 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 037/256] 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 038/256] 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 039/256] 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 040/256] 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 041/256] 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 042/256] 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 043/256] 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 044/256] 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 045/256] 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 046/256] 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 047/256] 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 048/256] 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 049/256] 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 050/256] 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 051/256] 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 052/256] 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 053/256] 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 054/256] 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 055/256] 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 ea0d1195bcb5930ff82a4528c11d6c7b7521cb6c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 00:12:56 +0000 Subject: [PATCH 056/256] 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 7ad8da57..957fd850 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-bdf0ec6c222e345e512af7c9c9ddc55c0fa72d3860a8c8be3e747667c8c31a81.yml -openapi_spec_hash: af3728e576ac859886d59cc48d3a513d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-11891f5358d3244391c3e9b1797f402e242962ed931ae6dbeac9265d1d057ae5.yml +openapi_spec_hash: 58a5a24c26bf2ee28f4a654a0c8a4ea7 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b38a4882..94d37b2e 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('perspiciatis'); + $result = $this->client->accounts->disconnect('ad'); // @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..73e3f1d1 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', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'unde', 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 68d8afcc..3ee546f7 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( - 'temporibus', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'temporibus', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'temporibus', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'temporibus', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 19419dab..1af71f90 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( - 'et', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'et', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'et', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'et', + 'itaque', 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..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/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 146645f9..946f251c 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('culpa'); + $result = $this->client->smartLinks->listClicks('quam'); // @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('nemo'); + $result = $this->client->smartLinks->listConversions('labore'); // @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('ab'); + $result = $this->client->smartLinks->listFans('illum'); // @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('nobis'); + $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('praesentium'); + $result = $this->client->smartLinks->retrieveCohortArps('commodi'); // @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('quo'); + $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 85f7191b..f57e6bfa 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( - 'quos', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quos', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quos', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quos', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 33be12de..9a0ab134 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'tempora', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'tempora', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'tempora', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'tempora', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'dolores', 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'in', + 'qui', 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 f4fad91d..4abdb492 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minus', + '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( - 'ut', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + 'quia', 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 8ebc5506..8656809f 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: 'vpdeabzxzht' + name: 'scqwrdpszjlubxijb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vpdeabzxzht' + name: 'scqwrdpszjlubxijb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5a8977693529bca2803a66586bffe38ba8763453 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 02:12:54 +0000 Subject: [PATCH 057/256] 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 957fd850..5daaca59 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-11891f5358d3244391c3e9b1797f402e242962ed931ae6dbeac9265d1d057ae5.yml -openapi_spec_hash: 58a5a24c26bf2ee28f4a654a0c8a4ea7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-dc4af76400591eade1cc1740973c24d9069d50b7d16619ec8cf6a633cf240888.yml +openapi_spec_hash: 935a3c6ddcb27902f5d0919b243f2c08 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 94d37b2e..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('ad'); + $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 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 73e3f1d1..d36f5b1a 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( - 'unde', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'unde', + 'laboriosam', 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 3ee546f7..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( - 'culpa', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'culpa', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'culpa', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'culpa', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1af71f90..ce2ca93b 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( - 'itaque', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'itaque', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'itaque', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'itaque', + 'inventore', 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..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 946f251c..1a70f63c 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('quam'); + $result = $this->client->smartLinks->listClicks('est'); // @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('labore'); + $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('illum'); + $result = $this->client->smartLinks->listFans('excepturi'); // @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('velit'); // @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('commodi'); + $result = $this->client->smartLinks->retrieveCohortArps('impedit'); // @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('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 f57e6bfa..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( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 9a0ab134..647f2512 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', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'inventore', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'nemo', 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( - 'qui', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'qui', + 'quo', 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 4abdb492..c0b543d3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'a', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'a', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'a', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'a', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'soluta', 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( - 'quia', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quia', + '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 8656809f..40beb277 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: 'scqwrdpszjlubxijb' + name: 'hnf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'scqwrdpszjlubxijb' + name: 'hnf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 241af94cde44cb7954b2a99b91bef32fc1c969ad Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 15:12:58 +0000 Subject: [PATCH 058/256] 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 5daaca59..6423fd49 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-dc4af76400591eade1cc1740973c24d9069d50b7d16619ec8cf6a633cf240888.yml -openapi_spec_hash: 935a3c6ddcb27902f5d0919b243f2c08 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2e785cbc06d9d1c87eed6cd9454f7810800127056430d27750adfe70d066da51.yml +openapi_spec_hash: 059bbd7be3e61566b2b574513cfc7657 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7107e194..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('dolores'); + $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 d36f5b1a..b53fcab0 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( - 'laboriosam', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'laboriosam', + 'facilis', 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..c98dae3e 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', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce2ca93b..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( - 'inventore', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'inventore', + '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( - 'inventore', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'inventore', + '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 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 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 1a70f63c..7a633d35 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('est'); + $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('facilis'); + $result = $this->client->smartLinks->listConversions('distinctio'); // @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('excepturi'); + $result = $this->client->smartLinks->listFans('enim'); // @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('velit'); + $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('impedit'); + $result = $this->client->smartLinks->retrieveCohortArps('delectus'); // @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('eaque'); // @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..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( - 'et', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 647f2512..8853562c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nemo', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nemo', + '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( - 'quo', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quo', + 'fuga', 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 c0b543d3..16877fb8 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', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quis', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quis', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'soluta', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'soluta', + 'quia', 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quo', + '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 40beb277..4659f337 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: 'hnf' + name: 'gvzasxdqyajx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hnf' + name: 'gvzasxdqyajx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e4222dafa844e85800a60a5113c925e58ef50090 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 16:13:04 +0000 Subject: [PATCH 059/256] 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 6423fd49..085ef93d 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-2e785cbc06d9d1c87eed6cd9454f7810800127056430d27750adfe70d066da51.yml -openapi_spec_hash: 059bbd7be3e61566b2b574513cfc7657 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-74609107d9bbe47ca001712873c4449f6657c5539e4e83c398f672b7d4439749.yml +openapi_spec_hash: 0ced1a38864fe0442a4089920de41e5f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d40a8b51..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('ipsam'); + $result = $this->client->accounts->disconnect('aut'); // @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 b53fcab0..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( - 'facilis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'facilis', + '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 c98dae3e..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( - 'accusamus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'accusamus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusamus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusamus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 19419dab..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( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'et', + '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( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'et', + 'ut', 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 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 7a633d35..5238e934 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('praesentium'); // @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('distinctio'); + $result = $this->client->smartLinks->listConversions('quidem'); // @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('enim'); + $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('sunt'); + $result = $this->client->smartLinks->listSpenders('assumenda'); // @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('delectus'); + $result = $this->client->smartLinks->retrieveCohortArps('autem'); // @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('eaque'); + $result = $this->client->smartLinks->retrieveStats('ullam'); // @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..6fd9f8bc 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', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nulla', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nulla', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nulla', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8853562c..b8840bdc 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dolor', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dolor', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dolor', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dolor', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'optio', 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( - 'fuga', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fuga', + 'nesciunt', 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 16877fb8..f6c59b45 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'laudantium', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'laudantium', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'laudantium', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'laudantium', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'optio', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'optio', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quia', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quia', + 'nisi', 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', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'ipsam', 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 4659f337..d34974ce 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: 'gvzasxdqyajx' + name: 'xoefjwuukvndqnoilzrytz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gvzasxdqyajx' + name: 'xoefjwuukvndqnoilzrytz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8f2de97025328d9c9e5106ebf41e6d3b00cc4c07 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 19:12:59 +0000 Subject: [PATCH 060/256] 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 085ef93d..26bd6329 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-74609107d9bbe47ca001712873c4449f6657c5539e4e83c398f672b7d4439749.yml -openapi_spec_hash: 0ced1a38864fe0442a4089920de41e5f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-364a23106dadf67821b6acf8a8abe8062295c58f5fc2b7520ba782d74b8ee65e.yml +openapi_spec_hash: 47d6274198f1bb53d3e30b19ad2812d0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..fe696041 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('repudiandae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..217c5da6 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', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'velit', 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..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( - 'aut', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..d02a6639 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', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'harum', 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', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'harum', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 5238e934..e6195e06 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('praesentium'); + $result = $this->client->smartLinks->listClicks('sint'); // @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('quidem'); + $result = $this->client->smartLinks->listConversions('occaecati'); // @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('sapiente'); // @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('assumenda'); + $result = $this->client->smartLinks->listSpenders('rerum'); // @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('autem'); + $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('ullam'); + $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 6fd9f8bc..c64b4403 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( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b8840bdc..24772b7e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dignissimos', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dignissimos', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dignissimos', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dignissimos', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'optio', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'optio', + 'repudiandae', 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( - 'nesciunt', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nesciunt', + '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 f6c59b45..58f33884 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'exercitationem', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'exercitationem', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'exercitationem', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'exercitationem', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'deleniti', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'deleniti', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nisi', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nisi', + '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( - 'ipsam', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsam', + 'similique', 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 d34974ce..61a85494 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: 'xoefjwuukvndqnoilzrytz' + name: 'sgoxqyiqgqehak' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xoefjwuukvndqnoilzrytz' + name: 'sgoxqyiqgqehak' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7854d50822d1850e8362b0f2f89e71b45ad98f9b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 02:13:04 +0000 Subject: [PATCH 061/256] 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 | 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 | 12 ++++++------ tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 26bd6329..3b83ff88 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-364a23106dadf67821b6acf8a8abe8062295c58f5fc2b7520ba782d74b8ee65e.yml -openapi_spec_hash: 47d6274198f1bb53d3e30b19ad2812d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-da33ae98e5bcc526235f1ebcdf334a63c9f874195e6f4c89a8ebc13c2b686bd4.yml +openapi_spec_hash: 250d19d239bfbb6c908131c18e33d8cd config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fe696041..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('repudiandae'); + $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 217c5da6..29397af3 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( - 'velit', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'velit', + 'ea', 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..a1f791f4 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', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d02a6639..92702efb 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( - 'harum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'harum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'harum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'harum', + 'vel', 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/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 e6195e06..3eca5e6f 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('sint'); + $result = $this->client->smartLinks->listClicks('repudiandae'); // @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('occaecati'); + $result = $this->client->smartLinks->listConversions('et'); // @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('sapiente'); + $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('rerum'); + $result = $this->client->smartLinks->listSpenders('suscipit'); // @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('corrupti'); // @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('repellendus'); // @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 c64b4403..3897a306 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( - 'consequatur', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequatur', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 24772b7e..ed60b1c2 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'at', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'at', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'at', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'at', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repudiandae', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repudiandae', + 'dolorem', 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', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'molestias', + 'saepe', 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 58f33884..54fa1415 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'esse', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'esse', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quae', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quae', + '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( - 'similique', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'similique', + 'non', 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 61a85494..b12c93e9 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: 'sgoxqyiqgqehak' + name: 'yjkjvfzjxodob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sgoxqyiqgqehak' + name: 'yjkjvfzjxodob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d14348f5024c0fcf482889f6cca6091dd9d50221 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 03:12:55 +0000 Subject: [PATCH 062/256] 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 3b83ff88..4139d218 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-da33ae98e5bcc526235f1ebcdf334a63c9f874195e6f4c89a8ebc13c2b686bd4.yml -openapi_spec_hash: 250d19d239bfbb6c908131c18e33d8cd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8b5fdc0939aabdb8948aba920990db4255e7c50a1b38b7246df7f2739f4f8d77.yml +openapi_spec_hash: 591e244acffc27181a13a569298c1f53 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6bfb8e9c..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('quia'); + $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 29397af3..8549d032 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( - 'ea', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ea', + 'consequatur', 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 a1f791f4..3031d511 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( - 'nostrum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nostrum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nostrum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nostrum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 92702efb..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( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'vel', + '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( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'vel', + 'est', 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..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 3eca5e6f..fd716f42 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('repudiandae'); + $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('et'); + $result = $this->client->smartLinks->listConversions('consequatur'); // @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('quasi'); // @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('suscipit'); + $result = $this->client->smartLinks->listSpenders('ducimus'); // @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('corrupti'); + $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('repellendus'); + $result = $this->client->smartLinks->retrieveStats('quidem'); // @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 3897a306..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( - 'assumenda', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'assumenda', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ed60b1c2..82ca5df0 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', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolorem', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolorem', + 'placeat', 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( - 'saepe', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'saepe', + 'natus', 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 54fa1415..79f7faf3 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', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'officia', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quam', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quam', + 'natus', 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( - 'non', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'non', + 'quis', 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 b12c93e9..51875028 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: 'yjkjvfzjxodob' + name: 'sxkyuoqfspwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yjkjvfzjxodob' + name: 'sxkyuoqfspwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c7900afc8be139d1204c5af45a6cf2239d03d512 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 14:12:54 +0000 Subject: [PATCH 063/256] 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 4139d218..cb037ceb 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-8b5fdc0939aabdb8948aba920990db4255e7c50a1b38b7246df7f2739f4f8d77.yml -openapi_spec_hash: 591e244acffc27181a13a569298c1f53 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-263cac3e045d4befba748e9a0a69a6fedb3a5c5bc544b1264a5c67bb421bd2d6.yml +openapi_spec_hash: be3d9e1e44ef8e34ae6147f0c4cf970e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..b783529e 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('voluptate'); // @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 8549d032..0fd3d58a 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( - 'consequatur', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'consequatur', + 'magnam', 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 3031d511..9d8c2d9f 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( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cca4f113..d215b3dd 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', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'est', + 'optio', 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', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'est', + 'optio', 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 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 fd716f42..cbf98d68 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('dolores'); // @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('consequatur'); + $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('quasi'); + $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('ducimus'); + $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('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('quidem'); + $result = $this->client->smartLinks->retrieveStats('consectetur'); // @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..ca9b6652 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', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 82ca5df0..6501f40d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'repudiandae', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'repudiandae', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'repudiandae', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'repudiandae', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'placeat', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'placeat', + 'iste', 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( - 'natus', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'natus', + '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 79f7faf3..2d45d7fc 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'inventore', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'inventore', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'inventore', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'inventore', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'natus', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'natus', + '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( - 'quis', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quis', + 'placeat', 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 51875028..b8de0495 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: 'sxkyuoqfspwq' + name: 'x' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sxkyuoqfspwq' + name: 'x' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3614d93baa388d8908cc8cad2160daf382d0692d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:13:08 +0000 Subject: [PATCH 064/256] 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 | 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, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index cb037ceb..c9fc6007 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-263cac3e045d4befba748e9a0a69a6fedb3a5c5bc544b1264a5c67bb421bd2d6.yml -openapi_spec_hash: be3d9e1e44ef8e34ae6147f0c4cf970e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f6e36c82e08f5fad5bb9f5d6916e883732f66f2944110437a2b3202ccd8b48db.yml +openapi_spec_hash: 795fb6f49f43da3bfba49f26a2285d23 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b783529e..f0bebaa5 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('voluptate'); + $result = $this->client->accounts->disconnect('inventore'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 0fd3d58a..5833be14 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( - 'magnam', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'magnam', + 'deserunt', 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 9d8c2d9f..b5408fd0 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( - 'enim', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'enim', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d215b3dd..13998190 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( - 'optio', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'optio', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'optio', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'optio', + 'repellat', 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 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 cbf98d68..c98e33f3 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('dolores'); + $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('qui'); + $result = $this->client->smartLinks->listConversions('sequi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::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('eveniet'); // @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('est'); // @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('consectetur'); + $result = $this->client->smartLinks->retrieveStats('velit'); // @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 ca9b6652..035bc48f 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( - 'culpa', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'culpa', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'culpa', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'culpa', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6501f40d..a8851aa1 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'suscipit', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'suscipit', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'suscipit', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'suscipit', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iste', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iste', + 'quo', 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', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'placeat', + 'dolores', 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 2d45d7fc..f9b54d57 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'id', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minus', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minus', + 'nesciunt', 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( - 'placeat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'placeat', + 'rerum', 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 b8de0495..3576e05a 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: 'x' + name: 'rnyfqwprhezulkobwbstmgk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'x' + name: 'rnyfqwprhezulkobwbstmgk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 334934272f9a77f31aeaa8d548fc99b61a93f3a8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 17:13:03 +0000 Subject: [PATCH 065/256] 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 c9fc6007..5ac1876c 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-f6e36c82e08f5fad5bb9f5d6916e883732f66f2944110437a2b3202ccd8b48db.yml -openapi_spec_hash: 795fb6f49f43da3bfba49f26a2285d23 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-af197df44b689a21ccf5f008777f13c589a7dfb01a642e62015947db05495407.yml +openapi_spec_hash: b895823b686aaa881c95d960872c97f2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index f0bebaa5..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('inventore'); + $result = $this->client->accounts->disconnect('perspiciatis'); // @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 5833be14..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( - 'deserunt', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'deserunt', + '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 b5408fd0..3d01fc50 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( - 'esse', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'esse', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'esse', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'esse', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 13998190..ee1ce477 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( - 'repellat', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'repellat', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'iusto', 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 12ec31fa..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index c98e33f3..b1a962eb 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('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('sequi'); + $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('qui'); + $result = $this->client->smartLinks->listFans('itaque'); // @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('eveniet'); + $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('est'); + $result = $this->client->smartLinks->retrieveCohortArps('nostrum'); // @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('velit'); + $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 035bc48f..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( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a8851aa1..d93a93dc 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'incidunt', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'incidunt', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'incidunt', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'incidunt', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quo', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quo', + 'doloremque', 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( - 'dolores', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolores', + 'eveniet', 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 f9b54d57..6c585ab8 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloribus', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloribus', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'dolore', 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( - 'rerum', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'rerum', + 'blanditiis', 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 3576e05a..6d27e9be 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: 'rnyfqwprhezulkobwbstmgk' + name: 'podfrfaciiirs' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rnyfqwprhezulkobwbstmgk' + name: 'podfrfaciiirs' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5ebb20be8adb36f4457e71d97d6cb47de24e5d9f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 19:12:58 +0000 Subject: [PATCH 066/256] 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 | 10 +++++----- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5ac1876c..f9bdd4fb 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-af197df44b689a21ccf5f008777f13c589a7dfb01a642e62015947db05495407.yml -openapi_spec_hash: b895823b686aaa881c95d960872c97f2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-07eceb58ed5394ac333eca8dee0ccb964bdacafc7910ea4db581cdf02a39937a.yml +openapi_spec_hash: ff9f0de601fbc019970527a1a1c8c0b0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b38a4882..3801b976 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('perspiciatis'); + $result = $this->client->accounts->disconnect('repellat'); // @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 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 3d01fc50..35d801f1 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( - 'excepturi', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'excepturi', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'excepturi', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'excepturi', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ee1ce477..1af71f90 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( - 'iusto', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iusto', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'iusto', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iusto', + 'itaque', 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..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 b1a962eb..335cce7d 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('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('unde'); + $result = $this->client->smartLinks->listConversions('iure'); // @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('itaque'); + $result = $this->client->smartLinks->listFans('ducimus'); // @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('nostrum'); + $result = $this->client->smartLinks->retrieveCohortArps('debitis'); // @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('perspiciatis'); // @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..f57e6bfa 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d93a93dc..f81f2548 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', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'doloremque', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'doloremque', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'doloremque', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'doloremque', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'doloremque', + 'quam', 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( - 'eveniet', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eveniet', + 'culpa', 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 6c585ab8..031a857f 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'exercitationem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'exercitationem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'exercitationem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'exercitationem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'atque', + 'in', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'atque', + 'in', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolore', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolore', + 'labore', 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( - 'blanditiis', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'blanditiis', + '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 6d27e9be..b3ec1035 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: 'podfrfaciiirs' + name: 'iilvllxz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'podfrfaciiirs' + name: 'iilvllxz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 089f32a50b050a188236a80363fb918eb75c48ab Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 21:13:04 +0000 Subject: [PATCH 067/256] 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 | 10 +++++----- 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 f9bdd4fb..b5ab9331 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-07eceb58ed5394ac333eca8dee0ccb964bdacafc7910ea4db581cdf02a39937a.yml -openapi_spec_hash: ff9f0de601fbc019970527a1a1c8c0b0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-60a31ab3f816257e17d983f69c76c823828284b70137e0ad9df8caa9c0a93572.yml +openapi_spec_hash: fd257565847fd80972c07d59aa4b57a3 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3801b976..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('repellat'); + $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 07a744d1..705043f9 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', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'quisquam', 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 35d801f1..0dcb4e85 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( - 'expedita', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'expedita', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'expedita', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'expedita', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1af71f90..d1f3d26c 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( - 'itaque', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'itaque', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'itaque', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'itaque', + 'sed', 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 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 335cce7d..9e6e5f55 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('ducimus'); // @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('iure'); + $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('ducimus'); + $result = $this->client->smartLinks->listFans('quibusdam'); // @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('debitis'); + $result = $this->client->smartLinks->retrieveCohortArps('in'); // @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('perspiciatis'); + $result = $this->client->smartLinks->retrieveStats('itaque'); // @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 f57e6bfa..57a8aedf 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( - 'qui', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'qui', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f81f2548..4b0e1dc0 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eaque', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eaque', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eaque', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eaque', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quam', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quam', + '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( - 'culpa', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'culpa', + 'esse', 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 031a857f..56d5ed30 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'labore', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'labore', + 'eos', 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', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'facere', + '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 b3ec1035..706cbb95 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: 'iilvllxz' + name: 'sjectxxfaiwh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'iilvllxz' + name: 'sjectxxfaiwh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8c42ee64c4e82dd2893bd408b25a211760f1113d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 01:13:02 +0000 Subject: [PATCH 068/256] 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 b5ab9331..b540622c 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-60a31ab3f816257e17d983f69c76c823828284b70137e0ad9df8caa9c0a93572.yml -openapi_spec_hash: fd257565847fd80972c07d59aa4b57a3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d8c33d527a4ed6bb056751fd0f2df9ca0a19118af13567f32ee83b56eaa9d9a4.yml +openapi_spec_hash: 0369d6acfb69033e5bde55268ef05098 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 93269c12..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('sed'); + $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 705043f9..267afed7 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( - 'quisquam', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quisquam', + 'reprehenderit', 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 0dcb4e85..3facf812 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( - 'eum', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'eum', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'eum', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'eum', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d1f3d26c..6f415bae 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( - 'sed', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sed', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'sed', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sed', + 'in', 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 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 9e6e5f55..414fb030 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('ducimus'); + $result = $this->client->smartLinks->listClicks('accusantium'); // @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('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('quibusdam'); + $result = $this->client->smartLinks->listFans('doloribus'); // @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('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('in'); + $result = $this->client->smartLinks->retrieveCohortArps('facere'); // @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('itaque'); + $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 57a8aedf..07432a23 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( - 'voluptas', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptas', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4b0e1dc0..0586df5b 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eligendi', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eligendi', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eligendi', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eligendi', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'aliquid', 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( - 'esse', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'esse', + 'laborum', 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 56d5ed30..42c2b3f1 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'officiis', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'officiis', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'officiis', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'officiis', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + '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( - 'laboriosam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laboriosam', + 'non', 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 706cbb95..5a2fe4c7 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: 'sjectxxfaiwh' + name: 'qqeqmcudcpfbulvuhdpxndrsi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sjectxxfaiwh' + name: 'qqeqmcudcpfbulvuhdpxndrsi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d5abe7fb186a1eb5e11aa97524514b5320b4b066 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 02:12:59 +0000 Subject: [PATCH 069/256] 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 b540622c..8bb21ded 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-d8c33d527a4ed6bb056751fd0f2df9ca0a19118af13567f32ee83b56eaa9d9a4.yml -openapi_spec_hash: 0369d6acfb69033e5bde55268ef05098 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e04323f1c37f9f4b63c999831a20a29492e6e9ecf589cddfd83d125f74035d46.yml +openapi_spec_hash: a37921ea226788dcc5b0cac6ded82fea config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c622d9e0..db3a9792 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('quasi'); // @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 267afed7..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( - 'reprehenderit', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'reprehenderit', + '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 3facf812..8c59d5e5 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( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ab', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 6f415bae..f6824d37 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( - 'in', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'in', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'in', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'in', + 'quae', 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 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 414fb030..469300e9 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('accusantium'); + $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('eum'); + $result = $this->client->smartLinks->listConversions('optio'); // @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('doloribus'); + $result = $this->client->smartLinks->listFans('dolorum'); // @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('debitis'); // @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('facere'); + $result = $this->client->smartLinks->retrieveCohortArps('porro'); // @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('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 07432a23..cdd973b0 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', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'maxime', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'maxime', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'maxime', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0586df5b..4715542f 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aliquid', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aliquid', + 'ea', 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( - 'laborum', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'laborum', + 'deleniti', 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 42c2b3f1..782f5dfb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatum', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatum', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + '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( - 'non', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'non', + 'distinctio', 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 5a2fe4c7..290ce4de 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: 'qqeqmcudcpfbulvuhdpxndrsi' + name: 'hhciaophrjknjdzbk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qqeqmcudcpfbulvuhdpxndrsi' + name: 'hhciaophrjknjdzbk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 17830d7f13f67aa3456198cf87eee4a99ac7adcd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:13:02 +0000 Subject: [PATCH 070/256] 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 8bb21ded..f665bcab 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-e04323f1c37f9f4b63c999831a20a29492e6e9ecf589cddfd83d125f74035d46.yml -openapi_spec_hash: a37921ea226788dcc5b0cac6ded82fea +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b3fd6f411e4f3f885f124efd7caacf561a121d2997a4066d2799c36f51d6525c.yml +openapi_spec_hash: 33bf90f03286f640335dd06e36b907a5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index db3a9792..76584461 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('quasi'); + $result = $this->client->accounts->disconnect('non'); // @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..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( - 'quis', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quis', + '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 8c59d5e5..ff6756f2 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( - 'inventore', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'inventore', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f6824d37..1fd44ec1 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( - 'quae', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quae', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quae', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quae', + 'quos', 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..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 469300e9..9e9e0e72 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('eveniet'); // @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('optio'); + $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('dolorum'); + $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('debitis'); + $result = $this->client->smartLinks->listSpenders('reprehenderit'); // @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('porro'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('sed'); // @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 cdd973b0..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( - 'ab', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ab', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ab', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ab', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4715542f..b00e5c74 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'fuga', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'fuga', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'fuga', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'fuga', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + '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( - 'deleniti', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'deleniti', + 'aut', 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 782f5dfb..f11403d3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eos', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eos', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + '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( - 'distinctio', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'distinctio', + 'nemo', 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 290ce4de..5bfa9527 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: 'hhciaophrjknjdzbk' + name: 'f' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hhciaophrjknjdzbk' + name: 'f' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 413b8c184c72d4839268efcef0b36140f52be3ce Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 18:13:06 +0000 Subject: [PATCH 071/256] 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 f665bcab..c6fec53d 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-b3fd6f411e4f3f885f124efd7caacf561a121d2997a4066d2799c36f51d6525c.yml -openapi_spec_hash: 33bf90f03286f640335dd06e36b907a5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-569e512554419f9520769f2d037582cc61213045556a79c9c2fb75f5fe0968e6.yml +openapi_spec_hash: 40fc4027b8a5f9228d5891e1daafddf7 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 76584461..bef331c9 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('non'); + $result = $this->client->accounts->disconnect('veritatis'); // @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..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( - 'odio', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'odio', + '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 ff6756f2..130f6eec 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( - 'itaque', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'itaque', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'itaque', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'itaque', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1fd44ec1..2d728ade 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( - 'quos', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quos', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quos', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quos', + 'iste', 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..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 9e9e0e72..496f4dae 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('eveniet'); + $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('sit'); + $result = $this->client->smartLinks->listConversions('aperiam'); // @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('iste'); // @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('reprehenderit'); + $result = $this->client->smartLinks->listSpenders('quos'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('est'); // @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('sed'); + $result = $this->client->smartLinks->retrieveStats('necessitatibus'); // @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..809aaa05 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b00e5c74..728c3c17 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', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'reiciendis', 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( - 'aut', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aut', + 'corrupti', 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 f11403d3..84c12dba 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'quas', 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( - 'nemo', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nemo', + '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 5bfa9527..29a33d8f 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: 'f' + name: 'piwnvjnz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'f' + name: 'piwnvjnz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6274863a01d8f196d7161adb081950f8fb6a4cf2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 19:13:06 +0000 Subject: [PATCH 072/256] 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 c6fec53d..2488d92c 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-569e512554419f9520769f2d037582cc61213045556a79c9c2fb75f5fe0968e6.yml -openapi_spec_hash: 40fc4027b8a5f9228d5891e1daafddf7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a8b4a89615c2d4024622d6bde7d1a3f177025e5df49bfed60c50ba0465647c01.yml +openapi_spec_hash: 1d15562f53aed866aea86adaa0e24c3c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bef331c9..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('veritatis'); + $result = $this->client->accounts->disconnect('aut'); // @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 1bad2065..136abf98 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', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'iusto', + 'illum', 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 130f6eec..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( - 'nesciunt', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nesciunt', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d728ade..eeb03ffc 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( - 'iste', + 'id', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iste', + 'id', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'iste', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iste', + 'id', 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 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 496f4dae..bf03dc51 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('eaque'); // @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('aperiam'); + $result = $this->client->smartLinks->listConversions('omnis'); // @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('iste'); + $result = $this->client->smartLinks->listFans('nihil'); // @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('quos'); + $result = $this->client->smartLinks->listSpenders('suscipit'); // @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('est'); + $result = $this->client->smartLinks->retrieveCohortArps('minima'); // @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('necessitatibus'); + $result = $this->client->smartLinks->retrieveStats('aspernatur'); // @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 809aaa05..b7a9df74 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( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 728c3c17..cee51ecb 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reiciendis', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reiciendis', + '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( - 'corrupti', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'corrupti', + 'quos', 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 84c12dba..ae688888 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'laborum', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'laborum', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quas', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quas', + 'odio', 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', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'sed', 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 29a33d8f..7cac2272 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: 'piwnvjnz' + name: 'nwhw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'piwnvjnz' + name: 'nwhw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 411b94600cb1b57f1a82e50fd7ae7b6b23eacadc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 22:13:06 +0000 Subject: [PATCH 073/256] 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 2488d92c..178f3ba2 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-a8b4a89615c2d4024622d6bde7d1a3f177025e5df49bfed60c50ba0465647c01.yml -openapi_spec_hash: 1d15562f53aed866aea86adaa0e24c3c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ccd70f4c3f998c337a1838bbae26248928e6a83553de2a42822d59d9719d787b.yml +openapi_spec_hash: 23a53f5349b4af49e5f882235b886142 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..570871ed 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('saepe'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 136abf98..468165b3 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( - 'illum', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'illum', + 'dolorum', 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..31289fad 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', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index eeb03ffc..f17e4a18 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( - 'id', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'id', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'id', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'id', + 'totam', 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 bf03dc51..48dacc9e 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('eaque'); + $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('omnis'); + $result = $this->client->smartLinks->listConversions('ipsa'); // @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('nihil'); + $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('suscipit'); + $result = $this->client->smartLinks->listSpenders('nesciunt'); // @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('minima'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('aspernatur'); + $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 b7a9df74..510c6333 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( - 'omnis', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'omnis', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'omnis', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'omnis', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index cee51ecb..2f84e4f8 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'fugit', 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( - 'quos', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quos', + 'repellat', 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 ae688888..34244065 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'corporis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'corporis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'corporis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'corporis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odio', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odio', + '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( - 'sed', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sed', + 'animi', 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 7cac2272..ea7ca186 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: 'nwhw' + name: 'nmecijgyyql' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nwhw' + name: 'nmecijgyyql' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From de53aff347fc0ac42d74df5d742453349f07a338 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 16:13:12 +0000 Subject: [PATCH 074/256] 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 178f3ba2..5cb98e7f 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-ccd70f4c3f998c337a1838bbae26248928e6a83553de2a42822d59d9719d787b.yml -openapi_spec_hash: 23a53f5349b4af49e5f882235b886142 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7912c719a0b0a1baa8fa755329074f71a0590b3656dd32b85e7278044faa27df.yml +openapi_spec_hash: 118d0f0f2396283957913bffbf3057aa config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 570871ed..40ff8d67 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('saepe'); + $result = $this->client->accounts->disconnect('accusamus'); // @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 468165b3..bcaaf7fc 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( - 'dolorum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolorum', + 'nemo', 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 31289fad..eaf6ebce 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( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'harum', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f17e4a18..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( - 'totam', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'totam', + '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( - 'totam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'totam', + '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..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 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 48dacc9e..4089c0af 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('quas'); // @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('ipsa'); + $result = $this->client->smartLinks->listConversions('beatae'); // @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('porro'); // @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('nesciunt'); + $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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('enim'); // @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('autem'); // @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 510c6333..08bf33f4 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( - 'ducimus', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ducimus', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ducimus', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ducimus', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2f84e4f8..cc11f322 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'nesciunt', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'nesciunt', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'nesciunt', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'nesciunt', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugit', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugit', + 'ipsum', 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( - 'repellat', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'repellat', + 'nostrum', 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 34244065..e04483e6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'facilis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'facilis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'facilis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'facilis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'quis', 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( - 'animi', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'animi', + '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 ea7ca186..35871c11 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: 'nmecijgyyql' + name: 'oembzyfjpgadwxeelekmwjrmy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nmecijgyyql' + name: 'oembzyfjpgadwxeelekmwjrmy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d016d26b516c610bd4ce7fadb710f1c9a655f171 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 17:13:09 +0000 Subject: [PATCH 075/256] feat(api): api update --- .stats.yml | 6 +- src/Messages/MessageAttachTagsParams.php | 133 ------------------ src/Messages/MessageAttachTagsResponse.php | 78 ---------- .../MessageAttachTagsResponse/Data.php | 48 ------- .../MessageAttachTagsResponse/_Meta.php | 99 ------------- .../_Meta/_Cache.php | 62 -------- .../_Meta/_Credits.php | 77 ---------- .../_Meta/_RateLimits.php | 93 ------------ src/ServiceContracts/MessagesContract.php | 31 +--- src/ServiceContracts/MessagesRawContract.php | 29 +--- src/Services/MessagesRawService.php | 45 ------ src/Services/MessagesService.php | 45 +----- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 +- .../Services/Media/Vault/Lists/MediaTest.php | 8 +- tests/Services/MessagesTest.php | 65 --------- 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 +- 23 files changed, 50 insertions(+), 849 deletions(-) delete mode 100644 src/Messages/MessageAttachTagsParams.php delete mode 100644 src/Messages/MessageAttachTagsResponse.php delete mode 100644 src/Messages/MessageAttachTagsResponse/Data.php delete mode 100644 src/Messages/MessageAttachTagsResponse/_Meta.php delete mode 100644 src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php delete mode 100644 src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php delete mode 100644 src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php delete mode 100644 tests/Services/MessagesTest.php diff --git a/.stats.yml b/.stats.yml index 5cb98e7f..793df376 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-7912c719a0b0a1baa8fa755329074f71a0590b3656dd32b85e7278044faa27df.yml -openapi_spec_hash: 118d0f0f2396283957913bffbf3057aa +configured_endpoints: 265 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9c336e3e172973bccca6d3a512807040e2e8f4c26daa3f2238e1ab9883e0472a.yml +openapi_spec_hash: 8828ab31a133fadb496a5bcc1af6c9dc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Messages/MessageAttachTagsParams.php b/src/Messages/MessageAttachTagsParams.php deleted file mode 100644 index 4408e757..00000000 --- a/src/Messages/MessageAttachTagsParams.php +++ /dev/null @@ -1,133 +0,0 @@ - */ - use SdkModel; - use SdkParams; - - #[Required] - public string $account; - - /** - * Array of OnlyFans Release Form Guest IDs to tag in your message. - */ - #[Optional] - public ?string $rfGuest; - - /** - * Array of OnlyFans Release Form Partners IDs to tag in your message. - */ - #[Optional] - public ?string $rfPartner; - - /** - * Array of OnlyFans Creator User IDs to tag in your message. - */ - #[Optional] - public ?string $rfTag; - - /** - * `new MessageAttachTagsParams()` is missing required properties by the API. - * - * To enforce required parameters use - * ``` - * MessageAttachTagsParams::with(account: ...) - * ``` - * - * Otherwise ensure the following setters are called - * - * ``` - * (new MessageAttachTagsParams)->withAccount(...) - * ``` - */ - 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 $account, - ?string $rfGuest = null, - ?string $rfPartner = null, - ?string $rfTag = null, - ): self { - $self = new self; - - $self['account'] = $account; - - null !== $rfGuest && $self['rfGuest'] = $rfGuest; - null !== $rfPartner && $self['rfPartner'] = $rfPartner; - null !== $rfTag && $self['rfTag'] = $rfTag; - - return $self; - } - - public function withAccount(string $account): self - { - $self = clone $this; - $self['account'] = $account; - - return $self; - } - - /** - * Array of OnlyFans Release Form Guest IDs to tag in your message. - */ - public function withRfGuest(string $rfGuest): self - { - $self = clone $this; - $self['rfGuest'] = $rfGuest; - - return $self; - } - - /** - * Array of OnlyFans Release Form Partners IDs to tag in your message. - */ - public function withRfPartner(string $rfPartner): self - { - $self = clone $this; - $self['rfPartner'] = $rfPartner; - - return $self; - } - - /** - * Array of OnlyFans Creator User IDs to tag in your message. - */ - public function withRfTag(string $rfTag): self - { - $self = clone $this; - $self['rfTag'] = $rfTag; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse.php b/src/Messages/MessageAttachTagsResponse.php deleted file mode 100644 index 957e649b..00000000 --- a/src/Messages/MessageAttachTagsResponse.php +++ /dev/null @@ -1,78 +0,0 @@ - */ - use SdkModel; - - #[Optional] - public ?_Meta $_meta; - - #[Optional] - public ?Data $data; - - 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 _Meta|_MetaShape|null $_meta - * @param Data|DataShape|null $data - */ - public static function with( - _Meta|array|null $_meta = null, - Data|array|null $data = null - ): self { - $self = new self; - - null !== $_meta && $self['_meta'] = $_meta; - null !== $data && $self['data'] = $data; - - return $self; - } - - /** - * @param _Meta|_MetaShape $_meta - */ - public function withMeta(_Meta|array $_meta): self - { - $self = clone $this; - $self['_meta'] = $_meta; - - return $self; - } - - /** - * @param Data|DataShape $data - */ - public function withData(Data|array $data): self - { - $self = clone $this; - $self['data'] = $data; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse/Data.php b/src/Messages/MessageAttachTagsResponse/Data.php deleted file mode 100644 index c8229024..00000000 --- a/src/Messages/MessageAttachTagsResponse/Data.php +++ /dev/null @@ -1,48 +0,0 @@ - */ - use SdkModel; - - #[Optional] - public ?bool $success; - - 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(?bool $success = null): self - { - $self = new self; - - null !== $success && $self['success'] = $success; - - return $self; - } - - public function withSuccess(bool $success): self - { - $self = clone $this; - $self['success'] = $success; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta.php b/src/Messages/MessageAttachTagsResponse/_Meta.php deleted file mode 100644 index 260d887d..00000000 --- a/src/Messages/MessageAttachTagsResponse/_Meta.php +++ /dev/null @@ -1,99 +0,0 @@ - */ - use SdkModel; - - #[Optional] - public ?_Cache $_cache; - - #[Optional] - public ?_Credits $_credits; - - #[Optional('_rate_limits')] - public ?_RateLimits $_rateLimits; - - 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 _Cache|_CacheShape|null $_cache - * @param _Credits|_CreditsShape|null $_credits - * @param _RateLimits|_RateLimitsShape|null $_rateLimits - */ - public static function with( - _Cache|array|null $_cache = null, - _Credits|array|null $_credits = null, - _RateLimits|array|null $_rateLimits = null, - ): self { - $self = new self; - - null !== $_cache && $self['_cache'] = $_cache; - null !== $_credits && $self['_credits'] = $_credits; - null !== $_rateLimits && $self['_rateLimits'] = $_rateLimits; - - return $self; - } - - /** - * @param _Cache|_CacheShape $_cache - */ - public function withCache(_Cache|array $_cache): self - { - $self = clone $this; - $self['_cache'] = $_cache; - - return $self; - } - - /** - * @param _Credits|_CreditsShape $_credits - */ - public function withCredits(_Credits|array $_credits): self - { - $self = clone $this; - $self['_credits'] = $_credits; - - return $self; - } - - /** - * @param _RateLimits|_RateLimitsShape $_rateLimits - */ - public function withRateLimits(_RateLimits|array $_rateLimits): self - { - $self = clone $this; - $self['_rateLimits'] = $_rateLimits; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php b/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php deleted file mode 100644 index a3089dc3..00000000 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_Cache.php +++ /dev/null @@ -1,62 +0,0 @@ - */ - use SdkModel; - - #[Optional('is_cached')] - public ?bool $isCached; - - #[Optional] - public ?string $note; - - 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( - ?bool $isCached = null, - ?string $note = null - ): self { - $self = new self; - - null !== $isCached && $self['isCached'] = $isCached; - null !== $note && $self['note'] = $note; - - return $self; - } - - public function withIsCached(bool $isCached): self - { - $self = clone $this; - $self['isCached'] = $isCached; - - return $self; - } - - public function withNote(string $note): self - { - $self = clone $this; - $self['note'] = $note; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php b/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php deleted file mode 100644 index 7b6fcb60..00000000 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_Credits.php +++ /dev/null @@ -1,77 +0,0 @@ - */ - use SdkModel; - - #[Optional] - public ?int $balance; - - #[Optional] - public ?string $note; - - #[Optional] - public ?int $used; - - 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( - ?int $balance = null, - ?string $note = null, - ?int $used = null - ): self { - $self = new self; - - null !== $balance && $self['balance'] = $balance; - null !== $note && $self['note'] = $note; - null !== $used && $self['used'] = $used; - - return $self; - } - - public function withBalance(int $balance): self - { - $self = clone $this; - $self['balance'] = $balance; - - return $self; - } - - public function withNote(string $note): self - { - $self = clone $this; - $self['note'] = $note; - - return $self; - } - - public function withUsed(int $used): self - { - $self = clone $this; - $self['used'] = $used; - - return $self; - } -} diff --git a/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php b/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php deleted file mode 100644 index adb4202a..00000000 --- a/src/Messages/MessageAttachTagsResponse/_Meta/_RateLimits.php +++ /dev/null @@ -1,93 +0,0 @@ - */ - use SdkModel; - - #[Optional('limit_day')] - public ?int $limitDay; - - #[Optional('limit_minute')] - public ?int $limitMinute; - - #[Optional('remaining_day')] - public ?int $remainingDay; - - #[Optional('remaining_minute')] - public ?int $remainingMinute; - - 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( - ?int $limitDay = null, - ?int $limitMinute = null, - ?int $remainingDay = null, - ?int $remainingMinute = null, - ): self { - $self = new self; - - null !== $limitDay && $self['limitDay'] = $limitDay; - null !== $limitMinute && $self['limitMinute'] = $limitMinute; - null !== $remainingDay && $self['remainingDay'] = $remainingDay; - null !== $remainingMinute && $self['remainingMinute'] = $remainingMinute; - - return $self; - } - - public function withLimitDay(int $limitDay): self - { - $self = clone $this; - $self['limitDay'] = $limitDay; - - return $self; - } - - public function withLimitMinute(int $limitMinute): self - { - $self = clone $this; - $self['limitMinute'] = $limitMinute; - - return $self; - } - - public function withRemainingDay(int $remainingDay): self - { - $self = clone $this; - $self['remainingDay'] = $remainingDay; - - return $self; - } - - public function withRemainingMinute(int $remainingMinute): self - { - $self = clone $this; - $self['remainingMinute'] = $remainingMinute; - - return $self; - } -} diff --git a/src/ServiceContracts/MessagesContract.php b/src/ServiceContracts/MessagesContract.php index f1c7c93d..b7d99aee 100644 --- a/src/ServiceContracts/MessagesContract.php +++ b/src/ServiceContracts/MessagesContract.php @@ -4,33 +4,4 @@ namespace OnlyFansAPI\ServiceContracts; -use OnlyFansAPI\Core\Exceptions\APIException; -use OnlyFansAPI\Messages\MessageAttachTagsResponse; -use OnlyFansAPI\RequestOptions; - -/** - * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions - */ -interface MessagesContract -{ - /** - * @api - * - * @param string $messageID Path param: The ID of the message to attach the release forms to. This can be ONLY a message sent by the creator. - * @param string $account Path param: The Account ID - * @param string $rfGuest Body param: Array of OnlyFans Release Form Guest IDs to tag in your message - * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message - * @param string $rfTag Body param: Array of OnlyFans Creator User IDs to tag in your message - * @param RequestOpts|null $requestOptions - * - * @throws APIException - */ - public function attachTags( - string $messageID, - string $account, - ?string $rfGuest = null, - ?string $rfPartner = null, - ?string $rfTag = null, - RequestOptions|array|null $requestOptions = null, - ): MessageAttachTagsResponse; -} +interface MessagesContract {} diff --git a/src/ServiceContracts/MessagesRawContract.php b/src/ServiceContracts/MessagesRawContract.php index b2d05e71..c1c76113 100644 --- a/src/ServiceContracts/MessagesRawContract.php +++ b/src/ServiceContracts/MessagesRawContract.php @@ -4,31 +4,4 @@ namespace OnlyFansAPI\ServiceContracts; -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 - */ -interface MessagesRawContract -{ - /** - * @api - * - * @param string $messageID Path param: The ID of the message to attach the release forms to. This can be ONLY a message sent by the creator. - * @param array|MessageAttachTagsParams $params - * @param RequestOpts|null $requestOptions - * - * @return BaseResponse - * - * @throws APIException - */ - public function attachTags( - string $messageID, - array|MessageAttachTagsParams $params, - RequestOptions|array|null $requestOptions = null, - ): BaseResponse; -} +interface MessagesRawContract {} diff --git a/src/Services/MessagesRawService.php b/src/Services/MessagesRawService.php index b7490e6d..711ff73e 100644 --- a/src/Services/MessagesRawService.php +++ b/src/Services/MessagesRawService.php @@ -5,16 +5,8 @@ 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; -/** - * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions - */ final class MessagesRawService implements MessagesRawContract { // @phpstan-ignore-next-line @@ -22,41 +14,4 @@ final class MessagesRawService implements MessagesRawContract * @internal */ public function __construct(private Client $client) {} - - /** - * @api - * - * 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. - * - * @param string $messageID Path param: The ID of the message to attach the release forms to. This can be ONLY a message sent by the creator. - * @param array{ - * account: string, rfGuest?: string, rfPartner?: string, rfTag?: string - * }|MessageAttachTagsParams $params - * @param RequestOpts|null $requestOptions - * - * @return BaseResponse - * - * @throws APIException - */ - public function attachTags( - string $messageID, - array|MessageAttachTagsParams $params, - RequestOptions|array|null $requestOptions = null, - ): BaseResponse { - [$parsed, $options] = MessageAttachTagsParams::parseRequest( - $params, - $requestOptions, - ); - $account = $parsed['account']; - unset($parsed['account']); - - // @phpstan-ignore-next-line return.type - return $this->client->request( - method: 'post', - path: ['api/%1$s/messages/%2$s/attach-tags', $account, $messageID], - body: (object) array_diff_key($parsed, array_flip(['account'])), - options: $options, - convert: MessageAttachTagsResponse::class, - ); - } } diff --git a/src/Services/MessagesService.php b/src/Services/MessagesService.php index d641178b..7b612b67 100644 --- a/src/Services/MessagesService.php +++ b/src/Services/MessagesService.php @@ -5,15 +5,8 @@ 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; -/** - * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions - */ final class MessagesService implements MessagesContract { /** @@ -21,6 +14,7 @@ final class MessagesService implements MessagesContract */ public MessagesRawService $raw; + // @phpstan-ignore-next-line /** * @internal */ @@ -28,41 +22,4 @@ public function __construct(private Client $client) { $this->raw = new MessagesRawService($client); } - - /** - * @api - * - * 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. - * - * @param string $messageID Path param: The ID of the message to attach the release forms to. This can be ONLY a message sent by the creator. - * @param string $account Path param: The Account ID - * @param string $rfGuest Body param: Array of OnlyFans Release Form Guest IDs to tag in your message - * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message - * @param string $rfTag Body param: Array of OnlyFans Creator User IDs to tag in your message - * @param RequestOpts|null $requestOptions - * - * @throws APIException - */ - public function attachTags( - string $messageID, - string $account, - ?string $rfGuest = null, - ?string $rfPartner = null, - ?string $rfTag = null, - RequestOptions|array|null $requestOptions = null, - ): MessageAttachTagsResponse { - $params = Util::removeNulls( - [ - 'account' => $account, - 'rfGuest' => $rfGuest, - 'rfPartner' => $rfPartner, - 'rfTag' => $rfTag, - ], - ); - - // @phpstan-ignore-next-line argument.type - $response = $this->raw->attachTags($messageID, params: $params, requestOptions: $requestOptions); - - return $response->parse(); - } } diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 40ff8d67..00ed30d8 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('accusamus'); + $result = $this->client->accounts->disconnect('magnam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index bcaaf7fc..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( - 'nemo', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'nemo', + '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 eaf6ebce..e3ba7657 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( - 'omnis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'omnis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/MessagesTest.php b/tests/Services/MessagesTest.php deleted file mode 100644 index 4a5d634d..00000000 --- a/tests/Services/MessagesTest.php +++ /dev/null @@ -1,65 +0,0 @@ -client = $client; - } - - #[Test] - public function testAttachTags(): void - { - if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Mock server tests are disabled'); - } - - $result = $this->client->messages->attachTags( - '123456789', - account: 'acct_XXXXXXXXXXXXXXX' - ); - - // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(MessageAttachTagsResponse::class, $result); - } - - #[Test] - public function testAttachTagsWithOptionalParams(): void - { - if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Mock server tests are disabled'); - } - - $result = $this->client->messages->attachTags( - '123456789', - account: 'acct_XXXXXXXXXXXXXXX', - rfGuest: 'rfGuest', - rfPartner: 'rfPartner', - rfTag: 'rfTag', - ); - - // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(MessageAttachTagsResponse::class, $result); - } -} diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 19419dab..c5b3d825 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( - 'et', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'et', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'et', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'et', + 'nemo', 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 12ec31fa..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 4089c0af..67e5092f 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('quas'); + $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('beatae'); + $result = $this->client->smartLinks->listConversions('maiores'); // @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('porro'); + $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('beatae'); + $result = $this->client->smartLinks->listSpenders('itaque'); // @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('enim'); + $result = $this->client->smartLinks->retrieveCohortArps('delectus'); // @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('autem'); + $result = $this->client->smartLinks->retrieveStats('animi'); // @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 08bf33f4..809aaa05 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( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index cc11f322..6364e4c4 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', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'magnam', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'magnam', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'magnam', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsum', + 'aut', 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( - 'nostrum', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nostrum', + 'eaque', 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 e04483e6..3fe48829 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', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ut', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quis', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quis', + '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( - 'dolorem', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + '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 35871c11..8f9b6593 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: 'oembzyfjpgadwxeelekmwjrmy' + name: 'otjzqrapzyixbwirkxbspk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oembzyfjpgadwxeelekmwjrmy' + name: 'otjzqrapzyixbwirkxbspk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 66163a6c7f9ae3860a1990e76752487ad8086c49 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 18:12:58 +0000 Subject: [PATCH 076/256] 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 793df376..c2f6bb95 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9c336e3e172973bccca6d3a512807040e2e8f4c26daa3f2238e1ab9883e0472a.yml -openapi_spec_hash: 8828ab31a133fadb496a5bcc1af6c9dc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-de8aa535e63789de8ad141e804a0319ba9927eab1c28ebf4d28637edb7e4ff1c.yml +openapi_spec_hash: bf553646975aa11a289972d266dfa1cf config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 00ed30d8..e9374849 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('magnam'); + $result = $this->client->accounts->disconnect('alias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 73906f4e..46985d98 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', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'nihil', 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 e3ba7657..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( - 'cupiditate', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'cupiditate', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'cupiditate', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'cupiditate', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index c5b3d825..0f5a758f 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( - 'nemo', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nemo', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nemo', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nemo', + 'sapiente', 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 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 67e5092f..c6b4af93 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('dolorem'); // @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('maiores'); + $result = $this->client->smartLinks->listConversions('et'); // @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('molestias'); // @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('itaque'); + $result = $this->client->smartLinks->listSpenders('vitae'); // @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('delectus'); + $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('animi'); + $result = $this->client->smartLinks->retrieveStats('sunt'); // @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 809aaa05..6bfe21e8 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( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6364e4c4..2e43ad12 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'provident', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'provident', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'provident', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'provident', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'autem', 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( - 'eaque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eaque', + '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 3fe48829..74d54daa 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'assumenda', 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', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'accusantium', + 'fugiat', 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 8f9b6593..a6325c6a 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: 'otjzqrapzyixbwirkxbspk' + name: 'fg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'otjzqrapzyixbwirkxbspk' + name: 'fg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 0f0d67c06cea567a023b1d8531c9e01af6df82e8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 05:13:04 +0000 Subject: [PATCH 077/256] 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 | 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, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index c2f6bb95..8f7a621d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-de8aa535e63789de8ad141e804a0319ba9927eab1c28ebf4d28637edb7e4ff1c.yml -openapi_spec_hash: bf553646975aa11a289972d266dfa1cf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6248482297627a7484fa7a27c049cd2dcbc311465c243e4509b22f9fa11a8e5e.yml +openapi_spec_hash: 7e330e112b99ae68c7e1e483f8fbc557 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e9374849..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('alias'); + $result = $this->client->accounts->disconnect('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 46985d98..a80076f6 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( - 'nihil', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'nihil', + 'fuga', 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 d0da96a5..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( - 'voluptas', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptas', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0f5a758f..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( - 'sapiente', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sapiente', + '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( - 'sapiente', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sapiente', + 'sequi', 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 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 c6b4af93..d3fd0906 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('dolorem'); + $result = $this->client->smartLinks->listClicks('nihil'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('molestias'); + $result = $this->client->smartLinks->listFans('odit'); // @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('vitae'); + $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('et'); + $result = $this->client->smartLinks->retrieveCohortArps('labore'); // @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('sunt'); + $result = $this->client->smartLinks->retrieveStats('porro'); // @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 6bfe21e8..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( - 'quam', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quam', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2e43ad12..ee918fb7 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', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'autem', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'autem', + 'velit', 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'facilis', + 'id', 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 74d54daa..02a2afbc 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'recusandae', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'recusandae', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'recusandae', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'recusandae', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'officiis', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'officiis', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'assumenda', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'assumenda', + 'dolorum', 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( - 'fugiat', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'fugiat', + 'officia', 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 a6325c6a..59a9563e 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: 'fg' + name: 'nxkd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fg' + name: 'nxkd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c4fbab615f81360e60b2fb4c66bdce2ac1a94970 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 06:13:05 +0000 Subject: [PATCH 078/256] 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 8f7a621d..2c8db812 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6248482297627a7484fa7a27c049cd2dcbc311465c243e4509b22f9fa11a8e5e.yml -openapi_spec_hash: 7e330e112b99ae68c7e1e483f8fbc557 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-be5dbf6f642a36e76591e9ba9964a1c461bfcfd58cb75324ec00001c09742578.yml +openapi_spec_hash: 99d50a3cef2a53a10d8f1505133f2aae config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..76584461 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('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index a80076f6..ee8e21af 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( - 'fuga', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'fuga', + 'atque', 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..c5d56110 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', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quisquam', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fb05d63e..95d35fbf 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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sequi', + 'quis', 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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sequi', + 'quis', 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/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 d3fd0906..69146c1b 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('nihil'); + $result = $this->client->smartLinks->listClicks('dicta'); // @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('et'); + $result = $this->client->smartLinks->listConversions('suscipit'); // @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('odit'); + $result = $this->client->smartLinks->listFans('esse'); // @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('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('labore'); + $result = $this->client->smartLinks->retrieveCohortArps('unde'); // @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('porro'); + $result = $this->client->smartLinks->retrieveStats('neque'); // @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..52ccf466 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', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'unde', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ee918fb7..9ff2119c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ea', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ea', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ea', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ea', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'dolores', 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( - 'id', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'id', + 'fugit', 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 02a2afbc..27221963 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ipsum', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ipsum', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ipsum', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ipsum', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'magnam', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'magnam', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'voluptatem', 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( - 'officia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'officia', + 'voluptas', 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 59a9563e..67d2a39e 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: 'nxkd' + name: 'rqwoliu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nxkd' + name: 'rqwoliu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9b3e791374ee71191e9ef674f0f3c64b76cce003 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 13:13:13 +0000 Subject: [PATCH 079/256] 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 2c8db812..0848b8f8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-be5dbf6f642a36e76591e9ba9964a1c461bfcfd58cb75324ec00001c09742578.yml -openapi_spec_hash: 99d50a3cef2a53a10d8f1505133f2aae +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-08ae21057f7088b09eb4630525311d819cfd0eab65c356d46c48929e5c14ee61.yml +openapi_spec_hash: c72ef933e7bf20f7b453c28c441b8da3 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 76584461..b1225284 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('non'); + $result = $this->client->accounts->disconnect('animi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ee8e21af..79aafa78 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( - 'atque', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'atque', + 'soluta', 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 c5d56110..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( - 'recusandae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'recusandae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 95d35fbf..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( - 'quis', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quis', + '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( - 'quis', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quis', + '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 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 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 69146c1b..ba5c781e 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('dicta'); + $result = $this->client->smartLinks->listClicks('esse'); // @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('suscipit'); + $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('esse'); + $result = $this->client->smartLinks->listFans('fugit'); // @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('omnis'); // @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('unde'); + $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('neque'); + $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 52ccf466..bedd1970 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( - 'dignissimos', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dignissimos', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dignissimos', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dignissimos', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 9ff2119c..bc23cb74 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'aut', 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( - 'fugit', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fugit', + 'nam', 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 27221963..a801bfd1 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', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'natus', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'necessitatibus', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'necessitatibus', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + '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( - 'voluptas', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptas', + 'non', 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 67d2a39e..3290f67c 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: 'rqwoliu' + name: 'ywcohycsqqneiyrhnnmdmfnhi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rqwoliu' + name: 'ywcohycsqqneiyrhnnmdmfnhi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3b1d09c2cd6c88886dfe193831a4963f8e66896c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 18:13:14 +0000 Subject: [PATCH 080/256] 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 0848b8f8..d2ce6316 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-08ae21057f7088b09eb4630525311d819cfd0eab65c356d46c48929e5c14ee61.yml -openapi_spec_hash: c72ef933e7bf20f7b453c28c441b8da3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7363f33ed392201f7dad8b501a46128a80b38171819e4869d3708c56bc415853.yml +openapi_spec_hash: 4a36a8515b0ef66a8dc07c2ec533fc2b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b1225284..258edac6 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('animi'); + $result = $this->client->accounts->disconnect('dolorem'); // @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 79aafa78..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( - 'soluta', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'soluta', + '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 58126e97..ba617aa4 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7ee39e13..fb13cc09 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', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'autem', + 'occaecati', 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', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'autem', + 'occaecati', 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..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 ba5c781e..1d5f4278 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('esse'); + $result = $this->client->smartLinks->listClicks('molestiae'); // @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('laudantium'); // @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('fugit'); + $result = $this->client->smartLinks->listFans('enim'); // @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('omnis'); + $result = $this->client->smartLinks->listSpenders('necessitatibus'); // @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('veritatis'); // @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('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 bedd1970..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( - 'deserunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'deserunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'deserunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'deserunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index bc23cb74..53b1417f 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'id', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'id', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'id', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'id', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'nobis', 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( - 'nam', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nam', + '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 a801bfd1..1d7dd0f6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'eum', 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( - 'non', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'non', + 'numquam', 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 3290f67c..d3e4291c 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: 'ywcohycsqqneiyrhnnmdmfnhi' + name: 'ooruwisntktrpzcryua' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ywcohycsqqneiyrhnnmdmfnhi' + name: 'ooruwisntktrpzcryua' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d15148976bf50d331ce34a983ff72f52f119cabc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 07:13:09 +0000 Subject: [PATCH 081/256] 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 d2ce6316..403d37a0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7363f33ed392201f7dad8b501a46128a80b38171819e4869d3708c56bc415853.yml -openapi_spec_hash: 4a36a8515b0ef66a8dc07c2ec533fc2b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d6afd749f452a52233927ab89d781ac615a8adec4e13565e94a65a7d4305b7e0.yml +openapi_spec_hash: ae2972b7464c440e830a1cb1f39839ab config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 258edac6..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('dolorem'); + $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 54120be1..42c7f62c 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', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'ab', 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 ba617aa4..438aad1c 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( - 'sit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fb13cc09..f17e4a18 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( - 'occaecati', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'occaecati', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'occaecati', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'occaecati', + 'totam', 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..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 1d5f4278..ea558b25 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('molestiae'); + $result = $this->client->smartLinks->listClicks('quis'); // @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('laudantium'); + $result = $this->client->smartLinks->listConversions('recusandae'); // @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('enim'); + $result = $this->client->smartLinks->listFans('iste'); // @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('necessitatibus'); + $result = $this->client->smartLinks->listSpenders('cumque'); // @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('veritatis'); + $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('ut'); + $result = $this->client->smartLinks->retrieveStats('occaecati'); // @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..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( - 'est', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 53b1417f..828088f1 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quod', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quod', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quod', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nobis', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nobis', + 'consequatur', 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', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + 'natus', 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 1d7dd0f6..e13984ff 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', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'numquam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eum', + '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( - 'numquam', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'numquam', + 'beatae', 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 d3e4291c..d36e4760 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: 'ooruwisntktrpzcryua' + name: 'bn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ooruwisntktrpzcryua' + name: 'bn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fc8995fc637a3c95aa1ad77a3868e864ccc95543 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:12:55 +0000 Subject: [PATCH 082/256] 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 ++++---- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 403d37a0..85f0a6fb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d6afd749f452a52233927ab89d781ac615a8adec4e13565e94a65a7d4305b7e0.yml -openapi_spec_hash: ae2972b7464c440e830a1cb1f39839ab +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4ce4416717af0f5aea53b5c3b89ed160d6e40f1bf0cccb02364cf16bdcd4bdda.yml +openapi_spec_hash: 2c6c59f5e9d634035d9baf192c2fd4aa config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9390893b..294035a2 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('exercitationem'); // @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 42c7f62c..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( - 'ab', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ab', + '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 438aad1c..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( - 'rerum', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'rerum', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f17e4a18..fb13cc09 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( - 'totam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'totam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'totam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'totam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index ea558b25..3bfd1bbe 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('quis'); + $result = $this->client->smartLinks->listClicks('est'); // @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('recusandae'); + $result = $this->client->smartLinks->listConversions('sunt'); // @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('iste'); + $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('cumque'); + $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('beatae'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('occaecati'); + $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 d9151c4a..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( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 828088f1..93360895 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'architecto', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'architecto', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'architecto', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'architecto', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + 'velit', 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( - 'natus', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'natus', + 'voluptatibus', 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 e13984ff..9153202d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eos', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eos', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eos', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eos', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'delectus', 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( - 'beatae', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'beatae', + 'magni', 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 d36e4760..93ab9923 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: 'bn' + name: 'vqzlsxpnbuonreuu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bn' + name: 'vqzlsxpnbuonreuu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b2cae90f3efc9c3656c38732870d27126b4521cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 17:13:13 +0000 Subject: [PATCH 083/256] 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 85f0a6fb..738aa2ee 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4ce4416717af0f5aea53b5c3b89ed160d6e40f1bf0cccb02364cf16bdcd4bdda.yml -openapi_spec_hash: 2c6c59f5e9d634035d9baf192c2fd4aa +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-51bc9675aa42197aebfbc3ba8919f85769c0817f2ed08178663d7b803da91eeb.yml +openapi_spec_hash: 1fd8bd900e5a78f17531b363d466691f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 294035a2..af746972 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('exercitationem'); + $result = $this->client->accounts->disconnect('velit'); // @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..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( - 'est', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + '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 4e83c9c8..947fd4bf 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', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quisquam', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fb13cc09..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( - 'occaecati', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'occaecati', + '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( - 'occaecati', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'occaecati', + 'aut', 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 3bfd1bbe..7d0051d8 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('est'); + $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('sunt'); + $result = $this->client->smartLinks->listConversions('cupiditate'); // @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('temporibus'); // @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('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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('facere'); // @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('iusto'); // @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..ff8a4f2e 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', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 93360895..8bdb4e08 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'molestiae', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'molestiae', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'molestiae', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'dolore', 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( - 'voluptatibus', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatibus', + 'voluptatem', 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 9153202d..c8bfa121 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quibusdam', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quibusdam', + 'id', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'delectus', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'delectus', + 'incidunt', 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( - 'magni', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'magni', + 'magnam', 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 93ab9923..50df00e1 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: 'vqzlsxpnbuonreuu' + name: 'bwnnfoano' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vqzlsxpnbuonreuu' + name: 'bwnnfoano' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From df6b350cb9735678d361f97bb3fd078be605c6cd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 18:13:06 +0000 Subject: [PATCH 084/256] feat(api): api update --- .stats.yml | 4 ++-- .../ReleaseFormListTaggableUsersParams.php | 2 +- .../Data.php | 18 ++------------- .../_Pagination.php | 22 ++++++++++++++++--- src/Services/ReleaseFormsRawService.php | 2 +- src/Services/ReleaseFormsService.php | 2 +- 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 ++-- 16 files changed, 69 insertions(+), 67 deletions(-) diff --git a/.stats.yml b/.stats.yml index 738aa2ee..b368ad3e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-51bc9675aa42197aebfbc3ba8919f85769c0817f2ed08178663d7b803da91eeb.yml -openapi_spec_hash: 1fd8bd900e5a78f17531b363d466691f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3726266cd2833aa149edb440069058b093b32d3fe1079822f62e677e026bdf21.yml +openapi_spec_hash: 8a32adf2deae6904b098951bebdaf2d2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php b/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php index 40a414c2..bc78aac1 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersParams.php @@ -13,7 +13,7 @@ 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. + * 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, following `_pagination.next_page` until it is `null`. * * @see OnlyFansAPI\Services\ReleaseFormsService::listTaggableUsers() * diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php index a80d1ba2..d883ce22 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/Data.php @@ -12,18 +12,13 @@ /** * @phpstan-import-type ItemShape from \OnlyFansAPI\ReleaseForms\ReleaseFormListTaggableUsersResponse\Data\Item * - * @phpstan-type DataShape = array{ - * hasMore?: bool|null, items?: list|null - * } + * @phpstan-type DataShape = array{items?: list|null} */ final class Data implements BaseModel { /** @use SdkModel */ use SdkModel; - #[Optional] - public ?bool $hasMore; - /** @var list|null $items */ #[Optional(list: Item::class)] public ?array $items; @@ -40,24 +35,15 @@ public function __construct() * * @param list|null $items */ - public static function with(?bool $hasMore = null, ?array $items = null): self + public static function with(?array $items = null): self { $self = new self; - null !== $hasMore && $self['hasMore'] = $hasMore; null !== $items && $self['items'] = $items; return $self; } - public function withHasMore(bool $hasMore): self - { - $self = clone $this; - $self['hasMore'] = $hasMore; - - return $self; - } - /** * @param list $items */ diff --git a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php index d7aebac0..be455c09 100644 --- a/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php +++ b/src/ReleaseForms/ReleaseFormListTaggableUsersResponse/_Pagination.php @@ -9,7 +9,9 @@ use OnlyFansAPI\Core\Contracts\BaseModel; /** - * @phpstan-type _PaginationShape = array{nextPage?: string|null} + * @phpstan-type _PaginationShape = array{ + * nextPage?: string|null, notice?: string|null + * } */ final class _Pagination implements BaseModel { @@ -19,6 +21,9 @@ final class _Pagination implements BaseModel #[Optional('next_page')] public ?string $nextPage; + #[Optional] + public ?string $notice; + public function __construct() { $this->initialize(); @@ -29,11 +34,14 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. */ - public static function with(?string $nextPage = null): self - { + public static function with( + ?string $nextPage = null, + ?string $notice = null + ): self { $self = new self; null !== $nextPage && $self['nextPage'] = $nextPage; + null !== $notice && $self['notice'] = $notice; return $self; } @@ -45,4 +53,12 @@ public function withNextPage(string $nextPage): self return $self; } + + public function withNotice(string $notice): self + { + $self = clone $this; + $self['notice'] = $notice; + + return $self; + } } diff --git a/src/Services/ReleaseFormsRawService.php b/src/Services/ReleaseFormsRawService.php index cfc1ea9d..525a9954 100644 --- a/src/Services/ReleaseFormsRawService.php +++ b/src/Services/ReleaseFormsRawService.php @@ -101,7 +101,7 @@ public function createReleaseForm( /** * @api * - * 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. + * 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, following `_pagination.next_page` until it is `null`. * * @param string $account The Account ID * @param array{ diff --git a/src/Services/ReleaseFormsService.php b/src/Services/ReleaseFormsService.php index ac39ce88..9ccd407b 100644 --- a/src/Services/ReleaseFormsService.php +++ b/src/Services/ReleaseFormsService.php @@ -87,7 +87,7 @@ public function createReleaseForm( /** * @api * - * 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. + * 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, following `_pagination.next_page` until it is `null`. * * @param string $account The Account ID * @param Filter|value-of|null $filter filter users by type: `all` or `pending` diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index af746972..de6c20b2 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('velit'); + $result = $this->client->accounts->disconnect('iure'); // @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..e8eaaed7 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', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'neque', + 'dolores', 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 947fd4bf..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( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'non', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..eeb03ffc 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'id', 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'id', 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..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 7d0051d8..b3ff61c6 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('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('cupiditate'); + $result = $this->client->smartLinks->listConversions('accusantium'); // @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('temporibus'); + $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('et'); + $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('facere'); + $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('iusto'); + $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 ff8a4f2e..cb063990 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( - 'beatae', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'beatae', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'beatae', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'beatae', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8bdb4e08..8cb9a5a0 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', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'enim', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolore', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolore', + 'numquam', 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', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'debitis', 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 c8bfa121..7a444e57 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ea', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ea', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ea', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ea', + 'quod', 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( - 'incidunt', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'corrupti', 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( - 'magnam', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'magnam', + 'illo', 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 50df00e1..e126ff00 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: 'bwnnfoano' + name: 'aiwxqnucmhyncsfwlyrniw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bwnnfoano' + name: 'aiwxqnucmhyncsfwlyrniw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d0ba0578aae69a3765ce4f77aae6ee194be0ca4c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 19:12:57 +0000 Subject: [PATCH 085/256] 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 b368ad3e..0ed327de 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3726266cd2833aa149edb440069058b093b32d3fe1079822f62e677e026bdf21.yml -openapi_spec_hash: 8a32adf2deae6904b098951bebdaf2d2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b3350133f4eada468b1ba45afef946e33624d744e42781c8aa329a6aa9c89c37.yml +openapi_spec_hash: 1e7d909509c28b609766c155c653b196 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index de6c20b2..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('iure'); + $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 e8eaaed7..217c5da6 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( - 'dolores', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolores', + 'velit', 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..02a37df8 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index eeb03ffc..9a0b9471 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( - 'id', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'id', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'id', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'id', + 'magni', 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..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index b3ff61c6..2014e888 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('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('accusantium'); + $result = $this->client->smartLinks->listConversions('labore'); // @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('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('sunt'); + $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('beatae'); + $result = $this->client->smartLinks->retrieveCohortArps('ducimus'); // @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('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 cb063990..38c43277 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( - 'veniam', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'veniam', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8cb9a5a0..6836601b 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'numquam', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'numquam', + 'sunt', 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( - 'debitis', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'debitis', + 'totam', 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 7a444e57..26961ee8 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'corrupti', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'corrupti', + 'officia', 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( - 'illo', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'illo', + 'perspiciatis', 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 e126ff00..7e3b657b 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: 'aiwxqnucmhyncsfwlyrniw' + name: 'dxix' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'aiwxqnucmhyncsfwlyrniw' + name: 'dxix' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5cda4df3332856944967edce81b5e5c11c58fc75 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 20:12:56 +0000 Subject: [PATCH 086/256] 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 | 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, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0ed327de..b1ad7e65 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b3350133f4eada468b1ba45afef946e33624d744e42781c8aa329a6aa9c89c37.yml -openapi_spec_hash: 1e7d909509c28b609766c155c653b196 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9fb9f5c8a5e2431761a5c8768ce2f865fd544b659a7c864b31e309ff530a9243.yml +openapi_spec_hash: 4043672fd06ed68e2b38f06ecddbfcc4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0d03654..07a63a21 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('impedit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 217c5da6..29397af3 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( - 'velit', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'velit', + 'ea', 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 02a37df8..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( - 'vel', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'vel', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 9a0b9471..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( - 'magni', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'magni', + '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( - 'magni', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'magni', + 'aspernatur', 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 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 2014e888..c90bf809 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('illum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::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('dignissimos'); // @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('consequuntur'); // @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('ducimus'); + $result = $this->client->smartLinks->retrieveCohortArps('reiciendis'); // @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('maxime'); // @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 38c43277..6141317f 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( - 'labore', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'labore', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'labore', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'labore', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6836601b..8db147b5 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', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eius', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sunt', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sunt', + 'accusamus', 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( - 'totam', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'totam', + 'est', 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 26961ee8..edd0003c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'nisi', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nisi', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nisi', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nisi', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officia', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officia', + 'ratione', 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( - 'perspiciatis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'perspiciatis', + '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 7e3b657b..118d1352 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: 'dxix' + name: 'oplcluzjqwohoykefoxj' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dxix' + name: 'oplcluzjqwohoykefoxj' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From aa7542f7a03057cfef5a44cd14d47c99aa1ff644 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 20 Jun 2026 00:12:57 +0000 Subject: [PATCH 087/256] 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 b1ad7e65..e0fd5d35 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9fb9f5c8a5e2431761a5c8768ce2f865fd544b659a7c864b31e309ff530a9243.yml -openapi_spec_hash: 4043672fd06ed68e2b38f06ecddbfcc4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7eeb3f3a16ed67c42c1dd6c6cf49e4e8b9b73ecf119c9b639220f60e68f5bc2e.yml +openapi_spec_hash: d249c309a792407bd531a85061e1f1cf config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 07a63a21..2f2489bd 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('impedit'); + $result = $this->client->accounts->disconnect('quae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 29397af3..4880a11e 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( - 'ea', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ea', + 'cumque', 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..3031d511 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', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0831cab1..e34d3fc3 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', + 'odio', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aspernatur', + 'odio', 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', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aspernatur', + 'odio', 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 c90bf809..8b2ba0f3 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('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('labore'); + $result = $this->client->smartLinks->listConversions('inventore'); // @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('dignissimos'); + $result = $this->client->smartLinks->listFans('eaque'); // @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('consequuntur'); + $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('reiciendis'); + $result = $this->client->smartLinks->retrieveCohortArps('corporis'); // @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('maxime'); + $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 6141317f..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( - 'delectus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'delectus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'delectus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'delectus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8db147b5..8047d3b8 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'libero', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'libero', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'libero', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'libero', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'accusamus', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'accusamus', + '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( - 'est', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + '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 edd0003c..069b2185 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', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quisquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quisquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quisquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ratione', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ratione', + 'veritatis', 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', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'vitae', 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 118d1352..5e327c69 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: 'oplcluzjqwohoykefoxj' + name: 'wxvjmgfa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oplcluzjqwohoykefoxj' + name: 'wxvjmgfa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9b0b7b0b3d4372df0a7375a14d6862b1bfad6ee3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 20 Jun 2026 07:13:00 +0000 Subject: [PATCH 088/256] 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 e0fd5d35..8d11d16a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7eeb3f3a16ed67c42c1dd6c6cf49e4e8b9b73ecf119c9b639220f60e68f5bc2e.yml -openapi_spec_hash: d249c309a792407bd531a85061e1f1cf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-920054175a18aef316492a157e29dcde0a0f00b251f28eba922c220c8024c1ee.yml +openapi_spec_hash: ae1d12a66790e4528e446d3a0326c5df config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 2f2489bd..4800b0dd 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('quae'); + $result = $this->client->accounts->disconnect('in'); // @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 4880a11e..6b8ba8b3 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( - 'cumque', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'cumque', + 'amet', 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 3031d511..9378a633 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( - 'voluptatem', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatem', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index e34d3fc3..7a492961 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( - 'odio', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'odio', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'odio', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'odio', + 'quasi', 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 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 8b2ba0f3..4ac9e2bb 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('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('inventore'); + $result = $this->client->smartLinks->listConversions('iste'); // @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('eaque'); + $result = $this->client->smartLinks->listFans('ut'); // @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('amet'); // @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('corporis'); + $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('voluptas'); + $result = $this->client->smartLinks->retrieveStats('corporis'); // @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..5afd5058 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', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8047d3b8..e5fe6965 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'atque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'atque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'atque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'atque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ullam', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ullam', + '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', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'optio', + '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 069b2185..d91a2551 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'tenetur', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'tenetur', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'tenetur', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'tenetur', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'veritatis', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'veritatis', + 'consequatur', 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( - 'vitae', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'vitae', + 'maxime', 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 5e327c69..46eeefec 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: 'wxvjmgfa' + name: 'dipcnmqccvzyukkmo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'wxvjmgfa' + name: 'dipcnmqccvzyukkmo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From abf585e37f7bffdb0cdb9c688456d7bd4a0c6689 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 16:13:01 +0000 Subject: [PATCH 089/256] 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 8d11d16a..a6f8dea5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-920054175a18aef316492a157e29dcde0a0f00b251f28eba922c220c8024c1ee.yml -openapi_spec_hash: ae1d12a66790e4528e446d3a0326c5df +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ed5dc8c2f880550be887c5e65c9c14e91ab68384ee1d2ca9184d30cacea74b70.yml +openapi_spec_hash: c7208a565cf56a80d1473b3e61700096 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 4800b0dd..60e96c8c 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('in'); + $result = $this->client->accounts->disconnect('nemo'); // @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 6b8ba8b3..705043f9 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( - 'amet', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'amet', + 'quisquam', 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 9378a633..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( - 'sint', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sint', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7a492961..2d728ade 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( - 'quasi', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quasi', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quasi', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quasi', + 'iste', 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 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 4ac9e2bb..9a0bd3db 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('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('iste'); + $result = $this->client->smartLinks->listConversions('itaque'); // @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('ut'); + $result = $this->client->smartLinks->listFans('quibusdam'); // @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('amet'); + $result = $this->client->smartLinks->listSpenders('animi'); // @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('sed'); + $result = $this->client->smartLinks->retrieveCohortArps('odio'); // @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('corporis'); + $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 5afd5058..930dbd26 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( - 'dolore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolore', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e5fe6965..37a8dade 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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + '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( - 'commodi', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'commodi', + '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 d91a2551..6274a18b 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', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'debitis', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'debitis', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'debitis', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'enim', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'enim', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'consequatur', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'consequatur', + 'officia', 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( - 'maxime', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'maxime', + '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 46eeefec..089a426f 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: 'dipcnmqccvzyukkmo' + name: 'zvvvbbhb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dipcnmqccvzyukkmo' + name: 'zvvvbbhb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 83a651119f5d55a15228c3d741c6ebf79d3e0359 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 19:12:56 +0000 Subject: [PATCH 090/256] 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 a6f8dea5..ba92e487 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ed5dc8c2f880550be887c5e65c9c14e91ab68384ee1d2ca9184d30cacea74b70.yml -openapi_spec_hash: c7208a565cf56a80d1473b3e61700096 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-96ef5a72effa5109d24e858e34e4c27e80c6da0fdfdd18d55455bd8970c0d081.yml +openapi_spec_hash: e10f2c391fdfadf1b52c942ec22c67c6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 60e96c8c..08e9100d 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('nemo'); + $result = $this->client->accounts->disconnect('debitis'); // @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 705043f9..07af05c5 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( - 'quisquam', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quisquam', + 'delectus', 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..130f6eec 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', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sequi', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sequi', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sequi', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d728ade..28fb433a 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( - 'iste', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iste', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'iste', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iste', + 'pariatur', 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..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 9a0bd3db..01fedb77 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('ducimus'); // @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('itaque'); + $result = $this->client->smartLinks->listConversions('eaque'); // @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('quibusdam'); + $result = $this->client->smartLinks->listFans('quod'); // @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('animi'); + $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('odio'); + $result = $this->client->smartLinks->retrieveCohortArps('animi'); // @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('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 930dbd26..a7423b4b 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( - 'id', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'id', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 37a8dade..616b19f0 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quis', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'quam', 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', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + 'ad', 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 6274a18b..a9c52094 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'adipisci', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'adipisci', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officia', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officia', + 'earum', 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', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'ex', 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 089a426f..70313397 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: 'zvvvbbhb' + name: 'l' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zvvvbbhb' + name: 'l' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7d1b31bc792dc7aecd6e62b6dfbcd77d7a33773b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 05:13:04 +0000 Subject: [PATCH 091/256] 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 ba92e487..178f603b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-96ef5a72effa5109d24e858e34e4c27e80c6da0fdfdd18d55455bd8970c0d081.yml -openapi_spec_hash: e10f2c391fdfadf1b52c942ec22c67c6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-18ea139e992cfeac2558a0ac650efd96b78fc536ac88d62f3639c84537e01156.yml +openapi_spec_hash: 0113ba037170124cfe907c495e45696f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 08e9100d..00ed30d8 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('debitis'); + $result = $this->client->accounts->disconnect('magnam'); // @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 07af05c5..8549d032 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( - 'delectus', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'delectus', + 'consequatur', 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 130f6eec..60187a20 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( - 'nesciunt', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nesciunt', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 28fb433a..c3cb9878 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( - 'pariatur', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'pariatur', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'pariatur', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'pariatur', + 'recusandae', 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 01fedb77..be7d8792 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('ducimus'); + $result = $this->client->smartLinks->listClicks('provident'); // @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('eaque'); + $result = $this->client->smartLinks->listConversions('rem'); // @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('quod'); + $result = $this->client->smartLinks->listFans('consectetur'); // @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('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('animi'); + $result = $this->client->smartLinks->retrieveCohortArps('ipsa'); // @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('iste'); // @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 a7423b4b..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( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 616b19f0..03ea2e0e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'architecto', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'architecto', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'architecto', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'architecto', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quam', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quam', + '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( - 'ad', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ad', + 'incidunt', 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 a9c52094..43727ebe 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'odio', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'odio', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'odio', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'odio', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'earum', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'earum', + '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( - 'ex', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ex', + 'totam', 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 70313397..ccc1c98c 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: 'l' + name: 'upwidopmnwsvueo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'l' + name: 'upwidopmnwsvueo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8d6d088dbaf7e08d97a7170b9a6ffc115aceb0c5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 15:13:04 +0000 Subject: [PATCH 092/256] 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 ++++---- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 178f603b..bee7ee31 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-18ea139e992cfeac2558a0ac650efd96b78fc536ac88d62f3639c84537e01156.yml -openapi_spec_hash: 0113ba037170124cfe907c495e45696f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5be9606b6648f96d96fbfd1ce827e917d866d67e0c6c86efec0189271b6b6280.yml +openapi_spec_hash: cb334b7d2013e3c87a26cc4215126ce9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 00ed30d8..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('magnam'); + $result = $this->client->accounts->disconnect('voluptas'); // @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 8549d032..fe38d2d6 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( - 'consequatur', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'consequatur', + 'quam', 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 60187a20..4476a959 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( - 'asperiores', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'asperiores', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'asperiores', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'asperiores', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index c3cb9878..dd380aac 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( - 'recusandae', + 'earum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'recusandae', + 'earum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'recusandae', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'recusandae', + 'earum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index be7d8792..455f11a8 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('provident'); + $result = $this->client->smartLinks->listClicks('quo'); // @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('rem'); + $result = $this->client->smartLinks->listConversions('et'); // @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('consectetur'); + $result = $this->client->smartLinks->listFans('porro'); // @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('sed'); // @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('ipsa'); + $result = $this->client->smartLinks->retrieveCohortArps('omnis'); // @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('iste'); + $result = $this->client->smartLinks->retrieveStats('deserunt'); // @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..8b2872e1 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', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'totam', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 03ea2e0e..361a99bb 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', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consectetur', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + '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( - 'incidunt', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'incidunt', + 'ipsum', 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 43727ebe..d48ea012 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quia', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quia', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quia', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sed', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sed', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellat', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellat', + 'omnis', 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( - 'totam', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'totam', + 'itaque', 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 ccc1c98c..49403a19 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: 'upwidopmnwsvueo' + name: 'srnltqrwxbifcd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'upwidopmnwsvueo' + name: 'srnltqrwxbifcd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 622c186ed54d9abc05695d54c274097d4b9f4238 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 17:13:12 +0000 Subject: [PATCH 093/256] 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 bee7ee31..89d96d03 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5be9606b6648f96d96fbfd1ce827e917d866d67e0c6c86efec0189271b6b6280.yml -openapi_spec_hash: cb334b7d2013e3c87a26cc4215126ce9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4936b32be2f2af07d0a7f6db433e3697cc33e786fc6a160ba03469396e400619.yml +openapi_spec_hash: 70ddc04518b8814735b0f9226f1a9545 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index cb502ea8..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('voluptas'); + $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 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 fe38d2d6..81a4e4ad 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( - 'quam', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quam', + 'autem', 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 4476a959..4888f117 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( - 'impedit', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'impedit', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'impedit', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'impedit', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index dd380aac..b9685711 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( - 'earum', + 'error', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'earum', + 'error', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'earum', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'earum', + 'error', 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 455f11a8..a11905a0 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('quo'); + $result = $this->client->smartLinks->listClicks('molestiae'); // @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('et'); + $result = $this->client->smartLinks->listConversions('deleniti'); // @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('porro'); + $result = $this->client->smartLinks->listFans('velit'); // @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('sed'); + $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('omnis'); + $result = $this->client->smartLinks->retrieveCohortArps('at'); // @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('deserunt'); + $result = $this->client->smartLinks->retrieveStats('mollitia'); // @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 8b2872e1..6e85b7f0 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( - 'iure', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'iure', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'iure', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'iure', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 361a99bb..3700c239 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'impedit', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'impedit', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'impedit', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'impedit', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'dolor', 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( - 'ipsum', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ipsum', + 'laborum', 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 d48ea012..1836022e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'rem', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'rem', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'voluptatibus', 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( - 'itaque', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'itaque', + 'eligendi', 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 49403a19..99fde1f3 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: 'srnltqrwxbifcd' + name: 'fiedgasexepliwyqlwnn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'srnltqrwxbifcd' + name: 'fiedgasexepliwyqlwnn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 02c7518ec14f5868171160820372b1d5845c5920 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:13:02 +0000 Subject: [PATCH 094/256] 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 89d96d03..8a02e0e2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4936b32be2f2af07d0a7f6db433e3697cc33e786fc6a160ba03469396e400619.yml -openapi_spec_hash: 70ddc04518b8814735b0f9226f1a9545 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0a38bc63e4392fdcb21b8976786bbadccddc6b5f5c7206cd2bbcd2a6d4d974a2.yml +openapi_spec_hash: 17f7d8002fc1bf0440eed04981b7288c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9e6bba3b..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('rerum'); + $result = $this->client->accounts->disconnect('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 81a4e4ad..ce6cb1b1 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( - 'autem', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'autem', + 'fugit', 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 4888f117..6f5a86c2 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( - 'dicta', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dicta', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dicta', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dicta', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b9685711..95d35fbf 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( - 'error', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'error', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'error', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'error', + 'quis', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index a11905a0..78f338b3 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('molestiae'); + $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('deleniti'); + $result = $this->client->smartLinks->listConversions('mollitia'); // @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('velit'); + $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('aut'); + $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('at'); + $result = $this->client->smartLinks->retrieveCohortArps('nihil'); // @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('mollitia'); + $result = $this->client->smartLinks->retrieveStats('distinctio'); // @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 6e85b7f0..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( - 'facilis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'facilis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'facilis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'facilis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 3700c239..2f887271 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'totam', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'totam', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'totam', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'totam', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolor', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolor', + '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( - 'laborum', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'laborum', + 'nobis', 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 1836022e..aa868370 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', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sint', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatibus', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatibus', + 'odio', 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( - 'eligendi', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eligendi', + '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 99fde1f3..5b188fb3 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: 'fiedgasexepliwyqlwnn' + name: 'zstjthkqorjq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fiedgasexepliwyqlwnn' + name: 'zstjthkqorjq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 4edd87e75d1b6e35cf9254145db0e2f262bca93c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 20:13:04 +0000 Subject: [PATCH 095/256] 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 | 12 +++++------ tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8a02e0e2..6832043f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0a38bc63e4392fdcb21b8976786bbadccddc6b5f5c7206cd2bbcd2a6d4d974a2.yml -openapi_spec_hash: 17f7d8002fc1bf0440eed04981b7288c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-17c8346ae2310da283cdf2555a0ec1ac2e47fea935518c95aeaa472cb8d00099.yml +openapi_spec_hash: 4c717bf5d92a82280ba7f629f3d29128 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0d20cc2a..7b24ff6d 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('deleniti'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ce6cb1b1..ad01f285 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( - 'fugit', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'fugit', + 'maiores', 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 6f5a86c2..438aad1c 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( - 'maiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'maiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'maiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'maiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 95d35fbf..22b9a77c 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( - 'quis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quis', + 'omnis', 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 78f338b3..adb7983c 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('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('mollitia'); + $result = $this->client->smartLinks->listConversions('nesciunt'); // @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('ut'); // @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('corrupti'); // @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('nihil'); + $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('distinctio'); + $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 2443ecae..97926934 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', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2f887271..7d3d5785 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dolores', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dolores', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dolores', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dolores', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'nobis', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nobis', + 'sequi', 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 aa868370..a097ca8b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'expedita', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'expedita', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'expedita', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'expedita', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'minus', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'minus', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odio', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odio', + 'veniam', 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( - 'ut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + '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 5b188fb3..cb69631c 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: 'zstjthkqorjq' + name: 'pisifwqmavftdrmjlq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zstjthkqorjq' + name: 'pisifwqmavftdrmjlq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8f416b9bd3e7566bc669d8e9122967b0b36de383 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 03:13:01 +0000 Subject: [PATCH 096/256] 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 6832043f..59a380cd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-17c8346ae2310da283cdf2555a0ec1ac2e47fea935518c95aeaa472cb8d00099.yml -openapi_spec_hash: 4c717bf5d92a82280ba7f629f3d29128 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b71f8cb6cb43ee90116fde1dcca89ec5030f9dbb879f437f0338a7754aff2ef1.yml +openapi_spec_hash: 0a4f68981383ff47b1f2a022953ec8c6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7b24ff6d..a4117de3 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('deleniti'); + $result = $this->client->accounts->disconnect('error'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ad01f285..f5f5fdc8 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( - 'maiores', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'maiores', + 'harum', 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 438aad1c..2ea0ffa8 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( - 'rerum', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'rerum', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 22b9a77c..5d84eb53 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( - 'omnis', + 'perspiciatis', 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( - 'omnis', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'omnis', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'omnis', + 'perspiciatis', 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 adb7983c..87a23bf8 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('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('nesciunt'); + $result = $this->client->smartLinks->listConversions('omnis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('corrupti'); + $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('et'); + $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('ea'); + $result = $this->client->smartLinks->retrieveStats('doloribus'); // @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 97926934..13a1e65e 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( - 'dolorem', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolorem', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 7d3d5785..9709e34a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'assumenda', 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( - 'sequi', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sequi', + '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 a097ca8b..180cb814 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'nobis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nobis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nobis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nobis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'suscipit', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'suscipit', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'veniam', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'veniam', + '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( - 'omnis', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'omnis', + 'vel', 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 cb69631c..6e492cf4 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: 'pisifwqmavftdrmjlq' + name: 'rvsik' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'pisifwqmavftdrmjlq' + name: 'rvsik' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 50dc0935f4dd372dbace5caa21e36d2f85cadc2c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 06:13:05 +0000 Subject: [PATCH 097/256] 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 59a380cd..5f7b3443 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b71f8cb6cb43ee90116fde1dcca89ec5030f9dbb879f437f0338a7754aff2ef1.yml -openapi_spec_hash: 0a4f68981383ff47b1f2a022953ec8c6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a907e754426fe187ceb85344916e070498a0c810938f1ad23555322651de017b.yml +openapi_spec_hash: 3fa5aa5cc7a3422378364fb7b0876b2c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index a4117de3..fe61716e 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('error'); + $result = $this->client->accounts->disconnect('nihil'); // @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 f5f5fdc8..4c52d0fc 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( - 'harum', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'harum', + 'incidunt', 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 2ea0ffa8..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( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5d84eb53..deb1d4f2 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( - 'perspiciatis', + 'culpa', 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( - 'perspiciatis', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'perspiciatis', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'perspiciatis', + 'culpa', 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..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 87a23bf8..51fd65d6 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('repudiandae'); // @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('omnis'); + $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('ut'); + $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('error'); + $result = $this->client->smartLinks->listSpenders('minus'); // @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('eveniet'); // @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('doloribus'); + $result = $this->client->smartLinks->retrieveStats('porro'); // @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 13a1e65e..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( - 'corporis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'corporis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'corporis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'corporis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 9709e34a..b991b476 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'saepe', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'saepe', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'saepe', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'saepe', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'assumenda', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'assumenda', + '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( - 'eligendi', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eligendi', + 'voluptas', 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 180cb814..8895860c 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', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + '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( - 'vel', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'vel', + '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 6e492cf4..aa51e435 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: 'rvsik' + name: 'hrcy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rvsik' + name: 'hrcy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 509b643d97404e7d05c331df2d079472e814acaa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 09:13:04 +0000 Subject: [PATCH 098/256] 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 5f7b3443..6e9c5a97 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a907e754426fe187ceb85344916e070498a0c810938f1ad23555322651de017b.yml -openapi_spec_hash: 3fa5aa5cc7a3422378364fb7b0876b2c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c2f88e1934d9f443e45c12470acb6415baa953e79f2e7493e3680d67003c8a83.yml +openapi_spec_hash: 08fffce664e4f3dd0aaaaeb72f039989 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fe61716e..ad75fed7 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('nihil'); + $result = $this->client->accounts->disconnect('expedita'); // @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 4c52d0fc..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( - 'incidunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'incidunt', + '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 a1fd57cc..de0e702a 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index deb1d4f2..6324f546 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( - 'culpa', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'culpa', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'culpa', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'culpa', + 'labore', 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..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 51fd65d6..a8204add 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('repudiandae'); + $result = $this->client->smartLinks->listClicks('velit'); // @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('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('consequatur'); + $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('minus'); + $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('eveniet'); + $result = $this->client->smartLinks->retrieveCohortArps('in'); // @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('porro'); + $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 2443ecae..2678f047 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', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b991b476..6c876158 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'laborum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'repellendus', + 'aut', 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( - 'voluptas', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptas', + 'dolorum', 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 8895860c..4f67df79 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'hic', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'hic', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'hic', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'hic', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'fugiat', 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', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'ipsam', 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 aa51e435..d56b885d 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: 'hrcy' + name: 'xkjvqdqhgxlntmfvga' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hrcy' + name: 'xkjvqdqhgxlntmfvga' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ab4f7c96633d17c0faf0b750c3320aae01623e0c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 11:13:06 +0000 Subject: [PATCH 099/256] 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 6e9c5a97..2bf41a86 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c2f88e1934d9f443e45c12470acb6415baa953e79f2e7493e3680d67003c8a83.yml -openapi_spec_hash: 08fffce664e4f3dd0aaaaeb72f039989 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-466df7bcb4d8dc90c8ee79faa1c560b85ab1cffd97a56ed9ee2fd8172edb7bd7.yml +openapi_spec_hash: bf811c8223f39a7e477652afe8e7800f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index ad75fed7..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('expedita'); + $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 19103f09..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( - 'aut', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + '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 de0e702a..0711f029 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( - 'fugit', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'fugit', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'fugit', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'fugit', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 6324f546..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( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'labore', + '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( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'labore', + '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 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 a8204add..3a73bd26 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('velit'); + $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('in'); + $result = $this->client->smartLinks->listConversions('officia'); // @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('sunt'); // @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('molestias'); // @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('in'); + $result = $this->client->smartLinks->retrieveCohortArps('nisi'); // @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('quisquam'); // @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 2678f047..6e85b7f0 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( - 'excepturi', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'excepturi', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'excepturi', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'excepturi', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6c876158..c1505b97 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'enim', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + '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( - 'dolorum', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolorum', + 'doloremque', 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 4f67df79..1afc4c89 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'corporis', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'corporis', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'corporis', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'corporis', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'error', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'error', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fugiat', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fugiat', + '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( - 'ipsam', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsam', + 'asperiores', 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 d56b885d..e37f42a7 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: 'xkjvqdqhgxlntmfvga' + name: 'wybzwdztwa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xkjvqdqhgxlntmfvga' + name: 'wybzwdztwa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 88c2852879b03d27ceef9a4c1e60839639ddfec8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 13:13:06 +0000 Subject: [PATCH 100/256] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2bf41a86..249cf110 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-466df7bcb4d8dc90c8ee79faa1c560b85ab1cffd97a56ed9ee2fd8172edb7bd7.yml -openapi_spec_hash: bf811c8223f39a7e477652afe8e7800f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1889b56b61ae6215904ecc029bb2585aff87f44ee8eb0f4d095a012743f02466.yml +openapi_spec_hash: 947d943b18849afb6bb545c24098755b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bf95eefe..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('id'); + $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 cf0e215f..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( - 'repellat', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + '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 0711f029..2c49a0db 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( - 'cum', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'cum', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'cum', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'cum', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 458e2438..7a492961 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', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'qui', + 'quasi', 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', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'qui', + 'quasi', 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..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 3a73bd26..91e21903 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('doloribus'); // @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('officia'); + $result = $this->client->smartLinks->listConversions('accusamus'); // @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('sunt'); + $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('molestias'); + $result = $this->client->smartLinks->listSpenders('atque'); // @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('nisi'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('quisquam'); + $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 6e85b7f0..23431cf0 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( - 'facilis', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'facilis', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'facilis', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'facilis', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c1505b97..3852ed9f 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'ab', 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( - 'doloremque', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'doloremque', + 'fuga', 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 1afc4c89..48f37033 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sunt', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sunt', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'asperiores', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'asperiores', + 'tempora', 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 e37f42a7..3d92c536 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: 'wybzwdztwa' + name: 'ibjnkgvgsxyomvo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'wybzwdztwa' + name: 'ibjnkgvgsxyomvo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d1494f69402115a9b1442f4b2176a1e004e99ea6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 16:13:02 +0000 Subject: [PATCH 101/256] 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 249cf110..336b8150 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1889b56b61ae6215904ecc029bb2585aff87f44ee8eb0f4d095a012743f02466.yml -openapi_spec_hash: 947d943b18849afb6bb545c24098755b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e59dac2df4c84a35fb1f1ce6be21d9c73bff5bfe5f7e8e116914ac2910125f28.yml +openapi_spec_hash: 2c07760d997c59c2b889c3b367b69d93 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0412cae..4e4b1507 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('aliquid'); // @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 4669eeab..5286e5a3 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', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'earum', + 'debitis', 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 2c49a0db..c474aefe 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( - 'repellat', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'repellat', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'repellat', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'repellat', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7a492961..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( - 'quasi', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quasi', + '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( - 'quasi', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quasi', + 'ipsum', 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 91e21903..4521ec4b 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('doloribus'); + $result = $this->client->smartLinks->listClicks('laboriosam'); // @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('accusamus'); + $result = $this->client->smartLinks->listConversions('molestias'); // @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('ut'); // @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('atque'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('fuga'); // @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('dignissimos'); // @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 23431cf0..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( - 'a', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'a', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'a', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'a', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 3852ed9f..4486324d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'similique', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'similique', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'similique', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'similique', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ab', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ab', + 'modi', 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( - 'fuga', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fuga', + 'animi', 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 48f37033..33825154 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', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'nemo', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'nemo', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'magnam', 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( - 'tempora', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'tempora', + '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 3d92c536..a5690f17 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: 'ibjnkgvgsxyomvo' + name: 'wu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ibjnkgvgsxyomvo' + name: 'wu' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 42fc2bbe2222e32343c8c5d37cf7b0f2869aa6b8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 23:12:58 +0000 Subject: [PATCH 102/256] 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 336b8150..0b5d5e10 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e59dac2df4c84a35fb1f1ce6be21d9c73bff5bfe5f7e8e116914ac2910125f28.yml -openapi_spec_hash: 2c07760d997c59c2b889c3b367b69d93 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-65eb15df13708c2eca935e5cac643af48813340782a8d992cbfaeddbf39a982e.yml +openapi_spec_hash: 768d57b20fb71d81f09a2c0b04c15222 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 4e4b1507..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('aliquid'); + $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 5286e5a3..eef21a1d 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( - 'debitis', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'debitis', + 'at', 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 c474aefe..89f5bfb9 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( - 'dolores', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolores', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 83e97f5a..ead3be2c 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', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ipsum', + 'dolorem', 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', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ipsum', + 'dolorem', 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/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 4521ec4b..6ee27798 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('laboriosam'); + $result = $this->client->smartLinks->listClicks('praesentium'); // @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('molestias'); + $result = $this->client->smartLinks->listConversions('et'); // @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('ut'); + $result = $this->client->smartLinks->listFans('expedita'); // @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('ea'); + $result = $this->client->smartLinks->listSpenders('perferendis'); // @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('fuga'); + $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('dignissimos'); + $result = $this->client->smartLinks->retrieveStats('recusandae'); // @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..d0051ee6 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', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4486324d..e8c3a154 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', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'modi', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'modi', + 'rem', 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( - 'animi', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'animi', + '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 33825154..b1a210c7 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', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'magnam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'magnam', + '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( - 'quo', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quo', + 'at', 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 a5690f17..7938cfdc 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: 'wu' + name: 'juot' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'wu' + name: 'juot' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 321e30286c5efe04dcdeff3ed05f44ea5e062a0c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 19:12:55 +0000 Subject: [PATCH 103/256] 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 +++++----- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0b5d5e10..21631f9c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-65eb15df13708c2eca935e5cac643af48813340782a8d992cbfaeddbf39a982e.yml -openapi_spec_hash: 768d57b20fb71d81f09a2c0b04c15222 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-125d10acf9ea710900f124509e9fd30603e874637c63131812d43fb1ab5c58e1.yml +openapi_spec_hash: 5cb7d0f539881b8d1486f4aacaca06e2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..3149bd7e 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('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index eef21a1d..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( - 'at', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'at', + '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 89f5bfb9..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( - 'nemo', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nemo', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ead3be2c..2cf5ba96 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( - 'dolorem', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolorem', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolorem', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolorem', + 'ad', 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 6ee27798..1e1247c0 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('praesentium'); + $result = $this->client->smartLinks->listClicks('nam'); // @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('et'); + $result = $this->client->smartLinks->listConversions('repellendus'); // @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('expedita'); + $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('perferendis'); + $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('et'); + $result = $this->client->smartLinks->retrieveCohortArps('saepe'); // @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('recusandae'); + $result = $this->client->smartLinks->retrieveStats('tempore'); // @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 d0051ee6..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( - 'tenetur', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'tenetur', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'tenetur', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'tenetur', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e8c3a154..e113d7a3 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'nihil', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'nihil', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'nihil', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'nihil', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rem', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rem', + 'magni', 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'rem', + 'atque', 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 b1a210c7..5f6032a4 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', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'asperiores', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'asperiores', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'non', + 'omnis', 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( - 'at', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'at', + 'sapiente', 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 7938cfdc..ac87bdff 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: 'juot' + name: 'vpzp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'juot' + name: 'vpzp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a592b01dec40e5b5a6d88e21bc6bdc85973c741a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 13:13:15 +0000 Subject: [PATCH 104/256] feat(api): api update --- .stats.yml | 4 ++-- src/Authenticate/AuthenticateStartParams.php | 15 ++++++++++++++ src/DataExports/DataExportCreateParams.php | 4 ++-- src/ServiceContracts/AuthenticateContract.php | 1 + src/ServiceContracts/DataExportsContract.php | 2 +- src/Services/AuthenticateRawService.php | 1 + src/Services/AuthenticateService.php | 2 ++ src/Services/DataExportsService.php | 2 +- 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 | 12 +++++------ tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 19 files changed, 68 insertions(+), 49 deletions(-) diff --git a/.stats.yml b/.stats.yml index 21631f9c..75c4dc48 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-125d10acf9ea710900f124509e9fd30603e874637c63131812d43fb1ab5c58e1.yml -openapi_spec_hash: 5cb7d0f539881b8d1486f4aacaca06e2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4b6927860931b57f8ed17190991d139a662da5fe147cc7d872baf163da31edf3.yml +openapi_spec_hash: 156f8c8acdf021ea023d1db57db8f73f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Authenticate/AuthenticateStartParams.php b/src/Authenticate/AuthenticateStartParams.php index fc692544..bf096e44 100644 --- a/src/Authenticate/AuthenticateStartParams.php +++ b/src/Authenticate/AuthenticateStartParams.php @@ -20,6 +20,7 @@ * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy * * @phpstan-type AuthenticateStartParamsShape = array{ + * _internalAutomaticSyncsDisabled?: bool|null, * authID?: string|null, * authType?: null|AuthType|value-of, * cookies?: string|null, @@ -39,6 +40,9 @@ final class AuthenticateStartParams implements BaseModel use SdkModel; use SdkParams; + #[Optional('_internal_automatic_syncs_disabled')] + public ?bool $_internalAutomaticSyncsDisabled; + /** * The auth_id from OnlyFans session cookies. Required when auth_type is `raw_data`. */ @@ -124,6 +128,7 @@ public function __construct() * @param ProxyCountry|value-of|null $proxyCountry */ public static function with( + ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, @@ -138,6 +143,7 @@ public static function with( ): self { $self = new self; + null !== $_internalAutomaticSyncsDisabled && $self['_internalAutomaticSyncsDisabled'] = $_internalAutomaticSyncsDisabled; null !== $authID && $self['authID'] = $authID; null !== $authType && $self['authType'] = $authType; null !== $cookies && $self['cookies'] = $cookies; @@ -153,6 +159,15 @@ public static function with( return $self; } + public function withInternalAutomaticSyncsDisabled( + bool $_internalAutomaticSyncsDisabled + ): self { + $self = clone $this; + $self['_internalAutomaticSyncsDisabled'] = $_internalAutomaticSyncsDisabled; + + return $self; + } + /** * The auth_id from OnlyFans session cookies. Required when auth_type is `raw_data`. */ diff --git a/src/DataExports/DataExportCreateParams.php b/src/DataExports/DataExportCreateParams.php index 3df81bc5..77b42e96 100644 --- a/src/DataExports/DataExportCreateParams.php +++ b/src/DataExports/DataExportCreateParams.php @@ -85,7 +85,7 @@ final class DataExportCreateParams implements BaseModel public ?array $exportColumns; /** - * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * * @var array|null $options */ @@ -239,7 +239,7 @@ public function withExportColumns(array $exportColumns): self } /** - * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * * @param array $options */ diff --git a/src/ServiceContracts/AuthenticateContract.php b/src/ServiceContracts/AuthenticateContract.php index 6daf209a..9e5c8e70 100644 --- a/src/ServiceContracts/AuthenticateContract.php +++ b/src/ServiceContracts/AuthenticateContract.php @@ -80,6 +80,7 @@ public function send2faEmail( * @throws APIException */ public function start( + ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, diff --git a/src/ServiceContracts/DataExportsContract.php b/src/ServiceContracts/DataExportsContract.php index 69f86c30..3ade98e3 100644 --- a/src/ServiceContracts/DataExportsContract.php +++ b/src/ServiceContracts/DataExportsContract.php @@ -31,7 +31,7 @@ interface DataExportsContract * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) - * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/AuthenticateRawService.php b/src/Services/AuthenticateRawService.php index 68206f3d..53dde4cc 100644 --- a/src/Services/AuthenticateRawService.php +++ b/src/Services/AuthenticateRawService.php @@ -115,6 +115,7 @@ public function send2faEmail( * 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. * * @param array{ + * _internalAutomaticSyncsDisabled?: bool, * authID?: string, * authType?: AuthType|value-of, * cookies?: string, diff --git a/src/Services/AuthenticateService.php b/src/Services/AuthenticateService.php index 5dfc5f74..d45495f4 100644 --- a/src/Services/AuthenticateService.php +++ b/src/Services/AuthenticateService.php @@ -119,6 +119,7 @@ public function send2faEmail( * @throws APIException */ public function start( + ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, @@ -134,6 +135,7 @@ public function start( ): UnionMember0|UnionMember1 { $params = Util::removeNulls( [ + '_internalAutomaticSyncsDisabled' => $_internalAutomaticSyncsDisabled, 'authID' => $authID, 'authType' => $authType, 'cookies' => $cookies, diff --git a/src/Services/DataExportsService.php b/src/Services/DataExportsService.php index 2446da1d..3a099b3f 100644 --- a/src/Services/DataExportsService.php +++ b/src/Services/DataExportsService.php @@ -51,7 +51,7 @@ public function __construct(private Client $client) * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) - * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3149bd7e..fbac3fc3 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('natus'); + $result = $this->client->accounts->disconnect('totam'); // @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..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( - 'quia', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + '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 b3e9355f..5f128803 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', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolore', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolore', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolore', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2cf5ba96..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( - 'ad', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ad', + '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( - 'ad', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ad', + 'ut', 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/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 1e1247c0..051bb288 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('nam'); + $result = $this->client->smartLinks->listClicks('necessitatibus'); // @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('repellendus'); + $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('et'); + $result = $this->client->smartLinks->listFans('omnis'); // @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('distinctio'); // @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('saepe'); + $result = $this->client->smartLinks->retrieveCohortArps('reiciendis'); // @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('tempore'); + $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 2f5ae37d..3f8317fe 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', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'animi', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'animi', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'animi', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e113d7a3..2deaa378 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'atque', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'atque', + 'doloribus', 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 5f6032a4..10005071 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'magnam', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'magnam', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'nulla', 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( - 'sapiente', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sapiente', + 'ea', 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 ac87bdff..80e75f1f 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: 'vpzp' + name: 'sastftobgbhmqibh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vpzp' + name: 'sastftobgbhmqibh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2762457f61c3545917b55f5493e20327e39fb56d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 14:13:01 +0000 Subject: [PATCH 105/256] 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 75c4dc48..121535df 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4b6927860931b57f8ed17190991d139a662da5fe147cc7d872baf163da31edf3.yml -openapi_spec_hash: 156f8c8acdf021ea023d1db57db8f73f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c715f3e202d1d4b7398b9d9ba271169d4d4bcbd9c99a020a16753e21130fe223.yml +openapi_spec_hash: 2036b74457c0d27d7fa535980e29ab08 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fbac3fc3..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('totam'); + $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 6b2a839f..0e50ffe4 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', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sunt', + 'tempore', 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 5f128803..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( - 'fugiat', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'fugiat', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'fugiat', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'fugiat', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..5d93a6ab 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', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'cupiditate', 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', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'cupiditate', 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..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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 051bb288..e1c20077 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('necessitatibus'); + $result = $this->client->smartLinks->listClicks('eum'); // @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('itaque'); // @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('omnis'); + $result = $this->client->smartLinks->listFans('error'); // @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('distinctio'); + $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('reiciendis'); + $result = $this->client->smartLinks->retrieveCohortArps('doloribus'); // @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('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 3f8317fe..1d96af5f 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( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'in', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2deaa378..4c2e1659 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'nobis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'nobis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'nobis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'nobis', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'magni', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'magni', + 'consequatur', 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( - 'doloribus', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'doloribus', + 'deleniti', 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 10005071..1adffca3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nulla', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nulla', + 'in', 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( - 'ea', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ea', + 'temporibus', 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 80e75f1f..3e1096bb 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: 'sastftobgbhmqibh' + name: 'nsavenchjsdkznkcy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sastftobgbhmqibh' + name: 'nsavenchjsdkznkcy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 868e12d53ee830219a36981bfccc37c87da6f751 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:12:55 +0000 Subject: [PATCH 106/256] 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 121535df..8999d039 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c715f3e202d1d4b7398b9d9ba271169d4d4bcbd9c99a020a16753e21130fe223.yml -openapi_spec_hash: 2036b74457c0d27d7fa535980e29ab08 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50d0abf343b151483fef7b3f9336312ea10fe344678fcaef872aeb79208476d0.yml +openapi_spec_hash: 09419fb52bdc9eed8527dac1ac0f54ff config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9e6bba3b..d8d11174 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('libero'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 0e50ffe4..a0cf8017 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( - 'tempore', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'tempore', + 'perferendis', 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..4888f117 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', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nam', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5d93a6ab..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( - 'cupiditate', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'cupiditate', + '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( - 'cupiditate', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'cupiditate', + 'deserunt', 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..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 e1c20077..4f49b922 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('eum'); + $result = $this->client->smartLinks->listClicks('nostrum'); // @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('itaque'); + $result = $this->client->smartLinks->listConversions('officiis'); // @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('error'); + $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('et'); + $result = $this->client->smartLinks->listSpenders('rerum'); // @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('doloribus'); + $result = $this->client->smartLinks->retrieveCohortArps('quia'); // @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('vitae'); // @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 1d96af5f..7b8e88f3 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( - 'sit', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sit', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sit', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sit', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4c2e1659..e8746dc7 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', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quis', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quis', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + 'quae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + 'quae', 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( - 'deleniti', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'deleniti', + '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 1adffca3..94ac01e2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'in', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'in', + 'cumque', 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( - 'temporibus', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'temporibus', + 'velit', 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 3e1096bb..8bbb6271 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: 'nsavenchjsdkznkcy' + name: 'sasjvijtuprqonjxtwnbmx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nsavenchjsdkznkcy' + name: 'sasjvijtuprqonjxtwnbmx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 133644ea2b8d697daa21eb26d37c092364bc0f61 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 17:13:07 +0000 Subject: [PATCH 107/256] feat(api): api update --- .stats.yml | 4 ++-- src/Authenticate/AuthenticateStartParams.php | 15 -------------- src/ServiceContracts/AuthenticateContract.php | 1 - src/Services/AuthenticateRawService.php | 1 - src/Services/AuthenticateService.php | 2 -- 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 ++-- 15 files changed, 46 insertions(+), 65 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8999d039..ddb5b0c4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50d0abf343b151483fef7b3f9336312ea10fe344678fcaef872aeb79208476d0.yml -openapi_spec_hash: 09419fb52bdc9eed8527dac1ac0f54ff +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9ca8a87d0f54fdf9922c090c17f5ee283468321eec53f061132c4524c29cdf26.yml +openapi_spec_hash: e31a26532527e5408227d7eafb336f99 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Authenticate/AuthenticateStartParams.php b/src/Authenticate/AuthenticateStartParams.php index bf096e44..fc692544 100644 --- a/src/Authenticate/AuthenticateStartParams.php +++ b/src/Authenticate/AuthenticateStartParams.php @@ -20,7 +20,6 @@ * @phpstan-import-type CustomProxyShape from \OnlyFansAPI\Authenticate\AuthenticateStartParams\CustomProxy * * @phpstan-type AuthenticateStartParamsShape = array{ - * _internalAutomaticSyncsDisabled?: bool|null, * authID?: string|null, * authType?: null|AuthType|value-of, * cookies?: string|null, @@ -40,9 +39,6 @@ final class AuthenticateStartParams implements BaseModel use SdkModel; use SdkParams; - #[Optional('_internal_automatic_syncs_disabled')] - public ?bool $_internalAutomaticSyncsDisabled; - /** * The auth_id from OnlyFans session cookies. Required when auth_type is `raw_data`. */ @@ -128,7 +124,6 @@ public function __construct() * @param ProxyCountry|value-of|null $proxyCountry */ public static function with( - ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, @@ -143,7 +138,6 @@ public static function with( ): self { $self = new self; - null !== $_internalAutomaticSyncsDisabled && $self['_internalAutomaticSyncsDisabled'] = $_internalAutomaticSyncsDisabled; null !== $authID && $self['authID'] = $authID; null !== $authType && $self['authType'] = $authType; null !== $cookies && $self['cookies'] = $cookies; @@ -159,15 +153,6 @@ public static function with( return $self; } - public function withInternalAutomaticSyncsDisabled( - bool $_internalAutomaticSyncsDisabled - ): self { - $self = clone $this; - $self['_internalAutomaticSyncsDisabled'] = $_internalAutomaticSyncsDisabled; - - return $self; - } - /** * The auth_id from OnlyFans session cookies. Required when auth_type is `raw_data`. */ diff --git a/src/ServiceContracts/AuthenticateContract.php b/src/ServiceContracts/AuthenticateContract.php index 9e5c8e70..6daf209a 100644 --- a/src/ServiceContracts/AuthenticateContract.php +++ b/src/ServiceContracts/AuthenticateContract.php @@ -80,7 +80,6 @@ public function send2faEmail( * @throws APIException */ public function start( - ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, diff --git a/src/Services/AuthenticateRawService.php b/src/Services/AuthenticateRawService.php index 53dde4cc..68206f3d 100644 --- a/src/Services/AuthenticateRawService.php +++ b/src/Services/AuthenticateRawService.php @@ -115,7 +115,6 @@ public function send2faEmail( * 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. * * @param array{ - * _internalAutomaticSyncsDisabled?: bool, * authID?: string, * authType?: AuthType|value-of, * cookies?: string, diff --git a/src/Services/AuthenticateService.php b/src/Services/AuthenticateService.php index d45495f4..5dfc5f74 100644 --- a/src/Services/AuthenticateService.php +++ b/src/Services/AuthenticateService.php @@ -119,7 +119,6 @@ public function send2faEmail( * @throws APIException */ public function start( - ?bool $_internalAutomaticSyncsDisabled = null, ?string $authID = null, AuthType|string|null $authType = null, ?string $cookies = null, @@ -135,7 +134,6 @@ public function start( ): UnionMember0|UnionMember1 { $params = Util::removeNulls( [ - '_internalAutomaticSyncsDisabled' => $_internalAutomaticSyncsDisabled, 'authID' => $authID, 'authType' => $authType, 'cookies' => $cookies, diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d8d11174..76584461 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('libero'); + $result = $this->client->accounts->disconnect('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index a0cf8017..c5fc621b 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( - 'perferendis', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'perferendis', + 'non', 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 4888f117..7912c040 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( - 'dicta', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dicta', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dicta', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dicta', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 35bb13bc..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( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'deserunt', + '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( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'deserunt', + '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 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 4f49b922..c3223b39 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('nostrum'); + $result = $this->client->smartLinks->listClicks('voluptas'); // @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('officiis'); + $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('et'); + $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('rerum'); + $result = $this->client->smartLinks->listSpenders('sed'); // @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('quia'); + $result = $this->client->smartLinks->retrieveCohortArps('eveniet'); // @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('vitae'); + $result = $this->client->smartLinks->retrieveStats('doloribus'); // @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 7b8e88f3..557cb7a3 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( - 'consequuntur', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequuntur', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e8746dc7..360a9734 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'officiis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'officiis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'officiis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'officiis', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quae', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quae', + 'sint', 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', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'amet', + 'quo', 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 94ac01e2..ad7b4e3d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'hic', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'hic', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'hic', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'hic', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'expedita', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'expedita', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'cumque', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'cumque', + '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( - 'velit', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'velit', + '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 8bbb6271..07713dab 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: 'sasjvijtuprqonjxtwnbmx' + name: 'hmrbsnivyh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sasjvijtuprqonjxtwnbmx' + name: 'hmrbsnivyh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fa45fa3a4ca46f2d14c8350880ad39aef8526bb7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 19:13:08 +0000 Subject: [PATCH 108/256] 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 ddb5b0c4..0b022882 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9ca8a87d0f54fdf9922c090c17f5ee283468321eec53f061132c4524c29cdf26.yml -openapi_spec_hash: e31a26532527e5408227d7eafb336f99 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-389700aa8616bd4a08bfeea379ef64b22614ecd4e38f87777d569b3a5689c727.yml +openapi_spec_hash: 96b9e35a69e7b5385289875a017f3e7a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 76584461..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('non'); + $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 c5fc621b..034a044a 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( - 'non', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'non', + 'voluptatum', 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 7912c040..48674e5a 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( - 'modi', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'modi', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..61b4f119 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', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'asperiores', 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', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'asperiores', 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..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/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 c3223b39..c3a2e8dd 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('voluptas'); + $result = $this->client->smartLinks->listClicks('aliquid'); // @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('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('labore'); + $result = $this->client->smartLinks->listFans('animi'); // @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('sed'); + $result = $this->client->smartLinks->listSpenders('quia'); // @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('eveniet'); + $result = $this->client->smartLinks->retrieveCohortArps('aspernatur'); // @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('doloribus'); + $result = $this->client->smartLinks->retrieveStats('atque'); // @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 557cb7a3..9b851738 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( - 'quisquam', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quisquam', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quisquam', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quisquam', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 360a9734..ceaa680a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'temporibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'temporibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'temporibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'temporibus', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sint', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sint', + 'mollitia', 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( - 'quo', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quo', + '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 ad7b4e3d..fba29012 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'nobis', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nobis', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nobis', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nobis', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'exercitationem', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'exercitationem', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ullam', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ullam', + 'aliquam', 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', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'ipsum', 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 07713dab..7fcab781 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: 'hmrbsnivyh' + name: 'muijqcrfy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hmrbsnivyh' + name: 'muijqcrfy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f05d0aa1ed5f84d65f2057ae144be24493375140 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 16:12:55 +0000 Subject: [PATCH 109/256] 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 0b022882..c852266f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-389700aa8616bd4a08bfeea379ef64b22614ecd4e38f87777d569b3a5689c727.yml -openapi_spec_hash: 96b9e35a69e7b5385289875a017f3e7a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bd3284d3cbf3b4ea945b6e874659e0c37fa925a84943a52896991146e8c4f532.yml +openapi_spec_hash: 9117c96bbcef0da26e33ed473a08004f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index cb502ea8..0a497a3e 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('itaque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 034a044a..12f90444 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( - 'voluptatum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatum', + 'sed', 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 48674e5a..eaf6ebce 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( - 'reiciendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'reiciendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'reiciendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'reiciendis', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 61b4f119..f271c78c 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( - 'asperiores', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'asperiores', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'asperiores', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'asperiores', + 'magnam', 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 c3a2e8dd..977946ff 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('aliquid'); + $result = $this->client->smartLinks->listClicks('nihil'); // @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('dolorem'); // @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('animi'); + $result = $this->client->smartLinks->listFans('distinctio'); // @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('quia'); + $result = $this->client->smartLinks->listSpenders('ipsam'); // @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('aspernatur'); + $result = $this->client->smartLinks->retrieveCohortArps('sapiente'); // @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('atque'); + $result = $this->client->smartLinks->retrieveStats('quas'); // @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 9b851738..e6d13e5a 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( - 'quasi', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quasi', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quasi', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quasi', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ceaa680a..14bcbcc7 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'error', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'error', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'error', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'error', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'mollitia', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'mollitia', + 'officiis', 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', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'in', + 'dicta', 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 fba29012..3b6926d9 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'maxime', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aliquam', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aliquam', + 'quod', 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( - 'ipsum', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsum', + 'debitis', 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 7fcab781..091dc0da 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: 'muijqcrfy' + name: 'layoo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'muijqcrfy' + name: 'layoo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 80b44f742ee51c29f46706f23435d10fedef7a1a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 17:13:08 +0000 Subject: [PATCH 110/256] 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 c852266f..5ed86a9a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bd3284d3cbf3b4ea945b6e874659e0c37fa925a84943a52896991146e8c4f532.yml -openapi_spec_hash: 9117c96bbcef0da26e33ed473a08004f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f27c53578cefb55e35c3310855bbf36ff24fb53ca74de05c9c5e1495477d5623.yml +openapi_spec_hash: 2f3151418ba4702534ad90d4d3ee51fc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0a497a3e..f7788795 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('itaque'); + $result = $this->client->accounts->disconnect('reiciendis'); // @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 12f90444..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( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sed', + '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 eaf6ebce..9d8c2d9f 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( - 'omnis', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'omnis', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f271c78c..a851aff9 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( - 'magnam', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'magnam', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'magnam', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'magnam', + 'rerum', 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 977946ff..15db40fc 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('nihil'); + $result = $this->client->smartLinks->listClicks('quasi'); // @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('dolorem'); + $result = $this->client->smartLinks->listConversions('eos'); // @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('distinctio'); + $result = $this->client->smartLinks->listFans('nam'); // @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('ipsam'); + $result = $this->client->smartLinks->listSpenders('labore'); // @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('sapiente'); + $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('quas'); + $result = $this->client->smartLinks->retrieveStats('sunt'); // @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 e6d13e5a..0d875375 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( - 'natus', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'natus', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'natus', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'natus', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 14bcbcc7..0663774a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'accusamus', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'accusamus', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'accusamus', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'accusamus', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'officiis', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'officiis', + 'dolore', 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( - 'dicta', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dicta', + 'necessitatibus', 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 3b6926d9..d93e86d6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'molestiae', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'molestiae', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'molestiae', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'molestiae', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quod', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quod', + 'dolores', 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( - 'debitis', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'debitis', + 'deleniti', 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 091dc0da..edb16997 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: 'layoo' + name: 'jgtxobqzuqiyxhsiigouat' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'layoo' + name: 'jgtxobqzuqiyxhsiigouat' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7c86617bb4d9b1b1ecdcb82e451d4ba5fa5239c4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 18:13:03 +0000 Subject: [PATCH 111/256] 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 5ed86a9a..09de13eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f27c53578cefb55e35c3310855bbf36ff24fb53ca74de05c9c5e1495477d5623.yml -openapi_spec_hash: 2f3151418ba4702534ad90d4d3ee51fc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-89deaf03491565964696fe6a39652caedaf14cb70af5ba6329c70bf7b719e18b.yml +openapi_spec_hash: 66c086ac3d5f89740961c0cf59265a74 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index f7788795..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('reiciendis'); + $result = $this->client->accounts->disconnect('omnis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..81a4e4ad 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', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'autem', 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 9d8c2d9f..7620a84e 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( - 'enim', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'enim', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index a851aff9..58774de0 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( - 'rerum', + 'porro', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'rerum', + 'porro', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'rerum', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'rerum', + 'porro', 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/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 15db40fc..110bc0b0 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('quasi'); + $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('eos'); + $result = $this->client->smartLinks->listConversions('sed'); // @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('nam'); + $result = $this->client->smartLinks->listFans('illum'); // @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('labore'); + $result = $this->client->smartLinks->listSpenders('recusandae'); // @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('voluptatem'); // @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('sunt'); + $result = $this->client->smartLinks->retrieveStats('in'); // @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 0d875375..013ad42b 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( - 'ipsa', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ipsa', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsa', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsa', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0663774a..16ba8176 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'illum', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'illum', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'illum', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'illum', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolore', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolore', + '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( - 'necessitatibus', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'necessitatibus', + 'repudiandae', 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 d93e86d6..34cdc64f 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'neque', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'neque', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'neque', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'neque', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'quaerat', 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( - 'deleniti', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'deleniti', + '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 edb16997..3e838633 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: 'jgtxobqzuqiyxhsiigouat' + name: 'mwmionuveow' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jgtxobqzuqiyxhsiigouat' + name: 'mwmionuveow' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 4fbfeed12c67c14ff79f8cef11452a9f23251bb5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 07:12:59 +0000 Subject: [PATCH 112/256] feat(api): api update --- .stats.yml | 4 +- src/ServiceContracts/SmartLinksContract.php | 4 + src/Services/SmartLinksRawService.php | 4 + src/Services/SmartLinksService.php | 6 + src/SmartLinks/SmartLinkListFansParams.php | 40 ++++++ .../Data/Filters.php | 30 +++++ .../SmartLinkListFansResponse/Data/Row.php | 23 ++++ .../Data/Row/SubscriptionInsights.php | 117 ++++++++++++++++++ .../CurrentSubscription.php | 107 ++++++++++++++++ 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 +- 20 files changed, 378 insertions(+), 47 deletions(-) create mode 100644 src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights.php create mode 100644 src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights/CurrentSubscription.php diff --git a/.stats.yml b/.stats.yml index 09de13eb..da00913b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-89deaf03491565964696fe6a39652caedaf14cb70af5ba6329c70bf7b719e18b.yml -openapi_spec_hash: 66c086ac3d5f89740961c0cf59265a74 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3c1cc402f9708c709f7d236bff9dfea7da318df8373813cdc1da5ccede26da18.yml +openapi_spec_hash: bde4ea8516a19fea9ae7849d087307c8 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/SmartLinksContract.php b/src/ServiceContracts/SmartLinksContract.php index 4f291381..7dbb33fd 100644 --- a/src/ServiceContracts/SmartLinksContract.php +++ b/src/ServiceContracts/SmartLinksContract.php @@ -161,7 +161,9 @@ public function listConversions( * @param float $minRevenueNet Optional minimum net revenue * @param float $minTipsNet Optional minimum net tips * @param int $offset Offset for pagination. Default `0` + * @param bool $previouslySubscribed Optional - Filter to returning subscribers (fans previously subscribed before this subscription) * @param Sort|value-of $sort Optional sort field. Default `-revenue_net` + * @param bool $subscribedUsingPromo Optional - Filter to fans who subscribed via a promotion/offer * @param RequestOpts|null $requestOptions * * @throws APIException @@ -174,7 +176,9 @@ public function listFans( ?float $minRevenueNet = null, ?float $minTipsNet = null, ?int $offset = null, + ?bool $previouslySubscribed = null, Sort|string|null $sort = null, + ?bool $subscribedUsingPromo = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkListFansResponse; diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 86f6501f..19f18f7d 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -292,7 +292,9 @@ public function listConversions( * minRevenueNet?: float, * minTipsNet?: float, * offset?: int, + * previouslySubscribed?: bool, * sort?: value-of, + * subscribedUsingPromo?: bool, * }|SmartLinkListFansParams $params * @param RequestOpts|null $requestOptions * @@ -321,6 +323,8 @@ public function listFans( 'minMessagesSentByFan' => 'min_messages_sent_by_fan', 'minRevenueNet' => 'min_revenue_net', 'minTipsNet' => 'min_tips_net', + 'previouslySubscribed' => 'previously_subscribed', + 'subscribedUsingPromo' => 'subscribed_using_promo', ], ), options: $options, diff --git a/src/Services/SmartLinksService.php b/src/Services/SmartLinksService.php index d2c6be7d..c4b5b60b 100644 --- a/src/Services/SmartLinksService.php +++ b/src/Services/SmartLinksService.php @@ -268,7 +268,9 @@ public function listConversions( * @param float $minRevenueNet Optional minimum net revenue * @param float $minTipsNet Optional minimum net tips * @param int $offset Offset for pagination. Default `0` + * @param bool $previouslySubscribed Optional - Filter to returning subscribers (fans previously subscribed before this subscription) * @param Sort|value-of $sort Optional sort field. Default `-revenue_net` + * @param bool $subscribedUsingPromo Optional - Filter to fans who subscribed via a promotion/offer * @param RequestOpts|null $requestOptions * * @throws APIException @@ -281,7 +283,9 @@ public function listFans( ?float $minRevenueNet = null, ?float $minTipsNet = null, ?int $offset = null, + ?bool $previouslySubscribed = null, Sort|string|null $sort = null, + ?bool $subscribedUsingPromo = null, RequestOptions|array|null $requestOptions = null, ): SmartLinkListFansResponse { $params = Util::removeNulls( @@ -292,7 +296,9 @@ public function listFans( 'minRevenueNet' => $minRevenueNet, 'minTipsNet' => $minTipsNet, 'offset' => $offset, + 'previouslySubscribed' => $previouslySubscribed, 'sort' => $sort, + 'subscribedUsingPromo' => $subscribedUsingPromo, ], ); diff --git a/src/SmartLinks/SmartLinkListFansParams.php b/src/SmartLinks/SmartLinkListFansParams.php index 2748b849..070440b6 100644 --- a/src/SmartLinks/SmartLinkListFansParams.php +++ b/src/SmartLinks/SmartLinkListFansParams.php @@ -22,7 +22,9 @@ * minRevenueNet?: float|null, * minTipsNet?: float|null, * offset?: int|null, + * previouslySubscribed?: bool|null, * sort?: null|Sort|value-of, + * subscribedUsingPromo?: bool|null, * } */ final class SmartLinkListFansParams implements BaseModel @@ -67,6 +69,12 @@ final class SmartLinkListFansParams implements BaseModel #[Optional] public ?int $offset; + /** + * Optional - Filter to returning subscribers (fans previously subscribed before this subscription). + */ + #[Optional] + public ?bool $previouslySubscribed; + /** * Optional sort field. Default `-revenue_net`. * @@ -75,6 +83,12 @@ final class SmartLinkListFansParams implements BaseModel #[Optional(enum: Sort::class)] public ?string $sort; + /** + * Optional - Filter to fans who subscribed via a promotion/offer. + */ + #[Optional] + public ?bool $subscribedUsingPromo; + public function __construct() { $this->initialize(); @@ -94,7 +108,9 @@ public static function with( ?float $minRevenueNet = null, ?float $minTipsNet = null, ?int $offset = null, + ?bool $previouslySubscribed = null, Sort|string|null $sort = null, + ?bool $subscribedUsingPromo = null, ): self { $self = new self; @@ -104,7 +120,9 @@ public static function with( null !== $minRevenueNet && $self['minRevenueNet'] = $minRevenueNet; null !== $minTipsNet && $self['minTipsNet'] = $minTipsNet; null !== $offset && $self['offset'] = $offset; + null !== $previouslySubscribed && $self['previouslySubscribed'] = $previouslySubscribed; null !== $sort && $self['sort'] = $sort; + null !== $subscribedUsingPromo && $self['subscribedUsingPromo'] = $subscribedUsingPromo; return $self; } @@ -175,6 +193,17 @@ public function withOffset(int $offset): self return $self; } + /** + * Optional - Filter to returning subscribers (fans previously subscribed before this subscription). + */ + public function withPreviouslySubscribed(bool $previouslySubscribed): self + { + $self = clone $this; + $self['previouslySubscribed'] = $previouslySubscribed; + + return $self; + } + /** * Optional sort field. Default `-revenue_net`. * @@ -187,4 +216,15 @@ public function withSort(Sort|string $sort): self return $self; } + + /** + * Optional - Filter to fans who subscribed via a promotion/offer. + */ + public function withSubscribedUsingPromo(bool $subscribedUsingPromo): self + { + $self = clone $this; + $self['subscribedUsingPromo'] = $subscribedUsingPromo; + + return $self; + } } diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php index e97578f5..f595db83 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Filters.php @@ -16,7 +16,9 @@ * minRevenueNet?: string|null, * minTipsNet?: string|null, * offset?: int|null, + * previouslySubscribed?: string|null, * sort?: string|null, + * subscribedUsingPromo?: string|null, * } */ final class Filters implements BaseModel @@ -42,9 +44,15 @@ final class Filters implements BaseModel #[Optional] public ?int $offset; + #[Optional('previously_subscribed', nullable: true)] + public ?string $previouslySubscribed; + #[Optional] public ?string $sort; + #[Optional('subscribed_using_promo', nullable: true)] + public ?string $subscribedUsingPromo; + public function __construct() { $this->initialize(); @@ -62,7 +70,9 @@ public static function with( ?string $minRevenueNet = null, ?string $minTipsNet = null, ?int $offset = null, + ?string $previouslySubscribed = null, ?string $sort = null, + ?string $subscribedUsingPromo = null, ): self { $self = new self; @@ -72,7 +82,9 @@ public static function with( null !== $minRevenueNet && $self['minRevenueNet'] = $minRevenueNet; null !== $minTipsNet && $self['minTipsNet'] = $minTipsNet; null !== $offset && $self['offset'] = $offset; + null !== $previouslySubscribed && $self['previouslySubscribed'] = $previouslySubscribed; null !== $sort && $self['sort'] = $sort; + null !== $subscribedUsingPromo && $self['subscribedUsingPromo'] = $subscribedUsingPromo; return $self; } @@ -126,6 +138,15 @@ public function withOffset(int $offset): self return $self; } + public function withPreviouslySubscribed( + ?string $previouslySubscribed + ): self { + $self = clone $this; + $self['previouslySubscribed'] = $previouslySubscribed; + + return $self; + } + public function withSort(string $sort): self { $self = clone $this; @@ -133,4 +154,13 @@ public function withSort(string $sort): self return $self; } + + public function withSubscribedUsingPromo( + ?string $subscribedUsingPromo + ): self { + $self = clone $this; + $self['subscribedUsingPromo'] = $subscribedUsingPromo; + + return $self; + } } diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php index b4f21fcd..4f0feae0 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Row.php @@ -7,8 +7,11 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Row\SubscriptionInsights; /** + * @phpstan-import-type SubscriptionInsightsShape from \OnlyFansAPI\SmartLinks\SmartLinkListFansResponse\Data\Row\SubscriptionInsights + * * @phpstan-type RowShape = array{ * avatarURL?: string|null, * clickID?: string|null, @@ -20,6 +23,7 @@ * name?: string|null, * onlyfansID?: string|null, * revenueNet?: int|null, + * subscriptionInsights?: null|SubscriptionInsights|SubscriptionInsightsShape, * tipsNet?: int|null, * username?: string|null, * } @@ -59,6 +63,9 @@ final class Row implements BaseModel #[Optional('revenue_net')] public ?int $revenueNet; + #[Optional('subscription_insights')] + public ?SubscriptionInsights $subscriptionInsights; + #[Optional('tips_net')] public ?int $tipsNet; @@ -74,6 +81,8 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param SubscriptionInsights|SubscriptionInsightsShape|null $subscriptionInsights */ public static function with( ?string $avatarURL = null, @@ -86,6 +95,7 @@ public static function with( ?string $name = null, ?string $onlyfansID = null, ?int $revenueNet = null, + SubscriptionInsights|array|null $subscriptionInsights = null, ?int $tipsNet = null, ?string $username = null, ): self { @@ -101,6 +111,7 @@ public static function with( null !== $name && $self['name'] = $name; null !== $onlyfansID && $self['onlyfansID'] = $onlyfansID; null !== $revenueNet && $self['revenueNet'] = $revenueNet; + null !== $subscriptionInsights && $self['subscriptionInsights'] = $subscriptionInsights; null !== $tipsNet && $self['tipsNet'] = $tipsNet; null !== $username && $self['username'] = $username; @@ -187,6 +198,18 @@ public function withRevenueNet(int $revenueNet): self return $self; } + /** + * @param SubscriptionInsights|SubscriptionInsightsShape $subscriptionInsights + */ + public function withSubscriptionInsights( + SubscriptionInsights|array $subscriptionInsights + ): self { + $self = clone $this; + $self['subscriptionInsights'] = $subscriptionInsights; + + return $self; + } + public function withTipsNet(int $tipsNet): self { $self = clone $this; diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights.php new file mode 100644 index 00000000..8ff58d61 --- /dev/null +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights.php @@ -0,0 +1,117 @@ + */ + use SdkModel; + + #[Optional('current_subscription')] + public ?CurrentSubscription $currentSubscription; + + #[Optional('current_subscription_from_smart_link')] + public ?bool $currentSubscriptionFromSmartLink; + + #[Optional('has_subscription_data')] + public ?bool $hasSubscriptionData; + + #[Optional('previously_subscribed')] + public ?bool $previouslySubscribed; + + #[Optional('subscribed_using_promo')] + public ?bool $subscribedUsingPromo; + + 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 CurrentSubscription|CurrentSubscriptionShape|null $currentSubscription + */ + public static function with( + CurrentSubscription|array|null $currentSubscription = null, + ?bool $currentSubscriptionFromSmartLink = null, + ?bool $hasSubscriptionData = null, + ?bool $previouslySubscribed = null, + ?bool $subscribedUsingPromo = null, + ): self { + $self = new self; + + null !== $currentSubscription && $self['currentSubscription'] = $currentSubscription; + null !== $currentSubscriptionFromSmartLink && $self['currentSubscriptionFromSmartLink'] = $currentSubscriptionFromSmartLink; + null !== $hasSubscriptionData && $self['hasSubscriptionData'] = $hasSubscriptionData; + null !== $previouslySubscribed && $self['previouslySubscribed'] = $previouslySubscribed; + null !== $subscribedUsingPromo && $self['subscribedUsingPromo'] = $subscribedUsingPromo; + + return $self; + } + + /** + * @param CurrentSubscription|CurrentSubscriptionShape $currentSubscription + */ + public function withCurrentSubscription( + CurrentSubscription|array $currentSubscription + ): self { + $self = clone $this; + $self['currentSubscription'] = $currentSubscription; + + return $self; + } + + public function withCurrentSubscriptionFromSmartLink( + bool $currentSubscriptionFromSmartLink + ): self { + $self = clone $this; + $self['currentSubscriptionFromSmartLink'] = $currentSubscriptionFromSmartLink; + + return $self; + } + + public function withHasSubscriptionData(bool $hasSubscriptionData): self + { + $self = clone $this; + $self['hasSubscriptionData'] = $hasSubscriptionData; + + return $self; + } + + public function withPreviouslySubscribed(bool $previouslySubscribed): self + { + $self = clone $this; + $self['previouslySubscribed'] = $previouslySubscribed; + + return $self; + } + + public function withSubscribedUsingPromo(bool $subscribedUsingPromo): self + { + $self = clone $this; + $self['subscribedUsingPromo'] = $subscribedUsingPromo; + + return $self; + } +} diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights/CurrentSubscription.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights/CurrentSubscription.php new file mode 100644 index 00000000..7caad445 --- /dev/null +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Row/SubscriptionInsights/CurrentSubscription.php @@ -0,0 +1,107 @@ + */ + use SdkModel; + + #[Optional] + public ?string $action; + + #[Optional('is_free')] + public ?bool $isFree; + + #[Optional] + public ?int $price; + + #[Optional('regular_price')] + public ?int $regularPrice; + + #[Optional] + public ?string $type; + + 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 $action = null, + ?bool $isFree = null, + ?int $price = null, + ?int $regularPrice = null, + ?string $type = null, + ): self { + $self = new self; + + null !== $action && $self['action'] = $action; + null !== $isFree && $self['isFree'] = $isFree; + null !== $price && $self['price'] = $price; + null !== $regularPrice && $self['regularPrice'] = $regularPrice; + null !== $type && $self['type'] = $type; + + return $self; + } + + public function withAction(string $action): self + { + $self = clone $this; + $self['action'] = $action; + + return $self; + } + + public function withIsFree(bool $isFree): self + { + $self = clone $this; + $self['isFree'] = $isFree; + + return $self; + } + + public function withPrice(int $price): self + { + $self = clone $this; + $self['price'] = $price; + + return $self; + } + + public function withRegularPrice(int $regularPrice): self + { + $self = clone $this; + $self['regularPrice'] = $regularPrice; + + return $self; + } + + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 710561df..7e3249ce 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('enim'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 81a4e4ad..4c969634 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( - 'autem', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'autem', + 'fugiat', 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 7620a84e..c5d56110 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( - 'voluptatum', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatum', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatum', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatum', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 58774de0..8411d2b3 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( - 'porro', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'porro', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'porro', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'porro', + 'maxime', 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 110bc0b0..f07ee120 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('rerum'); // @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('sed'); + $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('illum'); + $result = $this->client->smartLinks->listFans('id'); // @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('recusandae'); + $result = $this->client->smartLinks->listSpenders('explicabo'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('est'); // @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('in'); + $result = $this->client->smartLinks->retrieveStats('ab'); // @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 013ad42b..3897a306 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( - 'rem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'rem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'rem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'rem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 16ba8176..f6f740fd 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'molestias', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'molestias', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'molestias', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'molestias', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'odio', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'odio', + 'aut', 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( - 'repudiandae', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'repudiandae', + '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 34cdc64f..553fc1ab 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', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sint', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'eos', 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( - 'ut', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + 'quod', 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 3e838633..b8dc32f4 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: 'mwmionuveow' + name: 'aqqbjv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mwmionuveow' + name: 'aqqbjv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 08189b15cc816b38194d4ec45d6ffb75fda1f498 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 18:13:02 +0000 Subject: [PATCH 113/256] 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 da00913b..cffa537b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3c1cc402f9708c709f7d236bff9dfea7da318df8373813cdc1da5ccede26da18.yml -openapi_spec_hash: bde4ea8516a19fea9ae7849d087307c8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0c59776add5573e6393cb3bfa63536c25fe249c97fbea4d33cec4c845a5458a8.yml +openapi_spec_hash: 4950e80957798997ee35e6c12ba35e22 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7e3249ce..5e68159a 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('enim'); + $result = $this->client->accounts->disconnect('nam'); // @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 4c969634..59b8fbf6 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( - 'fugiat', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'fugiat', + 'sint', 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 c5d56110..332569fc 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( - 'recusandae', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'recusandae', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 8411d2b3..2d728ade 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( - 'maxime', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'maxime', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'maxime', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'maxime', + 'iste', 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 f07ee120..c88559d4 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('sint'); + $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('id'); + $result = $this->client->smartLinks->listFans('enim'); // @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('explicabo'); + $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('est'); + $result = $this->client->smartLinks->retrieveCohortArps('enim'); // @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('ab'); + $result = $this->client->smartLinks->retrieveStats('id'); // @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 3897a306..557cb7a3 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( - 'assumenda', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'assumenda', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f6f740fd..0842cd26 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', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'mollitia', 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', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptates', + 'aliquid', 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 553fc1ab..aa0ff7e5 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', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'est', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'dolorum', 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( - 'quod', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quod', + 'laudantium', 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 b8dc32f4..acb8c51b 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: 'aqqbjv' + name: 'jatilzsqsjukxemrc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'aqqbjv' + name: 'jatilzsqsjukxemrc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b2766937eb9f017dde188548b2e585c8c65c6998 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 06:13:08 +0000 Subject: [PATCH 114/256] 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 cffa537b..1a2597f5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0c59776add5573e6393cb3bfa63536c25fe249c97fbea4d33cec4c845a5458a8.yml -openapi_spec_hash: 4950e80957798997ee35e6c12ba35e22 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bdbcb71d3890454f9a80554d6e8893125a88a15551731e55b2bd4995e4b981b5.yml +openapi_spec_hash: f49b334718187cf5534314f5389eb412 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5e68159a..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('nam'); + $result = $this->client->accounts->disconnect('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 59b8fbf6..bf0d60f5 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( - 'sint', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sint', + 'dolorem', 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 332569fc..15c75c9a 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( - 'laboriosam', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'laboriosam', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'laboriosam', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'laboriosam', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d728ade..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( - 'iste', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iste', + '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( - 'iste', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iste', + '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 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index c88559d4..c2e0b5c0 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('laboriosam'); // @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('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('enim'); + $result = $this->client->smartLinks->listFans('similique'); // @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('itaque'); // @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('enim'); + $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('id'); + $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 557cb7a3..9fcf1d63 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( - 'quisquam', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quisquam', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quisquam', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quisquam', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0842cd26..b956f57a 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', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consectetur', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consectetur', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'mollitia', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'mollitia', + 'cumque', 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( - 'aliquid', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aliquid', + 'atque', 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 aa0ff7e5..babee25b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolore', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolore', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolore', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolore', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'commodi', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'commodi', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'totam', 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( - 'laudantium', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laudantium', + 'minus', 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 acb8c51b..d9042813 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: 'jatilzsqsjukxemrc' + name: 'tnmouzgihegmpuw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jatilzsqsjukxemrc' + name: 'tnmouzgihegmpuw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a63b3c6b99eb54c25676c8ef2ebf8cbd3fcb2484 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 07:12:55 +0000 Subject: [PATCH 115/256] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1a2597f5..4c2c2563 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bdbcb71d3890454f9a80554d6e8893125a88a15551731e55b2bd4995e4b981b5.yml -openapi_spec_hash: f49b334718187cf5534314f5389eb412 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1d403080a7564d189c84c4e298c8b638d317fa2ad3f9b9a31ba371cb9e336cca.yml +openapi_spec_hash: 6eb2241404efe84e4c88171f228a7e9a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6bfb8e9c..7db6cd8f 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('officia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index bf0d60f5..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( - 'dolorem', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolorem', + '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 15c75c9a..45c76c5b 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( - 'aspernatur', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aspernatur', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aspernatur', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aspernatur', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 458e2438..aafb587f 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', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'qui', + 'corporis', 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', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'qui', + 'corporis', 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 c2e0b5c0..4af185b1 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('laboriosam'); + $result = $this->client->smartLinks->listClicks('odio'); // @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('temporibus'); // @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('similique'); + $result = $this->client->smartLinks->listFans('dicta'); // @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('itaque'); + $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('et'); + $result = $this->client->smartLinks->retrieveCohortArps('placeat'); // @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('nisi'); // @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 9fcf1d63..36dc4b10 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( - 'praesentium', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'praesentium', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'praesentium', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'praesentium', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b956f57a..5b4f9330 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'repellendus', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'repellendus', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'repellendus', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'repellendus', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + '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( - 'atque', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'atque', + 'assumenda', 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 babee25b..92965b84 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aperiam', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aperiam', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aperiam', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aperiam', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'totam', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'totam', + 'delectus', 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( - 'minus', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'minus', + '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 d9042813..92f38026 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: 'tnmouzgihegmpuw' + name: 'jvjzgbxdnrmuoyznrxoyq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'tnmouzgihegmpuw' + name: 'jvjzgbxdnrmuoyznrxoyq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 762460fe9142f0b491befeecbab1487bb1506551 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 20:13:02 +0000 Subject: [PATCH 116/256] 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 4c2c2563..a2da2ccd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1d403080a7564d189c84c4e298c8b638d317fa2ad3f9b9a31ba371cb9e336cca.yml -openapi_spec_hash: 6eb2241404efe84e4c88171f228a7e9a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fbc218baac59cd8bd4556b6d047384cbb1cdfabacaa7b7e540c9ba3ec32c7dd3.yml +openapi_spec_hash: 9281920a6c50254efd5b35878429f074 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7db6cd8f..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('officia'); + $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 142003b6..ccf10d4d 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quis', + 'qui', 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 45c76c5b..89f5bfb9 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( - 'suscipit', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'suscipit', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'suscipit', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'suscipit', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index aafb587f..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( - 'corporis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'corporis', + '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( - 'corporis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'corporis', + '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..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 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 4af185b1..2010d3cf 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('odio'); + $result = $this->client->smartLinks->listClicks('dolorem'); // @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('temporibus'); + $result = $this->client->smartLinks->listConversions('perferendis'); // @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('dicta'); + $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('qui'); + $result = $this->client->smartLinks->listSpenders('dolore'); // @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('placeat'); + $result = $this->client->smartLinks->retrieveCohortArps('omnis'); // @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('nisi'); + $result = $this->client->smartLinks->retrieveStats('qui'); // @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 36dc4b10..6d9a7695 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( - 'eveniet', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'eveniet', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'eveniet', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'eveniet', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5b4f9330..1cf51566 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( - 'quia', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'quibusdam', 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( - 'assumenda', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'assumenda', + 'dolor', 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 92965b84..326d7005 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eos', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eos', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'delectus', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'delectus', + 'minima', 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', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'necessitatibus', + 'similique', 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 92f38026..5c291fec 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: 'jvjzgbxdnrmuoyznrxoyq' + name: 'bozarddkkt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jvjzgbxdnrmuoyznrxoyq' + name: 'bozarddkkt' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6d35ebfc7af999de5b813b1633e2cc40c3b863a9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 23:12:58 +0000 Subject: [PATCH 117/256] 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 a2da2ccd..ba068e31 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fbc218baac59cd8bd4556b6d047384cbb1cdfabacaa7b7e540c9ba3ec32c7dd3.yml -openapi_spec_hash: 9281920a6c50254efd5b35878429f074 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9bcfb2d4607141abbb50bda92e53a291407a6a989ce53322e13927ce68ec9da8.yml +openapi_spec_hash: ce2e27b9d334efaf635d76f6afe5aca5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 78222ddb..570871ed 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('saepe'); // @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 ccf10d4d..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( - 'qui', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'qui', + '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 89f5bfb9..aa723d57 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( - 'nemo', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nemo', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..fe299ca6 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', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'aliquid', 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', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'aliquid', 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 2010d3cf..19ced047 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('dolorem'); + $result = $this->client->smartLinks->listClicks('modi'); // @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('perferendis'); + $result = $this->client->smartLinks->listConversions('expedita'); // @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('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('dolore'); + $result = $this->client->smartLinks->listSpenders('recusandae'); // @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('omnis'); + $result = $this->client->smartLinks->retrieveCohortArps('ad'); // @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('qui'); + $result = $this->client->smartLinks->retrieveStats('facere'); // @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 6d9a7695..57a8aedf 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( - 'laudantium', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'laudantium', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'laudantium', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'laudantium', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1cf51566..b25e26c6 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', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quibusdam', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quibusdam', + '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( - 'dolor', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolor', + 'quasi', 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 326d7005..1e3f60d7 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'explicabo', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'explicabo', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'explicabo', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'explicabo', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'delectus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'delectus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minima', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'minima', + '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( - 'similique', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'similique', + 'ex', 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 5c291fec..70313397 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: 'bozarddkkt' + name: 'l' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bozarddkkt' + name: 'l' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bc70597d4983cfd5a4cb775c5143b3adb276e941 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 00:12:54 +0000 Subject: [PATCH 118/256] 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 ba068e31..bc1ee4e4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9bcfb2d4607141abbb50bda92e53a291407a6a989ce53322e13927ce68ec9da8.yml -openapi_spec_hash: ce2e27b9d334efaf635d76f6afe5aca5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6edaebf302834d01e7497ddc7c365ea564175e865fa4f602945bb6e0fd1f0ace.yml +openapi_spec_hash: ef81dd9ff5441a4380485e8a950d8d8d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 570871ed..731fb6bb 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('saepe'); + $result = $this->client->accounts->disconnect('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1c66f3b6..edcbf978 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', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quo', + 'odit', 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 aa723d57..89f5bfb9 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( - 'ipsum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ipsum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ipsum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ipsum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fe299ca6..d567c068 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( - 'aliquid', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aliquid', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'aliquid', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aliquid', + 'ea', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 19ced047..97b69405 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('modi'); + $result = $this->client->smartLinks->listClicks('consequatur'); // @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('expedita'); + $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('et'); + $result = $this->client->smartLinks->listFans('id'); // @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('recusandae'); + $result = $this->client->smartLinks->listSpenders('necessitatibus'); // @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('ad'); + $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('facere'); + $result = $this->client->smartLinks->retrieveStats('corrupti'); // @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 57a8aedf..c64b4403 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( - 'voluptas', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptas', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b25e26c6..aff970de 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'iste', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'iste', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'iste', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'iste', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + '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( - 'quasi', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quasi', + 'odit', 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 1e3f60d7..e6cefe32 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'impedit', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'impedit', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'impedit', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'impedit', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'alias', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'alias', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'occaecati', 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( - 'ex', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ex', + '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 70313397..940bb8c1 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: 'l' + name: 'qyvvbzgmvxtcmil' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'l' + name: 'qyvvbzgmvxtcmil' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a407567913fc92c2b89574cacd4b6b21cf81ff7f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 01:12:57 +0000 Subject: [PATCH 119/256] 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 bc1ee4e4..7b8381e9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6edaebf302834d01e7497ddc7c365ea564175e865fa4f602945bb6e0fd1f0ace.yml -openapi_spec_hash: ef81dd9ff5441a4380485e8a950d8d8d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-41fc33142b7ae1fc50e5ba0fa9bbb95d93d4b7692f0e8b513fb829be4b5a8497.yml +openapi_spec_hash: 0b1ae00a211204d823550e216f228ab7 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 731fb6bb..510a4ab6 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('amet'); + $result = $this->client->accounts->disconnect('delectus'); // @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 edcbf978..fe38d2d6 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( - 'odit', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'odit', + 'quam', 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 89f5bfb9..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( - 'nemo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nemo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nemo', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d567c068..3e510ac6 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( - 'ea', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ea', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ea', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ea', + 'sit', 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..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 97b69405..58c7a0c6 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('consequatur'); + $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('sit'); + $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('id'); + $result = $this->client->smartLinks->listFans('rem'); // @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('necessitatibus'); + $result = $this->client->smartLinks->listSpenders('soluta'); // @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('quod'); // @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('corrupti'); + $result = $this->client->smartLinks->retrieveStats('sit'); // @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 c64b4403..6fd9f8bc 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( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index aff970de..b77dfc4c 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', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'a', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'a', + 'labore', 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( - 'odit', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'odit', + 'aspernatur', 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 e6cefe32..600cde30 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'accusamus', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'accusamus', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'accusamus', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'accusamus', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'occaecati', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'occaecati', + '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( - 'assumenda', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'assumenda', + 'veritatis', 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 940bb8c1..f0aab8fd 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: 'qyvvbzgmvxtcmil' + name: 'rncxyzxvzzbtzjnh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qyvvbzgmvxtcmil' + name: 'rncxyzxvzzbtzjnh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ce63a6cae99a93b473db662e9954821d76d17e43 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 02:13:10 +0000 Subject: [PATCH 120/256] 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 7b8381e9..c1db3d7e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-41fc33142b7ae1fc50e5ba0fa9bbb95d93d4b7692f0e8b513fb829be4b5a8497.yml -openapi_spec_hash: 0b1ae00a211204d823550e216f228ab7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fb9f9d5e5ad2501171fdfd7f9a376828fb22d884612e3a9830ef0496c0a53085.yml +openapi_spec_hash: 7f1e13ff1d8baca0021b4bb8e91570bc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 510a4ab6..76584461 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('delectus'); + $result = $this->client->accounts->disconnect('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index fe38d2d6..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( - 'quam', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quam', + '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 8852fe34..2edc361e 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'neque', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'neque', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'neque', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 3e510ac6..ce2ca93b 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( - 'sit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'sit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sit', + 'inventore', 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 58c7a0c6..128e0c39 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('voluptas'); // @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('impedit'); // @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('rem'); + $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('soluta'); + $result = $this->client->smartLinks->listSpenders('omnis'); // @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('quod'); + $result = $this->client->smartLinks->retrieveCohortArps('inventore'); // @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('sit'); + $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 6fd9f8bc..bc9b5127 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( - 'sed', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sed', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b77dfc4c..26895581 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'magni', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'magni', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'magni', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'labore', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'labore', + 'laborum', 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( - 'aspernatur', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aspernatur', + '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 600cde30..8bbd62d6 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', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptas', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptas', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptas', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'numquam', 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( - 'veritatis', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'veritatis', + 'amet', 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 f0aab8fd..55f4a22d 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: 'rncxyzxvzzbtzjnh' + name: 'dkfievxarwrqrvhkjhyszlmq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rncxyzxvzzbtzjnh' + name: 'dkfievxarwrqrvhkjhyszlmq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d34ffb3e97bee8c9c6e45aac31e11145570326c7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 13:13:03 +0000 Subject: [PATCH 121/256] 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 | 10 +++++----- 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 c1db3d7e..eea0a299 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fb9f9d5e5ad2501171fdfd7f9a376828fb22d884612e3a9830ef0496c0a53085.yml -openapi_spec_hash: 7f1e13ff1d8baca0021b4bb8e91570bc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-16a788073ba16516c1c9b94363ff6c5692c58ec8d64d320af55b47246dfbba02.yml +openapi_spec_hash: 0979a1cebc7a24f6b02ec9ee8db31756 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 76584461..ff343655 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('non'); + $result = $this->client->accounts->disconnect('harum'); // @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 15a2fe0b..ee8e21af 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + 'atque', 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 2edc361e..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( - 'qui', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'qui', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce2ca93b..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( - 'inventore', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'inventore', + '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( - 'inventore', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'inventore', + 'aut', 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 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 128e0c39..68b9ae2e 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('voluptas'); + $result = $this->client->smartLinks->listClicks('odio'); // @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('impedit'); + $result = $this->client->smartLinks->listConversions('quia'); // @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('id'); // @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('omnis'); + $result = $this->client->smartLinks->listSpenders('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $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('sunt'); // @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 bc9b5127..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( - 'quaerat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quaerat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quaerat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quaerat', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 26895581..21e5a172 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laborum', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laborum', + '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', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'similique', + 'est', 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 8bbd62d6..a6d1aad9 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ab', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ab', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ab', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ab', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'totam', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'totam', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'numquam', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'numquam', + 'itaque', 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( - 'amet', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'amet', + 'fuga', 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 55f4a22d..2f9007d7 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: 'dkfievxarwrqrvhkjhyszlmq' + name: 'onuqvylagve' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dkfievxarwrqrvhkjhyszlmq' + name: 'onuqvylagve' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2589b753d38c316b7e38a8a2be929b1f9c896489 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 14:12:55 +0000 Subject: [PATCH 122/256] 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 eea0a299..355dd922 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-16a788073ba16516c1c9b94363ff6c5692c58ec8d64d320af55b47246dfbba02.yml -openapi_spec_hash: 0979a1cebc7a24f6b02ec9ee8db31756 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c362b16c4c91a1f25e0196b5a2d9d38841e09bc76e3ce1dfbea4655e6fac5df3.yml +openapi_spec_hash: acad0512767076850dd5411b4178746e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index ff343655..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('harum'); + $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 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 ee8e21af..4e7c47e6 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( - 'atque', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'atque', + 'asperiores', 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..6e9b1892 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', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..3e510ac6 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'sit', 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'sit', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 68b9ae2e..b6e0843b 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('odio'); + $result = $this->client->smartLinks->listClicks('temporibus'); // @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('quia'); + $result = $this->client->smartLinks->listConversions('omnis'); // @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('id'); + $result = $this->client->smartLinks->listFans('assumenda'); // @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('consequatur'); + $result = $this->client->smartLinks->listSpenders('velit'); // @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('inventore'); + $result = $this->client->smartLinks->retrieveCohortArps('molestiae'); // @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('sunt'); + $result = $this->client->smartLinks->retrieveStats('exercitationem'); // @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..760ce656 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', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sunt', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sunt', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sunt', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 21e5a172..dfaa2d67 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'autem', 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( - 'est', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + 'fugit', 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 a6d1aad9..604a2837 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'repudiandae', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'repudiandae', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'itaque', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'itaque', + '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( - 'fuga', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'fuga', + 'temporibus', 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 2f9007d7..c62cfadc 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: 'onuqvylagve' + name: 'osxlwxky' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'onuqvylagve' + name: 'osxlwxky' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6fc2d9436ed70207505b25fd42bdcd4f5941bebe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 21:12:54 +0000 Subject: [PATCH 123/256] feat(api): api update --- .stats.yml | 4 ++-- src/Chats/ChatStartTypingParams.php | 2 +- src/Services/ChatsRawService.php | 2 +- src/Services/ChatsService.php | 2 +- 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 ++-- 15 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.stats.yml b/.stats.yml index 355dd922..5600fdc5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c362b16c4c91a1f25e0196b5a2d9d38841e09bc76e3ce1dfbea4655e6fac5df3.yml -openapi_spec_hash: acad0512767076850dd5411b4178746e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba677834a77b7edbbb9db2198f9297c2942d93c12673447320404fbef92e1332.yml +openapi_spec_hash: 175ed099358f51d83318b341aa6d8e15 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Chats/ChatStartTypingParams.php b/src/Chats/ChatStartTypingParams.php index 0ba62bc0..d5331b6d 100644 --- a/src/Chats/ChatStartTypingParams.php +++ b/src/Chats/ChatStartTypingParams.php @@ -10,7 +10,7 @@ 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. + * Calling this endpoint will show the target fan a "Model is typing..." note in the chat for ~4 seconds. Duplicate calls for the same account and chat are coalesced during that window. * * @see OnlyFansAPI\Services\ChatsService::startTyping() * diff --git a/src/Services/ChatsRawService.php b/src/Services/ChatsRawService.php index 4b306de0..2581d2f3 100644 --- a/src/Services/ChatsRawService.php +++ b/src/Services/ChatsRawService.php @@ -298,7 +298,7 @@ public function mute( /** * @api * - * 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. + * Calling this endpoint will show the target fan a "Model is typing..." note in the chat for ~4 seconds. Duplicate calls for the same account and chat are coalesced during that window. * * @param string $chatID The ID of the chat (usually a fan's OnlyFans User ID) * @param array{account: string}|ChatStartTypingParams $params diff --git a/src/Services/ChatsService.php b/src/Services/ChatsService.php index c2bb0ad8..853bf1f9 100644 --- a/src/Services/ChatsService.php +++ b/src/Services/ChatsService.php @@ -261,7 +261,7 @@ public function mute( /** * @api * - * 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. + * Calling this endpoint will show the target fan a "Model is typing..." note in the chat for ~4 seconds. Duplicate calls for the same account and chat are coalesced during that window. * * @param string $chatID The ID of the chat (usually a fan's OnlyFans User ID) * @param string $account The Account ID diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..0a04f15f 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('nesciunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4e7c47e6..d84c7299 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( - 'asperiores', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'asperiores', + 'reiciendis', 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 6e9b1892..69656175 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( - 'optio', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'optio', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'optio', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'optio', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 3e510ac6..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( - 'sit', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sit', + '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( - 'sit', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sit', + 'aut', 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/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 b6e0843b..9f120da8 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('temporibus'); + $result = $this->client->smartLinks->listClicks('provident'); // @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('omnis'); + $result = $this->client->smartLinks->listConversions('veritatis'); // @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('assumenda'); + $result = $this->client->smartLinks->listFans('ut'); // @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('velit'); + $result = $this->client->smartLinks->listSpenders('rerum'); // @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('molestiae'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('exercitationem'); + $result = $this->client->smartLinks->retrieveStats('repudiandae'); // @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 760ce656..cb063990 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( - 'adipisci', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'adipisci', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'adipisci', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'adipisci', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index dfaa2d67..c2e6112d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'possimus', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'possimus', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'possimus', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'possimus', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'autem', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'autem', + 'nihil', 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( - 'fugit', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fugit', + 'delectus', 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 604a2837..50b79704 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'cupiditate', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'cupiditate', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'cupiditate', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'cupiditate', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'officia', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'officia', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'doloribus', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'doloribus', + '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( - 'temporibus', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'temporibus', + 'neque', 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 c62cfadc..3de91060 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: 'osxlwxky' + name: 'qgzlijdsm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'osxlwxky' + name: 'qgzlijdsm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fb98e7447a3fd62777f38ca770495d3251c330a8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 02:13:03 +0000 Subject: [PATCH 124/256] 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 | 10 +++++----- 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 5600fdc5..20e15a3b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ba677834a77b7edbbb9db2198f9297c2942d93c12673447320404fbef92e1332.yml -openapi_spec_hash: 175ed099358f51d83318b341aa6d8e15 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50f1f80bb06b4a7a9c4cf853b7d4c6eda291f60b515e38ac6ac9e03611853ffe.yml +openapi_spec_hash: 32df5b526d06f339131c411cbf4aaebe config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0a04f15f..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('nesciunt'); + $result = $this->client->accounts->disconnect('ut'); // @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 d84c7299..23675379 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( - 'reiciendis', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'reiciendis', + 'facere', 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 69656175..6dab7892 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( - 'corrupti', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'corrupti', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'corrupti', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'corrupti', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..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( - 'aut', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + '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( - 'aut', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'nihil', 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/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 9f120da8..02180790 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('provident'); + $result = $this->client->smartLinks->listClicks('adipisci'); // @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('veritatis'); + $result = $this->client->smartLinks->listConversions('et'); // @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('ut'); + $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('rerum'); + $result = $this->client->smartLinks->listSpenders('iure'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('tempora'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index cb063990..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( - 'veniam', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'veniam', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c2e6112d..3ad9d36b 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'expedita', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'expedita', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'expedita', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'expedita', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nihil', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nihil', + 'enim', 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( - 'delectus', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'delectus', + 'sit', 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 50b79704..632283c6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'perferendis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'perferendis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'perferendis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'perferendis', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'quaerat', 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( - 'neque', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'neque', + 'aliquid', 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 3de91060..88596eeb 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: 'qgzlijdsm' + name: 'uobdhgqjbtzxkujlpqul' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qgzlijdsm' + name: 'uobdhgqjbtzxkujlpqul' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f074936f45c6f470c9d7a8490dadaf19df3ce2ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 03:13:01 +0000 Subject: [PATCH 125/256] 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 20e15a3b..cd0b02d0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50f1f80bb06b4a7a9c4cf853b7d4c6eda291f60b515e38ac6ac9e03611853ffe.yml -openapi_spec_hash: 32df5b526d06f339131c411cbf4aaebe +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-211916b41fb641f03be1798452dd51c74ce89cb98cbc94e5c3028162e2c92c0a.yml +openapi_spec_hash: e6bb03676d1715259a7e0d6a1fe83f3e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9390893b..8620e33b 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('vitae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 23675379..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( - 'facere', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'facere', + '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 6dab7892..9f7720be 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( - 'perferendis', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'perferendis', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'perferendis', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'perferendis', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59b84195..b650e2af 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', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'cum', 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', + 'cum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'cum', 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 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 02180790..51d32cf1 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('adipisci'); + $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('et'); + $result = $this->client->smartLinks->listConversions('nulla'); // @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('doloribus'); // @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('iure'); + $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('tempora'); + $result = $this->client->smartLinks->retrieveCohortArps('cumque'); // @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('repudiandae'); + $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 0ad1f56f..b4c15c84 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', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'blanditiis', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'blanditiis', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'blanditiis', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 3ad9d36b..7799aee9 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'sapiente', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'sapiente', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'sapiente', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'sapiente', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + '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( - 'sit', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sit', + 'eius', 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 632283c6..2b375451 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', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nihil', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nihil', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nihil', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'eos', 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( - 'aliquid', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aliquid', + '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 88596eeb..badf149a 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: 'uobdhgqjbtzxkujlpqul' + name: 'hxodkcv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'uobdhgqjbtzxkujlpqul' + name: 'hxodkcv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e55290e6d505256d5f91e3bbacc9745e63fc20a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:13:05 +0000 Subject: [PATCH 126/256] 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 cd0b02d0..2a1bbe8f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-211916b41fb641f03be1798452dd51c74ce89cb98cbc94e5c3028162e2c92c0a.yml -openapi_spec_hash: e6bb03676d1715259a7e0d6a1fe83f3e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7b36c6524b681f544d107b99f986fab95be59c44d09e9e8b038fb1a34f81f259.yml +openapi_spec_hash: 8fafe5c33d355fb94bcf8fdc170624c0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 8620e33b..fe61716e 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('vitae'); + $result = $this->client->accounts->disconnect('nihil'); // @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..629b0401 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', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'exercitationem', + 'eius', 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 9f7720be..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( - 'nulla', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nulla', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nulla', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nulla', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b650e2af..f2201a80 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( - 'cum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'cum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'cum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'cum', + 'dolores', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 51d32cf1..933a16e4 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('reiciendis'); // @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('nulla'); + $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('doloribus'); + $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('aut'); + $result = $this->client->smartLinks->listSpenders('quia'); // @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('cumque'); + $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('perferendis'); + $result = $this->client->smartLinks->retrieveStats('autem'); // @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 b4c15c84..1226a23d 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( - 'optio', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'optio', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'optio', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'optio', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 7799aee9..5c02510c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'suscipit', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'suscipit', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'suscipit', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'suscipit', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quod', + 'vel', 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( - 'eius', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eius', + 'doloremque', 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 2b375451..ebd96c8f 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', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'laborum', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'laborum', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'laborum', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'ea', 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', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'sunt', 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 badf149a..a1bfd39c 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: 'hxodkcv' + name: 'epycx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'hxodkcv' + name: 'epycx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 0cbfd5707ff0a4e6e58726e4968a9e4825f1cfd3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 14:13:06 +0000 Subject: [PATCH 127/256] 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 2a1bbe8f..d7f990df 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7b36c6524b681f544d107b99f986fab95be59c44d09e9e8b038fb1a34f81f259.yml -openapi_spec_hash: 8fafe5c33d355fb94bcf8fdc170624c0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1f93b6a0a3af44bb6a0b7894a345bca4b5091fdbe2025521703812008dea1c5f.yml +openapi_spec_hash: f4561e05b56c2dacb2d7c5e61b7f10b3 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fe61716e..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('nihil'); + $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 629b0401..e5ca707b 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( - 'eius', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eius', + 'doloribus', 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..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( - 'autem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'autem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f2201a80..505273b6 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( - 'dolores', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolores', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolores', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolores', + 'animi', 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..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 933a16e4..9cd2ee74 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('reiciendis'); + $result = $this->client->smartLinks->listClicks('nemo'); // @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('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('delectus'); + $result = $this->client->smartLinks->listFans('facilis'); // @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('quia'); + $result = $this->client->smartLinks->listSpenders('dolor'); // @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('similique'); // @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('autem'); + $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 1226a23d..a4699a76 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( - 'tempore', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'tempore', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'tempore', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'tempore', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5c02510c..707053de 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'tenetur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'tenetur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'tenetur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'tenetur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vel', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vel', + '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( - 'doloremque', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'doloremque', + 'repellendus', 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 ebd96c8f..5248ade1 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatibus', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatibus', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatibus', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatibus', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'error', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'error', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'nostrum', 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( - 'sunt', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sunt', + 'voluptatibus', 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 a1bfd39c..f7486977 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: 'epycx' + name: 'qanyatag' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'epycx' + name: 'qanyatag' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d779efd499622dd95d3d23889ace78cfb374fc33 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 15:13:02 +0000 Subject: [PATCH 128/256] 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 d7f990df..f78f2367 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1f93b6a0a3af44bb6a0b7894a345bca4b5091fdbe2025521703812008dea1c5f.yml -openapi_spec_hash: f4561e05b56c2dacb2d7c5e61b7f10b3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8224d0f290595f1cc612a44cb14745189d03b5c3b6e93f525739336177a54a80.yml +openapi_spec_hash: 68b73188bf77a00227de2e20a5f71743 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..cb37c291 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('nulla'); // @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 e5ca707b..fd29b3ae 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( - 'doloribus', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloribus', + 'dolor', 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..7912c040 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', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'magnam', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 505273b6..13998190 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( - 'animi', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'animi', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'animi', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'animi', + 'repellat', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 9cd2ee74..db5826e6 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('nemo'); + $result = $this->client->smartLinks->listClicks('harum'); // @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('odit'); // @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('facilis'); + $result = $this->client->smartLinks->listFans('vel'); // @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('dolor'); + $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('similique'); + $result = $this->client->smartLinks->retrieveCohortArps('dignissimos'); // @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('animi'); // @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 a4699a76..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( - 'tempora', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'tempora', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'tempora', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'tempora', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 707053de..a2ee86f2 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'adipisci', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'adipisci', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'adipisci', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'adipisci', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'esse', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'esse', + 'excepturi', 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( - 'repellendus', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'repellendus', + '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 5248ade1..66c19952 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'fugit', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'fugit', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'fugit', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'fugit', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'error', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'error', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nostrum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nostrum', + '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( - 'voluptatibus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatibus', + 'qui', 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 f7486977..6e6a22ed 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: 'qanyatag' + name: 'rdnrixfusibd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qanyatag' + name: 'rdnrixfusibd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bc0d221eeed6d629803c4742ff6e62c6516001a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 17:12:58 +0000 Subject: [PATCH 129/256] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.stats.yml b/.stats.yml index f78f2367..1e965c94 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8224d0f290595f1cc612a44cb14745189d03b5c3b6e93f525739336177a54a80.yml -openapi_spec_hash: 68b73188bf77a00227de2e20a5f71743 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6786de10c7755940102162422e0fc9f70007d21547f12cf6343bd97d208d1747.yml +openapi_spec_hash: cec6460a00df1ee2aa6eee064e79020b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index cb37c291..5cc3e430 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('nulla'); + $result = $this->client->accounts->disconnect('sunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index fd29b3ae..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( - 'dolor', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolor', + '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 7912c040..26591213 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( - 'modi', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'modi', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 13998190..83809929 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( - 'repellat', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'repellat', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'illum', 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..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 db5826e6..f3004fd5 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('harum'); + $result = $this->client->smartLinks->listClicks('necessitatibus'); // @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('odit'); + $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('vel'); + $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('repudiandae'); + $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('dignissimos'); + $result = $this->client->smartLinks->retrieveCohortArps('tempore'); // @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('animi'); + $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 2443ecae..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( - 'et', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'unde', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a2ee86f2..ecffa9fc 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eius', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eius', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'excepturi', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'excepturi', + 'aut', 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', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'tempore', + '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 66c19952..7ae3a714 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eaque', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eaque', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eaque', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eaque', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eaque', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eaque', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -287,7 +287,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'qui', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'qui', + '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 6e6a22ed..3adc4233 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: 'rdnrixfusibd' + name: 'nzhbjgzbhk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rdnrixfusibd' + name: 'nzhbjgzbhk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 87e1f1d8765189fded614610d9f06342428c0a5d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:12:55 +0000 Subject: [PATCH 130/256] 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 1e965c94..e5138b83 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6786de10c7755940102162422e0fc9f70007d21547f12cf6343bd97d208d1747.yml -openapi_spec_hash: cec6460a00df1ee2aa6eee064e79020b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-92022c3895f0a70c61ed6ddfba512fbdb157a0ad81f85d800106698ba4113992.yml +openapi_spec_hash: 5d633bc1379bec65ccfc4270093f7703 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5cc3e430..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('sunt'); + $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 5faabe07..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( - 'doloremque', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloremque', + '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 26591213..010ccf9a 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( - 'similique', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'similique', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'similique', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'similique', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 83809929..28fb433a 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( - 'illum', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'illum', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'illum', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'illum', + 'pariatur', 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 f3004fd5..c253ba86 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('necessitatibus'); + $result = $this->client->smartLinks->listClicks('dignissimos'); // @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('laudantium'); // @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('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('totam'); + $result = $this->client->smartLinks->listSpenders('eum'); // @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('tempore'); + $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('aut'); + $result = $this->client->smartLinks->retrieveStats('beatae'); // @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..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( - 'unde', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'unde', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'unde', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ecffa9fc..fa150435 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'fugit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'fugit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'fugit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'fugit', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + '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( - 'ex', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ex', + '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 7ae3a714..f97fea6a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aliquid', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aliquid', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'numquam', 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', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'illum', 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 3adc4233..ec446e72 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: 'nzhbjgzbhk' + name: 'yaggbqcjoupimfeahlecakl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nzhbjgzbhk' + name: 'yaggbqcjoupimfeahlecakl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 0cede9771598c0c02e5e8ea135ff7af1ab44088c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 20:13:03 +0000 Subject: [PATCH 131/256] 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 e5138b83..b634669c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-92022c3895f0a70c61ed6ddfba512fbdb157a0ad81f85d800106698ba4113992.yml -openapi_spec_hash: 5d633bc1379bec65ccfc4270093f7703 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-37b7959d91616cabf71fdc1661155c132919dbabb7f3d5c7e64427fe37b494bb.yml +openapi_spec_hash: a0fa6f8d80e3da0142334fdf75149107 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 332fcb8b..b9c11180 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('pariatur'); // @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..e15311b3 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', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + 'mollitia', 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 010ccf9a..eaf6ebce 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( - 'cumque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'cumque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'cumque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'cumque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 28fb433a..5e3f7d77 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( - 'pariatur', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'pariatur', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'pariatur', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'pariatur', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index c253ba86..8b0f8241 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('dignissimos'); + $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('laudantium'); + $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('ut'); // @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('eum'); + $result = $this->client->smartLinks->listSpenders('temporibus'); // @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('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('beatae'); + $result = $this->client->smartLinks->retrieveStats('tempore'); // @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..69767e17 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', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quod', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quod', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quod', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index fa150435..72c67c91 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', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + '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( - 'beatae', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'beatae', + '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 f97fea6a..f6dd45ba 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'odio', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'odio', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'odio', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'odio', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'numquam', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'numquam', + 'nemo', 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( - 'illum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'illum', + '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 ec446e72..de8216f2 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: 'yaggbqcjoupimfeahlecakl' + name: 'ompcjcdz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yaggbqcjoupimfeahlecakl' + name: 'ompcjcdz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 909fd2adc9b469afd2d2fe97f7c8f58819ccc042 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 14:13:05 +0000 Subject: [PATCH 132/256] 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 b634669c..d6093b69 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-37b7959d91616cabf71fdc1661155c132919dbabb7f3d5c7e64427fe37b494bb.yml -openapi_spec_hash: a0fa6f8d80e3da0142334fdf75149107 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d9d5d63bf50cefcd1b34b0db850b5ba424342e6a1282e5ac9fc818ffdb871125.yml +openapi_spec_hash: 79a68d37405538eed9538c7014f48c08 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b9c11180..fe61716e 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('pariatur'); + $result = $this->client->accounts->disconnect('nihil'); // @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 e15311b3..e066de4d 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( - 'mollitia', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'mollitia', + 'perspiciatis', 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 eaf6ebce..fa3dd189 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( - 'omnis', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'omnis', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5e3f7d77..c4db4712 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( - 'cumque', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'cumque', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'cumque', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'cumque', + 'nostrum', 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 8b0f8241..672a559e 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('quo'); // @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('autem'); // @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('ut'); + $result = $this->client->smartLinks->listFans('iste'); // @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('temporibus'); + $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('aut'); + $result = $this->client->smartLinks->retrieveCohortArps('ea'); // @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('tempore'); + $result = $this->client->smartLinks->retrieveStats('eos'); // @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 69767e17..c64b4403 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( - 'esse', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'esse', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'esse', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'esse', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 72c67c91..c8876d4e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'repudiandae', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'repudiandae', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'repudiandae', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'repudiandae', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + '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( - 'facilis', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'facilis', + '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 f6dd45ba..bbb137e7 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'atque', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'atque', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nemo', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nemo', + '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( - 'aut', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'officiis', 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 de8216f2..b3df135e 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: 'ompcjcdz' + name: 'eqactykwchrcapniluklxuxge' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ompcjcdz' + name: 'eqactykwchrcapniluklxuxge' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 246fd254757217855ee2495f1fb6d481f3298876 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 00:13:05 +0000 Subject: [PATCH 133/256] 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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index d6093b69..21f3b894 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d9d5d63bf50cefcd1b34b0db850b5ba424342e6a1282e5ac9fc818ffdb871125.yml -openapi_spec_hash: 79a68d37405538eed9538c7014f48c08 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e7f2df49856fb570f5681770ba02623bf433297181ed53576538e20ff1dcee36.yml +openapi_spec_hash: 5926300bb0ec7adf349ccb731647bce9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fe61716e..cb01eac3 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('nihil'); + $result = $this->client->accounts->disconnect('fugit'); // @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 e066de4d..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( - 'perspiciatis', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'perspiciatis', + '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 fa3dd189..92c9701a 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( - 'error', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'error', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'error', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'error', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index c4db4712..7566ccbd 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( - 'nostrum', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nostrum', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nostrum', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nostrum', + 'officiis', 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 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 672a559e..05c00c9f 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('quo'); + $result = $this->client->smartLinks->listClicks('voluptas'); // @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('autem'); + $result = $this->client->smartLinks->listConversions('aut'); // @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('iste'); + $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('est'); + $result = $this->client->smartLinks->listSpenders('molestiae'); // @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('ea'); + $result = $this->client->smartLinks->retrieveCohortArps('occaecati'); // @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('eos'); + $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 c64b4403..08bf33f4 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( - 'consequatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c8876d4e..d0e5ad66 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'sed', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'sed', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'sed', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'sed', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + 'id', 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', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eos', + 'debitis', 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 bbb137e7..c2470b87 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'pariatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'pariatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'pariatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'pariatur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + '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( - 'officiis', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'officiis', + 'dicta', 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 b3df135e..c11272d1 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: 'eqactykwchrcapniluklxuxge' + name: 'udnsehgcxslin' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'eqactykwchrcapniluklxuxge' + name: 'udnsehgcxslin' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 492b8ef89b75829bfe16c9ac1f92961ba2f44a2d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:13:04 +0000 Subject: [PATCH 134/256] 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 21f3b894..1508c564 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e7f2df49856fb570f5681770ba02623bf433297181ed53576538e20ff1dcee36.yml -openapi_spec_hash: 5926300bb0ec7adf349ccb731647bce9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f9f26ec780a5b5d055151220115a6c41e79aed9e29a8b971845623f8d1ef69b4.yml +openapi_spec_hash: 2851986c92d9cc1692647aaa697e7620 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index cb01eac3..c4179059 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('fugit'); + $result = $this->client->accounts->disconnect('facere'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 3b0ee14f..09a50be8 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', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'praesentium', + 'dignissimos', 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 92c9701a..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( - 'odit', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'odit', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7566ccbd..ce1b97fe 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( - 'officiis', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'officiis', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'officiis', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'officiis', + 'ipsa', 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 05c00c9f..d25642d1 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('voluptas'); + $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('aut'); + $result = $this->client->smartLinks->listConversions('porro'); // @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('ut'); // @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('molestiae'); + $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('occaecati'); + $result = $this->client->smartLinks->retrieveCohortArps('error'); // @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('explicabo'); // @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 08bf33f4..97926934 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( - 'eos', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'eos', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d0e5ad66..2a4195e0 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dolor', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dolor', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dolor', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dolor', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'id', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'id', + 'cumque', 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( - 'debitis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'debitis', + '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 c2470b87..5db49e2f 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'velit', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'velit', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'velit', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'velit', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sed', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sed', + '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( - 'dicta', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dicta', + 'molestiae', 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 c11272d1..b4fd895b 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: 'udnsehgcxslin' + name: 'gywjwzxefgamgvfdabtaduc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'udnsehgcxslin' + name: 'gywjwzxefgamgvfdabtaduc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 464bd110cf8c8e347d1e61eedf7cda992d8fd99f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:13:07 +0000 Subject: [PATCH 135/256] 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 1508c564..4da7c8cc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f9f26ec780a5b5d055151220115a6c41e79aed9e29a8b971845623f8d1ef69b4.yml -openapi_spec_hash: 2851986c92d9cc1692647aaa697e7620 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db22d3a24274437f622494a5ef55439e6467a466ea57e2c781c0c7c9f4faeb20.yml +openapi_spec_hash: 4c3759b23a8d2f35a845f84780bde2ca config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c4179059..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('facere'); + $result = $this->client->accounts->disconnect('id'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 09a50be8..07af05c5 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( - 'dignissimos', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dignissimos', + 'delectus', 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..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( - 'nam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce1b97fe..8cf6a1b1 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( - 'ipsa', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ipsa', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ipsa', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ipsa', + 'debitis', 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 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 d25642d1..a459b09d 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('laboriosam'); // @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('porro'); + $result = $this->client->smartLinks->listConversions('commodi'); // @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('ut'); + $result = $this->client->smartLinks->listFans('quod'); // @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('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('error'); + $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('explicabo'); + $result = $this->client->smartLinks->retrieveStats('consequuntur'); // @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 97926934..23431cf0 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( - 'dolorem', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolorem', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'a', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2a4195e0..45e41f31 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + 'facilis', 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', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'voluptatem', 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 5db49e2f..cc3581ab 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'occaecati', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'occaecati', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'occaecati', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'occaecati', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'totam', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'totam', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'iste', 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( - 'molestiae', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'molestiae', + '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 b4fd895b..0919dae8 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: 'gywjwzxefgamgvfdabtaduc' + name: 'tlbsw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gywjwzxefgamgvfdabtaduc' + name: 'tlbsw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f45d0e0822eb6229f2d2792081b4481da6f6b0ff Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 18:13:05 +0000 Subject: [PATCH 136/256] feat(api): api update --- .stats.yml | 4 +- .../ProfitabilityGetHistoryResponse.php | 59 ++++ .../ProfitabilityGetHistoryResponse/Data.php | 287 ++++++++++++++++++ .../ProfitabilityGetHistoryResponseItem.php | 121 -------- .../ProfitabilityGetProfitabilityResponse.php | 59 ++++ .../Data.php | 287 ++++++++++++++++++ ...fitabilityGetProfitabilityResponseItem.php | 149 --------- .../Financial/ProfitabilityContract.php | 12 +- .../Financial/ProfitabilityRawContract.php | 8 +- .../Financial/ProfitabilityRawService.php | 13 +- .../Financial/ProfitabilityService.php | 12 +- tests/Services/AccountsTest.php | 2 +- .../Analytics/Financial/ProfitabilityTest.php | 16 +- 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 +- 24 files changed, 771 insertions(+), 350 deletions(-) create mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse.php create mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse/Data.php delete mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php create mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse.php create mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse/Data.php delete mode 100644 src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php diff --git a/.stats.yml b/.stats.yml index 4da7c8cc..645041be 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-db22d3a24274437f622494a5ef55439e6467a466ea57e2c781c0c7c9f4faeb20.yml -openapi_spec_hash: 4c3759b23a8d2f35a845f84780bde2ca +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-df3df2d21b0960c95367dfab60a292d58a801db828021ab6fb20e551c6d97c76.yml +openapi_spec_hash: e72bafc63b49547ac7fa3c00a26ffa70 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse.php b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse.php new file mode 100644 index 00000000..05e9aaf3 --- /dev/null +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse.php @@ -0,0 +1,59 @@ +|null + * } + */ +final class ProfitabilityGetHistoryResponse implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + /** @var list|null $data */ + #[Optional(list: Data::class)] + public ?array $data; + + 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 $data + */ + public static function with(?array $data = null): self + { + $self = new self; + + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param list $data + */ + public function withData(array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse/Data.php b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse/Data.php new file mode 100644 index 00000000..46f64a01 --- /dev/null +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponse/Data.php @@ -0,0 +1,287 @@ +|null, + * creatorName?: string|null, + * hasCommissionForPeriod?: bool|null, + * hasCostsForPeriod?: bool|null, + * marginPercentage?: string|null, + * month?: int|null, + * onlyFansUserID?: int|null, + * profit?: string|null, + * projectedNet?: string|null, + * ratePeriods?: list|null, + * referralNote?: string|null, + * totalCosts?: string|null, + * year?: int|null, + * } + */ +final class Data implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + #[Optional(nullable: true)] + public ?string $activeMilestones; + + #[Optional] + public ?string $agencyEarnings; + + #[Optional] + public ?string $commissionAmount; + + #[Optional] + public ?string $commissionRate; + + /** @var list|null $costs */ + #[Optional(list: 'mixed')] + public ?array $costs; + + #[Optional] + public ?string $creatorName; + + #[Optional] + public ?bool $hasCommissionForPeriod; + + #[Optional] + public ?bool $hasCostsForPeriod; + + #[Optional] + public ?string $marginPercentage; + + #[Optional] + public ?int $month; + + #[Optional('onlyFansUserId')] + public ?int $onlyFansUserID; + + #[Optional] + public ?string $profit; + + #[Optional] + public ?string $projectedNet; + + /** @var list|null $ratePeriods */ + #[Optional(list: 'mixed')] + public ?array $ratePeriods; + + #[Optional(nullable: true)] + public ?string $referralNote; + + #[Optional] + public ?string $totalCosts; + + #[Optional] + public ?int $year; + + 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 $costs + * @param list|null $ratePeriods + */ + public static function with( + ?string $activeMilestones = null, + ?string $agencyEarnings = null, + ?string $commissionAmount = null, + ?string $commissionRate = null, + ?array $costs = null, + ?string $creatorName = null, + ?bool $hasCommissionForPeriod = null, + ?bool $hasCostsForPeriod = null, + ?string $marginPercentage = null, + ?int $month = null, + ?int $onlyFansUserID = null, + ?string $profit = null, + ?string $projectedNet = null, + ?array $ratePeriods = null, + ?string $referralNote = null, + ?string $totalCosts = null, + ?int $year = null, + ): self { + $self = new self; + + null !== $activeMilestones && $self['activeMilestones'] = $activeMilestones; + null !== $agencyEarnings && $self['agencyEarnings'] = $agencyEarnings; + null !== $commissionAmount && $self['commissionAmount'] = $commissionAmount; + null !== $commissionRate && $self['commissionRate'] = $commissionRate; + null !== $costs && $self['costs'] = $costs; + null !== $creatorName && $self['creatorName'] = $creatorName; + null !== $hasCommissionForPeriod && $self['hasCommissionForPeriod'] = $hasCommissionForPeriod; + null !== $hasCostsForPeriod && $self['hasCostsForPeriod'] = $hasCostsForPeriod; + null !== $marginPercentage && $self['marginPercentage'] = $marginPercentage; + null !== $month && $self['month'] = $month; + null !== $onlyFansUserID && $self['onlyFansUserID'] = $onlyFansUserID; + null !== $profit && $self['profit'] = $profit; + null !== $projectedNet && $self['projectedNet'] = $projectedNet; + null !== $ratePeriods && $self['ratePeriods'] = $ratePeriods; + null !== $referralNote && $self['referralNote'] = $referralNote; + null !== $totalCosts && $self['totalCosts'] = $totalCosts; + null !== $year && $self['year'] = $year; + + return $self; + } + + public function withActiveMilestones(?string $activeMilestones): self + { + $self = clone $this; + $self['activeMilestones'] = $activeMilestones; + + return $self; + } + + public function withAgencyEarnings(string $agencyEarnings): self + { + $self = clone $this; + $self['agencyEarnings'] = $agencyEarnings; + + return $self; + } + + public function withCommissionAmount(string $commissionAmount): self + { + $self = clone $this; + $self['commissionAmount'] = $commissionAmount; + + return $self; + } + + public function withCommissionRate(string $commissionRate): self + { + $self = clone $this; + $self['commissionRate'] = $commissionRate; + + return $self; + } + + /** + * @param list $costs + */ + public function withCosts(array $costs): self + { + $self = clone $this; + $self['costs'] = $costs; + + return $self; + } + + public function withCreatorName(string $creatorName): self + { + $self = clone $this; + $self['creatorName'] = $creatorName; + + return $self; + } + + public function withHasCommissionForPeriod( + bool $hasCommissionForPeriod + ): self { + $self = clone $this; + $self['hasCommissionForPeriod'] = $hasCommissionForPeriod; + + return $self; + } + + public function withHasCostsForPeriod(bool $hasCostsForPeriod): self + { + $self = clone $this; + $self['hasCostsForPeriod'] = $hasCostsForPeriod; + + return $self; + } + + public function withMarginPercentage(string $marginPercentage): self + { + $self = clone $this; + $self['marginPercentage'] = $marginPercentage; + + return $self; + } + + public function withMonth(int $month): self + { + $self = clone $this; + $self['month'] = $month; + + return $self; + } + + public function withOnlyFansUserID(int $onlyFansUserID): self + { + $self = clone $this; + $self['onlyFansUserID'] = $onlyFansUserID; + + return $self; + } + + public function withProfit(string $profit): self + { + $self = clone $this; + $self['profit'] = $profit; + + return $self; + } + + public function withProjectedNet(string $projectedNet): self + { + $self = clone $this; + $self['projectedNet'] = $projectedNet; + + return $self; + } + + /** + * @param list $ratePeriods + */ + public function withRatePeriods(array $ratePeriods): self + { + $self = clone $this; + $self['ratePeriods'] = $ratePeriods; + + return $self; + } + + public function withReferralNote(?string $referralNote): self + { + $self = clone $this; + $self['referralNote'] = $referralNote; + + return $self; + } + + public function withTotalCosts(string $totalCosts): self + { + $self = clone $this; + $self['totalCosts'] = $totalCosts; + + return $self; + } + + public function withYear(int $year): self + { + $self = clone $this; + $self['year'] = $year; + + return $self; + } +} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php b/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php deleted file mode 100644 index c5580158..00000000 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetHistoryResponseItem.php +++ /dev/null @@ -1,121 +0,0 @@ - */ - use SdkModel; - - #[Optional('gross_revenue')] - public ?float $grossRevenue; - - #[Optional] - public ?float $margin; - - #[Optional] - public ?int $month; - - #[Optional('net_revenue')] - public ?float $netRevenue; - - #[Optional] - public ?float $profit; - - #[Optional] - public ?int $year; - - 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( - ?float $grossRevenue = null, - ?float $margin = null, - ?int $month = null, - ?float $netRevenue = null, - ?float $profit = null, - ?int $year = null, - ): self { - $self = new self; - - null !== $grossRevenue && $self['grossRevenue'] = $grossRevenue; - null !== $margin && $self['margin'] = $margin; - null !== $month && $self['month'] = $month; - null !== $netRevenue && $self['netRevenue'] = $netRevenue; - null !== $profit && $self['profit'] = $profit; - null !== $year && $self['year'] = $year; - - return $self; - } - - public function withGrossRevenue(float $grossRevenue): self - { - $self = clone $this; - $self['grossRevenue'] = $grossRevenue; - - return $self; - } - - public function withMargin(float $margin): self - { - $self = clone $this; - $self['margin'] = $margin; - - return $self; - } - - public function withMonth(int $month): self - { - $self = clone $this; - $self['month'] = $month; - - return $self; - } - - public function withNetRevenue(float $netRevenue): self - { - $self = clone $this; - $self['netRevenue'] = $netRevenue; - - return $self; - } - - public function withProfit(float $profit): self - { - $self = clone $this; - $self['profit'] = $profit; - - return $self; - } - - public function withYear(int $year): self - { - $self = clone $this; - $self['year'] = $year; - - return $self; - } -} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse.php b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse.php new file mode 100644 index 00000000..693f43d2 --- /dev/null +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse.php @@ -0,0 +1,59 @@ +|null + * } + */ +final class ProfitabilityGetProfitabilityResponse implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + /** @var list|null $data */ + #[Optional(list: Data::class)] + public ?array $data; + + 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 $data + */ + public static function with(?array $data = null): self + { + $self = new self; + + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param list $data + */ + public function withData(array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse/Data.php b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse/Data.php new file mode 100644 index 00000000..9d63efa2 --- /dev/null +++ b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponse/Data.php @@ -0,0 +1,287 @@ +|null, + * creatorName?: string|null, + * hasCommissionForPeriod?: bool|null, + * hasCostsForPeriod?: bool|null, + * marginPercentage?: string|null, + * month?: int|null, + * onlyFansUserID?: int|null, + * profit?: string|null, + * projectedNet?: string|null, + * ratePeriods?: list|null, + * referralNote?: string|null, + * totalCosts?: string|null, + * year?: int|null, + * } + */ +final class Data implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + #[Optional(nullable: true)] + public ?string $activeMilestones; + + #[Optional] + public ?string $agencyEarnings; + + #[Optional] + public ?string $commissionAmount; + + #[Optional] + public ?string $commissionRate; + + /** @var list|null $costs */ + #[Optional(list: 'mixed')] + public ?array $costs; + + #[Optional] + public ?string $creatorName; + + #[Optional] + public ?bool $hasCommissionForPeriod; + + #[Optional] + public ?bool $hasCostsForPeriod; + + #[Optional] + public ?string $marginPercentage; + + #[Optional] + public ?int $month; + + #[Optional('onlyFansUserId')] + public ?int $onlyFansUserID; + + #[Optional] + public ?string $profit; + + #[Optional] + public ?string $projectedNet; + + /** @var list|null $ratePeriods */ + #[Optional(list: 'mixed')] + public ?array $ratePeriods; + + #[Optional(nullable: true)] + public ?string $referralNote; + + #[Optional] + public ?string $totalCosts; + + #[Optional] + public ?int $year; + + 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 $costs + * @param list|null $ratePeriods + */ + public static function with( + ?string $activeMilestones = null, + ?string $agencyEarnings = null, + ?string $commissionAmount = null, + ?string $commissionRate = null, + ?array $costs = null, + ?string $creatorName = null, + ?bool $hasCommissionForPeriod = null, + ?bool $hasCostsForPeriod = null, + ?string $marginPercentage = null, + ?int $month = null, + ?int $onlyFansUserID = null, + ?string $profit = null, + ?string $projectedNet = null, + ?array $ratePeriods = null, + ?string $referralNote = null, + ?string $totalCosts = null, + ?int $year = null, + ): self { + $self = new self; + + null !== $activeMilestones && $self['activeMilestones'] = $activeMilestones; + null !== $agencyEarnings && $self['agencyEarnings'] = $agencyEarnings; + null !== $commissionAmount && $self['commissionAmount'] = $commissionAmount; + null !== $commissionRate && $self['commissionRate'] = $commissionRate; + null !== $costs && $self['costs'] = $costs; + null !== $creatorName && $self['creatorName'] = $creatorName; + null !== $hasCommissionForPeriod && $self['hasCommissionForPeriod'] = $hasCommissionForPeriod; + null !== $hasCostsForPeriod && $self['hasCostsForPeriod'] = $hasCostsForPeriod; + null !== $marginPercentage && $self['marginPercentage'] = $marginPercentage; + null !== $month && $self['month'] = $month; + null !== $onlyFansUserID && $self['onlyFansUserID'] = $onlyFansUserID; + null !== $profit && $self['profit'] = $profit; + null !== $projectedNet && $self['projectedNet'] = $projectedNet; + null !== $ratePeriods && $self['ratePeriods'] = $ratePeriods; + null !== $referralNote && $self['referralNote'] = $referralNote; + null !== $totalCosts && $self['totalCosts'] = $totalCosts; + null !== $year && $self['year'] = $year; + + return $self; + } + + public function withActiveMilestones(?string $activeMilestones): self + { + $self = clone $this; + $self['activeMilestones'] = $activeMilestones; + + return $self; + } + + public function withAgencyEarnings(string $agencyEarnings): self + { + $self = clone $this; + $self['agencyEarnings'] = $agencyEarnings; + + return $self; + } + + public function withCommissionAmount(string $commissionAmount): self + { + $self = clone $this; + $self['commissionAmount'] = $commissionAmount; + + return $self; + } + + public function withCommissionRate(string $commissionRate): self + { + $self = clone $this; + $self['commissionRate'] = $commissionRate; + + return $self; + } + + /** + * @param list $costs + */ + public function withCosts(array $costs): self + { + $self = clone $this; + $self['costs'] = $costs; + + return $self; + } + + public function withCreatorName(string $creatorName): self + { + $self = clone $this; + $self['creatorName'] = $creatorName; + + return $self; + } + + public function withHasCommissionForPeriod( + bool $hasCommissionForPeriod + ): self { + $self = clone $this; + $self['hasCommissionForPeriod'] = $hasCommissionForPeriod; + + return $self; + } + + public function withHasCostsForPeriod(bool $hasCostsForPeriod): self + { + $self = clone $this; + $self['hasCostsForPeriod'] = $hasCostsForPeriod; + + return $self; + } + + public function withMarginPercentage(string $marginPercentage): self + { + $self = clone $this; + $self['marginPercentage'] = $marginPercentage; + + return $self; + } + + public function withMonth(int $month): self + { + $self = clone $this; + $self['month'] = $month; + + return $self; + } + + public function withOnlyFansUserID(int $onlyFansUserID): self + { + $self = clone $this; + $self['onlyFansUserID'] = $onlyFansUserID; + + return $self; + } + + public function withProfit(string $profit): self + { + $self = clone $this; + $self['profit'] = $profit; + + return $self; + } + + public function withProjectedNet(string $projectedNet): self + { + $self = clone $this; + $self['projectedNet'] = $projectedNet; + + return $self; + } + + /** + * @param list $ratePeriods + */ + public function withRatePeriods(array $ratePeriods): self + { + $self = clone $this; + $self['ratePeriods'] = $ratePeriods; + + return $self; + } + + public function withReferralNote(?string $referralNote): self + { + $self = clone $this; + $self['referralNote'] = $referralNote; + + return $self; + } + + public function withTotalCosts(string $totalCosts): self + { + $self = clone $this; + $self['totalCosts'] = $totalCosts; + + return $self; + } + + public function withYear(int $year): self + { + $self = clone $this; + $self['year'] = $year; + + return $self; + } +} diff --git a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php b/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php deleted file mode 100644 index 58ba9bb6..00000000 --- a/src/Analytics/Financial/Profitability/ProfitabilityGetProfitabilityResponseItem.php +++ /dev/null @@ -1,149 +0,0 @@ - */ - use SdkModel; - - #[Optional] - public ?float $commission; - - #[Optional('creator_id')] - public ?int $creatorID; - - #[Optional('gross_revenue')] - public ?float $grossRevenue; - - #[Optional] - public ?float $margin; - - #[Optional] - public ?string $name; - - #[Optional('net_revenue')] - public ?float $netRevenue; - - #[Optional] - public ?float $profit; - - #[Optional('total_costs')] - public ?float $totalCosts; - - 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( - ?float $commission = null, - ?int $creatorID = null, - ?float $grossRevenue = null, - ?float $margin = null, - ?string $name = null, - ?float $netRevenue = null, - ?float $profit = null, - ?float $totalCosts = null, - ): self { - $self = new self; - - null !== $commission && $self['commission'] = $commission; - null !== $creatorID && $self['creatorID'] = $creatorID; - null !== $grossRevenue && $self['grossRevenue'] = $grossRevenue; - null !== $margin && $self['margin'] = $margin; - null !== $name && $self['name'] = $name; - null !== $netRevenue && $self['netRevenue'] = $netRevenue; - null !== $profit && $self['profit'] = $profit; - null !== $totalCosts && $self['totalCosts'] = $totalCosts; - - return $self; - } - - public function withCommission(float $commission): self - { - $self = clone $this; - $self['commission'] = $commission; - - return $self; - } - - public function withCreatorID(int $creatorID): self - { - $self = clone $this; - $self['creatorID'] = $creatorID; - - return $self; - } - - public function withGrossRevenue(float $grossRevenue): self - { - $self = clone $this; - $self['grossRevenue'] = $grossRevenue; - - return $self; - } - - public function withMargin(float $margin): self - { - $self = clone $this; - $self['margin'] = $margin; - - return $self; - } - - public function withName(string $name): self - { - $self = clone $this; - $self['name'] = $name; - - return $self; - } - - public function withNetRevenue(float $netRevenue): self - { - $self = clone $this; - $self['netRevenue'] = $netRevenue; - - return $self; - } - - public function withProfit(float $profit): self - { - $self = clone $this; - $self['profit'] = $profit; - - return $self; - } - - public function withTotalCosts(float $totalCosts): self - { - $self = clone $this; - $self['totalCosts'] = $totalCosts; - - return $self; - } -} diff --git a/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php b/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php index d5d23c84..c66d0118 100644 --- a/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php +++ b/src/ServiceContracts/Analytics/Financial/ProfitabilityContract.php @@ -4,8 +4,8 @@ namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponse; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponse; use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; @@ -22,8 +22,6 @@ interface ProfitabilityContract * @param int $months Number of months of history to retrieve (1-60, default 12). Must be at least 1. Must not be greater than 60. * @param RequestOpts|null $requestOptions * - * @return list - * * @throws APIException */ public function getHistory( @@ -31,7 +29,7 @@ public function getHistory( string $accountPrefixedID, ?int $months = null, RequestOptions|array|null $requestOptions = null, - ): array; + ): ProfitabilityGetHistoryResponse; /** * @api @@ -41,8 +39,6 @@ public function getHistory( * @param int $year The year to calculate profitability for * @param RequestOpts|null $requestOptions * - * @return list - * * @throws APIException */ public function getProfitability( @@ -50,5 +46,5 @@ public function getProfitability( int $month, int $year, RequestOptions|array|null $requestOptions = null, - ): array; + ): ProfitabilityGetProfitabilityResponse; } diff --git a/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php b/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php index 9673f037..cba92c05 100644 --- a/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php +++ b/src/ServiceContracts/Analytics/Financial/ProfitabilityRawContract.php @@ -5,9 +5,9 @@ namespace OnlyFansAPI\ServiceContracts\Analytics\Financial; use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponse; use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponse; use OnlyFansAPI\Core\Contracts\BaseResponse; use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; @@ -24,7 +24,7 @@ interface ProfitabilityRawContract * @param array|ProfitabilityGetHistoryParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse> + * @return BaseResponse * * @throws APIException */ @@ -40,7 +40,7 @@ public function getHistory( * @param array|ProfitabilityGetProfitabilityParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse> + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/Analytics/Financial/ProfitabilityRawService.php b/src/Services/Analytics/Financial/ProfitabilityRawService.php index a45d8e7e..51adc110 100644 --- a/src/Services/Analytics/Financial/ProfitabilityRawService.php +++ b/src/Services/Analytics/Financial/ProfitabilityRawService.php @@ -5,12 +5,11 @@ namespace OnlyFansAPI\Services\Analytics\Financial; use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryParams; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponse; use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityParams; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponse; 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; @@ -40,7 +39,7 @@ public function __construct(private Client $client) {} * }|ProfitabilityGetHistoryParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse> + * @return BaseResponse * * @throws APIException */ @@ -63,7 +62,7 @@ public function getHistory( ['accountPrefixedID' => 'account_prefixed_id'] ), options: $options, - convert: new ListOf(ProfitabilityGetHistoryResponseItem::class), + convert: ProfitabilityGetHistoryResponse::class, ); } @@ -77,7 +76,7 @@ public function getHistory( * }|ProfitabilityGetProfitabilityParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse> + * @return BaseResponse * * @throws APIException */ @@ -96,7 +95,7 @@ public function getProfitability( path: 'api/analytics/financial/profitability', body: (object) $parsed, options: $options, - convert: new ListOf(ProfitabilityGetProfitabilityResponseItem::class), + convert: ProfitabilityGetProfitabilityResponse::class, ); } } diff --git a/src/Services/Analytics/Financial/ProfitabilityService.php b/src/Services/Analytics/Financial/ProfitabilityService.php index 038731e5..d362557a 100644 --- a/src/Services/Analytics/Financial/ProfitabilityService.php +++ b/src/Services/Analytics/Financial/ProfitabilityService.php @@ -4,8 +4,8 @@ namespace OnlyFansAPI\Services\Analytics\Financial; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponseItem; -use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponseItem; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponse; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponse; use OnlyFansAPI\Client; use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Core\Util; @@ -42,8 +42,6 @@ public function __construct(private Client $client) * @param int $months Number of months of history to retrieve (1-60, default 12). Must be at least 1. Must not be greater than 60. * @param RequestOpts|null $requestOptions * - * @return list - * * @throws APIException */ public function getHistory( @@ -51,7 +49,7 @@ public function getHistory( string $accountPrefixedID, ?int $months = null, RequestOptions|array|null $requestOptions = null, - ): array { + ): ProfitabilityGetHistoryResponse { $params = Util::removeNulls( ['accountPrefixedID' => $accountPrefixedID, 'months' => $months] ); @@ -72,8 +70,6 @@ public function getHistory( * @param int $year The year to calculate profitability for * @param RequestOpts|null $requestOptions * - * @return list - * * @throws APIException */ public function getProfitability( @@ -81,7 +77,7 @@ public function getProfitability( int $month, int $year, RequestOptions|array|null $requestOptions = null, - ): array { + ): ProfitabilityGetProfitabilityResponse { $params = Util::removeNulls( ['accountIDs' => $accountIDs, 'month' => $month, 'year' => $year] ); diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bf95eefe..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('id'); + $result = $this->client->accounts->disconnect('perspiciatis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Analytics/Financial/ProfitabilityTest.php b/tests/Services/Analytics/Financial/ProfitabilityTest.php index 96bcc2e1..b1ae1ae1 100644 --- a/tests/Services/Analytics/Financial/ProfitabilityTest.php +++ b/tests/Services/Analytics/Financial/ProfitabilityTest.php @@ -2,6 +2,8 @@ namespace Tests\Services\Analytics\Financial; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetHistoryResponse; +use OnlyFansAPI\Analytics\Financial\Profitability\ProfitabilityGetProfitabilityResponse; use OnlyFansAPI\Client; use OnlyFansAPI\Core\Util; use PHPUnit\Framework\Attributes\CoversNothing; @@ -40,7 +42,7 @@ public function testGetHistory(): void ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsList($result); + $this->assertInstanceOf(ProfitabilityGetHistoryResponse::class, $result); } #[Test] @@ -57,7 +59,7 @@ public function testGetHistoryWithOptionalParams(): void ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsList($result); + $this->assertInstanceOf(ProfitabilityGetHistoryResponse::class, $result); } #[Test] @@ -80,7 +82,10 @@ public function testGetProfitability(): void ; // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsList($result); + $this->assertInstanceOf( + ProfitabilityGetProfitabilityResponse::class, + $result + ); } #[Test] @@ -103,6 +108,9 @@ public function testGetProfitabilityWithOptionalParams(): void ; // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertIsList($result); + $this->assertInstanceOf( + ProfitabilityGetProfitabilityResponse::class, + $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 07af05c5..eb3fac7a 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( - 'delectus', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'delectus', + 'pariatur', 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..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( - 'ut', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 8cf6a1b1..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( - 'debitis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'debitis', + '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( - 'debitis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'debitis', + '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 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/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 a459b09d..b6e8ad16 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('laboriosam'); + $result = $this->client->smartLinks->listClicks('est'); // @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('commodi'); + $result = $this->client->smartLinks->listConversions('laudantium'); // @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('quod'); + $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('quo'); + $result = $this->client->smartLinks->listSpenders('ratione'); // @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('architecto'); // @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('consequuntur'); + $result = $this->client->smartLinks->retrieveStats('praesentium'); // @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 23431cf0..b588fa36 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( - 'a', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'a', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'a', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'a', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 45e41f31..b8ec72c2 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptate', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptate', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptate', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptate', + 'quam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'facilis', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'facilis', + 'distinctio', 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'aut', 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 cc3581ab..b5a7d773 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', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'mollitia', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'fugit', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'fugit', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'iste', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'iste', + 'ex', 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', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nihil', + 'dolores', 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 0919dae8..4d146fd8 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: 'tlbsw' + name: 'nmumzwtdvnkxvqlpzaa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'tlbsw' + name: 'nmumzwtdvnkxvqlpzaa' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 16366f08898225796ecee8c1a562538522358437 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 10:13:05 +0000 Subject: [PATCH 137/256] 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 645041be..4bb61de3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-df3df2d21b0960c95367dfab60a292d58a801db828021ab6fb20e551c6d97c76.yml -openapi_spec_hash: e72bafc63b49547ac7fa3c00a26ffa70 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a6de91af3f73af8863fd57ea222f6242aaff9bae1796722d77795ac528da4567.yml +openapi_spec_hash: 2ac12ef0cc0bbc15d545e03e00f227b4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b38a4882..c55a243d 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('perspiciatis'); + $result = $this->client->accounts->disconnect('eligendi'); // @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 eb3fac7a..1d8296be 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( - 'pariatur', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'pariatur', + 'rerum', 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..fb448ea7 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', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'molestiae', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'molestiae', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..7ca8bcd1 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', + 'quod', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'quod', 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', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'quod', 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/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 b6e8ad16..74bb015a 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('est'); + $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('laudantium'); + $result = $this->client->smartLinks->listConversions('rem'); // @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('maiores'); // @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('ratione'); + $result = $this->client->smartLinks->listSpenders('eum'); // @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('architecto'); + $result = $this->client->smartLinks->retrieveCohortArps('dignissimos'); // @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('praesentium'); + $result = $this->client->smartLinks->retrieveStats('in'); // @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 b588fa36..a7423b4b 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( - 'commodi', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'commodi', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'commodi', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'commodi', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b8ec72c2..128a7ea0 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quam', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quam', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quam', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quam', + 'perferendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'distinctio', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'distinctio', + '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( - 'aut', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aut', + 'saepe', 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 b5a7d773..3f6df1ef 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorem', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorem', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ex', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ex', + 'hic', 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( - 'dolores', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolores', + 'quis', 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 4d146fd8..e9074633 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: 'nmumzwtdvnkxvqlpzaa' + name: 'htdcodgwijmafuwwjfqlx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nmumzwtdvnkxvqlpzaa' + name: 'htdcodgwijmafuwwjfqlx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bebd6e800d574dd73a70fc46d62a2bef60aa4da9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:12:57 +0000 Subject: [PATCH 138/256] 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 4bb61de3..fb649295 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a6de91af3f73af8863fd57ea222f6242aaff9bae1796722d77795ac528da4567.yml -openapi_spec_hash: 2ac12ef0cc0bbc15d545e03e00f227b4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8809a2f22eacb6c1d1a475f96f366f011f0724c71956369ac529eb2f94ad6c4b.yml +openapi_spec_hash: b09778c7e838ae9365b3f581f21d1f41 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c55a243d..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('eligendi'); + $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 1d8296be..eb3fac7a 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( - 'rerum', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'rerum', + 'pariatur', 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 fb448ea7..43c9474c 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( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7ca8bcd1..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( - 'quod', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quod', + '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( - 'quod', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quod', + 'commodi', 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 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 74bb015a..bbfd95e2 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('rerum'); // @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('rem'); + $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('maiores'); + $result = $this->client->smartLinks->listFans('hic'); // @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('eum'); + $result = $this->client->smartLinks->listSpenders('cupiditate'); // @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('dignissimos'); + $result = $this->client->smartLinks->retrieveCohortArps('vero'); // @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('in'); + $result = $this->client->smartLinks->retrieveStats('fugiat'); // @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 a7423b4b..79177e96 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( - 'voluptatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatibus', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 128a7ea0..6383e0df 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', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'perferendis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'perferendis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'perferendis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptate', + '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( - 'saepe', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'saepe', + '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 3f6df1ef..19779ec6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'hic', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'hic', + 'at', 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( - 'quis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quis', + '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 e9074633..0915532c 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: 'htdcodgwijmafuwwjfqlx' + name: 'oiico' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'htdcodgwijmafuwwjfqlx' + name: 'oiico' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f2b56a91aa23f53a23db23e78ce7e41641667866 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:13:02 +0000 Subject: [PATCH 139/256] 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 fb649295..a2a66737 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8809a2f22eacb6c1d1a475f96f366f011f0724c71956369ac529eb2f94ad6c4b.yml -openapi_spec_hash: b09778c7e838ae9365b3f581f21d1f41 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-790de70d78e57caccf1b1ef1151aa5a82963727bf6ea4e7287789acf1d8d85a9.yml +openapi_spec_hash: 4b8feb0d572721a94946567b88cb8afe config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 710561df..d3219c84 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('accusantium'); // @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 eb3fac7a..674baa72 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( - 'pariatur', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'pariatur', + 'iste', 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 43c9474c..906f667e 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( - 'eius', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'eius', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'eius', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'eius', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 10b7a0ca..95d35fbf 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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'commodi', + 'quis', 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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'commodi', + 'quis', 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 bbfd95e2..8b871ec3 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('quas'); // @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('libero'); // @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('hic'); + $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('cupiditate'); + $result = $this->client->smartLinks->listSpenders('nesciunt'); // @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('vero'); + $result = $this->client->smartLinks->retrieveCohortArps('corrupti'); // @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('fugiat'); + $result = $this->client->smartLinks->retrieveStats('dolor'); // @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 79177e96..3897a306 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( - 'quis', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quis', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quis', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quis', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6383e0df..d65804c1 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'libero', 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', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'illo', 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 19779ec6..1548d82e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'odit', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'odit', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'at', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'at', + 'amet', 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'atque', 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 0915532c..10e64fd5 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: 'oiico' + name: 'ogsfb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'oiico' + name: 'ogsfb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ac0f9fa336c372eb515761f8ff71dd1cf034a6b2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 15:13:07 +0000 Subject: [PATCH 140/256] 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 a2a66737..18993918 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-790de70d78e57caccf1b1ef1151aa5a82963727bf6ea4e7287789acf1d8d85a9.yml -openapi_spec_hash: 4b8feb0d572721a94946567b88cb8afe +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-449434682caaf52a89773dfbc4930ffcc6cf9eddffc0b3785731e6604317b133.yml +openapi_spec_hash: 38821a96365df106cd24d3db013d5e28 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d3219c84..e1ad0424 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('accusantium'); + $result = $this->client->accounts->disconnect('eum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 674baa72..46985d98 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( - 'iste', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'iste', + 'nihil', 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 906f667e..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( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'minima', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 95d35fbf..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( - 'quis', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quis', + '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( - 'quis', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quis', + 'commodi', 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 8b871ec3..93f88baf 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('quas'); + $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('libero'); + $result = $this->client->smartLinks->listConversions('provident'); // @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('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('nesciunt'); + $result = $this->client->smartLinks->listSpenders('illum'); // @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('corrupti'); + $result = $this->client->smartLinks->retrieveCohortArps('commodi'); // @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('dolor'); + $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 3897a306..fbed4f05 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( - 'assumenda', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'assumenda', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d65804c1..6f14f56e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'libero', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'libero', + 'rem', 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( - 'illo', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'illo', + '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 1548d82e..2baf318f 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', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eveniet', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eveniet', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'amet', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'amet', + 'deserunt', 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( - 'atque', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'atque', + 'soluta', 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 10e64fd5..b3b5d963 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: 'ogsfb' + name: 'vkysvpdrzwhehatlqyipyw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ogsfb' + name: 'vkysvpdrzwhehatlqyipyw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 11e3c2d33a6ebc0ca136bd04ecc9dee6c64eac5c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 20:13:08 +0000 Subject: [PATCH 141/256] 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 | 12 +++++------ tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 18993918..be1a8f1f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-449434682caaf52a89773dfbc4930ffcc6cf9eddffc0b3785731e6604317b133.yml -openapi_spec_hash: 38821a96365df106cd24d3db013d5e28 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2113cdeca9384b46bb6ebef5497bb2d5168355bafedf33f58c858cd59b06b8eb.yml +openapi_spec_hash: e54f6a1f5cd2f16827363e46da00a0e4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e1ad0424..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('eum'); + $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 46985d98..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( - 'nihil', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'nihil', + '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 3a325ed0..ee4d9a8f 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', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 10b7a0ca..13998190 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', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'commodi', + 'repellat', 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', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'commodi', + 'repellat', 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/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 93f88baf..bf63c23a 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('quae'); // @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('provident'); + $result = $this->client->smartLinks->listConversions('tempore'); // @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('velit'); // @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('illum'); + $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('commodi'); + $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('magni'); + $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 fbed4f05..d0051ee6 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( - 'numquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'numquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'numquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'numquam', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6f14f56e..2c33ac67 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'eos', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eos', + '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 2baf318f..3d5a4dc0 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'magnam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'magnam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'magnam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'magnam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'corrupti', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'corrupti', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'deserunt', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'deserunt', + 'et', 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( - 'soluta', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'soluta', + '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 b3b5d963..b4272dc4 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: 'vkysvpdrzwhehatlqyipyw' + name: 'eaihc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vkysvpdrzwhehatlqyipyw' + name: 'eaihc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 75a59e565544eaed1d54bfaf0313b1ec5257bc2b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 21:13:00 +0000 Subject: [PATCH 142/256] 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 be1a8f1f..baf83e2c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2113cdeca9384b46bb6ebef5497bb2d5168355bafedf33f58c858cd59b06b8eb.yml -openapi_spec_hash: e54f6a1f5cd2f16827363e46da00a0e4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6fc9beff8a858c9347e86bd8ea67a7748aeb90592f809411d06283deb32d5057.yml +openapi_spec_hash: a1de5cd20fd285745e197f410847e4cb config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index dacf439d..fad3c683 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('corrupti'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..4da6a6f8 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', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'nisi', 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 ee4d9a8f..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( - 'adipisci', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'adipisci', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'adipisci', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'adipisci', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 13998190..31ac8761 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( - 'repellat', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'repellat', + 'neque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'repellat', + 'neque', 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..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 bf63c23a..f6e0323c 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('quae'); + $result = $this->client->smartLinks->listClicks('est'); // @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('tempore'); + $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('velit'); + $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('provident'); + $result = $this->client->smartLinks->listSpenders('exercitationem'); // @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('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('est'); + $result = $this->client->smartLinks->retrieveStats('ab'); // @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 d0051ee6..79177e96 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( - 'tenetur', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'tenetur', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'tenetur', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'tenetur', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2c33ac67..0efcf4cf 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'iusto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'iusto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'iusto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'iusto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rem', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rem', + 'iure', 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', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ab', + 'impedit', 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 3d5a4dc0..d7845bb6 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', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'non', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'non', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'non', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'suscipit', 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( - 'ut', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + '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 b4272dc4..4015c741 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: 'eaihc' + name: 'p' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'eaihc' + name: 'p' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3a987641f786dfa1db2f33cc8daba7511f07357d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 00:13:04 +0000 Subject: [PATCH 143/256] 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 baf83e2c..644b6746 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6fc9beff8a858c9347e86bd8ea67a7748aeb90592f809411d06283deb32d5057.yml -openapi_spec_hash: a1de5cd20fd285745e197f410847e4cb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f3ae566c4414fa1028a893ffcb915ec516454172ad6f1a170104c435c1db0680.yml +openapi_spec_hash: 21082d6b6aa024f4394dfe9fceb8d803 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fad3c683..d3bc5ef5 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('corrupti'); + $result = $this->client->accounts->disconnect('quam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4da6a6f8..d3d9edac 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( - 'nisi', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'nisi', + 'sit', 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..096853ff 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', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'hic', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 31ac8761..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( - 'neque', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'neque', + '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( - 'neque', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'neque', + '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 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/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 f6e0323c..b435389c 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('est'); + $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('qui'); + $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('fugiat'); + $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('exercitationem'); + $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('vitae'); + $result = $this->client->smartLinks->retrieveCohortArps('quia'); // @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('ab'); + $result = $this->client->smartLinks->retrieveStats('dolor'); // @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 79177e96..930dbd26 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( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quis', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0efcf4cf..419dbf4c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iure', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iure', + '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( - 'impedit', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'impedit', + '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 d7845bb6..da874c00 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'doloremque', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'doloremque', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'doloremque', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'doloremque', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'provident', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consequatur', + 'provident', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'suscipit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'suscipit', + 'saepe', 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'cumque', + 'vel', 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 4015c741..8a4b82a9 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: 'p' + name: 'fhjkiwheanjlohprqewg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'p' + name: 'fhjkiwheanjlohprqewg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 02fe111bb899a8f5d250487f89b183d2cc6ca030 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 01:13:08 +0000 Subject: [PATCH 144/256] 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 644b6746..3175e75b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f3ae566c4414fa1028a893ffcb915ec516454172ad6f1a170104c435c1db0680.yml -openapi_spec_hash: 21082d6b6aa024f4394dfe9fceb8d803 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ab19a29f011d8e3f0906a7677daba1145b83b3febe89057b6041674a9190b9c4.yml +openapi_spec_hash: b1f6250a95965cf76e7e2f8a0842117c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d3bc5ef5..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('quam'); + $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 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 d3d9edac..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( - 'sit', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sit', + '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 096853ff..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( - 'quam', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quam', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quam', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quam', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 9e78af51..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( - 'distinctio', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'distinctio', + '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( - 'distinctio', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'distinctio', + '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 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 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 b435389c..cde34cb0 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('est'); // @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('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('deleniti'); + $result = $this->client->smartLinks->listFans('suscipit'); // @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('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('quia'); + $result = $this->client->smartLinks->retrieveCohortArps('molestiae'); // @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('dolor'); + $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 930dbd26..ebf303a4 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( - 'id', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'id', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 419dbf4c..4ccccdd5 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', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'totam', 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', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'tempora', 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 da874c00..6b77df2c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'minima', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'minima', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'saepe', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'saepe', + 'blanditiis', 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( - 'vel', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'vel', + 'tenetur', 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 8a4b82a9..a125fab5 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: 'fhjkiwheanjlohprqewg' + name: 'ob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fhjkiwheanjlohprqewg' + name: 'ob' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From cc90cd1ed3b2e2ea1c884d0000635fb194a5036c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 13:13:04 +0000 Subject: [PATCH 145/256] 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 3175e75b..b0c31cbc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ab19a29f011d8e3f0906a7677daba1145b83b3febe89057b6041674a9190b9c4.yml -openapi_spec_hash: b1f6250a95965cf76e7e2f8a0842117c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-55cdaa0ad1e4bd209425dcec759d308f8b90a0ce7c84f29386c3125b332e9cb5.yml +openapi_spec_hash: 99b6d39f7f2e7536c159d9abdb111540 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e26540f0..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('dignissimos'); + $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 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..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( - 'eum', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eum', + '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 b29860a1..7620a84e 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', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'distinctio', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'distinctio', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'distinctio', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 19419dab..6f415bae 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( - 'et', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'et', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'et', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'et', + 'in', 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 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 cde34cb0..f622c922 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('est'); + $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('eum'); + $result = $this->client->smartLinks->listConversions('dolorem'); // @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('suscipit'); + $result = $this->client->smartLinks->listFans('nihil'); // @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('saepe'); // @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('molestiae'); + $result = $this->client->smartLinks->retrieveCohortArps('unde'); // @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('repudiandae'); // @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 ebf303a4..c7451732 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( - 'velit', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'velit', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'velit', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'velit', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4ccccdd5..85b6aa2f 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'totam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'totam', + 'id', 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( - 'tempora', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'tempora', + '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 6b77df2c..e1818c10 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'saepe', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'saepe', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'saepe', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'saepe', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'blanditiis', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'blanditiis', + 'ipsa', 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( - 'tenetur', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'tenetur', + 'velit', 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 a125fab5..e081bfb8 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: 'ob' + name: 'jsbiwmhmhmgpdsdgzvjektvlb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ob' + name: 'jsbiwmhmhmgpdsdgzvjektvlb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fdcc20a65525cb33c52dd72b1795198b89a3b141 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 15:13:05 +0000 Subject: [PATCH 146/256] 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 b0c31cbc..dff0bf46 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-55cdaa0ad1e4bd209425dcec759d308f8b90a0ce7c84f29386c3125b332e9cb5.yml -openapi_spec_hash: 99b6d39f7f2e7536c159d9abdb111540 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9f339e5c45287fb09efe3d8a5f09083c691304506fc18333e3edb7937303de7e.yml +openapi_spec_hash: 85b99a47df41db8e0b8309066f06a919 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..9d0ae29e 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('deserunt'); // @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 6ddb7113..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( - 'cupiditate', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'cupiditate', + '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 7620a84e..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( - 'voluptatum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 6f415bae..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( - 'in', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'in', + '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( - 'in', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'in', + 'excepturi', 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..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 f622c922..1a0f8bc6 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('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('dolorem'); + $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('nihil'); + $result = $this->client->smartLinks->listFans('praesentium'); // @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('saepe'); + $result = $this->client->smartLinks->listSpenders('minima'); // @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('unde'); + $result = $this->client->smartLinks->retrieveCohortArps('nihil'); // @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('repudiandae'); + $result = $this->client->smartLinks->retrieveStats('culpa'); // @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 c7451732..40d3ccea 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( - 'sequi', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sequi', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sequi', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sequi', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 85b6aa2f..a3ede381 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', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quo', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'id', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'id', + '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( - 'amet', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'amet', + '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 e1818c10..21e90925 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', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'tempora', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'tempora', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'tempora', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsa', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsa', + 'provident', 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( - 'velit', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'velit', + 'tenetur', 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 e081bfb8..1eff3320 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: 'jsbiwmhmhmgpdsdgzvjektvlb' + name: 'gemvvbac' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jsbiwmhmhmgpdsdgzvjektvlb' + name: 'gemvvbac' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a2d5d8873f9ab2a1b2300e07523b726d04e54d84 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 22:12:58 +0000 Subject: [PATCH 147/256] 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 dff0bf46..14115211 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9f339e5c45287fb09efe3d8a5f09083c691304506fc18333e3edb7937303de7e.yml -openapi_spec_hash: 85b99a47df41db8e0b8309066f06a919 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-041a63ef5b46c0ac8494c91741d40d223505b8508dd1ddfad5bb094f37ec5d3c.yml +openapi_spec_hash: 119decd3feb8e728852f058160f93787 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9d0ae29e..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('deserunt'); + $result = $this->client->accounts->disconnect('quo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..2dddbd37 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', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'minus', 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..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( - 'aut', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5f4de04b..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( - 'excepturi', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'excepturi', + '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( - 'excepturi', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'excepturi', + 'doloremque', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 1a0f8bc6..9fc478a6 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('corrupti'); // @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('distinctio'); // @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('praesentium'); + $result = $this->client->smartLinks->listFans('ut'); // @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('minima'); + $result = $this->client->smartLinks->listSpenders('cumque'); // @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('nihil'); + $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('culpa'); + $result = $this->client->smartLinks->retrieveStats('eos'); // @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 40d3ccea..31841f22 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( - 'cumque', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'cumque', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'cumque', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'cumque', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a3ede381..04025bdd 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'consequatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consequatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consequatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consequatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laudantium', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'laudantium', + 'dolores', 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', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'optio', + '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 21e90925..cb645579 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'labore', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'labore', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'labore', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'labore', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'omnis', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'omnis', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'provident', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'provident', + 'enim', 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( - 'tenetur', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'tenetur', + 'unde', 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 1eff3320..18522965 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: 'gemvvbac' + name: 'b' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gemvvbac' + name: 'b' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a1a011a29f5c788941c7a61118f7102b4a82b4f2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 00:13:07 +0000 Subject: [PATCH 148/256] 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 | 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, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 14115211..11435a3e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-041a63ef5b46c0ac8494c91741d40d223505b8508dd1ddfad5bb094f37ec5d3c.yml -openapi_spec_hash: 119decd3feb8e728852f058160f93787 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-15d7c7ab1c5ce08eb34dbe506907bcd534e15b06a7a9aaf8d8ab99827ab94525.yml +openapi_spec_hash: 1fce83e4a031369817f3f2aa414d6c36 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 384f8ecc..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('quo'); + $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 2dddbd37..42c7f62c 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( - 'minus', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'minus', + 'ab', 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..02a37df8 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'magnam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'magnam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 9947b0eb..11db6fed 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'doloremque', + 'voluptas', 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'doloremque', + 'voluptas', 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 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 9fc478a6..510c99b2 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('corrupti'); + $result = $this->client->smartLinks->listClicks('quos'); // @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('distinctio'); + $result = $this->client->smartLinks->listConversions('iure'); // @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('ut'); + $result = $this->client->smartLinks->listFans('accusantium'); // @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('cumque'); + $result = $this->client->smartLinks->listSpenders('magnam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('eos'); + $result = $this->client->smartLinks->retrieveStats('dicta'); // @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 31841f22..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( - 'magnam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'magnam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'magnam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'magnam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 04025bdd..5f81b16f 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'rem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + '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', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'similique', + 'quis', 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 cb645579..a4953941 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'doloremque', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'doloremque', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'doloremque', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'doloremque', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'numquam', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'numquam', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'quisquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'quisquam', 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( - 'unde', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'unde', + 'ab', 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 18522965..b66ebcc5 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: 'b' + name: 'ytif' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'b' + name: 'ytif' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 12f8cf3cd6b76587416ad7c27a728e6e1a408883 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:12:56 +0000 Subject: [PATCH 149/256] 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 11435a3e..9a8535de 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-15d7c7ab1c5ce08eb34dbe506907bcd534e15b06a7a9aaf8d8ab99827ab94525.yml -openapi_spec_hash: 1fce83e4a031369817f3f2aa414d6c36 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c6528070f047e77438f480687ca6d40a8be89e0d8a0814a3bf1bf82cbf872387.yml +openapi_spec_hash: 8d6cdd5a4c87d87e1b2b47c2eabb808e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0412cae..2c316ef6 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('tempore'); // @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 42c7f62c..7a0e5843 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( - 'ab', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ab', + 'voluptates', 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 02a37df8..2ccadec8 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( - 'vel', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'vel', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 11db6fed..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( - 'voluptas', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptas', + '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( - 'voluptas', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptas', + '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 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 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 510c99b2..ee6d3c2c 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('quos'); + $result = $this->client->smartLinks->listClicks('eveniet'); // @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('iure'); + $result = $this->client->smartLinks->listConversions('ullam'); // @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('accusantium'); + $result = $this->client->smartLinks->listFans('quod'); // @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('magnam'); + $result = $this->client->smartLinks->listSpenders('eveniet'); // @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('ullam'); // @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('dicta'); + $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 68c61dd1..fc3a4615 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', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5f81b16f..fae4be60 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', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'sequi', 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( - 'quis', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quis', + '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 a4953941..01caee76 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'officia', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'minus', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'minus', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quisquam', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quisquam', + 'vero', 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( - 'ab', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ab', + 'occaecati', 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 b66ebcc5..79393117 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: 'ytif' + name: 'awahxqdafgfuyv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ytif' + name: 'awahxqdafgfuyv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ccd75bdce1d0c210f37b7287fa5c0f48acfcfef4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 12:12:58 +0000 Subject: [PATCH 150/256] 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 9a8535de..68287c7e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c6528070f047e77438f480687ca6d40a8be89e0d8a0814a3bf1bf82cbf872387.yml -openapi_spec_hash: 8d6cdd5a4c87d87e1b2b47c2eabb808e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-01a36afdb584925f04ebb7eacd9df231623257a73abded85f33015f1cf96b9ed.yml +openapi_spec_hash: 0456bdf0e807bfc55a063531860baabe config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 2c316ef6..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('tempore'); + $result = $this->client->accounts->disconnect('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 7a0e5843..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( - 'voluptates', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptates', + '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 2ccadec8..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( - 'architecto', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'architecto', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'architecto', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'architecto', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5c1d9f82..4f8175b9 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', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'molestiae', + 'maiores', 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', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'molestiae', + 'maiores', 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..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 ee6d3c2c..85bdc15e 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('eveniet'); + $result = $this->client->smartLinks->listClicks('alias'); // @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('ullam'); + $result = $this->client->smartLinks->listConversions('alias'); // @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('quod'); + $result = $this->client->smartLinks->listFans('odit'); // @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('eveniet'); + $result = $this->client->smartLinks->listSpenders('modi'); // @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('ullam'); + $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('voluptatem'); + $result = $this->client->smartLinks->retrieveStats('eaque'); // @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 fc3a4615..3897a306 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( - 'hic', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'hic', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'hic', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'hic', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index fae4be60..d9cebb7e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aperiam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aperiam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aperiam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aperiam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sequi', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sequi', + '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( - 'amet', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'amet', + 'qui', 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 01caee76..58f81add 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vero', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vero', + 'incidunt', 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( - 'occaecati', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'occaecati', + 'nam', 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 79393117..369f2b8a 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: 'awahxqdafgfuyv' + name: 'zoq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'awahxqdafgfuyv' + name: 'zoq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 4e57b3d2445c26ca27da00ba425ba7722bfc7936 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 14:13:03 +0000 Subject: [PATCH 151/256] 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 | 12 +++++------ tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 68287c7e..38fafd7d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-01a36afdb584925f04ebb7eacd9df231623257a73abded85f33015f1cf96b9ed.yml -openapi_spec_hash: 0456bdf0e807bfc55a063531860baabe +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e2dcdf1d37470083699388e29cc1e4e3431d0f7ade8f4b5a3f533582d6f1962f.yml +openapi_spec_hash: 3120a74696192c9caba063ac8819cd9a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..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('voluptatem'); + $result = $this->client->accounts->disconnect('sed'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 5c5689fe..5f12f70d 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eos', + 'architecto', 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..130f6eec 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', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4f8175b9..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( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'maiores', + '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( - 'maiores', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'maiores', + '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 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 85bdc15e..1eca175a 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('alias'); + $result = $this->client->smartLinks->listClicks('non'); // @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('alias'); + $result = $this->client->smartLinks->listConversions('voluptas'); // @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('odit'); + $result = $this->client->smartLinks->listFans('fugit'); // @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('modi'); + $result = $this->client->smartLinks->listSpenders('velit'); // @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('sed'); + $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('eaque'); + $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 3897a306..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( - 'assumenda', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'assumenda', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'assumenda', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d9cebb7e..231b6e73 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', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'non', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'qui', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'qui', + '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 58f81add..8606062b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'impedit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'impedit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'impedit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'impedit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloribus', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloribus', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + '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( - 'nam', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nam', + 'velit', 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 369f2b8a..1f64a69d 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: 'zoq' + name: 'gxqtxbdqztcdhrnkjlvlbe' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zoq' + name: 'gxqtxbdqztcdhrnkjlvlbe' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bdedf2395591ddf9bd887cd4b349652b9e81afc5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 18:12:59 +0000 Subject: [PATCH 152/256] 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 38fafd7d..55731ce1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e2dcdf1d37470083699388e29cc1e4e3431d0f7ade8f4b5a3f533582d6f1962f.yml -openapi_spec_hash: 3120a74696192c9caba063ac8819cd9a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-26ebb935287d50cd67c7c1a83955cccb0e814c5e47d83c48dec5db33ae44ace5.yml +openapi_spec_hash: 389a2c1bc272a11e72aec8f0f64560ec config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 93269c12..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('sed'); + $result = $this->client->accounts->disconnect('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 5f12f70d..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( - 'architecto', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'architecto', + '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 130f6eec..ba7447c0 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( - 'nesciunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nesciunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7ee39e13..61b4f119 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', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'autem', + 'asperiores', 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', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'autem', + 'asperiores', 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/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 1eca175a..0173b5fb 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('non'); + $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('voluptas'); + $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('fugit'); + $result = $this->client->smartLinks->listFans('mollitia'); // @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('velit'); + $result = $this->client->smartLinks->listSpenders('similique'); // @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('praesentium'); + $result = $this->client->smartLinks->retrieveCohortArps('ea'); // @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('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 262940c5..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( - 'repudiandae', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'repudiandae', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'repudiandae', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'repudiandae', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 231b6e73..f443d9fe 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', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consequuntur', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'quis', 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', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'maiores', + '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 8606062b..178fd21b 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quasi', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quasi', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quasi', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quasi', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quo', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quo', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laboriosam', + '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( - 'velit', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'velit', + '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 1f64a69d..4e50474b 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: 'gxqtxbdqztcdhrnkjlvlbe' + name: 'ctwlutx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gxqtxbdqztcdhrnkjlvlbe' + name: 'ctwlutx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c0ece4e81d37fca61e9a56a173b5a7a19f24d4df Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 23:12:57 +0000 Subject: [PATCH 153/256] 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 55731ce1..6efd71c3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-26ebb935287d50cd67c7c1a83955cccb0e814c5e47d83c48dec5db33ae44ace5.yml -openapi_spec_hash: 389a2c1bc272a11e72aec8f0f64560ec +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e12f61ff0acdb5832afdd253f567601cbbe31db92e34533118b7a9eccb37f51f.yml +openapi_spec_hash: 8c69bc362f13e5cf4d69d19d88ac5ade config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6bfb8e9c..2524bb94 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('soluta'); // @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..722a016c 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', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'repudiandae', 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 ba7447c0..a9f56853 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( - 'saepe', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'saepe', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'saepe', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'saepe', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 61b4f119..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( - 'asperiores', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'asperiores', + '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( - 'asperiores', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'asperiores', + 'aspernatur', 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..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 0173b5fb..f6f59f52 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('corporis'); // @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('enim'); // @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('mollitia'); + $result = $this->client->smartLinks->listFans('non'); // @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('similique'); + $result = $this->client->smartLinks->listSpenders('possimus'); // @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('ea'); + $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('non'); + $result = $this->client->smartLinks->retrieveStats('qui'); // @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..f57e6bfa 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sapiente', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sapiente', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sapiente', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f443d9fe..5a015f3e 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', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quo', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quo', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + 'veritatis', 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', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'cupiditate', + '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 178fd21b..ddc26222 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sequi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sequi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sequi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sequi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + '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( - 'facere', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'facere', + 'deserunt', 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 4e50474b..2ad8dbc7 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: 'ctwlutx' + name: 'rdr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ctwlutx' + name: 'rdr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a4fdaf5c384493fed4ad4ee3d3ef5b912ab05128 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:12:57 +0000 Subject: [PATCH 154/256] 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 6efd71c3..f6dc4e33 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e12f61ff0acdb5832afdd253f567601cbbe31db92e34533118b7a9eccb37f51f.yml -openapi_spec_hash: 8c69bc362f13e5cf4d69d19d88ac5ade +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3d3cb65f2ac8955049fbe2fb7cd3f8049ffe7de8e6fcee723f46e3351e7e0e32.yml +openapi_spec_hash: c3fb2b1a8d027d707132b0ff8a3d55f2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 2524bb94..db3a9792 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('soluta'); + $result = $this->client->accounts->disconnect('quasi'); // @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 722a016c..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( - 'repudiandae', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repudiandae', + '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 a9f56853..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( - 'dolor', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolor', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolor', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolor', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0831cab1..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( - 'aspernatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aspernatur', + '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( - 'aspernatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aspernatur', + '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..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 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 f6f59f52..c1501eb7 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('corporis'); + $result = $this->client->smartLinks->listClicks('quod'); // @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('enim'); + $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('non'); + $result = $this->client->smartLinks->listFans('illum'); // @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('possimus'); + $result = $this->client->smartLinks->listSpenders('tempore'); // @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('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('qui'); + $result = $this->client->smartLinks->retrieveStats('sed'); // @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 f57e6bfa..0cf762bf 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( - 'qui', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'qui', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5a015f3e..f4e437eb 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'debitis', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'debitis', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'debitis', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'debitis', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veritatis', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veritatis', + 'blanditiis', 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', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + 'iste', 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 ddc26222..875a37c0 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', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'eos', 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( - 'deserunt', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'deserunt', + '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 2ad8dbc7..dae5909f 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: 'rdr' + name: 'z' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rdr' + name: 'z' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From dc85f80e4ba9376cfff5c48f086e616a467e048d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 01:12:57 +0000 Subject: [PATCH 155/256] 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 f6dc4e33..c3cd2bd8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3d3cb65f2ac8955049fbe2fb7cd3f8049ffe7de8e6fcee723f46e3351e7e0e32.yml -openapi_spec_hash: c3fb2b1a8d027d707132b0ff8a3d55f2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-36a34e98b3940e300dd61470f46cfaa4d2367212eb6fe5e28cab591b03431aa4.yml +openapi_spec_hash: cb026c2e941ca8223507659f8698efae config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index db3a9792..8493c875 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('quasi'); + $result = $this->client->accounts->disconnect('rem'); // @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..d52e77ee 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', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + 'sapiente', 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..096853ff 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', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quo', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quo', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..327ed8d5 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', + 'quas', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'quas', 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', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'quas', 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 c1501eb7..6e0191f3 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('quod'); + $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('magnam'); + $result = $this->client->smartLinks->listConversions('a'); // @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('illum'); + $result = $this->client->smartLinks->listFans('harum'); // @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('tempore'); + $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('qui'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatum'); // @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('sed'); + $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 0cf762bf..f275968b 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( - 'modi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'modi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'modi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'modi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f4e437eb..1e71c958 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'beatae', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'beatae', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'beatae', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'beatae', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'blanditiis', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'blanditiis', + 'sunt', 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( - 'iste', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'iste', + 'eum', 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 875a37c0..b28c39a9 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', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'natus', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'natus', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'rerum', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'rerum', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + '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( - 'ut', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + '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 dae5909f..80d9dcd2 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: 'z' + name: 'zqowrzgqmbakndyzrymplnfm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'z' + name: 'zqowrzgqmbakndyzrymplnfm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d4121f8403acd5114255cd43df59a4b132261398 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 08:13:04 +0000 Subject: [PATCH 156/256] 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 c3cd2bd8..0eb86f6a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-36a34e98b3940e300dd61470f46cfaa4d2367212eb6fe5e28cab591b03431aa4.yml -openapi_spec_hash: cb026c2e941ca8223507659f8698efae +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f1c9930d33ddf0d139a8728fdf0d92d20e441e831dc39528ab512f0ad034444d.yml +openapi_spec_hash: 3ef1bf6a797a4847c4a57725ae478b3e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 8493c875..570871ed 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('rem'); + $result = $this->client->accounts->disconnect('saepe'); // @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 d52e77ee..7a0e5843 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( - 'sapiente', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sapiente', + 'voluptates', 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 096853ff..35d801f1 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( - 'quam', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quam', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quam', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quam', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 327ed8d5..ce1b97fe 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( - 'quas', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quas', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quas', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quas', + 'ipsa', 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..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 6e0191f3..0fd7eae3 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('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('a'); + $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('harum'); + $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('eos'); + $result = $this->client->smartLinks->listSpenders('quia'); // @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('voluptatum'); + $result = $this->client->smartLinks->retrieveCohortArps('eaque'); // @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('ab'); // @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 f275968b..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( - 'illum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'illum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'illum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'illum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1e71c958..966d7093 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', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sunt', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sunt', + '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( - 'eum', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eum', + 'vero', 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 b28c39a9..a14d20dc 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'officia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'odit', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'odit', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'nostrum', 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + '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 80d9dcd2..8b5aa521 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: 'zqowrzgqmbakndyzrymplnfm' + name: 'mkvjyixndb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zqowrzgqmbakndyzrymplnfm' + name: 'mkvjyixndb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e27ee20392191505e3205a1b429ede316b46cb95 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 08:13:02 +0000 Subject: [PATCH 157/256] 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 0eb86f6a..871a8270 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f1c9930d33ddf0d139a8728fdf0d92d20e441e831dc39528ab512f0ad034444d.yml -openapi_spec_hash: 3ef1bf6a797a4847c4a57725ae478b3e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8b7feba0cc4520cd65c7dfe7349674e954c9b075138cda731665775edfa201e0.yml +openapi_spec_hash: 656c3c07cad3b8c757d272514470448f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 570871ed..ad75fed7 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('saepe'); + $result = $this->client->accounts->disconnect('expedita'); // @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 7a0e5843..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( - 'voluptates', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptates', + '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 35d801f1..3d01fc50 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( - 'expedita', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'expedita', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'expedita', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'expedita', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce1b97fe..6f415bae 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( - 'ipsa', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ipsa', + 'in', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ipsa', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ipsa', + 'in', 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 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 0fd7eae3..42a1a7d6 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('provident'); // @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('placeat'); // @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('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('quia'); + $result = $this->client->smartLinks->listSpenders('magnam'); // @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('nemo'); // @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('ab'); + $result = $this->client->smartLinks->retrieveStats('deserunt'); // @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..b969a3a5 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', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatem', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 966d7093..0a8f2743 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dignissimos', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dignissimos', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dignissimos', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dignissimos', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + '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( - 'vero', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'vero', + 'est', 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 a14d20dc..42d723a8 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', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'officia', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'autem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'autem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nostrum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nostrum', + '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( - 'id', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'temporibus', 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 8b5aa521..8b8e3aea 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: 'mkvjyixndb' + name: 'kftqavblvcgzffzaoya' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mkvjyixndb' + name: 'kftqavblvcgzffzaoya' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 204edc426c87747e85cad26f75182262b51f71ca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 15:13:02 +0000 Subject: [PATCH 158/256] 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 871a8270..0148b494 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8b7feba0cc4520cd65c7dfe7349674e954c9b075138cda731665775edfa201e0.yml -openapi_spec_hash: 656c3c07cad3b8c757d272514470448f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6a85f7df1fee73c1b174a0b2a914f7081920dc2f53e461766847cd10d6984294.yml +openapi_spec_hash: c1ae3f281edc9291039ee353173030eb config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index ad75fed7..e9374849 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('expedita'); + $result = $this->client->accounts->disconnect('alias'); // @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 3d01fc50..4e4775cf 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( - 'excepturi', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'excepturi', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'excepturi', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'excepturi', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 6f415bae..bb233190 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( - 'in', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'in', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'in', + 'ullam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'in', + 'ullam', 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..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/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 42a1a7d6..3202578f 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('provident'); + $result = $this->client->smartLinks->listClicks('porro'); // @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('placeat'); + $result = $this->client->smartLinks->listConversions('voluptas'); // @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('aspernatur'); // @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('magnam'); + $result = $this->client->smartLinks->listSpenders('pariatur'); // @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('nemo'); + $result = $this->client->smartLinks->retrieveCohortArps('delectus'); // @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('deserunt'); + $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 b969a3a5..a9ebed11 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( - 'soluta', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'soluta', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'soluta', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'soluta', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0a8f2743..531a8b38 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'alias', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'alias', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'alias', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'alias', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'cumque', 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( - 'est', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + 'culpa', 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 42d723a8..5f65e774 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'est', + 'voluptatem', 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( - 'temporibus', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'temporibus', + '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 8b8e3aea..73db89e5 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: 'kftqavblvcgzffzaoya' + name: 'dxsiz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kftqavblvcgzffzaoya' + name: 'dxsiz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From be61b6a7727ac8cefcf79478118479888b15759b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 23:13:13 +0000 Subject: [PATCH 159/256] 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 0148b494..3f68a395 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6a85f7df1fee73c1b174a0b2a914f7081920dc2f53e461766847cd10d6984294.yml -openapi_spec_hash: c1ae3f281edc9291039ee353173030eb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0e8b4a79ddd808a1468346fce7d1685b3b93f4515751c2e7f4bd5a5e33f9f0f6.yml +openapi_spec_hash: 335c18ffed884345ed897a69e7136977 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e9374849..bef331c9 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('alias'); + $result = $this->client->accounts->disconnect('veritatis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..81a4e4ad 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', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'autem', 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 4e4775cf..a611bcdb 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( - 'quaerat', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quaerat', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quaerat', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quaerat', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index bb233190..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( - 'ullam', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ullam', + '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( - 'ullam', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ullam', + '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 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 3202578f..a1a41d96 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('porro'); + $result = $this->client->smartLinks->listClicks('deserunt'); // @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('voluptas'); + $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('aspernatur'); + $result = $this->client->smartLinks->listFans('id'); // @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('pariatur'); + $result = $this->client->smartLinks->listSpenders('amet'); // @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('delectus'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('commodi'); // @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 a9ebed11..0a0e471f 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( - 'cum', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'cum', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'cum', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'cum', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 531a8b38..e199e3f7 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consequuntur', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consequuntur', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'cumque', + '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( - 'culpa', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'culpa', + 'sit', 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 5f65e774..601f0bfa 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quos', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quos', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'et', 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', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + '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 73db89e5..2b8b985f 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: 'dxsiz' + name: 'apgkkcqiviorhjabmukvzja' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dxsiz' + name: 'apgkkcqiviorhjabmukvzja' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From adf4188a1f29eed6d71b03218cad7c967b59c720 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:13:04 +0000 Subject: [PATCH 160/256] feat(api): api update --- .stats.yml | 4 ++-- .../AuthenticateStartParams/ProxyCountry.php | 2 ++ .../ProxyCountry.php | 2 ++ 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 ++-- 14 files changed, 50 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3f68a395..b4a6f02c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0e8b4a79ddd808a1468346fce7d1685b3b93f4515751c2e7f4bd5a5e33f9f0f6.yml -openapi_spec_hash: 335c18ffed884345ed897a69e7136977 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2b88a81ce8286a53ab076c2d88f608eca6465cf308cc49e724069aecbc025659.yml +openapi_spec_hash: 9fde29c614fad30540a96578a785c53b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Authenticate/AuthenticateStartParams/ProxyCountry.php b/src/Authenticate/AuthenticateStartParams/ProxyCountry.php index 861bcdc0..0fab484a 100644 --- a/src/Authenticate/AuthenticateStartParams/ProxyCountry.php +++ b/src/Authenticate/AuthenticateStartParams/ProxyCountry.php @@ -12,4 +12,6 @@ enum ProxyCountry: string case US = 'us'; case UK = 'uk'; + + case GB = 'gb'; } diff --git a/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php b/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php index 54e1fe2e..9498aa7f 100644 --- a/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php +++ b/src/ClientSessions/ClientSessionCreateParams/ProxyCountry.php @@ -9,4 +9,6 @@ enum ProxyCountry: string case US = 'us'; case UK = 'uk'; + + case GB = 'gb'; } diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bef331c9..da552f86 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('veritatis'); + $result = $this->client->accounts->disconnect('iusto'); // @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 81a4e4ad..ad7181f6 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( - 'autem', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'autem', + 'inventore', 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 a611bcdb..197f0afc 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( - 'nisi', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nisi', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nisi', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nisi', + 'ad', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2c5fa47b..73e5e34d 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', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quibusdam', + 'sunt', 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', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quibusdam', + 'sunt', 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 a1a41d96..2d960f7d 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('deserunt'); + $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('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('id'); + $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('amet'); + $result = $this->client->smartLinks->listSpenders('nemo'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('excepturi'); // @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('commodi'); + $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 0a0e471f..6bfe21e8 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( - 'amet', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'amet', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'amet', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'amet', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e199e3f7..4e6c93f3 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eos', + '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( - 'sit', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sit', + 'aspernatur', 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 601f0bfa..7ed9bf54 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ipsa', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ipsa', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ipsa', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ipsa', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + '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( - 'hic', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'hic', + 'quos', 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 2b8b985f..e7fc5351 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: 'apgkkcqiviorhjabmukvzja' + name: 'xsufxxvutpwjotonb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'apgkkcqiviorhjabmukvzja' + name: 'xsufxxvutpwjotonb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ede5ea75da025bb9726609b583dcc0d193b3b7ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 16:13:02 +0000 Subject: [PATCH 161/256] 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 b4a6f02c..31642603 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2b88a81ce8286a53ab076c2d88f608eca6465cf308cc49e724069aecbc025659.yml -openapi_spec_hash: 9fde29c614fad30540a96578a785c53b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c7b4dde3eb431e3c636e2b6bc3a7bc40aaee037783648040876793082942a877.yml +openapi_spec_hash: b2059518c78b8c03fcbd4e1773ff4d77 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index da552f86..3fd8128e 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('iusto'); + $result = $this->client->accounts->disconnect('ratione'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ad7181f6..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( - 'inventore', + 'odio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'inventore', + '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 197f0afc..82f366e2 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( - 'ad', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ad', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ad', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ad', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 73e5e34d..83809929 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( - 'sunt', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sunt', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'sunt', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sunt', + 'illum', 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..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 2d960f7d..f500aead 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('tenetur'); // @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('alias'); // @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('earum'); // @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('nemo'); + $result = $this->client->smartLinks->listSpenders('rerum'); // @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('excepturi'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptas'); // @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('ad'); // @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 6bfe21e8..08bf33f4 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( - 'quam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4e6c93f3..200934fc 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + '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( - 'aspernatur', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aspernatur', + 'quidem', 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 7ed9bf54..65492328 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'culpa', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'culpa', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'atque', 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( - 'quos', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quos', + 'voluptatibus', 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 e7fc5351..bb40d954 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: 'xsufxxvutpwjotonb' + name: 'masdmhkug' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xsufxxvutpwjotonb' + name: 'masdmhkug' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 311b00787f6fbf95903b82e70ea6b3b604a18ec3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2026 20:13:13 +0000 Subject: [PATCH 162/256] 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/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 31642603..413b1a0b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-c7b4dde3eb431e3c636e2b6bc3a7bc40aaee037783648040876793082942a877.yml -openapi_spec_hash: b2059518c78b8c03fcbd4e1773ff4d77 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-21d291b11e206bb0be96b00be6fa31f7147e4d0a978da43dff0a432f2a194622.yml +openapi_spec_hash: 39d38a123d98e9b87ee381af89939aa6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3fd8128e..3801b976 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('ratione'); + $result = $this->client->accounts->disconnect('repellat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index fdc635ba..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( - 'odio', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'odio', + '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 82f366e2..cb4404a3 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( - 'iure', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'iure', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'iure', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'iure', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 83809929..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( - 'illum', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'illum', + '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( - 'illum', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'illum', + '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..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 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 f500aead..1f7d8628 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('tenetur'); + $result = $this->client->smartLinks->listClicks('omnis'); // @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('alias'); + $result = $this->client->smartLinks->listConversions('consequatur'); // @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('earum'); + $result = $this->client->smartLinks->listFans('perspiciatis'); // @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('rerum'); + $result = $this->client->smartLinks->listSpenders('accusantium'); // @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('voluptas'); + $result = $this->client->smartLinks->retrieveCohortArps('tempore'); // @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('ad'); + $result = $this->client->smartLinks->retrieveStats('eligendi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 200934fc..c9573977 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'est', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'quaerat', 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( - 'quidem', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quidem', + 'eaque', 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 65492328..bab3aff6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'nihil', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'nihil', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'atque', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'atque', + 'dolores', 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( - 'voluptatibus', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatibus', + 'harum', 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 bb40d954..481b43b6 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: 'masdmhkug' + name: 'azvwfnhvnpc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'masdmhkug' + name: 'azvwfnhvnpc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5a9bc71f33c8d61cee2ed8d7b7009132c99154e0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 11:13:04 +0000 Subject: [PATCH 163/256] 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 413b1a0b..5a6480d1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-21d291b11e206bb0be96b00be6fa31f7147e4d0a978da43dff0a432f2a194622.yml -openapi_spec_hash: 39d38a123d98e9b87ee381af89939aa6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50d4af8593e2d4714996fafef6e9b27e902610950c16792647e0ea68979996a1.yml +openapi_spec_hash: 63b80ae0875ffd0ee9fc524038866b4a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3801b976..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('repellat'); + $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 54120be1..1d0dfae6 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', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'omnis', 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 cb4404a3..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( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quos', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 458e2438..512eb224 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', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'qui', + 'nesciunt', 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', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'qui', + 'nesciunt', 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/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 1f7d8628..033f209a 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('omnis'); + $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('consequatur'); + $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('perspiciatis'); + $result = $this->client->smartLinks->listFans('doloremque'); // @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('accusantium'); + $result = $this->client->smartLinks->listSpenders('perspiciatis'); // @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('tempore'); + $result = $this->client->smartLinks->retrieveCohortArps('enim'); // @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('eligendi'); + $result = $this->client->smartLinks->retrieveStats('officia'); // @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 08bf33f4..590c31cd 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( - 'eos', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'eos', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'eos', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c9573977..564e5789 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'sequi', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'sequi', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'sequi', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'sequi', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quaerat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quaerat', + '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( - 'eaque', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eaque', + 'tenetur', 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 bab3aff6..cad6f06d 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', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'vero', 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( - 'harum', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'harum', + 'nemo', 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 481b43b6..64599163 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: 'azvwfnhvnpc' + name: 'yfuqlstvkuqxlmqzogxka' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'azvwfnhvnpc' + name: 'yfuqlstvkuqxlmqzogxka' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 563135152037a9b4b992846f0464b365271b4ce8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 14:13:00 +0000 Subject: [PATCH 164/256] 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 5a6480d1..0f50575f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-50d4af8593e2d4714996fafef6e9b27e902610950c16792647e0ea68979996a1.yml -openapi_spec_hash: 63b80ae0875ffd0ee9fc524038866b4a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a884c4303875cc51be36e23eb25753e78483e574ff7993d762efe007a6bcd4ba.yml +openapi_spec_hash: 07d0321b2ed079c79539babf99c860fd config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 545acc91..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('nobis'); + $result = $this->client->accounts->disconnect('aut'); // @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 1d0dfae6..d36f5b1a 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( - 'omnis', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'omnis', + 'laboriosam', 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..130f6eec 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', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 512eb224..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( - 'nesciunt', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nesciunt', + '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( - 'nesciunt', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nesciunt', + '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 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 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 033f209a..a3029f7b 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('iste'); // @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('non'); // @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('doloremque'); + $result = $this->client->smartLinks->listFans('harum'); // @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('perspiciatis'); + $result = $this->client->smartLinks->listSpenders('nulla'); // @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('enim'); + $result = $this->client->smartLinks->retrieveCohortArps('distinctio'); // @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('officia'); + $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 590c31cd..6fd9f8bc 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( - 'laboriosam', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'laboriosam', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'laboriosam', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'laboriosam', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 564e5789..512a59a5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'dolor', 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( - 'tenetur', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'tenetur', + 'aut', 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 cad6f06d..bc16fbfa 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', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vero', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vero', + 'illo', 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( - 'nemo', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nemo', + '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 64599163..f56a1c6c 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: 'yfuqlstvkuqxlmqzogxka' + name: 'napxhofmbngxgehkead' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yfuqlstvkuqxlmqzogxka' + name: 'napxhofmbngxgehkead' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 63b803bb16c98fe9cc6263c50812fcfbc840e603 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 15:13:02 +0000 Subject: [PATCH 165/256] 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 0f50575f..1b3e4032 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a884c4303875cc51be36e23eb25753e78483e574ff7993d762efe007a6bcd4ba.yml -openapi_spec_hash: 07d0321b2ed079c79539babf99c860fd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3ba30d96f1276dfa96866091f03f2648fe2567da747121a4102e705242f81c97.yml +openapi_spec_hash: 428f92a8457a26c9c5b5a54ad7258ea9 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..5b41135d 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('architecto'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index d36f5b1a..2f58ad30 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( - 'laboriosam', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'laboriosam', + 'minima', 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 130f6eec..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( - 'nesciunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nesciunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nesciunt', + 'est', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 458e2438..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( - 'qui', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'qui', + '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( - 'qui', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'qui', + 'nihil', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index a3029f7b..bce6de93 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('iste'); + $result = $this->client->smartLinks->listClicks('omnis'); // @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('non'); + $result = $this->client->smartLinks->listConversions('hic'); // @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('harum'); + $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('nulla'); + $result = $this->client->smartLinks->listSpenders('laudantium'); // @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('distinctio'); + $result = $this->client->smartLinks->retrieveCohortArps('numquam'); // @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('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 6fd9f8bc..f57e6bfa 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( - 'sed', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sed', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 512a59a5..b91c14a2 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( - 'dolor', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolor', + 'vitae', 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( - 'aut', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aut', + '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 bc16fbfa..a7c8e016 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'at', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'at', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'illo', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'illo', + '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( - 'ipsa', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'itaque', 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 f56a1c6c..d5720a8c 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: 'napxhofmbngxgehkead' + name: 'lgtzlknyaqdualbphbbvjsc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'napxhofmbngxgehkead' + name: 'lgtzlknyaqdualbphbbvjsc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 43fb611720f0c6f1f6881cc76693b182f0ec38d1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 17:13:01 +0000 Subject: [PATCH 166/256] 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 1b3e4032..a2e05679 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3ba30d96f1276dfa96866091f03f2648fe2567da747121a4102e705242f81c97.yml -openapi_spec_hash: 428f92a8457a26c9c5b5a54ad7258ea9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b0881e4e39fd4846c30b469a75a965ad46313b2b9e0c8b777efbd6331792193a.yml +openapi_spec_hash: 3b45d2ff6143144238904ca5c4a2ee86 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5b41135d..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('architecto'); + $result = $this->client->accounts->disconnect('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 2f58ad30..feb28027 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( - 'minima', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'minima', + 'alias', 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..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( - 'est', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'est', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'est', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59b84195..7480a3c0 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'dolor', 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'dolor', 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 bce6de93..fc014ec6 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('omnis'); + $result = $this->client->smartLinks->listClicks('tenetur'); // @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('hic'); + $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('voluptates'); + $result = $this->client->smartLinks->listFans('eius'); // @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('laudantium'); + $result = $this->client->smartLinks->listSpenders('consequatur'); // @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('numquam'); + $result = $this->client->smartLinks->retrieveCohortArps('sit'); // @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('corrupti'); // @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 f57e6bfa..71f71af0 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( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b91c14a2..66b9040a 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', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vitae', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vitae', + 'asperiores', 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', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'consequatur', + 'sequi', 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 a7c8e016..d6d872df 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'libero', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'libero', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'libero', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'libero', + 'sed', 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( - 'perspiciatis', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'perspiciatis', + 'aperiam', 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( - 'itaque', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'itaque', + '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 d5720a8c..ea2a6f1d 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: 'lgtzlknyaqdualbphbbvjsc' + name: 'yujeziqxylahfzypdppgq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lgtzlknyaqdualbphbbvjsc' + name: 'yujeziqxylahfzypdppgq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7c65e34fb796753af717aacfdfc767602e7c3d90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 18:13:06 +0000 Subject: [PATCH 167/256] 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 a2e05679..43fa54e4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b0881e4e39fd4846c30b469a75a965ad46313b2b9e0c8b777efbd6331792193a.yml -openapi_spec_hash: 3b45d2ff6143144238904ca5c4a2ee86 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-11207d3e495c1f7a8737309c2a8c2e0ab11b7e07a76c8ff14a06d1860f09e8b1.yml +openapi_spec_hash: b708bddabd5527e01b859b69d3bd12da config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..e1ad0424 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('eum'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index feb28027..bf0d60f5 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( - 'alias', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'alias', + 'dolorem', 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..2edc361e 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7480a3c0..2d728ade 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( - 'dolor', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolor', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolor', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolor', + 'iste', 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 fc014ec6..2a2b349e 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('tenetur'); + $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('quis'); + $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('eius'); + $result = $this->client->smartLinks->listFans('ad'); // @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('consequatur'); + $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('sit'); + $result = $this->client->smartLinks->retrieveCohortArps('at'); // @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('corrupti'); + $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 71f71af0..7b8e88f3 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( - 'illo', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'illo', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'illo', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'illo', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 66b9040a..502c9574 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'omnis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'omnis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'asperiores', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'asperiores', + 'sequi', 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( - 'sequi', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sequi', + 'rerum', 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 d6d872df..74bd224e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aperiam', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aperiam', + '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( - 'voluptatem', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + '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 ea2a6f1d..6f943418 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: 'yujeziqxylahfzypdppgq' + name: 'sx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yujeziqxylahfzypdppgq' + name: 'sx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 4d8fea7917c3670f2be5f168c9041ff8abb0ede0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 21:13:00 +0000 Subject: [PATCH 168/256] 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 43fa54e4..8051ce9e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-11207d3e495c1f7a8737309c2a8c2e0ab11b7e07a76c8ff14a06d1860f09e8b1.yml -openapi_spec_hash: b708bddabd5527e01b859b69d3bd12da +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3c5bae9f14fd34d34ecc2028da321e779ad27f439a3fed07b162ac11ee105154.yml +openapi_spec_hash: ad8a68fc34bd7ef7d0c9a0cbd3e2fb5c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e1ad0424..6cc6801c 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('eum'); + $result = $this->client->accounts->disconnect('cupiditate'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index bf0d60f5..21d1a976 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( - 'dolorem', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolorem', + 'natus', 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 2edc361e..d3642d0e 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( - 'qui', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'qui', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d728ade..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( - 'iste', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iste', + '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( - 'iste', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iste', + 'aut', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 2a2b349e..41ad72a5 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('non'); // @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('ad'); + $result = $this->client->smartLinks->listFans('voluptatem'); // @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('maxime'); // @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('at'); + $result = $this->client->smartLinks->retrieveCohortArps('ipsa'); // @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('debitis'); // @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 7b8e88f3..6fd9f8bc 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( - 'consequuntur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequuntur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 502c9574..e5c866cf 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sequi', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sequi', + '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( - 'rerum', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'rerum', + 'necessitatibus', 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 74bd224e..687b4ce1 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'ea', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ea', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ea', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ea', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + '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( - 'dolorem', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'qui', 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 6f943418..27cf709d 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: 'sx' + name: 'o' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sx' + name: 'o' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1a521c6b2fbbcba6202b29c5d09217149fa87d79 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 22:13:01 +0000 Subject: [PATCH 169/256] 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 8051ce9e..8d751685 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3c5bae9f14fd34d34ecc2028da321e779ad27f439a3fed07b162ac11ee105154.yml -openapi_spec_hash: ad8a68fc34bd7ef7d0c9a0cbd3e2fb5c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f92ae4fe2cbe0e40a4203678b0e818719b08ce7a689cef395885b634d2296918.yml +openapi_spec_hash: fea736e41949abdeb6a786244046ad8a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6cc6801c..c854a796 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('cupiditate'); + $result = $this->client->accounts->disconnect('autem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 21d1a976..79aafa78 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( - 'natus', + 'soluta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'natus', + 'soluta', 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 d3642d0e..48e6363b 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( - 'quae', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quae', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..2d728ade 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', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'iste', 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', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'iste', 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/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 41ad72a5..d2da7793 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('non'); + $result = $this->client->smartLinks->listClicks('doloremque'); // @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('quae'); // @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('voluptatem'); + $result = $this->client->smartLinks->listFans('illo'); // @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('maxime'); + $result = $this->client->smartLinks->listSpenders('id'); // @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('ipsa'); + $result = $this->client->smartLinks->retrieveCohortArps('iusto'); // @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('debitis'); + $result = $this->client->smartLinks->retrieveStats('illum'); // @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 6fd9f8bc..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( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e5c866cf..546289b1 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'tempore', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'tempore', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'tempore', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'tempore', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + '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( - 'necessitatibus', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'necessitatibus', + 'a', 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 687b4ce1..5da0b013 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolores', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolores', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolores', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'id', + 'voluptatem', 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( - 'qui', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'qui', + 'dignissimos', 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 27cf709d..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: 'o' + name: 'a' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'o' + name: 'a' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fda48ad5d6e2450be64a67e532564f174d87760e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 17:12:55 +0000 Subject: [PATCH 170/256] feat(api): api update --- .stats.yml | 4 ++-- src/ServiceContracts/WebhooksContract.php | 12 +++++------ src/Services/WebhooksService.php | 12 +++++------ src/Webhooks/WebhookCreateParams.php | 12 +++++------ src/Webhooks/WebhookUpdateParams.php | 12 +++++------ 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 ++-- 15 files changed, 69 insertions(+), 69 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8d751685..8321094d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f92ae4fe2cbe0e40a4203678b0e818719b08ce7a689cef395885b634d2296918.yml -openapi_spec_hash: fea736e41949abdeb6a786244046ad8a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0ccbed2a4e10a047b507bd5e365e4ece367a1592e55e85bb61803a610eec30e3.yml +openapi_spec_hash: b49ac8c8ce9e05c81a82a6d3fe6be877 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/WebhooksContract.php b/src/ServiceContracts/WebhooksContract.php index 1f7d6d7b..796b79bd 100644 --- a/src/ServiceContracts/WebhooksContract.php +++ b/src/ServiceContracts/WebhooksContract.php @@ -20,10 +20,10 @@ interface WebhooksContract /** * @api * - * @param string $accountScope The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * @param string $accountScope The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. * @param string $endpointURL the URL of your webhook endpoint - * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. - * @param list $accountIDs An array of account IDs to apply the scope to. Required unless account_scope is "global". + * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. + * @param list $accountIDs An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * @param string|null $signingSecret optionally, add a signing secret to protect your webhook * @param RequestOpts|null $requestOptions * @@ -55,10 +55,10 @@ public function retrieve( * @api * * @param string $webhookID The ID of the webhook - * @param string $accountScope The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * @param string $accountScope The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. * @param string $endpointURL the URL of your webhook endpoint - * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. - * @param list $accountIDs An array of account IDs to apply the scope to. Required unless account_scope is "global". + * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. + * @param list $accountIDs An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * @param bool|null $enabled Optionally, enabled/disable the webhook. This will stop/resume the sending of events, without having to delete the webhook. * @param RequestOpts|null $requestOptions * diff --git a/src/Services/WebhooksService.php b/src/Services/WebhooksService.php index 78abf62a..1f5d4cee 100644 --- a/src/Services/WebhooksService.php +++ b/src/Services/WebhooksService.php @@ -38,10 +38,10 @@ public function __construct(private Client $client) * * Create a new webhook for your Team * - * @param string $accountScope The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * @param string $accountScope The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. * @param string $endpointURL the URL of your webhook endpoint - * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. - * @param list $accountIDs An array of account IDs to apply the scope to. Required unless account_scope is "global". + * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. + * @param list $accountIDs An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * @param string|null $signingSecret optionally, add a signing secret to protect your webhook * @param RequestOpts|null $requestOptions * @@ -97,10 +97,10 @@ public function retrieve( * Update an existing webhook * * @param string $webhookID The ID of the webhook - * @param string $accountScope The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * @param string $accountScope The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. * @param string $endpointURL the URL of your webhook endpoint - * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. - * @param list $accountIDs An array of account IDs to apply the scope to. Required unless account_scope is "global". + * @param list $events An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. + * @param list $accountIDs An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * @param bool|null $enabled Optionally, enabled/disable the webhook. This will stop/resume the sending of events, without having to delete the webhook. * @param RequestOpts|null $requestOptions * diff --git a/src/Webhooks/WebhookCreateParams.php b/src/Webhooks/WebhookCreateParams.php index 7305ea39..59c5e16e 100644 --- a/src/Webhooks/WebhookCreateParams.php +++ b/src/Webhooks/WebhookCreateParams.php @@ -30,7 +30,7 @@ final class WebhookCreateParams implements BaseModel use SdkParams; /** - * The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. */ #[Required('account_scope')] public string $accountScope; @@ -42,7 +42,7 @@ final class WebhookCreateParams implements BaseModel public string $endpointURL; /** - * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. + * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. * * @var list $events */ @@ -50,7 +50,7 @@ final class WebhookCreateParams implements BaseModel public array $events; /** - * An array of account IDs to apply the scope to. Required unless account_scope is "global". + * An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * * @var list|null $accountIDs */ @@ -113,7 +113,7 @@ public static function with( } /** - * The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. */ public function withAccountScope(string $accountScope): self { @@ -135,7 +135,7 @@ public function withEndpointURL(string $endpointURL): self } /** - * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. + * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. * * @param list $events */ @@ -148,7 +148,7 @@ public function withEvents(array $events): self } /** - * An array of account IDs to apply the scope to. Required unless account_scope is "global". + * An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * * @param list $accountIDs */ diff --git a/src/Webhooks/WebhookUpdateParams.php b/src/Webhooks/WebhookUpdateParams.php index aec630b1..a8bd05ff 100644 --- a/src/Webhooks/WebhookUpdateParams.php +++ b/src/Webhooks/WebhookUpdateParams.php @@ -30,7 +30,7 @@ final class WebhookUpdateParams implements BaseModel use SdkParams; /** - * The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. */ #[Required('account_scope')] public string $accountScope; @@ -42,7 +42,7 @@ final class WebhookUpdateParams implements BaseModel public string $endpointURL; /** - * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. + * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. * * @var list $events */ @@ -50,7 +50,7 @@ final class WebhookUpdateParams implements BaseModel public array $events; /** - * An array of account IDs to apply the scope to. Required unless account_scope is "global". + * An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * * @var list|null $accountIDs */ @@ -113,7 +113,7 @@ public static function with( } /** - * The account scope for the webhook. Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. + * The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use "global" for all accounts, "inclusive" for only selected accounts, or "exclusive" for all except selected accounts. */ public function withAccountScope(string $accountScope): self { @@ -135,7 +135,7 @@ public function withEndpointURL(string $endpointURL): self } /** - * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. + * An array of webhook events to subscribe to. For all options, refer to our **List Available Events** endpoint. A webhook is single-platform: subscribe to either OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook. * * @param list $events */ @@ -148,7 +148,7 @@ public function withEvents(array $events): self } /** - * An array of account IDs to apply the scope to. Required unless account_scope is "global". + * An array of account IDs to apply the scope to. Use OnlyFans account IDs (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`) for Fansly webhooks. Required unless account_scope is "global". * * @param list $accountIDs */ diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c854a796..4800b0dd 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('autem'); + $result = $this->client->accounts->disconnect('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 79aafa78..3b2a0ed6 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( - 'soluta', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'soluta', + 'veritatis', 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 48e6363b..a6b06a3c 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( - 'accusantium', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'accusantium', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusantium', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusantium', + 'labore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d728ade..f2405055 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( - 'iste', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iste', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'iste', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iste', + 'aperiam', 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 d2da7793..6f2753fb 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('doloremque'); + $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('quae'); + $result = $this->client->smartLinks->listConversions('harum'); // @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('illo'); + $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('id'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('iusto'); + $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('illum'); + $result = $this->client->smartLinks->retrieveStats('quisquam'); // @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..cb063990 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', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 546289b1..50964a72 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', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'asperiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'asperiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'asperiores', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ut', + 'quos', 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( - 'a', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'a', + '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 5da0b013..7923efc2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'atque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'atque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'atque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'atque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'occaecati', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'occaecati', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'ea', 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( - 'dignissimos', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dignissimos', + '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 0020dc70..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: 'a' + name: 'j' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'a' + name: 'j' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e613dcc83abe3ee46b7a856608b46ef86a690ea3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:12:56 +0000 Subject: [PATCH 171/256] 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 8321094d..46a88b44 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0ccbed2a4e10a047b507bd5e365e4ece367a1592e55e85bb61803a610eec30e3.yml -openapi_spec_hash: b49ac8c8ce9e05c81a82a6d3fe6be877 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-83dbcb062bcaafa2ca374fc82a51b4b5c57fa2cf01b71d72054b7cffd9c0e7ac.yml +openapi_spec_hash: 937458bff78bf3f033b2a5e3f945a74e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 4800b0dd..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('in'); + $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 3b2a0ed6..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( - 'veritatis', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'veritatis', + '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 a6b06a3c..92c9701a 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( - 'labore', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'labore', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'labore', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'labore', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f2405055..d567c068 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( - 'aperiam', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aperiam', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'aperiam', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aperiam', + 'ea', 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 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 6f2753fb..ee797c82 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('laboriosam'); // @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('harum'); + $result = $this->client->smartLinks->listConversions('nulla'); // @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('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('ea'); + $result = $this->client->smartLinks->listSpenders('asperiores'); // @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('voluptate'); // @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('quisquam'); + $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 cb063990..04d45a6b 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( - 'veniam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'veniam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'veniam', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 50964a72..11debf5f 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', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quos', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quos', + '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( - 'eligendi', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eligendi', + 'ipsa', 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 7923efc2..d14fc135 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', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'omnis', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'omnis', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'omnis', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'exercitationem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'exercitationem', 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', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'cumque', + '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 95d7bbdd..85d5132c 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: 'ypfnny' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'j' + name: 'ypfnny' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 28d9cf5ed7a55d8214c893fd6401261c2c9811cb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 15:13:01 +0000 Subject: [PATCH 172/256] feat(api): api update --- .stats.yml | 4 ++-- .../Summary/SummaryGetSummaryResponse.php | 14 +++++++++++++ .../SummaryGetSummaryResponse/SummaryData.php | 14 +++++++++++++ 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 ++-- 15 files changed, 76 insertions(+), 48 deletions(-) diff --git a/.stats.yml b/.stats.yml index 46a88b44..5e0ed373 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-83dbcb062bcaafa2ca374fc82a51b4b5c57fa2cf01b71d72054b7cffd9c0e7ac.yml -openapi_spec_hash: 937458bff78bf3f033b2a5e3f945a74e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ecfdaee2bd2a793c347e51a3099b4f59892a20241e3c313b6dff970ade71ef91.yml +openapi_spec_hash: 477c8df190d6ee52136647326cee7d7d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Fans/Summary/SummaryGetSummaryResponse.php b/src/Fans/Summary/SummaryGetSummaryResponse.php index f434a0f4..b01aa22a 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse.php @@ -16,6 +16,7 @@ * analyzedMessageCount?: int|null, * errorMessage?: string|null, * lastAnalyzedAt?: string|null, + * lastBuyDate?: string|null, * status?: string|null, * summaryData?: null|SummaryData|SummaryDataShape, * } @@ -34,6 +35,9 @@ final class SummaryGetSummaryResponse implements BaseModel #[Optional('last_analyzed_at')] public ?string $lastAnalyzedAt; + #[Optional('last_buy_date')] + public ?string $lastBuyDate; + #[Optional] public ?string $status; @@ -56,6 +60,7 @@ public static function with( ?int $analyzedMessageCount = null, ?string $errorMessage = null, ?string $lastAnalyzedAt = null, + ?string $lastBuyDate = null, ?string $status = null, SummaryData|array|null $summaryData = null, ): self { @@ -64,6 +69,7 @@ public static function with( null !== $analyzedMessageCount && $self['analyzedMessageCount'] = $analyzedMessageCount; null !== $errorMessage && $self['errorMessage'] = $errorMessage; null !== $lastAnalyzedAt && $self['lastAnalyzedAt'] = $lastAnalyzedAt; + null !== $lastBuyDate && $self['lastBuyDate'] = $lastBuyDate; null !== $status && $self['status'] = $status; null !== $summaryData && $self['summaryData'] = $summaryData; @@ -94,6 +100,14 @@ public function withLastAnalyzedAt(string $lastAnalyzedAt): self return $self; } + public function withLastBuyDate(string $lastBuyDate): self + { + $self = clone $this; + $self['lastBuyDate'] = $lastBuyDate; + + return $self; + } + public function withStatus(string $status): self { $self = clone $this; diff --git a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php index 46fd17c7..29a1ff6e 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php @@ -19,6 +19,7 @@ * otherNotes?: string|null, * preferredName?: string|null, * requests?: string|null, + * spendCadence?: string|null, * themes?: string|null, * travelPlans?: string|null, * } @@ -55,6 +56,9 @@ final class SummaryData implements BaseModel #[Optional] public ?string $requests; + #[Optional('spend_cadence')] + public ?string $spendCadence; + #[Optional] public ?string $themes; @@ -81,6 +85,7 @@ public static function with( ?string $otherNotes = null, ?string $preferredName = null, ?string $requests = null, + ?string $spendCadence = null, ?string $themes = null, ?string $travelPlans = null, ): self { @@ -95,6 +100,7 @@ public static function with( null !== $otherNotes && $self['otherNotes'] = $otherNotes; null !== $preferredName && $self['preferredName'] = $preferredName; null !== $requests && $self['requests'] = $requests; + null !== $spendCadence && $self['spendCadence'] = $spendCadence; null !== $themes && $self['themes'] = $themes; null !== $travelPlans && $self['travelPlans'] = $travelPlans; @@ -173,6 +179,14 @@ public function withRequests(string $requests): self return $self; } + public function withSpendCadence(string $spendCadence): self + { + $self = clone $this; + $self['spendCadence'] = $spendCadence; + + return $self; + } + public function withThemes(string $themes): self { $self = clone $this; diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9390893b..e2c2f7f2 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('fuga'); // @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 10c74658..1d8296be 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', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'suscipit', + 'rerum', 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 92c9701a..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( - 'odit', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'odit', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d567c068..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( - 'ea', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ea', + '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( - 'ea', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ea', + 'est', 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..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 ee797c82..90d3468e 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('laboriosam'); + $result = $this->client->smartLinks->listClicks('optio'); // @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('nulla'); + $result = $this->client->smartLinks->listConversions('voluptatum'); // @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('exercitationem'); // @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('asperiores'); + $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('voluptate'); + $result = $this->client->smartLinks->retrieveCohortArps('sunt'); // @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('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 04d45a6b..930dbd26 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( - 'cupiditate', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'cupiditate', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'cupiditate', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'cupiditate', + 'id', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 11debf5f..58ac65b0 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'odit', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'odit', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'odit', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'odit', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'eum', 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( - 'ipsa', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ipsa', + 'voluptatum', 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 d14fc135..288144dd 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'cupiditate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'exercitationem', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'exercitationem', + 'tenetur', 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', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eos', + 'sint', 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 85d5132c..9224bacb 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: 'ypfnny' + name: 'yblh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ypfnny' + name: 'yblh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2e61f17f9bd43e848ac02978e6941e2b6904f747 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 05:13:02 +0000 Subject: [PATCH 173/256] 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 5e0ed373..bf85b21a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ecfdaee2bd2a793c347e51a3099b4f59892a20241e3c313b6dff970ade71ef91.yml -openapi_spec_hash: 477c8df190d6ee52136647326cee7d7d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e06a01a20591d86482a14d9ae9d556abc3baa777581dcfa3213269aa2f4d52f8.yml +openapi_spec_hash: 71de2fbab6888aae97f293774ac7ccff config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e2c2f7f2..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('fuga'); + $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..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1d8296be..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( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'rerum', + '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 48bef33a..b85d3ac7 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', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'id', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cca4f113..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( - 'est', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'est', + '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( - 'est', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'est', + 'laborum', 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/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 90d3468e..2e436b98 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('optio'); + $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('voluptatum'); + $result = $this->client->smartLinks->listConversions('ab'); // @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('exercitationem'); + $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('voluptatum'); + $result = $this->client->smartLinks->listSpenders('maiores'); // @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('sunt'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('ab'); // @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 930dbd26..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( - 'id', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'id', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'id', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 58ac65b0..811116d7 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'fugit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'fugit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'fugit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'fugit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eum', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eum', + 'recusandae', 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( - 'voluptatum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatum', + 'aut', 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 288144dd..db8ec32a 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', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ut', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'cupiditate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'cupiditate', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'tenetur', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'tenetur', + '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( - 'sint', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sint', + 'unde', 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 9224bacb..30579d8b 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: 'yblh' + name: 'aswkgcghxpyuc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yblh' + name: 'aswkgcghxpyuc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From df26de65574f5e90c4dde64ea62f0dedb655c7ca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 12:13:07 +0000 Subject: [PATCH 174/256] 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 bf85b21a..82c73c68 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e06a01a20591d86482a14d9ae9d556abc3baa777581dcfa3213269aa2f4d52f8.yml -openapi_spec_hash: 71de2fbab6888aae97f293774ac7ccff +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6c1a82ed32365b480a79817cbd851df54bd128c094ece4bd0646cb6a2ec55ca7.yml +openapi_spec_hash: be0216cdd580a5f95f5a46a75d05a717 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6bfb8e9c..7b24ff6d 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('deleniti'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..e5ca707b 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', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'doloribus', 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 b85d3ac7..6e9b1892 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( - 'quibusdam', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quibusdam', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quibusdam', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quibusdam', + 'optio', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 04076030..7480a3c0 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'laborum', + 'dolor', 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'laborum', + 'dolor', 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..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 2e436b98..5816490a 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('dolorum'); // @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('ab'); + $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('inventore'); + $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('maiores'); + $result = $this->client->smartLinks->listSpenders('vitae'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('laboriosam'); // @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('ab'); + $result = $this->client->smartLinks->retrieveStats('fugiat'); // @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..24cdc795 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', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatem', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatem', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 811116d7..5ee19599 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'nihil', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'nihil', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'nihil', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'nihil', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'recusandae', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'recusandae', + '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( - 'aut', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aut', + 'iusto', 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 db8ec32a..7bf9a7ab 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dignissimos', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dignissimos', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dignissimos', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dignissimos', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sapiente', + 'eveniet', 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( - 'unde', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'unde', + '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 30579d8b..bcd0a286 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: 'aswkgcghxpyuc' + name: 'zoulxacbrbkfc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'aswkgcghxpyuc' + name: 'zoulxacbrbkfc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 14ad4337809fe6e3e1a49442755e53e01d4eac96 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 13:13:01 +0000 Subject: [PATCH 175/256] feat(api): api update --- .stats.yml | 4 +-- .../SummaryGetSummaryResponse/SummaryData.php | 28 +++++++++++++++++++ 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 +++--- 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, 72 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 82c73c68..d9fd66fa 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6c1a82ed32365b480a79817cbd851df54bd128c094ece4bd0646cb6a2ec55ca7.yml -openapi_spec_hash: be0216cdd580a5f95f5a46a75d05a717 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2fa831948efa0ddde11aab36ed04ff599593a82273e9dcf70ceb131fe92c5d87.yml +openapi_spec_hash: 97125f53d10af223f1a85fc6c03621b4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php index 29a1ff6e..e7dd0da3 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse/SummaryData.php @@ -10,7 +10,9 @@ /** * @phpstan-type SummaryDataShape = array{ + * contentDislikes?: string|null, * contentPreferences?: string|null, + * dosAndDonts?: string|null, * familyPets?: string|null, * hobbies?: string|null, * interests?: string|null, @@ -29,9 +31,15 @@ final class SummaryData implements BaseModel /** @use SdkModel */ use SdkModel; + #[Optional('content_dislikes')] + public ?string $contentDislikes; + #[Optional('content_preferences')] public ?string $contentPreferences; + #[Optional('dos_and_donts')] + public ?string $dosAndDonts; + #[Optional('family_pets')] public ?string $familyPets; @@ -76,7 +84,9 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. */ public static function with( + ?string $contentDislikes = null, ?string $contentPreferences = null, + ?string $dosAndDonts = null, ?string $familyPets = null, ?string $hobbies = null, ?string $interests = null, @@ -91,7 +101,9 @@ public static function with( ): self { $self = new self; + null !== $contentDislikes && $self['contentDislikes'] = $contentDislikes; null !== $contentPreferences && $self['contentPreferences'] = $contentPreferences; + null !== $dosAndDonts && $self['dosAndDonts'] = $dosAndDonts; null !== $familyPets && $self['familyPets'] = $familyPets; null !== $hobbies && $self['hobbies'] = $hobbies; null !== $interests && $self['interests'] = $interests; @@ -107,6 +119,14 @@ public static function with( return $self; } + public function withContentDislikes(string $contentDislikes): self + { + $self = clone $this; + $self['contentDislikes'] = $contentDislikes; + + return $self; + } + public function withContentPreferences(string $contentPreferences): self { $self = clone $this; @@ -115,6 +135,14 @@ public function withContentPreferences(string $contentPreferences): self return $self; } + public function withDosAndDonts(string $dosAndDonts): self + { + $self = clone $this; + $self['dosAndDonts'] = $dosAndDonts; + + return $self; + } + public function withFamilyPets(string $familyPets): self { $self = clone $this; diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7b24ff6d..a24c5525 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('deleniti'); + $result = $this->client->accounts->disconnect('corporis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index e5ca707b..e5513160 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( - 'doloribus', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloribus', + 'tempora', 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 6e9b1892..31289fad 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( - 'optio', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'optio', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'optio', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'optio', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7480a3c0..2d02a3fa 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( - 'dolor', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolor', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolor', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolor', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 5816490a..8bd6d160 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('dolorum'); + $result = $this->client->smartLinks->listClicks('sequi'); // @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('dignissimos'); // @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('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('vitae'); + $result = $this->client->smartLinks->listSpenders('quasi'); // @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('laboriosam'); + $result = $this->client->smartLinks->retrieveCohortArps('magni'); // @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('fugiat'); + $result = $this->client->smartLinks->retrieveStats('quisquam'); // @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 24cdc795..fed373b6 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( - 'expedita', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'expedita', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'expedita', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'expedita', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5ee19599..fe865353 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', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rerum', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rerum', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + '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( - 'iusto', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'iusto', + 'dolores', 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 7bf9a7ab..6cc142de 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vero', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vero', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vero', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vero', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ratione', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eveniet', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eveniet', + 'neque', 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', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'maiores', 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 bcd0a286..70263fe0 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: 'zoulxacbrbkfc' + name: 'ppgpejdjgklkrkljypnzaruva' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zoulxacbrbkfc' + name: 'ppgpejdjgklkrkljypnzaruva' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 90dc43fa048189b21615140273803e771e28d33a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 17:12:57 +0000 Subject: [PATCH 176/256] 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 | 12 +++++------ 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 d9fd66fa..9eb19592 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2fa831948efa0ddde11aab36ed04ff599593a82273e9dcf70ceb131fe92c5d87.yml -openapi_spec_hash: 97125f53d10af223f1a85fc6c03621b4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-83e9593ec600f271bb0e17a0bb62da1bfaee097ec0b92569e729c73759961b24.yml +openapi_spec_hash: 06950b40d722d1f1c91d368fa59c83aa config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index a24c5525..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('corporis'); + $result = $this->client->accounts->disconnect('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index e5513160..384f40b1 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( - 'tempora', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'tempora', + 'vitae', 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 31289fad..9d8c2d9f 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( - 'harum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'harum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'harum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'harum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 2d02a3fa..fb13cc09 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( - 'praesentium', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'praesentium', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'praesentium', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'praesentium', + 'occaecati', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 8bd6d160..5931ab89 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('sequi'); + $result = $this->client->smartLinks->listClicks('ipsum'); // @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('dignissimos'); + $result = $this->client->smartLinks->listConversions('sapiente'); // @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('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('quasi'); + $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('magni'); + $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('quisquam'); + $result = $this->client->smartLinks->retrieveStats('totam'); // @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 fed373b6..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( - 'dicta', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dicta', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dicta', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dicta', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index fe865353..e16bb836 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quaerat', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quaerat', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quaerat', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quaerat', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'dolores', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolores', + 'praesentium', 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 6cc142de..0a7b6fa3 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'minima', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'neque', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'neque', + 'omnis', 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( - 'maiores', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'maiores', + '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 70263fe0..27cf709d 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: 'ppgpejdjgklkrkljypnzaruva' + name: 'o' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ppgpejdjgklkrkljypnzaruva' + name: 'o' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6e2a066f660fd178d7f6232e3a9ff70a4db21474 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 19:13:02 +0000 Subject: [PATCH 177/256] 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 9eb19592..c2dbe56a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-83e9593ec600f271bb0e17a0bb62da1bfaee097ec0b92569e729c73759961b24.yml -openapi_spec_hash: 06950b40d722d1f1c91d368fa59c83aa +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-54d3b6e23bd2de9cde8fd6f59b4897de40a4ede649e379cb4b11d9715a3be1d4.yml +openapi_spec_hash: 9b10c6d498a07c80ad95978d8d70456f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..9d0ae29e 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('deserunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 384f40b1..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( - 'vitae', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vitae', + '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 9d8c2d9f..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( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index fb13cc09..7480a3c0 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( - 'occaecati', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'occaecati', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'occaecati', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'occaecati', + 'dolor', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 5931ab89..c609685a 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('ipsum'); + $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('sapiente'); + $result = $this->client->smartLinks->listConversions('eos'); // @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('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('dolorum'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('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('totam'); + $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 6ccbd3cd..510c6333 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', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolor', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolor', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolor', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e16bb836..4db19dc9 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'amet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'amet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'amet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'amet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'nisi', 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( - 'praesentium', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'praesentium', + '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 0a7b6fa3..bd4b6947 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'minima', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'minima', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'omnis', + 'provident', 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( - 'ut', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ut', + '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 27cf709d..12280eac 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: 'o' + name: 'sqmwsrhiaubyuadrl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'o' + name: 'sqmwsrhiaubyuadrl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 90cdf7a3699cd28a8d54aa6285fcfbbd303101a8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 20:12:55 +0000 Subject: [PATCH 178/256] 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 +++++----- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index c2dbe56a..191e31fc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-54d3b6e23bd2de9cde8fd6f59b4897de40a4ede649e379cb4b11d9715a3be1d4.yml -openapi_spec_hash: 9b10c6d498a07c80ad95978d8d70456f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f3c58cf3159784ef92e18d7dad42c0907ac3e530eae4b514202a6c8db5025ac4.yml +openapi_spec_hash: 1f762a7e9958679c565f9371c13e85e4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 9d0ae29e..0e36ad4d 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('deserunt'); + $result = $this->client->accounts->disconnect('necessitatibus'); // @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..e8eaaed7 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', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'neque', + 'dolores', 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..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( - 'quis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7480a3c0..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( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolor', + '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( - 'dolor', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolor', + 'et', 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 c609685a..f4da1a53 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('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('eos'); + $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('sed'); + $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('ea'); + $result = $this->client->smartLinks->listSpenders('nihil'); // @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('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('natus'); + $result = $this->client->smartLinks->retrieveStats('placeat'); // @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 510c6333..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( - 'ducimus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ducimus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ducimus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ducimus', + 'est', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4db19dc9..95a9c64f 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', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'enim', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'enim', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nisi', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nisi', + 'enim', 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', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'voluptatem', 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 bd4b6947..52a8a5d5 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', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'repudiandae', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'repudiandae', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'repudiandae', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'provident', + 'et', 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', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'esse', + '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 12280eac..d93c9b98 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: 'sqmwsrhiaubyuadrl' + name: 'vedgty' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sqmwsrhiaubyuadrl' + name: 'vedgty' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3d5e3a030e281998fe561aa73be901dc9f76143f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 23:13:02 +0000 Subject: [PATCH 179/256] 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 191e31fc..96166b18 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f3c58cf3159784ef92e18d7dad42c0907ac3e530eae4b514202a6c8db5025ac4.yml -openapi_spec_hash: 1f762a7e9958679c565f9371c13e85e4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-aadc8db09f16f7e55f02b26c081a0a1a57f0a730c7c96a4edafae3e693f4b002.yml +openapi_spec_hash: 34c9b28dda609f957abbd3d413fe200a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0e36ad4d..3149bd7e 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('necessitatibus'); + $result = $this->client->accounts->disconnect('natus'); // @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 e8eaaed7..bf0d60f5 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( - 'dolores', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolores', + 'dolorem', 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 19419dab..389a7f19 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( - 'et', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'et', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'et', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'et', + 'impedit', 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 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 f4da1a53..2284127e 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('minus'); // @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('repellat'); // @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('laudantium'); // @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('nihil'); + $result = $this->client->smartLinks->listSpenders('dolor'); // @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('tempora'); // @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('placeat'); + $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 02745a55..035bc48f 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 95a9c64f..cca164e5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quaerat', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quaerat', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quaerat', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quaerat', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + '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( - 'voluptatem', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'ipsam', 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 52a8a5d5..b504f854 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'labore', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'reprehenderit', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'reprehenderit', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'nobis', 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'facere', + 'voluptas', 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 d93c9b98..abc92562 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: 'vedgty' + name: 'dhhjiudcqfoy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vedgty' + name: 'dhhjiudcqfoy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 933ceaf62827139dea5d0a4b0e1a9a5d71292dca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 01:13:04 +0000 Subject: [PATCH 180/256] 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 ++++---- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 96166b18..2d51f7f3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-aadc8db09f16f7e55f02b26c081a0a1a57f0a730c7c96a4edafae3e693f4b002.yml -openapi_spec_hash: 34c9b28dda609f957abbd3d413fe200a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a281ad8120bcab23714426a32e3b2a2b1f6340101179dd5194f5e13a54c92419.yml +openapi_spec_hash: b0ea15843d5237618d447796c6a1398f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3149bd7e..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('natus'); + $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 bf0d60f5..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( - 'dolorem', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolorem', + '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 7ab64700..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( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'eligendi', + 'ex', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 389a7f19..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( - 'impedit', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'impedit', + '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( - 'impedit', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'impedit', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 2284127e..0e65c8db 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('minus'); + $result = $this->client->smartLinks->listClicks('ducimus'); // @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('repellat'); + $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('laudantium'); + $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('dolor'); + $result = $this->client->smartLinks->listSpenders('voluptate'); // @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('tempora'); + $result = $this->client->smartLinks->retrieveCohortArps('est'); // @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('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 035bc48f..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( - 'vel', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vel', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'officia', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index cca164e5..312d7a6c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'atque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'atque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'atque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'atque', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'molestias', 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( - 'ipsam', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ipsam', + 'eum', 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 b504f854..6d065f9a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'expedita', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'expedita', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nobis', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nobis', + 'nesciunt', 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( - 'voluptas', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptas', + '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 abc92562..1ae922c2 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: 'dhhjiudcqfoy' + name: 'vtjdvjrwhcuxvbjwxduwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dhhjiudcqfoy' + name: 'vtjdvjrwhcuxvbjwxduwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 364753292a163752a586384e7851a2a39545cd67 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 02:12:58 +0000 Subject: [PATCH 181/256] 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 ++++---- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2d51f7f3..28ab01ee 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a281ad8120bcab23714426a32e3b2a2b1f6340101179dd5194f5e13a54c92419.yml -openapi_spec_hash: b0ea15843d5237618d447796c6a1398f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-be1f3fec683db5e55b47196d3677cb0502c13822eef2b5fcba723ac701d8745c.yml +openapi_spec_hash: d65f87233bd2b9a082858b75eb2a50d6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0d20cc2a..5b41135d 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('architecto'); // @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..bd1f2832 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', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'placeat', 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..2047cc67 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', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ex', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ex', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..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( - 'voluptatem', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + '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( - 'voluptatem', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 0e65c8db..4ac09919 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('ducimus'); + $result = $this->client->smartLinks->listClicks('cupiditate'); // @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('quibusdam'); // @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('voluptatem'); // @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('voluptate'); + $result = $this->client->smartLinks->listSpenders('reprehenderit'); // @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('est'); + $result = $this->client->smartLinks->retrieveCohortArps('sapiente'); // @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('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 1db271f7..b6978fdc 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', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'officia', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'officia', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'officia', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 312d7a6c..b91c599a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'facilis', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'facilis', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'facilis', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'facilis', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'molestias', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'molestias', + 'ea', 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( - 'eum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eum', + '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 6d065f9a..5f0c7631 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', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'odit', 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', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sit', + '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 1ae922c2..4e07977e 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: 'vtjdvjrwhcuxvbjwxduwq' + name: 'ssvowwfebrcyegebszgh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vtjdvjrwhcuxvbjwxduwq' + name: 'ssvowwfebrcyegebszgh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fc838875ba5abd3da70563bdf0ac5578daab14f1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 13:13:05 +0000 Subject: [PATCH 182/256] 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/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 28ab01ee..57bde836 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-be1f3fec683db5e55b47196d3677cb0502c13822eef2b5fcba723ac701d8745c.yml -openapi_spec_hash: d65f87233bd2b9a082858b75eb2a50d6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-57b731f396b1e439775537f9de5ab9525ed1ac5c0508abffdbe2f6f9810226f8.yml +openapi_spec_hash: e7b2a3c7f5dc89331cedaa0186015f83 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5b41135d..83d6b4d7 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('architecto'); + $result = $this->client->accounts->disconnect('quos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index bd1f2832..aa151f02 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( - 'placeat', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'placeat', + 'commodi', 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 2047cc67..7912c040 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( - 'sapiente', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sapiente', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sapiente', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sapiente', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index e5919b83..8ecb57a7 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', + 'illo', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'molestias', + 'illo', 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', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'molestias', + 'illo', 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 4ac09919..39bb4be9 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('cupiditate'); + $result = $this->client->smartLinks->listClicks('temporibus'); // @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('quibusdam'); + $result = $this->client->smartLinks->listConversions('officiis'); // @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('voluptatem'); + $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('reprehenderit'); + $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('sapiente'); + $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('aut'); + $result = $this->client->smartLinks->retrieveStats('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b91c599a..42701dca 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'itaque', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'itaque', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'itaque', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'itaque', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + '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( - 'et', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'vel', 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 5f0c7631..6fba60fe 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', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'deleniti', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'deleniti', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odit', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'odit', + 'eos', 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', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laborum', + 'sequi', 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 4e07977e..2ca4fd39 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: 'ssvowwfebrcyegebszgh' + name: 'iwklqkzdkqvrok' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ssvowwfebrcyegebszgh' + name: 'iwklqkzdkqvrok' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 36604823f34aed6e8f14bb7a32faccad6a707cc1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 15:13:07 +0000 Subject: [PATCH 183/256] feat(api): api update --- .stats.yml | 4 +- .../Summary/SummaryGetSummaryResponse.php | 21 +++++++ .../SummaryGetSummaryResponse/CustomField.php | 60 +++++++++++++++++++ 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 +-- 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, 125 insertions(+), 44 deletions(-) create mode 100644 src/Fans/Summary/SummaryGetSummaryResponse/CustomField.php diff --git a/.stats.yml b/.stats.yml index 57bde836..8c23dd09 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-57b731f396b1e439775537f9de5ab9525ed1ac5c0508abffdbe2f6f9810226f8.yml -openapi_spec_hash: e7b2a3c7f5dc89331cedaa0186015f83 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-067f0eaf1a03fe125b2b6be34cc6b15ead1a64ca190d9f93170f71de25af0449.yml +openapi_spec_hash: bb7652334ae94968f633868896ed4e73 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Fans/Summary/SummaryGetSummaryResponse.php b/src/Fans/Summary/SummaryGetSummaryResponse.php index b01aa22a..d98877cb 100644 --- a/src/Fans/Summary/SummaryGetSummaryResponse.php +++ b/src/Fans/Summary/SummaryGetSummaryResponse.php @@ -7,13 +7,16 @@ use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\CustomField; use OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\SummaryData; /** + * @phpstan-import-type CustomFieldShape from \OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\CustomField * @phpstan-import-type SummaryDataShape from \OnlyFansAPI\Fans\Summary\SummaryGetSummaryResponse\SummaryData * * @phpstan-type SummaryGetSummaryResponseShape = array{ * analyzedMessageCount?: int|null, + * customFields?: list|null, * errorMessage?: string|null, * lastAnalyzedAt?: string|null, * lastBuyDate?: string|null, @@ -29,6 +32,10 @@ final class SummaryGetSummaryResponse implements BaseModel #[Optional('analyzed_message_count')] public ?int $analyzedMessageCount; + /** @var list|null $customFields */ + #[Optional('custom_fields', list: CustomField::class)] + public ?array $customFields; + #[Optional('error_message', nullable: true)] public ?string $errorMessage; @@ -54,10 +61,12 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param list|null $customFields * @param SummaryData|SummaryDataShape|null $summaryData */ public static function with( ?int $analyzedMessageCount = null, + ?array $customFields = null, ?string $errorMessage = null, ?string $lastAnalyzedAt = null, ?string $lastBuyDate = null, @@ -67,6 +76,7 @@ public static function with( $self = new self; null !== $analyzedMessageCount && $self['analyzedMessageCount'] = $analyzedMessageCount; + null !== $customFields && $self['customFields'] = $customFields; null !== $errorMessage && $self['errorMessage'] = $errorMessage; null !== $lastAnalyzedAt && $self['lastAnalyzedAt'] = $lastAnalyzedAt; null !== $lastBuyDate && $self['lastBuyDate'] = $lastBuyDate; @@ -84,6 +94,17 @@ public function withAnalyzedMessageCount(int $analyzedMessageCount): self return $self; } + /** + * @param list $customFields + */ + public function withCustomFields(array $customFields): self + { + $self = clone $this; + $self['customFields'] = $customFields; + + return $self; + } + public function withErrorMessage(?string $errorMessage): self { $self = clone $this; diff --git a/src/Fans/Summary/SummaryGetSummaryResponse/CustomField.php b/src/Fans/Summary/SummaryGetSummaryResponse/CustomField.php new file mode 100644 index 00000000..8a205e3e --- /dev/null +++ b/src/Fans/Summary/SummaryGetSummaryResponse/CustomField.php @@ -0,0 +1,60 @@ + */ + use SdkModel; + + #[Optional] + public ?string $key; + + #[Optional] + public ?string $label; + + 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 $key = null, ?string $label = null): self + { + $self = new self; + + null !== $key && $self['key'] = $key; + null !== $label && $self['label'] = $label; + + return $self; + } + + public function withKey(string $key): self + { + $self = clone $this; + $self['key'] = $key; + + return $self; + } + + public function withLabel(string $label): self + { + $self = clone $this; + $self['label'] = $label; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 83d6b4d7..e9374849 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('quos'); + $result = $this->client->accounts->disconnect('alias'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index aa151f02..29397af3 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( - 'commodi', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'commodi', + 'ea', 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 7912c040..b5408fd0 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( - 'modi', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'modi', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 8ecb57a7..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( - 'illo', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'illo', + '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( - 'illo', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'illo', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 39bb4be9..b86b822c 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('temporibus'); + $result = $this->client->smartLinks->listClicks('quis'); // @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('officiis'); + $result = $this->client->smartLinks->listConversions('harum'); // @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('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('et'); + $result = $this->client->smartLinks->listSpenders('iure'); // @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('aliquam'); // @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('laborum'); // @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 b6978fdc..40d3ccea 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( - 'ea', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ea', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 42701dca..daa9249c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'est', + 'aut', 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( - 'vel', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'vel', + '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 6fba60fe..5c017f79 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'velit', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'velit', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -149,7 +149,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'velit', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +165,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'velit', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +216,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +234,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iusto', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +252,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +268,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'aliquam', 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( - 'sequi', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +303,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sequi', + '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 2ca4fd39..3f0dad7c 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: 'iwklqkzdkqvrok' + name: 'payd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'iwklqkzdkqvrok' + name: 'payd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d01d9da90dd3588c632b6122ba15d2695eb2b475 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 02:01:05 +0000 Subject: [PATCH 184/256] feat(stlc): configurable CI runner and private-production-repo support in workflow templates --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71972a34..84d8fb1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: lint: timeout-minutes: 10 name: lint - runs-on: ${{ github.repository == 'stainless-sdks/onlyfansapi-php' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: @@ -37,7 +37,7 @@ jobs: test: timeout-minutes: 10 name: test - runs-on: ${{ github.repository == 'stainless-sdks/onlyfansapi-php' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 From 7c1b42441cf49a65571471982e3aaf3e45e9dd54 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 19 Jul 2026 16:13:05 +0000 Subject: [PATCH 185/256] feat(api): api update --- .stats.yml | 4 +- src/Chats/ChatListMediaParams.php | 4 +- src/Chats/ChatListParams.php | 4 +- src/Chats/ChatListParams/SkipUsers.php | 2 +- src/Chats/Messages/MessageListParams.php | 4 +- .../DirectMessageChartParams.php | 4 +- .../DirectMessageListParams.php | 4 +- .../MassMessages/MassMessageChartParams.php | 4 +- .../MassMessages/MassMessageListParams.php | 4 +- .../Messages/MessageGetTopMessageParams.php | 4 +- src/Fans/FanListLatestParams.php | 8 +- src/Fans/FanListTopParams.php | 8 +- .../MassMessagingRetrieveOverviewParams.php | 4 +- src/Notifications/NotificationListParams.php | 4 +- .../NotificationListParams/SkipUsers.php | 2 +- .../Chats/MessagesContract.php | 2 +- src/ServiceContracts/ChatsContract.php | 4 +- .../Messages/DirectMessagesContract.php | 4 +- .../Messages/MassMessagesContract.php | 4 +- .../Engagement/MessagesContract.php | 4 +- src/ServiceContracts/FansContract.php | 8 +- .../MassMessagingContract.php | 2 +- .../NotificationsContract.php | 2 +- .../SharedTrackingLinksContract.php | 17 ++- .../SharedTrialLinksContract.php | 9 +- src/ServiceContracts/SmartLinksContract.php | 2 - .../Statistics/ReachContract.php | 2 +- .../Statistics/StatementsContract.php | 4 +- src/ServiceContracts/StatisticsContract.php | 4 +- .../TrackingLinksContract.php | 22 ++-- src/ServiceContracts/TransactionsContract.php | 2 +- src/ServiceContracts/TrialLinksContract.php | 18 ++- src/Services/Chats/MessagesService.php | 2 +- src/Services/ChatsService.php | 4 +- .../Messages/DirectMessagesService.php | 4 +- .../Messages/MassMessagesService.php | 4 +- src/Services/Engagement/MessagesService.php | 4 +- src/Services/FansService.php | 8 +- src/Services/MassMessagingService.php | 2 +- src/Services/NotificationsService.php | 2 +- .../SharedTrackingLinksRawService.php | 19 ++- src/Services/SharedTrackingLinksService.php | 27 +++- src/Services/SharedTrialLinksRawService.php | 6 +- src/Services/SharedTrialLinksService.php | 16 ++- src/Services/SmartLinksRawService.php | 7 +- src/Services/SmartLinksService.php | 3 - src/Services/Statistics/ReachService.php | 2 +- .../Statistics/StatementsRawService.php | 4 +- src/Services/Statistics/StatementsService.php | 6 +- src/Services/StatisticsRawService.php | 2 +- src/Services/StatisticsService.php | 4 +- src/Services/TrackingLinksRawService.php | 15 ++- src/Services/TrackingLinksService.php | 23 ++-- src/Services/TransactionsService.php | 2 +- src/Services/TrialLinksRawService.php | 12 +- src/Services/TrialLinksService.php | 22 ++-- .../SharedTrackingLinkListParams.php | 121 ++++++++++++++++-- .../Pagination.php | 15 +++ .../SortingDeleted.php | 15 +++ .../WithDeleted.php | 15 +++ .../SharedTrialLinkListParams.php | 43 +++++-- .../SharedTrialLinkListParams/Pagination.php | 12 ++ src/SmartLinks/SmartLinkListParams.php | 20 --- .../Statements/StatementGetEarningsParams.php | 32 ++--- ...tisticCalculateTotalTransactionsParams.php | 38 ++---- src/TrackingLinks/TrackingLinkListParams.php | 92 ++++++++----- .../TrackingLinkListParams/Pagination.php | 12 ++ .../TrackingLinkListParams/Sort.php | 6 +- .../TrackingLinkListParams/Sortby.php | 2 +- .../TrackingLinkListParams/WithDeleted.php | 15 +++ src/Transactions/TransactionListParams.php | 4 +- src/TrialLinks/TrialLinkListParams.php | 120 ++++++++++------- src/TrialLinks/TrialLinkListParams/Field.php | 2 +- src/TrialLinks/TrialLinkListParams/Sort.php | 6 +- 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/Statistics/StatementsTest.php | 5 +- tests/Services/StatisticsTest.php | 24 +--- tests/Services/Stories/HighlightsTest.php | 8 +- tests/Services/TrackingLinksTest.php | 16 +-- tests/Services/TrialLinksTest.php | 46 ++----- tests/Services/UserListsTest.php | 4 +- 88 files changed, 672 insertions(+), 419 deletions(-) create mode 100644 src/SharedTrackingLinks/SharedTrackingLinkListParams/Pagination.php create mode 100644 src/SharedTrackingLinks/SharedTrackingLinkListParams/SortingDeleted.php create mode 100644 src/SharedTrackingLinks/SharedTrackingLinkListParams/WithDeleted.php create mode 100644 src/SharedTrialLinks/SharedTrialLinkListParams/Pagination.php create mode 100644 src/TrackingLinks/TrackingLinkListParams/Pagination.php create mode 100644 src/TrackingLinks/TrackingLinkListParams/WithDeleted.php diff --git a/.stats.yml b/.stats.yml index 8c23dd09..22405e2d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-067f0eaf1a03fe125b2b6be34cc6b15ead1a64ca190d9f93170f71de25af0449.yml -openapi_spec_hash: bb7652334ae94968f633868896ed4e73 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-da309dbd1c3d6c45514ff6c1b040914c3cf34cdb03046d7bd35787785e705309.yml +openapi_spec_hash: 18f23f2127e97f6b6510805eec8753b0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Chats/ChatListMediaParams.php b/src/Chats/ChatListMediaParams.php index 2b86d46b..fb3cc6a9 100644 --- a/src/Chats/ChatListMediaParams.php +++ b/src/Chats/ChatListMediaParams.php @@ -46,7 +46,7 @@ final class ChatListMediaParams implements BaseModel public ?string $offset; /** - * Whether to skip user details in response (all or none). Default = all. + * Whether to skip user details in the response (`all` or `none`). Defaults to `all`. */ #[Optional] public ?string $skipUsers; @@ -135,7 +135,7 @@ public function withOffset(string $offset): self } /** - * Whether to skip user details in response (all or none). Default = all. + * Whether to skip user details in the response (`all` or `none`). Defaults to `all`. */ public function withSkipUsers(string $skipUsers): self { diff --git a/src/Chats/ChatListParams.php b/src/Chats/ChatListParams.php index 519991a6..9eeccab4 100644 --- a/src/Chats/ChatListParams.php +++ b/src/Chats/ChatListParams.php @@ -67,7 +67,7 @@ final class ChatListParams implements BaseModel public ?string $query; /** - * Whether to skip user details in response (all or none). Default = all. + * Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * * @var value-of|null $skipUsers */ @@ -168,7 +168,7 @@ public function withQuery(string $query): self } /** - * Whether to skip user details in response (all or none). Default = all. + * Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * * @param SkipUsers|value-of $skipUsers */ diff --git a/src/Chats/ChatListParams/SkipUsers.php b/src/Chats/ChatListParams/SkipUsers.php index dbf5ba4c..f7a3997c 100644 --- a/src/Chats/ChatListParams/SkipUsers.php +++ b/src/Chats/ChatListParams/SkipUsers.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Chats\ChatListParams; /** - * Whether to skip user details in response (all or none). Default = all. + * Whether to skip user details in the response (`all` or `none`). Defaults to `all`. */ enum SkipUsers: string { diff --git a/src/Chats/Messages/MessageListParams.php b/src/Chats/Messages/MessageListParams.php index 591ef9b4..3a176f96 100644 --- a/src/Chats/Messages/MessageListParams.php +++ b/src/Chats/Messages/MessageListParams.php @@ -68,7 +68,7 @@ final class MessageListParams implements BaseModel public ?string $order; /** - * Whether to skip user details (all or none). + * Whether to skip user details (`all` or `none`). */ #[Optional] public ?string $skipUsers; @@ -188,7 +188,7 @@ public function withOrder(string $order): self } /** - * Whether to skip user details (all or none). + * Whether to skip user details (`all` or `none`). */ public function withSkipUsers(string $skipUsers): self { diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php b/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php index 7aa45ed1..04306e2d 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageChartParams.php @@ -25,7 +25,7 @@ final class DirectMessageChartParams implements BaseModel use SdkParams; /** - * End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. */ #[Optional] public ?string $endDate; @@ -67,7 +67,7 @@ public static function with( } /** - * End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. */ public function withEndDate(string $endDate): self { diff --git a/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php b/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php index 8f7a6c7f..cbf847f6 100644 --- a/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php +++ b/src/Engagement/Messages/DirectMessages/DirectMessageListParams.php @@ -29,7 +29,7 @@ final class DirectMessageListParams implements BaseModel use SdkParams; /** - * The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ #[Optional] public ?string $endDate; @@ -87,7 +87,7 @@ public static function with( } /** - * The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ public function withEndDate(string $endDate): self { diff --git a/src/Engagement/Messages/MassMessages/MassMessageChartParams.php b/src/Engagement/Messages/MassMessages/MassMessageChartParams.php index c2c75f44..4209543f 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageChartParams.php +++ b/src/Engagement/Messages/MassMessages/MassMessageChartParams.php @@ -25,7 +25,7 @@ final class MassMessageChartParams implements BaseModel use SdkParams; /** - * End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. */ #[Optional] public ?string $endDate; @@ -67,7 +67,7 @@ public static function with( } /** - * End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. */ public function withEndDate(string $endDate): self { diff --git a/src/Engagement/Messages/MassMessages/MassMessageListParams.php b/src/Engagement/Messages/MassMessages/MassMessageListParams.php index cf60cf8f..e6cc1bdc 100644 --- a/src/Engagement/Messages/MassMessages/MassMessageListParams.php +++ b/src/Engagement/Messages/MassMessages/MassMessageListParams.php @@ -28,7 +28,7 @@ final class MassMessageListParams implements BaseModel use SdkParams; /** - * The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ #[Optional] public ?string $endDate; @@ -78,7 +78,7 @@ public static function with( } /** - * The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ public function withEndDate(string $endDate): self { diff --git a/src/Engagement/Messages/MessageGetTopMessageParams.php b/src/Engagement/Messages/MessageGetTopMessageParams.php index e4f90295..82240ed6 100644 --- a/src/Engagement/Messages/MessageGetTopMessageParams.php +++ b/src/Engagement/Messages/MessageGetTopMessageParams.php @@ -25,7 +25,7 @@ final class MessageGetTopMessageParams implements BaseModel use SdkParams; /** - * The end date for the period. Keep empty to retrieve until now. MUST BE DATE AFTER `startDate`. + * The end date for the period. Keep empty to retrieve until now. It must be after `startDate`. */ #[Optional] public ?string $endDate; @@ -59,7 +59,7 @@ public static function with( } /** - * The end date for the period. Keep empty to retrieve until now. MUST BE DATE AFTER `startDate`. + * The end date for the period. Keep empty to retrieve until now. It must be after `startDate`. */ public function withEndDate(string $endDate): self { diff --git a/src/Fans/FanListLatestParams.php b/src/Fans/FanListLatestParams.php index 74ef9b2a..c68c2ad0 100644 --- a/src/Fans/FanListLatestParams.php +++ b/src/Fans/FanListLatestParams.php @@ -30,7 +30,7 @@ final class FanListLatestParams implements BaseModel use SdkParams; /** - * End date for filtering (required with start_date). This field is required when start_date is present. + * End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $endDate; @@ -48,7 +48,7 @@ final class FanListLatestParams implements BaseModel public ?int $offset; /** - * Start date for filtering (required with end_date). This field is required when end_date is present. + * Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $startDate; @@ -92,7 +92,7 @@ public static function with( } /** - * End date for filtering (required with start_date). This field is required when start_date is present. + * End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. */ public function withEndDate(?string $endDate): self { @@ -125,7 +125,7 @@ public function withOffset(int $offset): self } /** - * Start date for filtering (required with end_date). This field is required when end_date is present. + * Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. */ public function withStartDate(?string $startDate): self { diff --git a/src/Fans/FanListTopParams.php b/src/Fans/FanListTopParams.php index f4924d57..587991d1 100644 --- a/src/Fans/FanListTopParams.php +++ b/src/Fans/FanListTopParams.php @@ -34,13 +34,13 @@ final class FanListTopParams implements BaseModel public ?string $by; /** - * End date for filtering (required with start_date). This field is required when start_date is present. + * End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $endDate; /** - * Start date for filtering (required with end_date). This field is required when end_date is present. + * Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $startDate; @@ -85,7 +85,7 @@ public function withBy(By|string|null $by): self } /** - * End date for filtering (required with start_date). This field is required when start_date is present. + * End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. */ public function withEndDate(?string $endDate): self { @@ -96,7 +96,7 @@ public function withEndDate(?string $endDate): self } /** - * Start date for filtering (required with end_date). This field is required when end_date is present. + * Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. */ public function withStartDate(?string $startDate): self { diff --git a/src/MassMessaging/MassMessagingRetrieveOverviewParams.php b/src/MassMessaging/MassMessagingRetrieveOverviewParams.php index c0a6290a..4a0e69fe 100644 --- a/src/MassMessaging/MassMessagingRetrieveOverviewParams.php +++ b/src/MassMessaging/MassMessagingRetrieveOverviewParams.php @@ -28,7 +28,7 @@ final class MassMessagingRetrieveOverviewParams implements BaseModel use SdkParams; /** - * The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest mass message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ #[Optional] public ?string $endDate; @@ -78,7 +78,7 @@ public static function with( } /** - * The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * The latest mass message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. */ public function withEndDate(string $endDate): self { diff --git a/src/Notifications/NotificationListParams.php b/src/Notifications/NotificationListParams.php index 34ac86f2..85380582 100644 --- a/src/Notifications/NotificationListParams.php +++ b/src/Notifications/NotificationListParams.php @@ -42,7 +42,7 @@ final class NotificationListParams implements BaseModel public ?int $limit; /** - * Whether to skip user details. Default `all`. + * Whether to skip user details. Defaults to `all`. * * @var value-of|null $skipUsers */ @@ -109,7 +109,7 @@ public function withLimit(int $limit): self } /** - * Whether to skip user details. Default `all`. + * Whether to skip user details. Defaults to `all`. * * @param SkipUsers|value-of $skipUsers */ diff --git a/src/Notifications/NotificationListParams/SkipUsers.php b/src/Notifications/NotificationListParams/SkipUsers.php index 31e5b203..78574f7a 100644 --- a/src/Notifications/NotificationListParams/SkipUsers.php +++ b/src/Notifications/NotificationListParams/SkipUsers.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Notifications\NotificationListParams; /** - * Whether to skip user details. Default `all`. + * Whether to skip user details. Defaults to `all`. */ enum SkipUsers: string { diff --git a/src/ServiceContracts/Chats/MessagesContract.php b/src/ServiceContracts/Chats/MessagesContract.php index 1ac5f931..65a3c809 100644 --- a/src/ServiceContracts/Chats/MessagesContract.php +++ b/src/ServiceContracts/Chats/MessagesContract.php @@ -49,7 +49,7 @@ public function retrieve( * @param string|null $lastID Query param: Use for pagination when `order=asc` (oldest to newest). Include this message ID as the first message in the results. WARNING! The response list of messages will also be inverted (oldest messages will be first, opposite to default where `order=desc`). * @param string $limit Query param: The number of messages to return (default = 10, max = 100) * @param string $order Query param: Sort order for messages (desc or asc) - * @param string $skipUsers Query param: Whether to skip user details (all or none) + * @param string $skipUsers query param: Whether to skip user details (`all` or `none`) * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/ServiceContracts/ChatsContract.php b/src/ServiceContracts/ChatsContract.php index 6193edd9..263ed35d 100644 --- a/src/ServiceContracts/ChatsContract.php +++ b/src/ServiceContracts/ChatsContract.php @@ -34,7 +34,7 @@ interface ChatsContract * @param string $offset Number of chats to skip for pagination * @param Order|value-of $order Sort order for chats (recent or old). Default = recent * @param string $query Search query to filter chats - * @param SkipUsers|value-of $skipUsers Whether to skip user details in response (all or none). Default = all + * @param SkipUsers|value-of $skipUsers Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -87,7 +87,7 @@ public function hide( * @param string $account Path param: The Account ID * @param string $limit Query param: Number of medias to return. Default = 20 * @param string $offset Query param: Number of medias to skip for pagination - * @param string $skipUsers Query param: Whether to skip user details in response (all or none). Default = all + * @param string $skipUsers Query param: Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * @param Type|value-of|null $type Query param: Filter by specific media types. Keep empty to return all. * @param RequestOpts|null $requestOptions * diff --git a/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php b/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php index 65779a27..7224236c 100644 --- a/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php +++ b/src/ServiceContracts/Engagement/Messages/DirectMessagesContract.php @@ -18,7 +18,7 @@ interface DirectMessagesContract * @api * * @param string $account The Account ID - * @param string $endDate The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of messages to return (default = 10) * @param int $offset optional offset for manual pagination * @param string $query optionally, filter by message text @@ -41,7 +41,7 @@ public function list( * @api * * @param string $account The Account ID - * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. * @param string $startDate start of the chart window in `Y-m-d H:i:s` format * @param bool $withTotal Include `total` and `delta` aggregates in the response. Defaults to `true`. * @param RequestOpts|null $requestOptions diff --git a/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php b/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php index 8d86ffa1..0d81816a 100644 --- a/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php +++ b/src/ServiceContracts/Engagement/Messages/MassMessagesContract.php @@ -18,7 +18,7 @@ interface MassMessagesContract * @api * * @param string $account The Account ID - * @param string $endDate The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of messages to return (default = 10) * @param string $query optionally, filter by message text * @param string $startDate The earliest message to retrieve. Keep empty to get all. @@ -39,7 +39,7 @@ public function list( * @api * * @param string $account The Account ID - * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. * @param string $startDate start of the chart window in `Y-m-d H:i:s` format * @param bool $withTotal Include `total` and `delta` aggregates in the response. Defaults to `true`. * @param RequestOpts|null $requestOptions diff --git a/src/ServiceContracts/Engagement/MessagesContract.php b/src/ServiceContracts/Engagement/MessagesContract.php index 775f05a8..2d0c5ab2 100644 --- a/src/ServiceContracts/Engagement/MessagesContract.php +++ b/src/ServiceContracts/Engagement/MessagesContract.php @@ -22,7 +22,7 @@ interface MessagesContract * @param int $limit Query param: Number of buyers to return (default = 10) * @param int $marker Query param: Marker for pagination * @param int $offset Query param: Offset for pagination (default = 0) - * @param string $skipUsers Query param: Optional flag for subsequent pages (example: all) + * @param string $skipUsers query param: Optional flag for subsequent pages (example: all) * @param int $skipUsersDups Query param: Skip duplicate users in results (0/1). Default = 1 * @param RequestOpts|null $requestOptions * @@ -43,7 +43,7 @@ public function getMessageBuyers( * @api * * @param string $account The Account ID - * @param string $endDate The end date for the period. Keep empty to retrieve until now. MUST BE DATE AFTER `startDate`. + * @param string $endDate The end date for the period. Keep empty to retrieve until now. It must be after `startDate`. * @param string $startDate The start date for the period. Keep empty to retrieve from the model start date. * @param RequestOpts|null $requestOptions * diff --git a/src/ServiceContracts/FansContract.php b/src/ServiceContracts/FansContract.php index fa2bcbad..fec584a6 100644 --- a/src/ServiceContracts/FansContract.php +++ b/src/ServiceContracts/FansContract.php @@ -113,10 +113,10 @@ public function listExpired( * @api * * @param string $account The Account ID - * @param string|null $endDate End date for filtering (required with start_date). This field is required when start_date is present. + * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. * @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 string|null $startDate Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new * @param RequestOpts|null $requestOptions * @@ -137,8 +137,8 @@ public function listLatest( * * @param string $account The Account ID * @param By|value-of|null $by sort by: total (default), subscribes, tips, messages, post, streams - * @param string|null $endDate End date for filtering (required with start_date). This field is required when start_date is present. - * @param string|null $startDate Start date for filtering (required with end_date). This field is required when end_date is present. + * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. + * @param string|null $startDate Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/ServiceContracts/MassMessagingContract.php b/src/ServiceContracts/MassMessagingContract.php index db0f0f6e..9eff0504 100644 --- a/src/ServiceContracts/MassMessagingContract.php +++ b/src/ServiceContracts/MassMessagingContract.php @@ -98,7 +98,7 @@ public function delete( * @api * * @param string $account The Account ID - * @param string $endDate The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest mass message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of mass messages to return (default = 10) * @param string $query optionally, find a mass message by the message text * @param string $startDate The earliest mass message to retrieve. Keep empty to get all. diff --git a/src/ServiceContracts/NotificationsContract.php b/src/ServiceContracts/NotificationsContract.php index 0a9013e0..525dd601 100644 --- a/src/ServiceContracts/NotificationsContract.php +++ b/src/ServiceContracts/NotificationsContract.php @@ -24,7 +24,7 @@ interface NotificationsContract * @param string $account The Account ID * @param int $fromID Used for pagination. This value should be the ID of the previous response's last notification. * @param int $limit The number of notifications. Default `10` - * @param SkipUsers|value-of $skipUsers Whether to skip user details. Default `all` + * @param SkipUsers|value-of $skipUsers Whether to skip user details. Defaults to `all`. * @param Type|value-of $type Filter notifications by a specific type * @param RequestOpts|null $requestOptions * diff --git a/src/ServiceContracts/SharedTrackingLinksContract.php b/src/ServiceContracts/SharedTrackingLinksContract.php index a3b4ef1f..0409d0a3 100644 --- a/src/ServiceContracts/SharedTrackingLinksContract.php +++ b/src/ServiceContracts/SharedTrackingLinksContract.php @@ -6,6 +6,9 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\Pagination; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\SortingDeleted; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\WithDeleted; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; @@ -18,9 +21,13 @@ interface SharedTrackingLinksContract * @api * * @param string $account The Account ID - * @param int $limit The number of shared tracking links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param bool|null $synchronous Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false` + * @param int $limit The number of shared tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination Whether pagination metadata is enabled. Default `1`. + * @param SortingDeleted|value-of $sortingDeleted Whether deleted links participate in sorting. Default `1`. + * @param string $stats Whether statistics are included. Default `true`. Must not be greater than 10 characters. + * @param bool $synchronous wait for the database sync instead of processing it in the background + * @param WithDeleted|value-of $withDeleted Whether to include deleted shared tracking links. Default `1`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -29,7 +36,11 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, + SortingDeleted|int|null $sortingDeleted = null, + ?string $stats = null, ?bool $synchronous = null, + WithDeleted|int|null $withDeleted = null, RequestOptions|array|null $requestOptions = null, ): SharedTrackingLinkListResponse; diff --git a/src/ServiceContracts/SharedTrialLinksContract.php b/src/ServiceContracts/SharedTrialLinksContract.php index 3188f08a..a9ea1a48 100644 --- a/src/ServiceContracts/SharedTrialLinksContract.php +++ b/src/ServiceContracts/SharedTrialLinksContract.php @@ -6,6 +6,7 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams\Pagination; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; @@ -18,9 +19,10 @@ interface SharedTrialLinksContract * @api * * @param string $account The Account ID - * @param int $limit The number of shared trial links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param bool|null $synchronous Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false` + * @param int $limit The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination + * @param bool $synchronous wait for the database sync instead of processing it in the background * @param RequestOpts|null $requestOptions * * @throws APIException @@ -29,6 +31,7 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, ?bool $synchronous = null, RequestOptions|array|null $requestOptions = null, ): SharedTrialLinkListResponse; diff --git a/src/ServiceContracts/SmartLinksContract.php b/src/ServiceContracts/SmartLinksContract.php index 7dbb33fd..6cd7d225 100644 --- a/src/ServiceContracts/SmartLinksContract.php +++ b/src/ServiceContracts/SmartLinksContract.php @@ -65,7 +65,6 @@ public function retrieve( * @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. * @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 @@ -77,7 +76,6 @@ public function list( ?string $accountIDs = null, Filter|array|null $filter = null, ?int $limit = null, - ?string $metaPixelIDs = null, ?string $name = null, ?int $offset = null, ?string $pixelIDs = null, diff --git a/src/ServiceContracts/Statistics/ReachContract.php b/src/ServiceContracts/Statistics/ReachContract.php index ab1ffd21..501a8840 100644 --- a/src/ServiceContracts/Statistics/ReachContract.php +++ b/src/ServiceContracts/Statistics/ReachContract.php @@ -22,7 +22,7 @@ interface ReachContract * * @param string $account The Account ID * @param string $endDate the end date for the period - * @param string $startDate The start date for the period + * @param string $startDate the start date for the period * @param Filter|value-of|null $filter Optionally, filter the results by `chart` or `topCountries`. See example responses. * @param int|null $limit Number of results to return * @param Type|value-of|null $type Filter all / users / guests diff --git a/src/ServiceContracts/Statistics/StatementsContract.php b/src/ServiceContracts/Statistics/StatementsContract.php index e3602fc0..0e4ef3de 100644 --- a/src/ServiceContracts/Statistics/StatementsContract.php +++ b/src/ServiceContracts/Statistics/StatementsContract.php @@ -18,8 +18,8 @@ interface StatementsContract * @api * * @param string $account The Account ID - * @param string $startDate The start date for the period * @param string $endDate the end date for the period + * @param string $startDate the start date for the period * @param Type|value-of $type Filter by All / Subscriptions / Tips / Posts / Messages / Streams * @param RequestOpts|null $requestOptions * @@ -27,8 +27,8 @@ interface StatementsContract */ public function getEarnings( string $account, + string $endDate, string $startDate, - ?string $endDate = null, Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): StatementGetEarningsResponse; diff --git a/src/ServiceContracts/StatisticsContract.php b/src/ServiceContracts/StatisticsContract.php index 681157a0..6207c566 100644 --- a/src/ServiceContracts/StatisticsContract.php +++ b/src/ServiceContracts/StatisticsContract.php @@ -28,8 +28,8 @@ interface StatisticsContract */ public function calculateTotalTransactions( string $account, - string $endDate, - string $startDate, + ?string $endDate = null, + ?string $startDate = null, RequestOptions|array|null $requestOptions = null, ): StatisticCalculateTotalTransactionsResponse; diff --git a/src/ServiceContracts/TrackingLinksContract.php b/src/ServiceContracts/TrackingLinksContract.php index 5af1760f..daa2e451 100644 --- a/src/ServiceContracts/TrackingLinksContract.php +++ b/src/ServiceContracts/TrackingLinksContract.php @@ -10,8 +10,10 @@ use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Pagination; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\WithDeleted; use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; @@ -58,14 +60,15 @@ public function retrieve( * @api * * @param string $account The Account ID - * @param string|null $endDate The end date for Tracking Links. Keep empty to get all. - * @param int|null $limit The number of tracking links to return. Default `3` - * @param int|null $offset The offset used for pagination. Default `0` - * @param Sort|value-of|null $sort Sort the results. Default `desc` - * @param Sortby|value-of|null $sortby Sort by subscriber count (claims), or creation date - * @param string|null $startDate The start date for Tracking Links. Keep empty to get all. - * @param bool|null $synchronous Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false` - * @param bool|null $withDeleted Whether or not to include deleted tracking links in the response. Default `false` + * @param string|null $endDate The end date for tracking links. Keep empty to get all. Must not be greater than 255 characters. + * @param int $limit The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination + * @param Sort|value-of $sort Sort direction. Default `desc`. + * @param Sortby|value-of $sortby sort by subscriber count (`claims`) or creation date (`created_date`) + * @param string|null $startDate The start date for tracking links. Keep empty to get all. Must not be greater than 255 characters. + * @param bool $synchronous wait for revenue calculation instead of processing it in the background + * @param WithDeleted|value-of $withDeleted Whether to include deleted tracking links. Default `true`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -75,11 +78,12 @@ public function list( ?string $endDate = null, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, Sort|string|null $sort = null, Sortby|string|null $sortby = null, ?string $startDate = null, ?bool $synchronous = null, - ?bool $withDeleted = null, + WithDeleted|int|null $withDeleted = null, RequestOptions|array|null $requestOptions = null, ): TrackingLinkListResponse; diff --git a/src/ServiceContracts/TransactionsContract.php b/src/ServiceContracts/TransactionsContract.php index 73076f5e..066f3f54 100644 --- a/src/ServiceContracts/TransactionsContract.php +++ b/src/ServiceContracts/TransactionsContract.php @@ -19,7 +19,7 @@ interface TransactionsContract * @param string $account The Account ID * @param string $limit The number of transactions to return. Recommended: `10` * @param string $marker The marker used for pagination. Default: `null` - * @param string $startDate The start date for transactions list. Default: `-30days` + * @param string $startDate The start date for the transactions list. Defaults to 30 days ago. * @param string $tipsSource Filter tips by source. Only applies when `type=tips`. Options: `profile`, `post_all`, `chat`, `stream`, `story` * @param string $type Filter by transaction type. Options: `subscribes`, `tips`, `post`, `chat_messages`, `stream` * @param RequestOpts|null $requestOptions diff --git a/src/ServiceContracts/TrialLinksContract.php b/src/ServiceContracts/TrialLinksContract.php index f60d5326..03bad853 100644 --- a/src/ServiceContracts/TrialLinksContract.php +++ b/src/ServiceContracts/TrialLinksContract.php @@ -66,21 +66,25 @@ public function retrieve( * @api * * @param string $account The Account ID - * @param int $limit The number of trial links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param Field|value-of|null $field Sort the results by a field. Default `create_date` - * @param Sort|value-of|null $sort Sort the results. Default `desc` - * @param bool|null $synchronous Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false` + * @param string|null $endDate The end date for trial links. Keep empty to get all. Must not be greater than 255 characters. + * @param Field|value-of $field Field to sort by. Default `create_date`. + * @param int $limit The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Sort|value-of $sort Sort direction. Default `desc`. + * @param string|null $startDate The start date for trial links. Keep empty to get all. Must not be greater than 255 characters. + * @param bool $synchronous wait for revenue calculation instead of processing it in the background * @param RequestOpts|null $requestOptions * * @throws APIException */ public function list( string $account, - int $limit, - int $offset, + ?string $endDate = null, Field|string|null $field = null, + ?int $limit = null, + ?int $offset = null, Sort|string|null $sort = null, + ?string $startDate = null, ?bool $synchronous = null, RequestOptions|array|null $requestOptions = null, ): TrialLinkListResponse; diff --git a/src/Services/Chats/MessagesService.php b/src/Services/Chats/MessagesService.php index 3485c091..415ae8f0 100644 --- a/src/Services/Chats/MessagesService.php +++ b/src/Services/Chats/MessagesService.php @@ -76,7 +76,7 @@ public function retrieve( * @param string|null $lastID Query param: Use for pagination when `order=asc` (oldest to newest). Include this message ID as the first message in the results. WARNING! The response list of messages will also be inverted (oldest messages will be first, opposite to default where `order=desc`). * @param string $limit Query param: The number of messages to return (default = 10, max = 100) * @param string $order Query param: Sort order for messages (desc or asc) - * @param string $skipUsers Query param: Whether to skip user details (all or none) + * @param string $skipUsers query param: Whether to skip user details (`all` or `none`) * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/ChatsService.php b/src/Services/ChatsService.php index 853bf1f9..c42f0d43 100644 --- a/src/Services/ChatsService.php +++ b/src/Services/ChatsService.php @@ -66,7 +66,7 @@ public function __construct(private Client $client) * @param string $offset Number of chats to skip for pagination * @param Order|value-of $order Sort order for chats (recent or old). Default = recent * @param string $query Search query to filter chats - * @param SkipUsers|value-of $skipUsers Whether to skip user details in response (all or none). Default = all + * @param SkipUsers|value-of $skipUsers Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -155,7 +155,7 @@ public function hide( * @param string $account Path param: The Account ID * @param string $limit Query param: Number of medias to return. Default = 20 * @param string $offset Query param: Number of medias to skip for pagination - * @param string $skipUsers Query param: Whether to skip user details in response (all or none). Default = all + * @param string $skipUsers Query param: Whether to skip user details in the response (`all` or `none`). Defaults to `all`. * @param Type|value-of|null $type Query param: Filter by specific media types. Keep empty to return all. * @param RequestOpts|null $requestOptions * diff --git a/src/Services/Engagement/Messages/DirectMessagesService.php b/src/Services/Engagement/Messages/DirectMessagesService.php index 529af028..7e577240 100644 --- a/src/Services/Engagement/Messages/DirectMessagesService.php +++ b/src/Services/Engagement/Messages/DirectMessagesService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) * List sent direct messages with engagement stats (sent, viewed, purchased, etc.). * * @param string $account The Account ID - * @param string $endDate The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of messages to return (default = 10) * @param int $offset optional offset for manual pagination * @param string $query optionally, filter by message text @@ -76,7 +76,7 @@ public function list( * Get engagement chart metrics for direct messages: sent count and purchase amount over time. * * @param string $account The Account ID - * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. * @param string $startDate start of the chart window in `Y-m-d H:i:s` format * @param bool $withTotal Include `total` and `delta` aggregates in the response. Defaults to `true`. * @param RequestOpts|null $requestOptions diff --git a/src/Services/Engagement/Messages/MassMessagesService.php b/src/Services/Engagement/Messages/MassMessagesService.php index 4f200b98..7a4a8688 100644 --- a/src/Services/Engagement/Messages/MassMessagesService.php +++ b/src/Services/Engagement/Messages/MassMessagesService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) * List sent mass messages with engagement stats (sent, viewed, purchased, etc.). * * @param string $account The Account ID - * @param string $endDate The latest message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of messages to return (default = 10) * @param string $query optionally, filter by message text * @param string $startDate The earliest message to retrieve. Keep empty to get all. @@ -73,7 +73,7 @@ public function list( * Get engagement chart metrics for mass messages: sent count and purchase amount over time. * * @param string $account The Account ID - * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. Must be after `startDate`. + * @param string $endDate End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`. * @param string $startDate start of the chart window in `Y-m-d H:i:s` format * @param bool $withTotal Include `total` and `delta` aggregates in the response. Defaults to `true`. * @param RequestOpts|null $requestOptions diff --git a/src/Services/Engagement/MessagesService.php b/src/Services/Engagement/MessagesService.php index 5db80196..f3f2bcde 100644 --- a/src/Services/Engagement/MessagesService.php +++ b/src/Services/Engagement/MessagesService.php @@ -54,7 +54,7 @@ public function __construct(private Client $client) * @param int $limit Query param: Number of buyers to return (default = 10) * @param int $marker Query param: Marker for pagination * @param int $offset Query param: Offset for pagination (default = 0) - * @param string $skipUsers Query param: Optional flag for subsequent pages (example: all) + * @param string $skipUsers query param: Optional flag for subsequent pages (example: all) * @param int $skipUsersDups Query param: Skip duplicate users in results (0/1). Default = 1 * @param RequestOpts|null $requestOptions * @@ -93,7 +93,7 @@ public function getMessageBuyers( * Get the top performing message by purchases in the selected timeframe. * * @param string $account The Account ID - * @param string $endDate The end date for the period. Keep empty to retrieve until now. MUST BE DATE AFTER `startDate`. + * @param string $endDate The end date for the period. Keep empty to retrieve until now. It must be after `startDate`. * @param string $startDate The start date for the period. Keep empty to retrieve from the model start date. * @param RequestOpts|null $requestOptions * diff --git a/src/Services/FansService.php b/src/Services/FansService.php index 88955678..91fffa63 100644 --- a/src/Services/FansService.php +++ b/src/Services/FansService.php @@ -207,10 +207,10 @@ public function listExpired( * Get a paginated list fans, filterable by total, only new subscribers, or only renewals. Newest fans are first. * * @param string $account The Account ID - * @param string|null $endDate End date for filtering (required with start_date). This field is required when start_date is present. + * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. * @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 string|null $startDate Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new * @param RequestOpts|null $requestOptions * @@ -248,8 +248,8 @@ public function listLatest( * * @param string $account The Account ID * @param By|value-of|null $by sort by: total (default), subscribes, tips, messages, post, streams - * @param string|null $endDate End date for filtering (required with start_date). This field is required when start_date is present. - * @param string|null $startDate Start date for filtering (required with end_date). This field is required when end_date is present. + * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. + * @param string|null $startDate Start date for filtering (required with end_date). Must be a valid date. Must not be greater than 255 characters. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/MassMessagingService.php b/src/Services/MassMessagingService.php index 4b157237..38124a36 100644 --- a/src/Services/MassMessagingService.php +++ b/src/Services/MassMessagingService.php @@ -163,7 +163,7 @@ public function delete( * Get an overview of mass messages, showing the send count and view count. * * @param string $account The Account ID - * @param string $endDate The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER `startDate`. This is also used for pagination. + * @param string $endDate The latest mass message to retrieve. Keep empty to get all. It must be after `startDate` and is also used for pagination. * @param int $limit Number of mass messages to return (default = 10) * @param string $query optionally, find a mass message by the message text * @param string $startDate The earliest mass message to retrieve. Keep empty to get all. diff --git a/src/Services/NotificationsService.php b/src/Services/NotificationsService.php index 85515b1e..2a459cca 100644 --- a/src/Services/NotificationsService.php +++ b/src/Services/NotificationsService.php @@ -51,7 +51,7 @@ public function __construct(private Client $client) * @param string $account The Account ID * @param int $fromID Used for pagination. This value should be the ID of the previous response's last notification. * @param int $limit The number of notifications. Default `10` - * @param SkipUsers|value-of $skipUsers Whether to skip user details. Default `all` + * @param SkipUsers|value-of $skipUsers Whether to skip user details. Defaults to `all`. * @param Type|value-of $type Filter notifications by a specific type * @param RequestOpts|null $requestOptions * diff --git a/src/Services/SharedTrackingLinksRawService.php b/src/Services/SharedTrackingLinksRawService.php index 6260ed9b..ca5bc6b3 100644 --- a/src/Services/SharedTrackingLinksRawService.php +++ b/src/Services/SharedTrackingLinksRawService.php @@ -7,9 +7,13 @@ use OnlyFansAPI\Client; use OnlyFansAPI\Core\Contracts\BaseResponse; use OnlyFansAPI\Core\Exceptions\APIException; +use OnlyFansAPI\Core\Util; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SharedTrackingLinksRawContract; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\Pagination; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\SortingDeleted; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\WithDeleted; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessParams; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; @@ -34,7 +38,13 @@ public function __construct(private Client $client) {} * * @param string $account The Account ID * @param array{ - * limit?: int, offset?: int, synchronous?: bool|null + * limit?: int, + * offset?: int, + * pagination?: Pagination|value-of, + * sortingDeleted?: SortingDeleted|value-of, + * stats?: string, + * synchronous?: bool, + * withDeleted?: WithDeleted|value-of, * }|SharedTrackingLinkListParams $params * @param RequestOpts|null $requestOptions * @@ -56,7 +66,12 @@ public function list( return $this->client->request( method: 'get', path: ['api/%1$s/shared-tracking-links', $account], - query: $parsed, + query: Util::array_transform_keys( + $parsed, + [ + 'sortingDeleted' => 'sorting_deleted', 'withDeleted' => 'with_deleted', + ], + ), options: $options, convert: SharedTrackingLinkListResponse::class, ); diff --git a/src/Services/SharedTrackingLinksService.php b/src/Services/SharedTrackingLinksService.php index b47296f8..0290992e 100644 --- a/src/Services/SharedTrackingLinksService.php +++ b/src/Services/SharedTrackingLinksService.php @@ -10,6 +10,9 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SharedTrackingLinksContract; use OnlyFansAPI\Services\SharedTrackingLinks\TagsService; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\Pagination; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\SortingDeleted; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\WithDeleted; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListResponse; use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkRevokeAccessResponse; @@ -45,9 +48,13 @@ public function __construct(private Client $client) * List all Tracking Links (campaigns) shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache. * * @param string $account The Account ID - * @param int $limit The number of shared tracking links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param bool|null $synchronous Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false` + * @param int $limit The number of shared tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination Whether pagination metadata is enabled. Default `1`. + * @param SortingDeleted|value-of $sortingDeleted Whether deleted links participate in sorting. Default `1`. + * @param string $stats Whether statistics are included. Default `true`. Must not be greater than 10 characters. + * @param bool $synchronous wait for the database sync instead of processing it in the background + * @param WithDeleted|value-of $withDeleted Whether to include deleted shared tracking links. Default `1`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -56,11 +63,23 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, + SortingDeleted|int|null $sortingDeleted = null, + ?string $stats = null, ?bool $synchronous = null, + WithDeleted|int|null $withDeleted = null, RequestOptions|array|null $requestOptions = null, ): SharedTrackingLinkListResponse { $params = Util::removeNulls( - ['limit' => $limit, 'offset' => $offset, 'synchronous' => $synchronous] + [ + 'limit' => $limit, + 'offset' => $offset, + 'pagination' => $pagination, + 'sortingDeleted' => $sortingDeleted, + 'stats' => $stats, + 'synchronous' => $synchronous, + 'withDeleted' => $withDeleted, + ], ); // @phpstan-ignore-next-line argument.type diff --git a/src/Services/SharedTrialLinksRawService.php b/src/Services/SharedTrialLinksRawService.php index 0d57a5c4..1c27dd18 100644 --- a/src/Services/SharedTrialLinksRawService.php +++ b/src/Services/SharedTrialLinksRawService.php @@ -10,6 +10,7 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SharedTrialLinksRawContract; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams\Pagination; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessParams; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; @@ -34,7 +35,10 @@ public function __construct(private Client $client) {} * * @param string $account The Account ID * @param array{ - * limit?: int, offset?: int, synchronous?: bool|null + * limit?: int, + * offset?: int, + * pagination?: Pagination|value-of, + * synchronous?: bool, * }|SharedTrialLinkListParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/SharedTrialLinksService.php b/src/Services/SharedTrialLinksService.php index 3e81ba34..7f3e3c6e 100644 --- a/src/Services/SharedTrialLinksService.php +++ b/src/Services/SharedTrialLinksService.php @@ -10,6 +10,7 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\SharedTrialLinksContract; use OnlyFansAPI\Services\SharedTrialLinks\TagsService; +use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListParams\Pagination; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkListResponse; use OnlyFansAPI\SharedTrialLinks\SharedTrialLinkRevokeAccessResponse; @@ -45,9 +46,10 @@ public function __construct(private Client $client) * List all Free Trial Links shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache. * * @param string $account The Account ID - * @param int $limit The number of shared trial links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param bool|null $synchronous Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false` + * @param int $limit The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination + * @param bool $synchronous wait for the database sync instead of processing it in the background * @param RequestOpts|null $requestOptions * * @throws APIException @@ -56,11 +58,17 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, ?bool $synchronous = null, RequestOptions|array|null $requestOptions = null, ): SharedTrialLinkListResponse { $params = Util::removeNulls( - ['limit' => $limit, 'offset' => $offset, 'synchronous' => $synchronous] + [ + 'limit' => $limit, + 'offset' => $offset, + 'pagination' => $pagination, + 'synchronous' => $synchronous, + ], ); // @phpstan-ignore-next-line argument.type diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 19f18f7d..011859f2 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -117,7 +117,6 @@ public function retrieve( * accountIDs?: string|null, * filter?: Filter|FilterShape, * limit?: int, - * metaPixelIDs?: string|null, * name?: string|null, * offset?: int, * pixelIDs?: string|null, @@ -143,11 +142,7 @@ public function list( path: 'api/smart-links', query: Util::array_transform_keys( $parsed, - [ - 'accountIDs' => 'account_ids', - 'metaPixelIDs' => 'meta_pixel_ids', - 'pixelIDs' => 'pixel_ids', - ], + ['accountIDs' => 'account_ids', 'pixelIDs' => 'pixel_ids'] ), options: $options, convert: SmartLinkListResponse::class, diff --git a/src/Services/SmartLinksService.php b/src/Services/SmartLinksService.php index c4b5b60b..938a9e22 100644 --- a/src/Services/SmartLinksService.php +++ b/src/Services/SmartLinksService.php @@ -108,7 +108,6 @@ public function retrieve( * @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. * @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 @@ -120,7 +119,6 @@ public function list( ?string $accountIDs = null, Filter|array|null $filter = null, ?int $limit = null, - ?string $metaPixelIDs = null, ?string $name = null, ?int $offset = null, ?string $pixelIDs = null, @@ -131,7 +129,6 @@ public function list( 'accountIDs' => $accountIDs, 'filter' => $filter, 'limit' => $limit, - 'metaPixelIDs' => $metaPixelIDs, 'name' => $name, 'offset' => $offset, 'pixelIDs' => $pixelIDs, diff --git a/src/Services/Statistics/ReachService.php b/src/Services/Statistics/ReachService.php index d2ccbd7d..c31cfe2f 100644 --- a/src/Services/Statistics/ReachService.php +++ b/src/Services/Statistics/ReachService.php @@ -40,7 +40,7 @@ public function __construct(private Client $client) * * @param string $account The Account ID * @param string $endDate the end date for the period - * @param string $startDate The start date for the period + * @param string $startDate the start date for the period * @param Filter|value-of|null $filter Optionally, filter the results by `chart` or `topCountries`. See example responses. * @param int|null $limit Number of results to return * @param Type|value-of|null $type Filter all / users / guests diff --git a/src/Services/Statistics/StatementsRawService.php b/src/Services/Statistics/StatementsRawService.php index f2c99631..a418dff9 100644 --- a/src/Services/Statistics/StatementsRawService.php +++ b/src/Services/Statistics/StatementsRawService.php @@ -32,7 +32,7 @@ public function __construct(private Client $client) {} * * @param string $account The Account ID * @param array{ - * startDate: string, endDate?: string, type?: Type|value-of + * endDate: string, startDate: string, type?: Type|value-of * }|StatementGetEarningsParams $params * @param RequestOpts|null $requestOptions * @@ -56,7 +56,7 @@ public function getEarnings( path: ['api/%1$s/statistics/statements/earnings', $account], query: Util::array_transform_keys( $parsed, - ['startDate' => 'start_date', 'endDate' => 'end_date'] + ['endDate' => 'end_date', 'startDate' => 'start_date'] ), options: $options, convert: StatementGetEarningsResponse::class, diff --git a/src/Services/Statistics/StatementsService.php b/src/Services/Statistics/StatementsService.php index 402013a5..b6b3da11 100644 --- a/src/Services/Statistics/StatementsService.php +++ b/src/Services/Statistics/StatementsService.php @@ -36,8 +36,8 @@ public function __construct(private Client $client) * Get the earnings for a given period. * * @param string $account The Account ID - * @param string $startDate The start date for the period * @param string $endDate the end date for the period + * @param string $startDate the start date for the period * @param Type|value-of $type Filter by All / Subscriptions / Tips / Posts / Messages / Streams * @param RequestOpts|null $requestOptions * @@ -45,13 +45,13 @@ public function __construct(private Client $client) */ public function getEarnings( string $account, + string $endDate, string $startDate, - ?string $endDate = null, Type|string|null $type = null, RequestOptions|array|null $requestOptions = null, ): StatementGetEarningsResponse { $params = Util::removeNulls( - ['startDate' => $startDate, 'endDate' => $endDate, 'type' => $type] + ['endDate' => $endDate, 'startDate' => $startDate, 'type' => $type] ); // @phpstan-ignore-next-line argument.type diff --git a/src/Services/StatisticsRawService.php b/src/Services/StatisticsRawService.php index 75daa82f..6ae94ba5 100644 --- a/src/Services/StatisticsRawService.php +++ b/src/Services/StatisticsRawService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) {} * * @param string $account The Account ID * @param array{ - * endDate: string, startDate: string + * endDate?: string, startDate?: string * }|StatisticCalculateTotalTransactionsParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/StatisticsService.php b/src/Services/StatisticsService.php index d4e6a794..38649a96 100644 --- a/src/Services/StatisticsService.php +++ b/src/Services/StatisticsService.php @@ -60,8 +60,8 @@ public function __construct(private Client $client) */ public function calculateTotalTransactions( string $account, - string $endDate, - string $startDate, + ?string $endDate = null, + ?string $startDate = null, RequestOptions|array|null $requestOptions = null, ): StatisticCalculateTotalTransactionsResponse { $params = Util::removeNulls( diff --git a/src/Services/TrackingLinksRawService.php b/src/Services/TrackingLinksRawService.php index 8b316d1d..e57ff2e8 100644 --- a/src/Services/TrackingLinksRawService.php +++ b/src/Services/TrackingLinksRawService.php @@ -19,8 +19,10 @@ use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsParams; use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Pagination; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\WithDeleted; use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersParams; use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; @@ -117,13 +119,14 @@ public function retrieve( * @param string $account The Account ID * @param array{ * endDate?: string|null, - * limit?: int|null, - * offset?: int|null, - * sort?: Sort|value-of|null, - * sortby?: Sortby|value-of|null, + * limit?: int, + * offset?: int, + * pagination?: Pagination|value-of, + * sort?: Sort|value-of, + * sortby?: Sortby|value-of, * startDate?: string|null, - * synchronous?: bool|null, - * withDeleted?: bool|null, + * synchronous?: bool, + * withDeleted?: WithDeleted|value-of, * }|TrackingLinkListParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/TrackingLinksService.php b/src/Services/TrackingLinksService.php index ca9cc8b6..f330fc39 100644 --- a/src/Services/TrackingLinksService.php +++ b/src/Services/TrackingLinksService.php @@ -14,8 +14,10 @@ use OnlyFansAPI\TrackingLinks\TrackingLinkGetCohortArpsParams\RevenueBasis; use OnlyFansAPI\TrackingLinks\TrackingLinkGetResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkGetStatsResponse; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Pagination; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\WithDeleted; use OnlyFansAPI\TrackingLinks\TrackingLinkListResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListSpendersResponse; use OnlyFansAPI\TrackingLinks\TrackingLinkListSubscribersResponse; @@ -103,14 +105,15 @@ public function retrieve( * List all tracking links for the account and revenue data * * @param string $account The Account ID - * @param string|null $endDate The end date for Tracking Links. Keep empty to get all. - * @param int|null $limit The number of tracking links to return. Default `3` - * @param int|null $offset The offset used for pagination. Default `0` - * @param Sort|value-of|null $sort Sort the results. Default `desc` - * @param Sortby|value-of|null $sortby Sort by subscriber count (claims), or creation date - * @param string|null $startDate The start date for Tracking Links. Keep empty to get all. - * @param bool|null $synchronous Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false` - * @param bool|null $withDeleted Whether or not to include deleted tracking links in the response. Default `false` + * @param string|null $endDate The end date for tracking links. Keep empty to get all. Must not be greater than 255 characters. + * @param int $limit The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Pagination|value-of $pagination + * @param Sort|value-of $sort Sort direction. Default `desc`. + * @param Sortby|value-of $sortby sort by subscriber count (`claims`) or creation date (`created_date`) + * @param string|null $startDate The start date for tracking links. Keep empty to get all. Must not be greater than 255 characters. + * @param bool $synchronous wait for revenue calculation instead of processing it in the background + * @param WithDeleted|value-of $withDeleted Whether to include deleted tracking links. Default `true`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -120,11 +123,12 @@ public function list( ?string $endDate = null, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, Sort|string|null $sort = null, Sortby|string|null $sortby = null, ?string $startDate = null, ?bool $synchronous = null, - ?bool $withDeleted = null, + WithDeleted|int|null $withDeleted = null, RequestOptions|array|null $requestOptions = null, ): TrackingLinkListResponse { $params = Util::removeNulls( @@ -132,6 +136,7 @@ public function list( 'endDate' => $endDate, 'limit' => $limit, 'offset' => $offset, + 'pagination' => $pagination, 'sort' => $sort, 'sortby' => $sortby, 'startDate' => $startDate, diff --git a/src/Services/TransactionsService.php b/src/Services/TransactionsService.php index 4a5f69ec..7dd99349 100644 --- a/src/Services/TransactionsService.php +++ b/src/Services/TransactionsService.php @@ -39,7 +39,7 @@ public function __construct(private Client $client) * @param string $account The Account ID * @param string $limit The number of transactions to return. Recommended: `10` * @param string $marker The marker used for pagination. Default: `null` - * @param string $startDate The start date for transactions list. Default: `-30days` + * @param string $startDate The start date for the transactions list. Defaults to 30 days ago. * @param string $tipsSource Filter tips by source. Only applies when `type=tips`. Options: `profile`, `post_all`, `chat`, `stream`, `story` * @param string $type Filter by transaction type. Options: `subscribes`, `tips`, `post`, `chat_messages`, `stream` * @param RequestOpts|null $requestOptions diff --git a/src/Services/TrialLinksRawService.php b/src/Services/TrialLinksRawService.php index e8429d02..07e9f67c 100644 --- a/src/Services/TrialLinksRawService.php +++ b/src/Services/TrialLinksRawService.php @@ -124,11 +124,13 @@ public function retrieve( * * @param string $account The Account ID * @param array{ - * limit: int, - * offset: int, - * field?: Field|value-of|null, - * sort?: Sort|value-of|null, - * synchronous?: bool|null, + * endDate?: string|null, + * field?: Field|value-of, + * limit?: int, + * offset?: int, + * sort?: Sort|value-of, + * startDate?: string|null, + * synchronous?: bool, * }|TrialLinkListParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/TrialLinksService.php b/src/Services/TrialLinksService.php index 39377955..649486c4 100644 --- a/src/Services/TrialLinksService.php +++ b/src/Services/TrialLinksService.php @@ -119,30 +119,36 @@ public function retrieve( * List all free trial links for the account, including the details and statistics * * @param string $account The Account ID - * @param int $limit The number of trial links to return. Default `10` - * @param int $offset The offset used for pagination. Default `0` - * @param Field|value-of|null $field Sort the results by a field. Default `create_date` - * @param Sort|value-of|null $sort Sort the results. Default `desc` - * @param bool|null $synchronous Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false` + * @param string|null $endDate The end date for trial links. Keep empty to get all. Must not be greater than 255 characters. + * @param Field|value-of $field Field to sort by. Default `create_date`. + * @param int $limit The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. + * @param int $offset The offset used for pagination. Default `0`. Must be at least 0. + * @param Sort|value-of $sort Sort direction. Default `desc`. + * @param string|null $startDate The start date for trial links. Keep empty to get all. Must not be greater than 255 characters. + * @param bool $synchronous wait for revenue calculation instead of processing it in the background * @param RequestOpts|null $requestOptions * * @throws APIException */ public function list( string $account, - int $limit, - int $offset, + ?string $endDate = null, Field|string|null $field = null, + ?int $limit = null, + ?int $offset = null, Sort|string|null $sort = null, + ?string $startDate = null, ?bool $synchronous = null, RequestOptions|array|null $requestOptions = null, ): TrialLinkListResponse { $params = Util::removeNulls( [ + 'endDate' => $endDate, + 'field' => $field, 'limit' => $limit, 'offset' => $offset, - 'field' => $field, 'sort' => $sort, + 'startDate' => $startDate, 'synchronous' => $synchronous, ], ); diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListParams.php b/src/SharedTrackingLinks/SharedTrackingLinkListParams.php index 15a1ec29..aa8bc120 100644 --- a/src/SharedTrackingLinks/SharedTrackingLinkListParams.php +++ b/src/SharedTrackingLinks/SharedTrackingLinkListParams.php @@ -8,6 +8,9 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\Pagination; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\SortingDeleted; +use OnlyFansAPI\SharedTrackingLinks\SharedTrackingLinkListParams\WithDeleted; /** * List all Tracking Links (campaigns) shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache. @@ -15,7 +18,13 @@ * @see OnlyFansAPI\Services\SharedTrackingLinksService::list() * * @phpstan-type SharedTrackingLinkListParamsShape = array{ - * limit?: int|null, offset?: int|null, synchronous?: bool|null + * limit?: int|null, + * offset?: int|null, + * pagination?: null|Pagination|value-of, + * sortingDeleted?: null|SortingDeleted|value-of, + * stats?: string|null, + * synchronous?: bool|null, + * withDeleted?: null|WithDeleted|value-of, * } */ final class SharedTrackingLinkListParams implements BaseModel @@ -25,23 +34,53 @@ final class SharedTrackingLinkListParams implements BaseModel use SdkParams; /** - * The number of shared tracking links to return. Default `10`. + * The number of shared tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ #[Optional] public ?int $limit; /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ #[Optional] public ?int $offset; /** - * Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false`. + * Whether pagination metadata is enabled. Default `1`. + * + * @var value-of|null $pagination + */ + #[Optional(enum: Pagination::class)] + public ?int $pagination; + + /** + * Whether deleted links participate in sorting. Default `1`. + * + * @var value-of|null $sortingDeleted + */ + #[Optional(enum: SortingDeleted::class)] + public ?int $sortingDeleted; + + /** + * Whether statistics are included. Default `true`. Must not be greater than 10 characters. */ - #[Optional(nullable: true)] + #[Optional] + public ?string $stats; + + /** + * Wait for the database sync instead of processing it in the background. + */ + #[Optional] public ?bool $synchronous; + /** + * Whether to include deleted shared tracking links. Default `1`. + * + * @var value-of|null $withDeleted + */ + #[Optional(enum: WithDeleted::class)] + public ?int $withDeleted; + public function __construct() { $this->initialize(); @@ -51,23 +90,35 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param Pagination|value-of|null $pagination + * @param SortingDeleted|value-of|null $sortingDeleted + * @param WithDeleted|value-of|null $withDeleted */ public static function with( ?int $limit = null, ?int $offset = null, - ?bool $synchronous = null + Pagination|int|null $pagination = null, + SortingDeleted|int|null $sortingDeleted = null, + ?string $stats = null, + ?bool $synchronous = null, + WithDeleted|int|null $withDeleted = null, ): self { $self = new self; null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; + null !== $pagination && $self['pagination'] = $pagination; + null !== $sortingDeleted && $self['sortingDeleted'] = $sortingDeleted; + null !== $stats && $self['stats'] = $stats; null !== $synchronous && $self['synchronous'] = $synchronous; + null !== $withDeleted && $self['withDeleted'] = $withDeleted; return $self; } /** - * The number of shared tracking links to return. Default `10`. + * The number of shared tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ public function withLimit(int $limit): self { @@ -78,7 +129,7 @@ public function withLimit(int $limit): self } /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ public function withOffset(int $offset): self { @@ -89,13 +140,63 @@ public function withOffset(int $offset): self } /** - * Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false`. + * Whether pagination metadata is enabled. Default `1`. + * + * @param Pagination|value-of $pagination */ - public function withSynchronous(?bool $synchronous): self + public function withPagination(Pagination|int $pagination): self + { + $self = clone $this; + $self['pagination'] = $pagination; + + return $self; + } + + /** + * Whether deleted links participate in sorting. Default `1`. + * + * @param SortingDeleted|value-of $sortingDeleted + */ + public function withSortingDeleted(SortingDeleted|int $sortingDeleted): self + { + $self = clone $this; + $self['sortingDeleted'] = $sortingDeleted; + + return $self; + } + + /** + * Whether statistics are included. Default `true`. Must not be greater than 10 characters. + */ + public function withStats(string $stats): self + { + $self = clone $this; + $self['stats'] = $stats; + + return $self; + } + + /** + * Wait for the database sync instead of processing it in the background. + */ + public function withSynchronous(bool $synchronous): self { $self = clone $this; $self['synchronous'] = $synchronous; return $self; } + + /** + * Whether to include deleted shared tracking links. Default `1`. + * + * @param WithDeleted|value-of $withDeleted + */ + public function withWithDeleted(WithDeleted|int $withDeleted): self + { + $self = clone $this; + $self['withDeleted'] = $withDeleted; + + return $self; + } } diff --git a/src/SharedTrackingLinks/SharedTrackingLinkListParams/Pagination.php b/src/SharedTrackingLinks/SharedTrackingLinkListParams/Pagination.php new file mode 100644 index 00000000..d61a72ba --- /dev/null +++ b/src/SharedTrackingLinks/SharedTrackingLinkListParams/Pagination.php @@ -0,0 +1,15 @@ +, + * synchronous?: bool|null, * } */ final class SharedTrialLinkListParams implements BaseModel @@ -25,21 +29,25 @@ final class SharedTrialLinkListParams implements BaseModel use SdkParams; /** - * The number of shared trial links to return. Default `10`. + * The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ #[Optional] public ?int $limit; /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ #[Optional] public ?int $offset; + /** @var value-of|null $pagination */ + #[Optional(enum: Pagination::class)] + public ?int $pagination; + /** - * Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false`. + * Wait for the database sync instead of processing it in the background. */ - #[Optional(nullable: true)] + #[Optional] public ?bool $synchronous; public function __construct() @@ -51,23 +59,27 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param Pagination|value-of|null $pagination */ public static function with( ?int $limit = null, ?int $offset = null, - ?bool $synchronous = null + Pagination|int|null $pagination = null, + ?bool $synchronous = null, ): self { $self = new self; null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; + null !== $pagination && $self['pagination'] = $pagination; null !== $synchronous && $self['synchronous'] = $synchronous; return $self; } /** - * The number of shared trial links to return. Default `10`. + * The number of shared trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ public function withLimit(int $limit): self { @@ -78,7 +90,7 @@ public function withLimit(int $limit): self } /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ public function withOffset(int $offset): self { @@ -89,9 +101,20 @@ public function withOffset(int $offset): self } /** - * Wait for the database sync to finish, instead of running it in the background. **Will result in longer response times, use with caution**. Default `false`. + * @param Pagination|value-of $pagination + */ + public function withPagination(Pagination|int $pagination): self + { + $self = clone $this; + $self['pagination'] = $pagination; + + return $self; + } + + /** + * Wait for the database sync instead of processing it in the background. */ - public function withSynchronous(?bool $synchronous): self + public function withSynchronous(bool $synchronous): self { $self = clone $this; $self['synchronous'] = $synchronous; diff --git a/src/SharedTrialLinks/SharedTrialLinkListParams/Pagination.php b/src/SharedTrialLinks/SharedTrialLinkListParams/Pagination.php new file mode 100644 index 00000000..e8103daa --- /dev/null +++ b/src/SharedTrialLinks/SharedTrialLinkListParams/Pagination.php @@ -0,0 +1,12 @@ + + * endDate: string, startDate: string, type?: null|Type|value-of * } */ final class StatementGetEarningsParams implements BaseModel @@ -27,16 +27,16 @@ final class StatementGetEarningsParams implements BaseModel use SdkParams; /** - * The start date for the period. + * The end date for the period. */ #[Required] - public string $startDate; + public string $endDate; /** - * The end date for the period. + * The start date for the period. */ - #[Optional] - public ?string $endDate; + #[Required] + public string $startDate; /** * Filter by All / Subscriptions / Tips / Posts / Messages / Streams. @@ -51,13 +51,13 @@ final class StatementGetEarningsParams implements BaseModel * * To enforce required parameters use * ``` - * StatementGetEarningsParams::with(startDate: ...) + * StatementGetEarningsParams::with(endDate: ..., startDate: ...) * ``` * * Otherwise ensure the following setters are called * * ``` - * (new StatementGetEarningsParams)->withStartDate(...) + * (new StatementGetEarningsParams)->withEndDate(...)->withStartDate(...) * ``` */ public function __construct() @@ -73,38 +73,38 @@ public function __construct() * @param Type|value-of|null $type */ public static function with( + string $endDate, string $startDate, - ?string $endDate = null, Type|string|null $type = null ): self { $self = new self; + $self['endDate'] = $endDate; $self['startDate'] = $startDate; - null !== $endDate && $self['endDate'] = $endDate; null !== $type && $self['type'] = $type; return $self; } /** - * The start date for the period. + * The end date for the period. */ - public function withStartDate(string $startDate): self + public function withEndDate(string $endDate): self { $self = clone $this; - $self['startDate'] = $startDate; + $self['endDate'] = $endDate; return $self; } /** - * The end date for the period. + * The start date for the period. */ - public function withEndDate(string $endDate): self + public function withStartDate(string $startDate): self { $self = clone $this; - $self['endDate'] = $endDate; + $self['startDate'] = $startDate; return $self; } diff --git a/src/Statistics/StatisticCalculateTotalTransactionsParams.php b/src/Statistics/StatisticCalculateTotalTransactionsParams.php index 117cf724..1faa7083 100644 --- a/src/Statistics/StatisticCalculateTotalTransactionsParams.php +++ b/src/Statistics/StatisticCalculateTotalTransactionsParams.php @@ -4,7 +4,7 @@ namespace OnlyFansAPI\Statistics; -use OnlyFansAPI\Core\Attributes\Required; +use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; @@ -15,7 +15,7 @@ * @see OnlyFansAPI\Services\StatisticsService::calculateTotalTransactions() * * @phpstan-type StatisticCalculateTotalTransactionsParamsShape = array{ - * endDate: string, startDate: string + * endDate?: string|null, startDate?: string|null * } */ final class StatisticCalculateTotalTransactionsParams implements BaseModel @@ -27,31 +27,15 @@ final class StatisticCalculateTotalTransactionsParams implements BaseModel /** * The end date for the period. Keep empty to calculate everything. */ - #[Required] - public string $endDate; + #[Optional] + public ?string $endDate; /** * The start date for the period. Keep empty to calculate everything. */ - #[Required] - public string $startDate; + #[Optional] + public ?string $startDate; - /** - * `new StatisticCalculateTotalTransactionsParams()` is missing required properties by the API. - * - * To enforce required parameters use - * ``` - * StatisticCalculateTotalTransactionsParams::with(endDate: ..., startDate: ...) - * ``` - * - * Otherwise ensure the following setters are called - * - * ``` - * (new StatisticCalculateTotalTransactionsParams) - * ->withEndDate(...) - * ->withStartDate(...) - * ``` - */ public function __construct() { $this->initialize(); @@ -62,12 +46,14 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. */ - public static function with(string $endDate, string $startDate): self - { + public static function with( + ?string $endDate = null, + ?string $startDate = null + ): self { $self = new self; - $self['endDate'] = $endDate; - $self['startDate'] = $startDate; + null !== $endDate && $self['endDate'] = $endDate; + null !== $startDate && $self['startDate'] = $startDate; return $self; } diff --git a/src/TrackingLinks/TrackingLinkListParams.php b/src/TrackingLinks/TrackingLinkListParams.php index b8082a39..c76ac179 100644 --- a/src/TrackingLinks/TrackingLinkListParams.php +++ b/src/TrackingLinks/TrackingLinkListParams.php @@ -8,8 +8,10 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Pagination; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sort; use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\Sortby; +use OnlyFansAPI\TrackingLinks\TrackingLinkListParams\WithDeleted; /** * List all tracking links for the account and revenue data. @@ -20,11 +22,12 @@ * endDate?: string|null, * limit?: int|null, * offset?: int|null, + * pagination?: null|Pagination|value-of, * sort?: null|Sort|value-of, * sortby?: null|Sortby|value-of, * startDate?: string|null, * synchronous?: bool|null, - * withDeleted?: bool|null, + * withDeleted?: null|WithDeleted|value-of, * } */ final class TrackingLinkListParams implements BaseModel @@ -34,56 +37,62 @@ final class TrackingLinkListParams implements BaseModel use SdkParams; /** - * The end date for Tracking Links. Keep empty to get all. + * The end date for tracking links. Keep empty to get all. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $endDate; /** - * The number of tracking links to return. Default `3`. + * The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ - #[Optional(nullable: true)] + #[Optional] public ?int $limit; /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ - #[Optional(nullable: true)] + #[Optional] public ?int $offset; + /** @var value-of|null $pagination */ + #[Optional(enum: Pagination::class)] + public ?int $pagination; + /** - * Sort the results. Default `desc`. + * Sort direction. Default `desc`. * * @var value-of|null $sort */ - #[Optional(enum: Sort::class, nullable: true)] + #[Optional(enum: Sort::class)] public ?string $sort; /** - * Sort by subscriber count (claims), or creation date. + * Sort by subscriber count (`claims`) or creation date (`created_date`). * * @var value-of|null $sortby */ - #[Optional(enum: Sortby::class, nullable: true)] + #[Optional(enum: Sortby::class)] public ?string $sortby; /** - * The start date for Tracking Links. Keep empty to get all. + * The start date for tracking links. Keep empty to get all. Must not be greater than 255 characters. */ #[Optional(nullable: true)] public ?string $startDate; /** - * Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false`. + * Wait for revenue calculation instead of processing it in the background. */ - #[Optional(nullable: true)] + #[Optional] public ?bool $synchronous; /** - * Whether or not to include deleted tracking links in the response. Default `false`. + * Whether to include deleted tracking links. Default `true`. + * + * @var value-of|null $withDeleted */ - #[Optional(nullable: true)] - public ?bool $withDeleted; + #[Optional(enum: WithDeleted::class)] + public ?int $withDeleted; public function __construct() { @@ -95,24 +104,28 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param Pagination|value-of|null $pagination * @param Sort|value-of|null $sort * @param Sortby|value-of|null $sortby + * @param WithDeleted|value-of|null $withDeleted */ public static function with( ?string $endDate = null, ?int $limit = null, ?int $offset = null, + Pagination|int|null $pagination = null, Sort|string|null $sort = null, Sortby|string|null $sortby = null, ?string $startDate = null, ?bool $synchronous = null, - ?bool $withDeleted = null, + WithDeleted|int|null $withDeleted = null, ): self { $self = new self; null !== $endDate && $self['endDate'] = $endDate; null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; + null !== $pagination && $self['pagination'] = $pagination; null !== $sort && $self['sort'] = $sort; null !== $sortby && $self['sortby'] = $sortby; null !== $startDate && $self['startDate'] = $startDate; @@ -123,7 +136,7 @@ public static function with( } /** - * The end date for Tracking Links. Keep empty to get all. + * The end date for tracking links. Keep empty to get all. Must not be greater than 255 characters. */ public function withEndDate(?string $endDate): self { @@ -134,9 +147,9 @@ public function withEndDate(?string $endDate): self } /** - * The number of tracking links to return. Default `3`. + * The number of tracking links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ - public function withLimit(?int $limit): self + public function withLimit(int $limit): self { $self = clone $this; $self['limit'] = $limit; @@ -145,9 +158,9 @@ public function withLimit(?int $limit): self } /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ - public function withOffset(?int $offset): self + public function withOffset(int $offset): self { $self = clone $this; $self['offset'] = $offset; @@ -156,11 +169,22 @@ public function withOffset(?int $offset): self } /** - * Sort the results. Default `desc`. + * @param Pagination|value-of $pagination + */ + public function withPagination(Pagination|int $pagination): self + { + $self = clone $this; + $self['pagination'] = $pagination; + + return $self; + } + + /** + * Sort direction. Default `desc`. * - * @param Sort|value-of|null $sort + * @param Sort|value-of $sort */ - public function withSort(Sort|string|null $sort): self + public function withSort(Sort|string $sort): self { $self = clone $this; $self['sort'] = $sort; @@ -169,11 +193,11 @@ public function withSort(Sort|string|null $sort): self } /** - * Sort by subscriber count (claims), or creation date. + * Sort by subscriber count (`claims`) or creation date (`created_date`). * - * @param Sortby|value-of|null $sortby + * @param Sortby|value-of $sortby */ - public function withSortby(Sortby|string|null $sortby): self + public function withSortby(Sortby|string $sortby): self { $self = clone $this; $self['sortby'] = $sortby; @@ -182,7 +206,7 @@ public function withSortby(Sortby|string|null $sortby): self } /** - * The start date for Tracking Links. Keep empty to get all. + * The start date for tracking links. Keep empty to get all. Must not be greater than 255 characters. */ public function withStartDate(?string $startDate): self { @@ -193,9 +217,9 @@ public function withStartDate(?string $startDate): self } /** - * Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false`. + * Wait for revenue calculation instead of processing it in the background. */ - public function withSynchronous(?bool $synchronous): self + public function withSynchronous(bool $synchronous): self { $self = clone $this; $self['synchronous'] = $synchronous; @@ -204,9 +228,11 @@ public function withSynchronous(?bool $synchronous): self } /** - * Whether or not to include deleted tracking links in the response. Default `false`. + * Whether to include deleted tracking links. Default `true`. + * + * @param WithDeleted|value-of $withDeleted */ - public function withWithDeleted(?bool $withDeleted): self + public function withWithDeleted(WithDeleted|int $withDeleted): self { $self = clone $this; $self['withDeleted'] = $withDeleted; diff --git a/src/TrackingLinks/TrackingLinkListParams/Pagination.php b/src/TrackingLinks/TrackingLinkListParams/Pagination.php new file mode 100644 index 00000000..f101e1a2 --- /dev/null +++ b/src/TrackingLinks/TrackingLinkListParams/Pagination.php @@ -0,0 +1,12 @@ +, + * limit?: int|null, + * offset?: int|null, * sort?: null|Sort|value-of, + * startDate?: string|null, * synchronous?: bool|null, * } */ @@ -32,53 +33,51 @@ final class TrialLinkListParams implements BaseModel use SdkParams; /** - * The number of trial links to return. Default `10`. + * The end date for trial links. Keep empty to get all. Must not be greater than 255 characters. */ - #[Required] - public int $limit; - - /** - * The offset used for pagination. Default `0`. - */ - #[Required] - public int $offset; + #[Optional(nullable: true)] + public ?string $endDate; /** - * Sort the results by a field. Default `create_date`. + * Field to sort by. Default `create_date`. * * @var value-of|null $field */ - #[Optional(enum: Field::class, nullable: true)] + #[Optional(enum: Field::class)] public ?string $field; /** - * Sort the results. Default `desc`. + * The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. + */ + #[Optional] + public ?int $limit; + + /** + * The offset used for pagination. Default `0`. Must be at least 0. + */ + #[Optional] + public ?int $offset; + + /** + * Sort direction. Default `desc`. * * @var value-of|null $sort */ - #[Optional(enum: Sort::class, nullable: true)] + #[Optional(enum: Sort::class)] public ?string $sort; /** - * Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false`. + * The start date for trial links. Keep empty to get all. Must not be greater than 255 characters. */ #[Optional(nullable: true)] - public ?bool $synchronous; + public ?string $startDate; /** - * `new TrialLinkListParams()` is missing required properties by the API. - * - * To enforce required parameters use - * ``` - * TrialLinkListParams::with(limit: ..., offset: ...) - * ``` - * - * Otherwise ensure the following setters are called - * - * ``` - * (new TrialLinkListParams)->withLimit(...)->withOffset(...) - * ``` + * Wait for revenue calculation instead of processing it in the background. */ + #[Optional] + public ?bool $synchronous; + public function __construct() { $this->initialize(); @@ -93,26 +92,53 @@ public function __construct() * @param Sort|value-of|null $sort */ public static function with( - int $limit, - int $offset, + ?string $endDate = null, Field|string|null $field = null, + ?int $limit = null, + ?int $offset = null, Sort|string|null $sort = null, + ?string $startDate = null, ?bool $synchronous = null, ): self { $self = new self; - $self['limit'] = $limit; - $self['offset'] = $offset; - + null !== $endDate && $self['endDate'] = $endDate; null !== $field && $self['field'] = $field; + null !== $limit && $self['limit'] = $limit; + null !== $offset && $self['offset'] = $offset; null !== $sort && $self['sort'] = $sort; + null !== $startDate && $self['startDate'] = $startDate; null !== $synchronous && $self['synchronous'] = $synchronous; return $self; } /** - * The number of trial links to return. Default `10`. + * The end date for trial links. Keep empty to get all. Must not be greater than 255 characters. + */ + public function withEndDate(?string $endDate): self + { + $self = clone $this; + $self['endDate'] = $endDate; + + return $self; + } + + /** + * Field to sort by. Default `create_date`. + * + * @param Field|value-of $field + */ + public function withField(Field|string $field): self + { + $self = clone $this; + $self['field'] = $field; + + return $self; + } + + /** + * The number of trial links to return. Default `10`. Must be at least 1. Must not be greater than 100. */ public function withLimit(int $limit): self { @@ -123,7 +149,7 @@ public function withLimit(int $limit): self } /** - * The offset used for pagination. Default `0`. + * The offset used for pagination. Default `0`. Must be at least 0. */ public function withOffset(int $offset): self { @@ -134,35 +160,33 @@ public function withOffset(int $offset): self } /** - * Sort the results by a field. Default `create_date`. + * Sort direction. Default `desc`. * - * @param Field|value-of|null $field + * @param Sort|value-of $sort */ - public function withField(Field|string|null $field): self + public function withSort(Sort|string $sort): self { $self = clone $this; - $self['field'] = $field; + $self['sort'] = $sort; return $self; } /** - * Sort the results. Default `desc`. - * - * @param Sort|value-of|null $sort + * The start date for trial links. Keep empty to get all. Must not be greater than 255 characters. */ - public function withSort(Sort|string|null $sort): self + public function withStartDate(?string $startDate): self { $self = clone $this; - $self['sort'] = $sort; + $self['startDate'] = $startDate; return $self; } /** - * Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false`. + * Wait for revenue calculation instead of processing it in the background. */ - public function withSynchronous(?bool $synchronous): self + public function withSynchronous(bool $synchronous): self { $self = clone $this; $self['synchronous'] = $synchronous; diff --git a/src/TrialLinks/TrialLinkListParams/Field.php b/src/TrialLinks/TrialLinkListParams/Field.php index 312f74b6..53c22afe 100644 --- a/src/TrialLinks/TrialLinkListParams/Field.php +++ b/src/TrialLinks/TrialLinkListParams/Field.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\TrialLinks\TrialLinkListParams; /** - * Sort the results by a field. Default `create_date`. + * Field to sort by. Default `create_date`. */ enum Field: string { diff --git a/src/TrialLinks/TrialLinkListParams/Sort.php b/src/TrialLinks/TrialLinkListParams/Sort.php index 7337ec33..9000fa98 100644 --- a/src/TrialLinks/TrialLinkListParams/Sort.php +++ b/src/TrialLinks/TrialLinkListParams/Sort.php @@ -5,11 +5,11 @@ namespace OnlyFansAPI\TrialLinks\TrialLinkListParams; /** - * Sort the results. Default `desc`. + * Sort direction. Default `desc`. */ enum Sort: string { - case DESC = 'desc'; - case ASC = 'asc'; + + case DESC = 'desc'; } diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e9374849..a896ab04 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('alias'); + $result = $this->client->accounts->disconnect('assumenda'); // @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 29397af3..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( - 'ea', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ea', + '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 b5408fd0..92c9701a 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( - 'esse', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'esse', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'esse', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'esse', + 'odit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59b84195..f271c78c 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', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'magnam', 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', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'magnam', 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 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 b86b822c..e4e55225 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('quis'); + $result = $this->client->smartLinks->listClicks('minus'); // @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('harum'); + $result = $this->client->smartLinks->listConversions('fugit'); // @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('quo'); // @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('iure'); + $result = $this->client->smartLinks->listSpenders('autem'); // @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('aliquam'); + $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('laborum'); + $result = $this->client->smartLinks->retrieveStats('quia'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/Statistics/StatementsTest.php b/tests/Services/Statistics/StatementsTest.php index d2e598d1..c371b76a 100644 --- a/tests/Services/Statistics/StatementsTest.php +++ b/tests/Services/Statistics/StatementsTest.php @@ -37,7 +37,8 @@ public function testGetEarnings(): void $result = $this->client->statistics->statements->getEarnings( 'acct_XXXXXXXXXXXXXXX', - startDate: '2025-01-01 00:00:00' + endDate: '2025-03-31 23:59:59', + startDate: '2025-01-01 00:00:00', ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -53,8 +54,8 @@ public function testGetEarningsWithOptionalParams(): void $result = $this->client->statistics->statements->getEarnings( 'acct_XXXXXXXXXXXXXXX', - startDate: '2025-01-01 00:00:00', endDate: '2025-03-31 23:59:59', + startDate: '2025-01-01 00:00:00', type: 'total', ); diff --git a/tests/Services/StatisticsTest.php b/tests/Services/StatisticsTest.php index 8d7c8e94..ba863b7e 100644 --- a/tests/Services/StatisticsTest.php +++ b/tests/Services/StatisticsTest.php @@ -38,29 +38,7 @@ public function testCalculateTotalTransactions(): void } $result = $this->client->statistics->calculateTotalTransactions( - 'acct_XXXXXXXXXXXXXXX', - endDate: '2025-03-31 23:59:59', - startDate: '2025-01-01 00:00:00', - ); - - // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf( - StatisticCalculateTotalTransactionsResponse::class, - $result - ); - } - - #[Test] - public function testCalculateTotalTransactionsWithOptionalParams(): void - { - if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Mock server tests are disabled'); - } - - $result = $this->client->statistics->calculateTotalTransactions( - 'acct_XXXXXXXXXXXXXXX', - endDate: '2025-03-31 23:59:59', - startDate: '2025-01-01 00:00:00', + 'acct_XXXXXXXXXXXXXXX' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index 40d3ccea..47a81994 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( - 'cumque', + 'quas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'cumque', + 'quas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'cumque', + 'quas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'cumque', + 'quas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index daa9249c..a24f92a4 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'iure', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'iure', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'iure', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'iure', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aut', + 'ad', 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'vel', 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 5c017f79..74161878 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -111,31 +111,7 @@ public function testList(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->trialLinks->list( - 'acct_XXXXXXXXXXXXXXX', - limit: 10, - offset: 0 - ); - - // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(TrialLinkListResponse::class, $result); - } - - #[Test] - public function testListWithOptionalParams(): void - { - if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Mock server tests are disabled'); - } - - $result = $this->client->trialLinks->list( - 'acct_XXXXXXXXXXXXXXX', - limit: 10, - offset: 0, - field: 'create_date', - sort: 'desc', - synchronous: false, - ); + $result = $this->client->trialLinks->list('acct_XXXXXXXXXXXXXXX'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(TrialLinkListResponse::class, $result); @@ -149,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -165,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -216,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -234,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -252,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aliquam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -268,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aliquam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -287,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'inventore', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -303,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'inventore', + 'facilis', 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 3f0dad7c..83ae89fa 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: 'payd' + name: 'vuvvswwzxd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'payd' + name: 'vuvvswwzxd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 4c1271b671f1fe344c4c15a47fdaef7241c675c3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 19 Jul 2026 23:12:55 +0000 Subject: [PATCH 186/256] 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/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.stats.yml b/.stats.yml index 22405e2d..bb3a0839 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-da309dbd1c3d6c45514ff6c1b040914c3cf34cdb03046d7bd35787785e705309.yml -openapi_spec_hash: 18f23f2127e97f6b6510805eec8753b0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4c83d011e157cf01b0f121cbb6d59fd74ab5122dd78acd02b3ff051fa7150970.yml +openapi_spec_hash: 03d0968b383d83a28654f111114ef0d2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index a896ab04..94d37b2e 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('assumenda'); + $result = $this->client->accounts->disconnect('ad'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..21d1a976 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', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'natus', 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 92c9701a..2ed0c6df 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( - 'odit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'odit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'odit', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f271c78c..ce2ca93b 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( - 'magnam', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'magnam', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'magnam', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'magnam', + 'inventore', 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/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 e4e55225..66566f0d 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('minus'); + $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('fugit'); + $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('quo'); + $result = $this->client->smartLinks->listFans('ut'); // @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('autem'); + $result = $this->client->smartLinks->listSpenders('rem'); // @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('iste'); // @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('magni'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a24f92a4..2af310dd 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'accusantium', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'accusantium', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'accusantium', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'accusantium', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ad', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ad', + '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( - 'vel', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'vel', + '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 74161878..6157410c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'modi', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'modi', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vel', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vel', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'facilis', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'facilis', + 'consequatur', 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 83ae89fa..3f41ad62 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: 'vuvvswwzxd' + name: 'kyxwsana' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'vuvvswwzxd' + name: 'kyxwsana' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8b106bfa0cfedc03eda14da7ca4ce9b29cecf1e6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:13:02 +0000 Subject: [PATCH 187/256] 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 bb3a0839..0fcca8b2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-4c83d011e157cf01b0f121cbb6d59fd74ab5122dd78acd02b3ff051fa7150970.yml -openapi_spec_hash: 03d0968b383d83a28654f111114ef0d2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a3538a60a65c2cb998f7fd63dfb64494f6a567cff01f7ae3932d4dde16fe1d1f.yml +openapi_spec_hash: c19092ffdce3e1fc9b7fb7513035ef5e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 94d37b2e..5b41135d 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('ad'); + $result = $this->client->accounts->disconnect('architecto'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 21d1a976..2d755e1f 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( - 'natus', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'natus', + 'hic', 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 2ed0c6df..c5d56110 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( - 'quasi', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quasi', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quasi', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quasi', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce2ca93b..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( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'inventore', + '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( - 'inventore', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'inventore', + 'ut', 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 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 66566f0d..6443f2d1 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('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('fugiat'); + $result = $this->client->smartLinks->listConversions('repellendus'); // @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('ut'); + $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('rem'); + $result = $this->client->smartLinks->listSpenders('reprehenderit'); // @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('iste'); + $result = $this->client->smartLinks->retrieveCohortArps('quos'); // @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('saepe'); // @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 47a81994..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( - 'quas', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quas', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quas', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quas', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2af310dd..0d076d07 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'quas', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quas', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quas', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quas', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'accusantium', 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', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ut', + 'saepe', 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 6157410c..9377e76a 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', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolorem', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolorem', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'vero', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'vero', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'explicabo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequatur', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequatur', + '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 3f41ad62..bc63b788 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: 'kyxwsana' + name: 'ykrztpzybclmsxxjwf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kyxwsana' + name: 'ykrztpzybclmsxxjwf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1b1a08a72296380a645d50463ea8d063fdf6aa96 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 14:13:11 +0000 Subject: [PATCH 188/256] 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 0fcca8b2..1925b412 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a3538a60a65c2cb998f7fd63dfb64494f6a567cff01f7ae3932d4dde16fe1d1f.yml -openapi_spec_hash: c19092ffdce3e1fc9b7fb7513035ef5e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2c3bff053faab91c4b19f9005ee1d08b1c95bbc572b34818b5d6ded6d684bf61.yml +openapi_spec_hash: a00f8341a150e4462efa3b0b5a073fee config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5b41135d..c55a243d 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('architecto'); + $result = $this->client->accounts->disconnect('eligendi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 2d755e1f..1e5c6622 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( - 'hic', + 'magni', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'hic', + 'magni', 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 c5d56110..438aad1c 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( - 'recusandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'recusandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'recusandae', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..7dfc103f 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', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'quaerat', 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', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'quaerat', 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..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 6443f2d1..71c3d8b7 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('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('repellendus'); + $result = $this->client->smartLinks->listConversions('veritatis'); // @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('omnis'); // @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('reprehenderit'); + $result = $this->client->smartLinks->listSpenders('numquam'); // @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('quos'); + $result = $this->client->smartLinks->retrieveCohortArps('dolores'); // @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('saepe'); + $result = $this->client->smartLinks->retrieveStats('ad'); // @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..a0c850a6 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', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'fugiat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'fugiat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'fugiat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0d076d07..93fd13d2 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', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'accusantium', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'accusantium', + 'fugiat', 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( - 'saepe', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'saepe', + 'quis', 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 9377e76a..dcc8b986 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'nam', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'nam', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'nam', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'nam', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'distinctio', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'aut', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'est', + '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 bc63b788..2f163840 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: 'ykrztpzybclmsxxjwf' + name: 'wg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ykrztpzybclmsxxjwf' + name: 'wg' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7fdb2123b81066fb5b145f1d8715eb680faf22e9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 15:13:00 +0000 Subject: [PATCH 189/256] feat(api): api update --- .stats.yml | 4 +-- src/Chats/Messages/MessageSendParams.php | 27 +++++++++++++++++++ .../MessageSendParams/BlockBannedWords.php | 17 ++++++++++++ src/MassMessaging/MassMessagingSendParams.php | 27 +++++++++++++++++++ .../BlockBannedWords.php | 17 ++++++++++++ .../MassMessagingUpdateParams.php | 27 +++++++++++++++++++ .../BlockBannedWords.php | 17 ++++++++++++ src/Posts/PostCreateParams.php | 27 +++++++++++++++++++ .../PostCreateParams/BlockBannedWords.php | 17 ++++++++++++ src/Posts/PostUpdateParams.php | 27 +++++++++++++++++++ .../PostUpdateParams/BlockBannedWords.php | 17 ++++++++++++ .../Chats/MessagesContract.php | 3 +++ .../MassMessagingContract.php | 5 ++++ src/ServiceContracts/PostsContract.php | 5 ++++ src/Services/Chats/MessagesRawService.php | 2 ++ src/Services/Chats/MessagesService.php | 4 +++ src/Services/MassMessagingRawService.php | 3 +++ src/Services/MassMessagingService.php | 7 +++++ src/Services/PostsRawService.php | 3 +++ src/Services/PostsService.php | 7 +++++ tests/Services/AccountsTest.php | 2 +- tests/Services/Chats/MessagesTest.php | 1 + tests/Services/ClientSessionsTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 +-- tests/Services/MassMessagingTest.php | 2 ++ .../Services/Media/Vault/Lists/MediaTest.php | 8 +++--- tests/Services/Posts/CommentsTest.php | 10 +++---- tests/Services/PostsTest.php | 2 ++ .../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 +-- 34 files changed, 310 insertions(+), 46 deletions(-) create mode 100644 src/Chats/Messages/MessageSendParams/BlockBannedWords.php create mode 100644 src/MassMessaging/MassMessagingSendParams/BlockBannedWords.php create mode 100644 src/MassMessaging/MassMessagingUpdateParams/BlockBannedWords.php create mode 100644 src/Posts/PostCreateParams/BlockBannedWords.php create mode 100644 src/Posts/PostUpdateParams/BlockBannedWords.php diff --git a/.stats.yml b/.stats.yml index 1925b412..56a3d36d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2c3bff053faab91c4b19f9005ee1d08b1c95bbc572b34818b5d6ded6d684bf61.yml -openapi_spec_hash: a00f8341a150e4462efa3b0b5a073fee +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2f3054908346ebfa16676ab279293c7425b9babb0870452255c037c15a1d6f9c.yml +openapi_spec_hash: 4c39d709bc6f09eacad77af7cfedaf9b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Chats/Messages/MessageSendParams.php b/src/Chats/Messages/MessageSendParams.php index e604427d..942eb511 100644 --- a/src/Chats/Messages/MessageSendParams.php +++ b/src/Chats/Messages/MessageSendParams.php @@ -4,6 +4,7 @@ namespace OnlyFansAPI\Chats\Messages; +use OnlyFansAPI\Chats\Messages\MessageSendParams\BlockBannedWords; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Attributes\Required; use OnlyFansAPI\Core\Concerns\SdkModel; @@ -17,6 +18,7 @@ * * @phpstan-type MessageSendParamsShape = array{ * account: string, + * blockBannedWords?: null|BlockBannedWords|value-of, * giphyID?: string|null, * lockedText?: bool|null, * mediaFiles?: list|null, @@ -38,6 +40,14 @@ final class MessageSendParams implements BaseModel #[Required] public string $account; + /** + * Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @var value-of|null $blockBannedWords + */ + #[Optional(enum: BlockBannedWords::class)] + public ?string $blockBannedWords; + /** * The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). */ @@ -126,11 +136,13 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param BlockBannedWords|value-of|null $blockBannedWords * @param list|null $mediaFiles * @param list|null $previews */ public static function with( string $account, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, @@ -146,6 +158,7 @@ public static function with( $self['account'] = $account; + null !== $blockBannedWords && $self['blockBannedWords'] = $blockBannedWords; null !== $giphyID && $self['giphyID'] = $giphyID; null !== $lockedText && $self['lockedText'] = $lockedText; null !== $mediaFiles && $self['mediaFiles'] = $mediaFiles; @@ -168,6 +181,20 @@ public function withAccount(string $account): self return $self; } + /** + * Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @param BlockBannedWords|value-of $blockBannedWords + */ + public function withBlockBannedWords( + BlockBannedWords|string $blockBannedWords + ): self { + $self = clone $this; + $self['blockBannedWords'] = $blockBannedWords; + + return $self; + } + /** * The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). */ diff --git a/src/Chats/Messages/MessageSendParams/BlockBannedWords.php b/src/Chats/Messages/MessageSendParams/BlockBannedWords.php new file mode 100644 index 00000000..ffced13d --- /dev/null +++ b/src/Chats/Messages/MessageSendParams/BlockBannedWords.php @@ -0,0 +1,17 @@ +, * excludedLists?: list|null, * giphyID?: string|null, * lockedText?: bool|null, @@ -44,6 +46,14 @@ final class MassMessagingSendParams implements BaseModel #[Required] public string $text; + /** + * Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @var value-of|null $blockBannedWords + */ + #[Optional(enum: BlockBannedWords::class)] + public ?string $blockBannedWords; + /** * Array of user list IDs that the mass message will NOT be sent to. * @@ -156,6 +166,7 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param BlockBannedWords|value-of|null $blockBannedWords * @param list|null $excludedLists * @param list|null $mediaFiles * @param list|null $previews @@ -164,6 +175,7 @@ public function __construct() */ public static function with( string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?array $excludedLists = null, ?string $giphyID = null, ?bool $lockedText = null, @@ -182,6 +194,7 @@ public static function with( $self['text'] = $text; + null !== $blockBannedWords && $self['blockBannedWords'] = $blockBannedWords; null !== $excludedLists && $self['excludedLists'] = $excludedLists; null !== $giphyID && $self['giphyID'] = $giphyID; null !== $lockedText && $self['lockedText'] = $lockedText; @@ -210,6 +223,20 @@ public function withText(string $text): self return $self; } + /** + * Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @param BlockBannedWords|value-of $blockBannedWords + */ + public function withBlockBannedWords( + BlockBannedWords|string $blockBannedWords + ): self { + $self = clone $this; + $self['blockBannedWords'] = $blockBannedWords; + + return $self; + } + /** * Array of user list IDs that the mass message will NOT be sent to. * diff --git a/src/MassMessaging/MassMessagingSendParams/BlockBannedWords.php b/src/MassMessaging/MassMessagingSendParams/BlockBannedWords.php new file mode 100644 index 00000000..a11e7eb3 --- /dev/null +++ b/src/MassMessaging/MassMessagingSendParams/BlockBannedWords.php @@ -0,0 +1,17 @@ +, * giphyID?: string|null, * lockedText?: bool|null, * mediaFiles?: list|null, @@ -43,6 +45,14 @@ final class MassMessagingUpdateParams implements BaseModel #[Required] public string $text; + /** + * Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @var value-of|null $blockBannedWords + */ + #[Optional(enum: BlockBannedWords::class)] + public ?string $blockBannedWords; + /** * The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). */ @@ -123,6 +133,7 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param BlockBannedWords|value-of|null $blockBannedWords * @param list|null $mediaFiles * @param list|null $previews * @param list|null $userIDs @@ -131,6 +142,7 @@ public function __construct() public static function with( string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, @@ -145,6 +157,7 @@ public static function with( $self['account'] = $account; $self['text'] = $text; + null !== $blockBannedWords && $self['blockBannedWords'] = $blockBannedWords; null !== $giphyID && $self['giphyID'] = $giphyID; null !== $lockedText && $self['lockedText'] = $lockedText; null !== $mediaFiles && $self['mediaFiles'] = $mediaFiles; @@ -176,6 +189,20 @@ public function withText(string $text): self return $self; } + /** + * Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @param BlockBannedWords|value-of $blockBannedWords + */ + public function withBlockBannedWords( + BlockBannedWords|string $blockBannedWords + ): self { + $self = clone $this; + $self['blockBannedWords'] = $blockBannedWords; + + return $self; + } + /** * The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). */ diff --git a/src/MassMessaging/MassMessagingUpdateParams/BlockBannedWords.php b/src/MassMessaging/MassMessagingUpdateParams/BlockBannedWords.php new file mode 100644 index 00000000..94860c98 --- /dev/null +++ b/src/MassMessaging/MassMessagingUpdateParams/BlockBannedWords.php @@ -0,0 +1,17 @@ +, * expireDays?: int|null, * fundRaisingTargetAmount?: int|null, * fundRaisingTipsPresets?: list|null, @@ -45,6 +47,14 @@ final class PostCreateParams implements BaseModel #[Required] public string $text; + /** + * Screen `text` for OnlyFans banned words and block the post if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @var value-of|null $blockBannedWords + */ + #[Optional(enum: BlockBannedWords::class)] + public ?string $blockBannedWords; + /** * Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. */ @@ -157,6 +167,7 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param BlockBannedWords|value-of|null $blockBannedWords * @param list|null $fundRaisingTipsPresets * @param list|null $mediaFiles * @param list|null $previews @@ -165,6 +176,7 @@ public function __construct() */ public static function with( string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, @@ -183,6 +195,7 @@ public static function with( $self['text'] = $text; + null !== $blockBannedWords && $self['blockBannedWords'] = $blockBannedWords; null !== $expireDays && $self['expireDays'] = $expireDays; null !== $fundRaisingTargetAmount && $self['fundRaisingTargetAmount'] = $fundRaisingTargetAmount; null !== $fundRaisingTipsPresets && $self['fundRaisingTipsPresets'] = $fundRaisingTipsPresets; @@ -211,6 +224,20 @@ public function withText(string $text): self return $self; } + /** + * Screen `text` for OnlyFans banned words and block the post if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @param BlockBannedWords|value-of $blockBannedWords + */ + public function withBlockBannedWords( + BlockBannedWords|string $blockBannedWords + ): self { + $self = clone $this; + $self['blockBannedWords'] = $blockBannedWords; + + return $self; + } + /** * Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. */ diff --git a/src/Posts/PostCreateParams/BlockBannedWords.php b/src/Posts/PostCreateParams/BlockBannedWords.php new file mode 100644 index 00000000..c9ca0167 --- /dev/null +++ b/src/Posts/PostCreateParams/BlockBannedWords.php @@ -0,0 +1,17 @@ +, * expireDays?: int|null, * fundRaisingTargetAmount?: int|null, * fundRaisingTipsPresets?: list|null, @@ -49,6 +51,14 @@ final class PostUpdateParams implements BaseModel #[Required] public string $text; + /** + * Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @var value-of|null $blockBannedWords + */ + #[Optional(enum: BlockBannedWords::class)] + public ?string $blockBannedWords; + /** * Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. */ @@ -157,6 +167,7 @@ public function __construct() * * You must use named parameters to construct any parameters with a default value. * + * @param BlockBannedWords|value-of|null $blockBannedWords * @param list|null $fundRaisingTipsPresets * @param list|null $votingOptions * @param VotingType|value-of|null $votingType @@ -164,6 +175,7 @@ public function __construct() public static function with( string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, @@ -183,6 +195,7 @@ public static function with( $self['account'] = $account; $self['text'] = $text; + null !== $blockBannedWords && $self['blockBannedWords'] = $blockBannedWords; null !== $expireDays && $self['expireDays'] = $expireDays; null !== $fundRaisingTargetAmount && $self['fundRaisingTargetAmount'] = $fundRaisingTargetAmount; null !== $fundRaisingTipsPresets && $self['fundRaisingTipsPresets'] = $fundRaisingTipsPresets; @@ -219,6 +232,20 @@ public function withText(string $text): self return $self; } + /** + * Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. + * + * @param BlockBannedWords|value-of $blockBannedWords + */ + public function withBlockBannedWords( + BlockBannedWords|string $blockBannedWords + ): self { + $self = clone $this; + $self['blockBannedWords'] = $blockBannedWords; + + return $self; + } + /** * Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. */ diff --git a/src/Posts/PostUpdateParams/BlockBannedWords.php b/src/Posts/PostUpdateParams/BlockBannedWords.php new file mode 100644 index 00000000..4684bb34 --- /dev/null +++ b/src/Posts/PostUpdateParams/BlockBannedWords.php @@ -0,0 +1,17 @@ + $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param string $giphyID Body param: The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. @@ -156,6 +158,7 @@ public function search( public function send( string $chatID, string $account, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, diff --git a/src/ServiceContracts/MassMessagingContract.php b/src/ServiceContracts/MassMessagingContract.php index 9eff0504..cef117ba 100644 --- a/src/ServiceContracts/MassMessagingContract.php +++ b/src/ServiceContracts/MassMessagingContract.php @@ -10,6 +10,7 @@ use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; use OnlyFansAPI\MassMessaging\MassMessagingListResponse; use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams\BlockBannedWords; use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; use OnlyFansAPI\RequestOptions; @@ -39,6 +40,7 @@ public function retrieve( * @param string $id Path param: The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param string $account Path param: The Account ID * @param string $text Body param: The message text content + * @param BlockBannedWords|value-of $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param string $giphyID Body param: The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be hidden if `price` is provided. @@ -55,6 +57,7 @@ public function update( string $id, string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, @@ -120,6 +123,7 @@ public function retrieveOverview( * * @param string $account The Account ID * @param string $text The message text content + * @param \OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords|value-of<\OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords> $blockBannedWords Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param list $excludedLists array of user list IDs that the mass message will NOT be sent to * @param string $giphyID The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Whether the text should be shown or hidden @@ -140,6 +144,7 @@ public function retrieveOverview( public function send( string $account, string $text, + \OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords|string|null $blockBannedWords = null, ?array $excludedLists = null, ?string $giphyID = null, ?bool $lockedText = null, diff --git a/src/ServiceContracts/PostsContract.php b/src/ServiceContracts/PostsContract.php index 6dc8c511..0fb27249 100644 --- a/src/ServiceContracts/PostsContract.php +++ b/src/ServiceContracts/PostsContract.php @@ -6,6 +6,7 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams\BlockBannedWords; use OnlyFansAPI\Posts\PostCreateParams\VotingType; use OnlyFansAPI\Posts\PostDeleteResponse; use OnlyFansAPI\Posts\PostGetResponse; @@ -28,6 +29,7 @@ interface PostsContract * * @param string $account The Account ID * @param string $text The post text content + * @param BlockBannedWords|value-of $blockBannedWords Screen `text` for OnlyFans banned words and block the post if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param int $expireDays Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. * @param int $fundRaisingTargetAmount Add a fundraising target to your post. If present, value must be at least 10. * @param list $fundRaisingTipsPresets Specify which tip amounts will be listed under the fundraising card. Required with `fundRaisingTargetAmount`, and you must provide at least 1 option. Array items cannot be higher than the `fundRaisingTargetAmount`. @@ -48,6 +50,7 @@ interface PostsContract public function create( string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, @@ -85,6 +88,7 @@ public function retrieve( * @param int $postID Path param: The ID of the post * @param string $account Path param: The Account ID * @param string $text Body param: The post text content + * @param \OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords|value-of<\OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords> $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param int $expireDays Body param: Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. * @param int $fundRaisingTargetAmount Body param: Add a fundraising target to your post. If present, value must be at least 10. * @param list $fundRaisingTipsPresets Body param: Specify which tip amounts will be listed under the fundraising card. Required with `fundRaisingTargetAmount`, and you must provide at least 1 option. Array items cannot be higher than the `fundRaisingTargetAmount`. @@ -106,6 +110,7 @@ public function update( int $postID, string $account, string $text, + \OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, diff --git a/src/Services/Chats/MessagesRawService.php b/src/Services/Chats/MessagesRawService.php index 16a9b2ca..03261b38 100644 --- a/src/Services/Chats/MessagesRawService.php +++ b/src/Services/Chats/MessagesRawService.php @@ -18,6 +18,7 @@ use OnlyFansAPI\Chats\Messages\MessageSearchParams; use OnlyFansAPI\Chats\Messages\MessageSearchResponse; use OnlyFansAPI\Chats\Messages\MessageSendParams; +use OnlyFansAPI\Chats\Messages\MessageSendParams\BlockBannedWords; use OnlyFansAPI\Chats\Messages\MessageSendResponse; use OnlyFansAPI\Chats\Messages\MessageUnlikeParams; use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; @@ -286,6 +287,7 @@ public function search( * @param string $chatID Path param: The ID of the chat (usually a fan's OnlyFans User ID) * @param array{ * account: string, + * blockBannedWords?: BlockBannedWords|value-of, * giphyID?: string, * lockedText?: bool, * mediaFiles?: list, diff --git a/src/Services/Chats/MessagesService.php b/src/Services/Chats/MessagesService.php index 415ae8f0..22b386c9 100644 --- a/src/Services/Chats/MessagesService.php +++ b/src/Services/Chats/MessagesService.php @@ -11,6 +11,7 @@ use OnlyFansAPI\Chats\Messages\MessageListResponse; use OnlyFansAPI\Chats\Messages\MessagePinResponse; use OnlyFansAPI\Chats\Messages\MessageSearchResponse; +use OnlyFansAPI\Chats\Messages\MessageSendParams\BlockBannedWords; use OnlyFansAPI\Chats\Messages\MessageSendResponse; use OnlyFansAPI\Chats\Messages\MessageUnlikeResponse; use OnlyFansAPI\Chats\Messages\MessageUnpinResponse; @@ -221,6 +222,7 @@ public function search( * * @param string $chatID Path param: The ID of the chat (usually a fan's OnlyFans User ID) * @param string $account Path param: The Account ID + * @param BlockBannedWords|value-of $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param string $giphyID Body param: The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. @@ -238,6 +240,7 @@ public function search( public function send( string $chatID, string $account, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, @@ -253,6 +256,7 @@ public function send( $params = Util::removeNulls( [ 'account' => $account, + 'blockBannedWords' => $blockBannedWords, 'giphyID' => $giphyID, 'lockedText' => $lockedText, 'mediaFiles' => $mediaFiles, diff --git a/src/Services/MassMessagingRawService.php b/src/Services/MassMessagingRawService.php index 67715587..e925122e 100644 --- a/src/Services/MassMessagingRawService.php +++ b/src/Services/MassMessagingRawService.php @@ -17,6 +17,7 @@ use OnlyFansAPI\MassMessaging\MassMessagingSendParams; use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams\BlockBannedWords; use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\MassMessagingRawContract; @@ -75,6 +76,7 @@ public function retrieve( * @param array{ * account: string, * text: string, + * blockBannedWords?: BlockBannedWords|value-of, * giphyID?: string, * lockedText?: bool, * mediaFiles?: list, @@ -214,6 +216,7 @@ public function retrieveOverview( * @param string $account The Account ID * @param array{ * text: string, + * blockBannedWords?: MassMessagingSendParams\BlockBannedWords|value-of, * excludedLists?: list, * giphyID?: string, * lockedText?: bool, diff --git a/src/Services/MassMessagingService.php b/src/Services/MassMessagingService.php index 38124a36..d9b182b4 100644 --- a/src/Services/MassMessagingService.php +++ b/src/Services/MassMessagingService.php @@ -12,6 +12,7 @@ use OnlyFansAPI\MassMessaging\MassMessagingGetResponse; use OnlyFansAPI\MassMessaging\MassMessagingListResponse; use OnlyFansAPI\MassMessaging\MassMessagingSendResponse; +use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams\BlockBannedWords; use OnlyFansAPI\MassMessaging\MassMessagingUpdateResponse; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\MassMessagingContract; @@ -66,6 +67,7 @@ public function retrieve( * @param string $id Path param: The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param string $account Path param: The Account ID * @param string $text Body param: The message text content + * @param BlockBannedWords|value-of $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param string $giphyID Body param: The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be hidden if `price` is provided. @@ -82,6 +84,7 @@ public function update( string $id, string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?string $giphyID = null, ?bool $lockedText = null, ?array $mediaFiles = null, @@ -96,6 +99,7 @@ public function update( [ 'account' => $account, 'text' => $text, + 'blockBannedWords' => $blockBannedWords, 'giphyID' => $giphyID, 'lockedText' => $lockedText, 'mediaFiles' => $mediaFiles, @@ -201,6 +205,7 @@ public function retrieveOverview( * * @param string $account The Account ID * @param string $text The message text content + * @param \OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords|value-of<\OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords> $blockBannedWords Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param list $excludedLists array of user list IDs that the mass message will NOT be sent to * @param string $giphyID The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing endpoints (`/giphy/trending`, `/giphy/search`). * @param bool $lockedText Whether the text should be shown or hidden @@ -221,6 +226,7 @@ public function retrieveOverview( public function send( string $account, string $text, + \OnlyFansAPI\MassMessaging\MassMessagingSendParams\BlockBannedWords|string|null $blockBannedWords = null, ?array $excludedLists = null, ?string $giphyID = null, ?bool $lockedText = null, @@ -239,6 +245,7 @@ public function send( $params = Util::removeNulls( [ 'text' => $text, + 'blockBannedWords' => $blockBannedWords, 'excludedLists' => $excludedLists, 'giphyID' => $giphyID, 'lockedText' => $lockedText, diff --git a/src/Services/PostsRawService.php b/src/Services/PostsRawService.php index eee4cf2f..0ee1b4de 100644 --- a/src/Services/PostsRawService.php +++ b/src/Services/PostsRawService.php @@ -11,6 +11,7 @@ use OnlyFansAPI\Posts\PostArchiveParams; use OnlyFansAPI\Posts\PostArchiveResponse; use OnlyFansAPI\Posts\PostCreateParams; +use OnlyFansAPI\Posts\PostCreateParams\BlockBannedWords; use OnlyFansAPI\Posts\PostCreateParams\VotingType; use OnlyFansAPI\Posts\PostDeleteParams; use OnlyFansAPI\Posts\PostDeleteResponse; @@ -52,6 +53,7 @@ public function __construct(private Client $client) {} * @param string $account The Account ID * @param array{ * text: string, + * blockBannedWords?: BlockBannedWords|value-of, * expireDays?: int, * fundRaisingTargetAmount?: int, * fundRaisingTipsPresets?: list, @@ -135,6 +137,7 @@ public function retrieve( * @param array{ * account: string, * text: string, + * blockBannedWords?: PostUpdateParams\BlockBannedWords|value-of, * expireDays?: int, * fundRaisingTargetAmount?: int, * fundRaisingTipsPresets?: list, diff --git a/src/Services/PostsService.php b/src/Services/PostsService.php index ea7f76e1..ab4c60ad 100644 --- a/src/Services/PostsService.php +++ b/src/Services/PostsService.php @@ -8,6 +8,7 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Core\Util; use OnlyFansAPI\Posts\PostArchiveResponse; +use OnlyFansAPI\Posts\PostCreateParams\BlockBannedWords; use OnlyFansAPI\Posts\PostCreateParams\VotingType; use OnlyFansAPI\Posts\PostDeleteResponse; use OnlyFansAPI\Posts\PostGetResponse; @@ -62,6 +63,7 @@ public function __construct(private Client $client) * * @param string $account The Account ID * @param string $text The post text content + * @param BlockBannedWords|value-of $blockBannedWords Screen `text` for OnlyFans banned words and block the post if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param int $expireDays Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. * @param int $fundRaisingTargetAmount Add a fundraising target to your post. If present, value must be at least 10. * @param list $fundRaisingTipsPresets Specify which tip amounts will be listed under the fundraising card. Required with `fundRaisingTargetAmount`, and you must provide at least 1 option. Array items cannot be higher than the `fundRaisingTargetAmount`. @@ -82,6 +84,7 @@ public function __construct(private Client $client) public function create( string $account, string $text, + BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, @@ -100,6 +103,7 @@ public function create( $params = Util::removeNulls( [ 'text' => $text, + 'blockBannedWords' => $blockBannedWords, 'expireDays' => $expireDays, 'fundRaisingTargetAmount' => $fundRaisingTargetAmount, 'fundRaisingTipsPresets' => $fundRaisingTipsPresets, @@ -154,6 +158,7 @@ public function retrieve( * @param int $postID Path param: The ID of the post * @param string $account Path param: The Account ID * @param string $text Body param: The post text content + * @param \OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords|value-of<\OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords> $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the update if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. * @param int $expireDays Body param: Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration. * @param int $fundRaisingTargetAmount Body param: Add a fundraising target to your post. If present, value must be at least 10. * @param list $fundRaisingTipsPresets Body param: Specify which tip amounts will be listed under the fundraising card. Required with `fundRaisingTargetAmount`, and you must provide at least 1 option. Array items cannot be higher than the `fundRaisingTargetAmount`. @@ -175,6 +180,7 @@ public function update( int $postID, string $account, string $text, + \OnlyFansAPI\Posts\PostUpdateParams\BlockBannedWords|string|null $blockBannedWords = null, ?int $expireDays = null, ?int $fundRaisingTargetAmount = null, ?array $fundRaisingTipsPresets = null, @@ -194,6 +200,7 @@ public function update( [ 'account' => $account, 'text' => $text, + 'blockBannedWords' => $blockBannedWords, 'expireDays' => $expireDays, 'fundRaisingTargetAmount' => $fundRaisingTargetAmount, 'fundRaisingTipsPresets' => $fundRaisingTipsPresets, diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c55a243d..0e36ad4d 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('eligendi'); + $result = $this->client->accounts->disconnect('necessitatibus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Chats/MessagesTest.php b/tests/Services/Chats/MessagesTest.php index d83ef120..9a58e28a 100644 --- a/tests/Services/Chats/MessagesTest.php +++ b/tests/Services/Chats/MessagesTest.php @@ -270,6 +270,7 @@ public function testSendWithOptionalParams(): void $result = $this->client->chats->messages->send( '123', account: 'acct_XXXXXXXXXXXXXXX', + blockBannedWords: 'strict_ban', giphyID: 'WAGC3LeqJvXglm5H7a', lockedText: true, mediaFiles: ['ofapi_media_abc123', 1234567890], diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1e5c6622..1c0fdc8b 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( - 'magni', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'magni', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/MassMessagingTest.php b/tests/Services/MassMessagingTest.php index e4696451..cf693ff8 100644 --- a/tests/Services/MassMessagingTest.php +++ b/tests/Services/MassMessagingTest.php @@ -93,6 +93,7 @@ public function testUpdateWithOptionalParams(): void 'id', account: 'acct_XXXXXXXXXXXXXXX', text: 'Hello!', + blockBannedWords: 'strict_ban', giphyID: 'WAGC3LeqJvXglm5H7a', lockedText: true, mediaFiles: ['ofapi_media_abc123', 'string'], @@ -195,6 +196,7 @@ public function testSendWithOptionalParams(): void $result = $this->client->massMessaging->send( 'acct_XXXXXXXXXXXXXXX', text: 'Hello!', + blockBannedWords: 'strict_ban', excludedLists: [ 'fans', 'recent', 'following', 'rebill_off', 'tagged', 'string', ], diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 438aad1c..d3642d0e 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( - 'rerum', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'rerum', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'rerum', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7dfc103f..d567c068 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( - 'quaerat', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quaerat', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quaerat', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quaerat', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc', + sort: 'desc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/PostsTest.php b/tests/Services/PostsTest.php index b4fdbf4d..a4d45825 100644 --- a/tests/Services/PostsTest.php +++ b/tests/Services/PostsTest.php @@ -61,6 +61,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->posts->create( 'acct_XXXXXXXXXXXXXXX', text: 'Hello!', + blockBannedWords: 'strict_ban', expireDays: 3, fundRaisingTargetAmount: 30, fundRaisingTipsPresets: ['string', 'string', 'string'], @@ -140,6 +141,7 @@ public function testUpdateWithOptionalParams(): void 1234567890, account: 'acct_XXXXXXXXXXXXXXX', text: 'Hello!', + blockBannedWords: 'strict_ban', expireDays: 3, fundRaisingTargetAmount: 30, fundRaisingTipsPresets: ['string', 'string', 'string'], 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 71c3d8b7..5f8025e1 100644 --- a/tests/Services/SmartLinksTest.php +++ b/tests/Services/SmartLinksTest.php @@ -130,7 +130,7 @@ public function testListConversions(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listConversions('veritatis'); + $result = $this->client->smartLinks->listConversions('sed'); // @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('omnis'); + $result = $this->client->smartLinks->listFans('quasi'); // @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('numquam'); + $result = $this->client->smartLinks->listSpenders('voluptates'); // @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('dolores'); + $result = $this->client->smartLinks->retrieveCohortArps('ducimus'); // @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('ad'); + $result = $this->client->smartLinks->retrieveStats('quos'); // @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 a0c850a6..9540066b 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( - 'rerum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'rerum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 93fd13d2..bd234c8a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'a', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'a', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'a', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'a', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugiat', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugiat', + '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( - 'quis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quis', + 'voluptatem', 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 dcc8b986..ac334c2f 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', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'assumenda', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'assumenda', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quam', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatum', + '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 2f163840..6f0f721c 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: 'wg' + name: 'ejps' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'wg' + name: 'ejps' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1ebf3d26261574f763c88d701b127f89107b7ba9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 18:12:58 +0000 Subject: [PATCH 190/256] 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 56a3d36d..d32738c8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2f3054908346ebfa16676ab279293c7425b9babb0870452255c037c15a1d6f9c.yml -openapi_spec_hash: 4c39d709bc6f09eacad77af7cfedaf9b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-97902ef4cbb263202ea43da4f6b6111d9dc5788b0d26a8ba55168a8ee461c9e0.yml +openapi_spec_hash: 6cf3c58b05423ebab144e2d351c8fb6c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0e36ad4d..e1ad0424 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('necessitatibus'); + $result = $this->client->accounts->disconnect('eum'); // @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 1c0fdc8b..f83bb640 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( - 'ducimus', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ducimus', + 'ipsum', 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 d3642d0e..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( - 'quae', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quae', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d567c068..5937a859 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( - 'ea', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ea', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ea', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ea', + 'eum', 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 5f8025e1..c63aed93 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('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('sed'); + $result = $this->client->smartLinks->listConversions('accusantium'); // @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('quasi'); + $result = $this->client->smartLinks->listFans('dolorem'); // @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('voluptates'); + $result = $this->client->smartLinks->listSpenders('quia'); // @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('ducimus'); + $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('quos'); + $result = $this->client->smartLinks->retrieveStats('veritatis'); // @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 9540066b..9b078a3c 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( - 'aperiam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aperiam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aperiam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aperiam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index bd234c8a..6790fe09 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', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'non', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'non', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iusto', + 'natus', 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', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'excepturi', 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 ac334c2f..8981112f 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', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'est', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'est', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'est', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'occaecati', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'occaecati', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eveniet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eveniet', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsa', + 'repudiandae', 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 6f0f721c..879553a4 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: 'ejps' + name: 'inwsuzlzagypi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ejps' + name: 'inwsuzlzagypi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e04e2fe5038113ecb1f3ae387a54f533a7f4db6d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 19:13:05 +0000 Subject: [PATCH 191/256] 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 d32738c8..ab2b5d70 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-97902ef4cbb263202ea43da4f6b6111d9dc5788b0d26a8ba55168a8ee461c9e0.yml -openapi_spec_hash: 6cf3c58b05423ebab144e2d351c8fb6c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-11a0627173e9c00b01da53d9797226d9df93a606b30d63bbf4fca19f90e870c6.yml +openapi_spec_hash: 65cabda2c9d843f02539f47cd449f62b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e1ad0424..87faad4d 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('eum'); + $result = $this->client->accounts->disconnect('veniam'); // @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 f83bb640..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( - 'ipsum', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ipsum', + '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 3a325ed0..a1f791f4 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', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5937a859..120acd12 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( - 'eum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'eum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'eum', + 'fugiat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'eum', + 'fugiat', 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 c63aed93..0d34d5b5 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('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('accusantium'); + $result = $this->client->smartLinks->listConversions('reprehenderit'); // @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('dolorem'); + $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('quia'); + $result = $this->client->smartLinks->listSpenders('quas'); // @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('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('veritatis'); + $result = $this->client->smartLinks->retrieveStats('ducimus'); // @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 9b078a3c..809aaa05 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( - 'enim', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'enim', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6790fe09..57d8f609 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'laborum', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'laborum', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'natus', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'natus', + 'sed', 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( - 'excepturi', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'excepturi', + '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 8981112f..a87e34c5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'possimus', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'possimus', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'possimus', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'possimus', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'repudiandae', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'repudiandae', + 'mollitia', 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 879553a4..d20d834c 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: 'inwsuzlzagypi' + name: 'ibgsmlxuwltrsrdap' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'inwsuzlzagypi' + name: 'ibgsmlxuwltrsrdap' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 513f9a69f46b4876387931bd012b12a47bd81b9e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 20:13:02 +0000 Subject: [PATCH 192/256] 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 ab2b5d70..e8903048 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-11a0627173e9c00b01da53d9797226d9df93a606b30d63bbf4fca19f90e870c6.yml -openapi_spec_hash: 65cabda2c9d843f02539f47cd449f62b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-39a2103ff4e1500e445e7588d0a44967af270f674815969b620ec187b2756d63.yml +openapi_spec_hash: 8c939d7af4bc22bed15c0b439a427099 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 87faad4d..00ed30d8 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('veniam'); + $result = $this->client->accounts->disconnect('magnam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..feb28027 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', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'alias', 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 a1f791f4..c474aefe 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( - 'nostrum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nostrum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nostrum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nostrum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 120acd12..1a254769 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( - 'fugiat', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'fugiat', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'fugiat', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'fugiat', + 'eveniet', 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..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 0d34d5b5..6462bb25 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('nesciunt'); // @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('reprehenderit'); + $result = $this->client->smartLinks->listConversions('consequuntur'); // @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('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('quas'); + $result = $this->client->smartLinks->listSpenders('pariatur'); // @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('modi'); // @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('ducimus'); + $result = $this->client->smartLinks->retrieveStats('itaque'); // @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 809aaa05..ef47bd71 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( - 'aut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 57d8f609..d9634f47 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sed', + 'facere', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sed', + 'facere', 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', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'minus', 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 a87e34c5..42575e27 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'provident', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eveniet', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eveniet', + 'esse', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'mollitia', + 'esse', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'mollitia', + '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 d20d834c..e955a9e6 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: 'ibgsmlxuwltrsrdap' + name: 'mans' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ibgsmlxuwltrsrdap' + name: 'mans' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9c2f1210e96d24ccae4e47b1447f790b6c0cd503 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:13:03 +0000 Subject: [PATCH 193/256] feat(api): api update --- .stats.yml | 4 ++-- 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 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index e8903048..7a485235 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-39a2103ff4e1500e445e7588d0a44967af270f674815969b620ec187b2756d63.yml -openapi_spec_hash: 8c939d7af4bc22bed15c0b439a427099 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-94c07edc67437207a1300a1d91c46760682d0f3551bd3379ffd7b643606a5062.yml +openapi_spec_hash: 9cb9eba31f6c564c33f2a1af7353837c config_hash: 397c91e15c0024f8b5bbed9b82c2348c 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 feb28027..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( - 'alias', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'alias', + '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 c474aefe..918cfe48 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( - 'dolores', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolores', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1a254769..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( - 'eveniet', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'eveniet', + '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( - 'eveniet', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'eveniet', + 'alias', 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 6462bb25..09f23c85 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('nesciunt'); + $result = $this->client->smartLinks->listClicks('deserunt'); // @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('consequuntur'); + $result = $this->client->smartLinks->listConversions('molestiae'); // @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('laborum'); // @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('pariatur'); + $result = $this->client->smartLinks->listSpenders('perspiciatis'); // @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('modi'); + $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('itaque'); + $result = $this->client->smartLinks->retrieveStats('saepe'); // @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 ef47bd71..57a8aedf 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( - 'suscipit', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'suscipit', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'suscipit', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'suscipit', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d9634f47..357da0c4 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'facere', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'facere', + 'blanditiis', 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( - 'minus', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'minus', + 'voluptate', 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 42575e27..a772b64e 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', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'esse', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'esse', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'qui', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'esse', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'esse', + '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 e955a9e6..4fe4bdc5 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: 'mans' + name: 'jvi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'mans' + name: 'jvi' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bc3e4e40863d31c2e1e8d6c43c6337bd54a4f242 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 14:13:03 +0000 Subject: [PATCH 194/256] 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 7a485235..07e36940 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-94c07edc67437207a1300a1d91c46760682d0f3551bd3379ffd7b643606a5062.yml -openapi_spec_hash: 9cb9eba31f6c564c33f2a1af7353837c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-465eac4b7df335b90281f9f90f4455eb4567e74f8b592b7c83381153219b3fb2.yml +openapi_spec_hash: 4b0e1da35d79b4463c02c88445d139e4 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 00ed30d8..00edf5a2 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('magnam'); + $result = $this->client->accounts->disconnect('quis'); // @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 388efe95..fd29b3ae 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', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'itaque', + 'dolor', 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 918cfe48..ba7447c0 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( - 'sunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sunt', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ace1f5c8..0d8f1505 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', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'alias', + 'dolorum', 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', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'alias', + 'dolorum', 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/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 09f23c85..50c5a576 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('deserunt'); + $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('molestiae'); + $result = $this->client->smartLinks->listConversions('accusantium'); // @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('laborum'); + $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('perspiciatis'); + $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('tenetur'); + $result = $this->client->smartLinks->retrieveCohortArps('voluptatem'); // @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('saepe'); + $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 57a8aedf..ff8a4f2e 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( - 'voluptas', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptas', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptas', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 357da0c4..47885088 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eos', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eos', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'blanditiis', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'blanditiis', + '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( - 'voluptate', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptate', + 'vero', 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 a772b64e..3db54b53 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aliquam', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aliquam', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aliquam', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aliquam', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'hic', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'hic', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'maxime', + 'modi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'maxime', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'ipsum', 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 4fe4bdc5..66db22ae 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: 'jvi' + name: 'n' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jvi' + name: 'n' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2e57646d4699460cc99883d47518baf4929fadf2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:13:03 +0000 Subject: [PATCH 195/256] 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 07e36940..619d91d0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-465eac4b7df335b90281f9f90f4455eb4567e74f8b592b7c83381153219b3fb2.yml -openapi_spec_hash: 4b0e1da35d79b4463c02c88445d139e4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-cd199f2ebabf57dcdcb7b1884a8cac0959f8f5d817e8d3560ba85aa01ecfc28c.yml +openapi_spec_hash: 87f391adff299fc8309bc1140f03d145 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 00edf5a2..8f4c3824 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('quis'); + $result = $this->client->accounts->disconnect('beatae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index fd29b3ae..c73d0c9a 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( - 'dolor', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolor', + 'ratione', 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 ba7447c0..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( - 'saepe', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'saepe', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'saepe', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'saepe', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0d8f1505..b9f6f730 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( - 'dolorum', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolorum', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolorum', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolorum', + 'architecto', 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/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 50c5a576..779e750f 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('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('accusantium'); + $result = $this->client->smartLinks->listConversions('maiores'); // @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('adipisci'); // @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('optio'); // @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('voluptatem'); + $result = $this->client->smartLinks->retrieveCohortArps('quia'); // @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('odio'); // @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 ff8a4f2e..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( - 'beatae', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'beatae', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'beatae', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'beatae', + 'vero', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 47885088..ed208c2a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'libero', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'libero', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'libero', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'libero', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + '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( - 'vero', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'vero', + 'ad', 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 3db54b53..f86fd90f 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vero', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vero', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vero', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vero', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'officiis', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'officiis', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'modi', + 'nam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'modi', + 'nam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsum', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ipsum', + '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 66db22ae..e993f553 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: 'n' + name: 'xv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'n' + name: 'xv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3b529b0218f273903c12e1c67cb63d4e992e428f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 16:13:08 +0000 Subject: [PATCH 196/256] 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 619d91d0..e14df4c2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-cd199f2ebabf57dcdcb7b1884a8cac0959f8f5d817e8d3560ba85aa01ecfc28c.yml -openapi_spec_hash: 87f391adff299fc8309bc1140f03d145 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9fa910a0787aa6bf8fef582b865f8d90b2061db422df6521faf2bf7e7fbd43a5.yml +openapi_spec_hash: 6f04e92de0c0aea8212d3f412620940b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 8f4c3824..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('beatae'); + $result = $this->client->accounts->disconnect('voluptatem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c73d0c9a..1d8296be 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( - 'ratione', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ratione', + 'rerum', 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..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( - 'velit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'velit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b9f6f730..59c4bc1c 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( - 'architecto', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'architecto', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'architecto', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'architecto', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 779e750f..b8541391 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('odit'); // @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('maiores'); + $result = $this->client->smartLinks->listConversions('libero'); // @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('adipisci'); + $result = $this->client->smartLinks->listFans('veniam'); // @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('optio'); + $result = $this->client->smartLinks->listSpenders('blanditiis'); // @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('quia'); + $result = $this->client->smartLinks->retrieveCohortArps('repellat'); // @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('odio'); + $result = $this->client->smartLinks->retrieveStats('voluptate'); // @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..308ee335 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', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vero', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vero', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vero', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ed208c2a..26b29237 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'eveniet', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'eveniet', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'eveniet', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'eveniet', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'aliquid', 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( - 'ad', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ad', + 'corporis', 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 f86fd90f..72bb9c67 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', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'architecto', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'architecto', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nam', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nam', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'hic', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'hic', + 'distinctio', 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 e993f553..9df46794 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: 'xv' + name: 'pkeskf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xv' + name: 'pkeskf' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 55e6dcbe8465e15cdf66a9c7f77528221df9236c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 18:13:04 +0000 Subject: [PATCH 197/256] 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 e14df4c2..4af35d16 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9fa910a0787aa6bf8fef582b865f8d90b2061db422df6521faf2bf7e7fbd43a5.yml -openapi_spec_hash: 6f04e92de0c0aea8212d3f412620940b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bf35268f3f090f2f6bfb806fd154df9e3957d92e136953bbd37eddd2c795e01a.yml +openapi_spec_hash: 61906e29e65b2ec4d5f7e6ed9f7616b6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 930818de..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('voluptatem'); + $result = $this->client->accounts->disconnect('perspiciatis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1d8296be..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( - 'rerum', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'rerum', + '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 8858f3ee..c98dae3e 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', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'maxime', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'maxime', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'maxime', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59c4bc1c..c0dcf44b 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( - 'fuga', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'fuga', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'fuga', + 'iure', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'fuga', + 'iure', 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..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 b8541391..44d1551c 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('odit'); + $result = $this->client->smartLinks->listClicks('quis'); // @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('libero'); + $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('veniam'); + $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('blanditiis'); + $result = $this->client->smartLinks->listSpenders('dolores'); // @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('repellat'); + $result = $this->client->smartLinks->retrieveCohortArps('porro'); // @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('voluptate'); + $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 308ee335..83f7b70b 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( - 'necessitatibus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'necessitatibus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'necessitatibus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'necessitatibus', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 26b29237..4e1dc49c 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'a', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'a', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'a', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'a', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aliquid', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'aliquid', + 'vel', 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( - 'corporis', + 'provident', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'corporis', + 'provident', 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 72bb9c67..9dc02ffe 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatibus', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'distinctio', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'distinctio', + 'explicabo', 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 9df46794..0dbec277 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: 'pkeskf' + name: 'heiehlytxdhbivvld' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'pkeskf' + name: 'heiehlytxdhbivvld' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 1073c558a06fb83fa81a9ef8206d80bc3e758d57 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 11:13:04 +0000 Subject: [PATCH 198/256] feat(api): api update --- .stats.yml | 4 ++-- src/Services/SmartLinksRawService.php | 2 +- .../ConversionType.php | 2 ++ .../Data/Summary.php | 15 ++++++++++++++ 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 ++++---- 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, 62 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4af35d16..16f3bf2c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bf35268f3f090f2f6bfb806fd154df9e3957d92e136953bbd37eddd2c795e01a.yml -openapi_spec_hash: 61906e29e65b2ec4d5f7e6ed9f7616b6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fd5f9eb8881ccbf40e52feb97c1fe147a8a6e38b8c71ce3afffa4779aa2651a2.yml +openapi_spec_hash: 9d488b784a710d4a43fc8e3c754a42cc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Services/SmartLinksRawService.php b/src/Services/SmartLinksRawService.php index 011859f2..c5280b12 100644 --- a/src/Services/SmartLinksRawService.php +++ b/src/Services/SmartLinksRawService.php @@ -229,7 +229,7 @@ public function listClicks( * * @param string $smartLinkID the ID of the smart link * @param array{ - * conversionType?: ConversionType|value-of, + * conversionType?: value-of, * dateEnd?: string, * dateStart?: string, * includeBots?: bool, diff --git a/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php b/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php index 106fe914..d5780c95 100644 --- a/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php +++ b/src/SmartLinks/SmartLinkListConversionsParams/ConversionType.php @@ -15,5 +15,7 @@ enum ConversionType: string case MESSAGE_RECEIVED = 'message_received'; + case FAN_SENT_1_MESSAGE = 'fan_sent_1_message'; + case FAN_SENT_3_MESSAGES = 'fan_sent_3_messages'; } diff --git a/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php b/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php index a8c56e46..ff2d8686 100644 --- a/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php +++ b/src/SmartLinks/SmartLinkListFansResponse/Data/Summary.php @@ -11,6 +11,7 @@ /** * @phpstan-type SummaryShape = array{ * fansTotal?: int|null, + * fansWith1PlusMessagesTotal?: int|null, * fansWith3PlusMessagesTotal?: int|null, * revenueNetTotal?: int|null, * tipsNetTotal?: int|null, @@ -24,6 +25,9 @@ final class Summary implements BaseModel #[Optional('fans_total')] public ?int $fansTotal; + #[Optional('fans_with_1_plus_messages_total')] + public ?int $fansWith1PlusMessagesTotal; + #[Optional('fans_with_3_plus_messages_total')] public ?int $fansWith3PlusMessagesTotal; @@ -45,6 +49,7 @@ public function __construct() */ public static function with( ?int $fansTotal = null, + ?int $fansWith1PlusMessagesTotal = null, ?int $fansWith3PlusMessagesTotal = null, ?int $revenueNetTotal = null, ?int $tipsNetTotal = null, @@ -52,6 +57,7 @@ public static function with( $self = new self; null !== $fansTotal && $self['fansTotal'] = $fansTotal; + null !== $fansWith1PlusMessagesTotal && $self['fansWith1PlusMessagesTotal'] = $fansWith1PlusMessagesTotal; null !== $fansWith3PlusMessagesTotal && $self['fansWith3PlusMessagesTotal'] = $fansWith3PlusMessagesTotal; null !== $revenueNetTotal && $self['revenueNetTotal'] = $revenueNetTotal; null !== $tipsNetTotal && $self['tipsNetTotal'] = $tipsNetTotal; @@ -67,6 +73,15 @@ public function withFansTotal(int $fansTotal): self return $self; } + public function withFansWith1PlusMessagesTotal( + int $fansWith1PlusMessagesTotal + ): self { + $self = clone $this; + $self['fansWith1PlusMessagesTotal'] = $fansWith1PlusMessagesTotal; + + return $self; + } + public function withFansWith3PlusMessagesTotal( int $fansWith3PlusMessagesTotal ): self { diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b38a4882..ef1e695e 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('perspiciatis'); + $result = $this->client->accounts->disconnect('minus'); // @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 15a2fe0b..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( - 'porro', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + '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 c98dae3e..7912c040 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( - 'accusamus', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'accusamus', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusamus', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'accusamus', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index c0dcf44b..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( - 'iure', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'iure', + '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( - 'iure', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'iure', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 44d1551c..98d5d643 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('quis'); + $result = $this->client->smartLinks->listClicks('minima'); // @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('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('blanditiis'); + $result = $this->client->smartLinks->listFans('cum'); // @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('dolores'); + $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('porro'); + $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('et'); + $result = $this->client->smartLinks->retrieveStats('culpa'); // @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 83f7b70b..a0c850a6 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( - 'inventore', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'inventore', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'inventore', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'inventore', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 4e1dc49c..a8be03d5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'excepturi', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'excepturi', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'excepturi', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'excepturi', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vel', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'vel', + '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( - 'provident', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'provident', + 'excepturi', 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 9dc02ffe..845358f5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'totam', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'totam', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'totam', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'totam', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'explicabo', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'explicabo', + '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 0dbec277..0d93ab91 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: 'heiehlytxdhbivvld' + name: 'qugsdwwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'heiehlytxdhbivvld' + name: 'qugsdwwq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6b7474d551efd5daff9653baf2898d4e3709de2b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:13:10 +0000 Subject: [PATCH 199/256] 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 16f3bf2c..601a5025 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fd5f9eb8881ccbf40e52feb97c1fe147a8a6e38b8c71ce3afffa4779aa2651a2.yml -openapi_spec_hash: 9d488b784a710d4a43fc8e3c754a42cc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5575f166374495bdf576019f2cef05ea8482587d161a5c5c095b732f13edf467.yml +openapi_spec_hash: 0b398a29d51d7c33984c69d078183389 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index ef1e695e..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('minus'); + $result = $this->client->accounts->disconnect('eos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..d3d9edac 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'sit', 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 7912c040..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( - 'modi', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'modi', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'modi', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index bb6cafec..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( - 'saepe', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'saepe', + '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( - 'saepe', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'saepe', + '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 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..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 98d5d643..2d17bbdd 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('minima'); + $result = $this->client->smartLinks->listClicks('quos'); // @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('incidunt'); // @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('cum'); + $result = $this->client->smartLinks->listFans('quaerat'); // @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('corrupti'); // @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('occaecati'); // @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('culpa'); + $result = $this->client->smartLinks->retrieveStats('voluptatibus'); // @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 a0c850a6..76aa4947 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( - 'rerum', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'rerum', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a8be03d5..b34170c8 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'minus', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'minus', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'minus', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'minus', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'atque', + 'enim', 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( - 'excepturi', + 'maxime', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'excepturi', + '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 845358f5..0318f7eb 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'laboriosam', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'laboriosam', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'laboriosam', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'laboriosam', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + '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 0d93ab91..712f1534 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: 'qugsdwwq' + name: 'ppxbqqrrjvkyfk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qugsdwwq' + name: 'ppxbqqrrjvkyfk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6c88fb2864476935a034c2824d6505db9725a3ab Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 17:13:00 +0000 Subject: [PATCH 200/256] 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 601a5025..dfef46ee 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5575f166374495bdf576019f2cef05ea8482587d161a5c5c095b732f13edf467.yml -openapi_spec_hash: 0b398a29d51d7c33984c69d078183389 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-86dacbc074afe939b748380749cf4c3a563aa539d716347f6a4b8372c14fed90.yml +openapi_spec_hash: 69618a1c2b6cdbc93a820bb191ccf268 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b7f8a200..c854a796 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('autem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index d3d9edac..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( - 'sit', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sit', + '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 ef9c3fe1..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( - 'velit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'velit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'velit', + 'hic', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..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( - 'ut', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + '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( - 'ut', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'beatae', 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 2d17bbdd..97069968 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('quos'); + $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('incidunt'); + $result = $this->client->smartLinks->listConversions('porro'); // @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('quaerat'); + $result = $this->client->smartLinks->listFans('voluptatem'); // @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('corrupti'); + $result = $this->client->smartLinks->listSpenders('voluptatem'); // @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('occaecati'); + $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('voluptatibus'); + $result = $this->client->smartLinks->retrieveStats('qui'); // @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 76aa4947..6fd9f8bc 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( - 'ipsum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ipsum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b34170c8..97a00396 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + '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( - 'maxime', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'maxime', + 'dolorum', 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 0318f7eb..5daf08bc 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'placeat', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'placeat', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'placeat', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'placeat', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolor', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolor', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'fuga', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'qui', 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 712f1534..3f7f3a08 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: 'ppxbqqrrjvkyfk' + name: 'osofacedbpqnfmbcvvw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ppxbqqrrjvkyfk' + name: 'osofacedbpqnfmbcvvw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 311cc1b9eb87de598596a62e82d985e22d73f0a9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 14:13:01 +0000 Subject: [PATCH 201/256] 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 dfef46ee..f2a66157 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-86dacbc074afe939b748380749cf4c3a563aa539d716347f6a4b8372c14fed90.yml -openapi_spec_hash: 69618a1c2b6cdbc93a820bb191ccf268 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b373d508b827f74dfea7e42bbcdf19b6a82a04bc6b34f04dc75d678326506607.yml +openapi_spec_hash: b93bd0c5bd3e528ef814ae267651ced5 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c854a796..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('autem'); + $result = $this->client->accounts->disconnect('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 6fa75c6b..c98975a2 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', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'temporibus', + 'corporis', 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..c08ad540 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', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'hic', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'hic', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b98cb396..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( - 'beatae', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'beatae', + '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( - 'beatae', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'beatae', + 'tenetur', 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 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 97069968..b687e785 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('animi'); // @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('porro'); + $result = $this->client->smartLinks->listConversions('et'); // @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('voluptatem'); + $result = $this->client->smartLinks->listFans('esse'); // @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('voluptatem'); + $result = $this->client->smartLinks->listSpenders('possimus'); // @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('voluptatem'); // @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('qui'); + $result = $this->client->smartLinks->retrieveStats('deserunt'); // @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 6fd9f8bc..b6978fdc 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( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sed', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 97a00396..ce49cf54 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'tenetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'ea', 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( - 'dolorum', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolorum', + 'consectetur', 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 5daf08bc..d0e5988c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'doloremque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ab', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'qui', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'qui', + '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 3f7f3a08..d17f7573 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: 'osofacedbpqnfmbcvvw' + name: 'eliewjdpzgqfuxzpdlew' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'osofacedbpqnfmbcvvw' + name: 'eliewjdpzgqfuxzpdlew' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5c43dafc49b7475aeae313c372ca9e5c9d402312 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 15:12:57 +0000 Subject: [PATCH 202/256] feat(api): api update --- .stats.yml | 4 ++-- src/Fans/FanListActiveParams.php | 6 +++--- src/Fans/FanListActiveParams/Filter.php | 16 +++++++-------- .../FanListActiveParams/Filter/Online.php | 2 +- src/Fans/FanListAllParams.php | 6 +++--- src/Fans/FanListAllParams/Filter.php | 16 +++++++-------- src/Fans/FanListAllParams/Filter/Online.php | 2 +- src/Fans/FanListExpiredParams.php | 6 +++--- src/Fans/FanListExpiredParams/Filter.php | 16 +++++++-------- .../FanListExpiredParams/Filter/Online.php | 2 +- src/Fans/FanListLatestParams.php | 4 ++-- src/ServiceContracts/FansContract.php | 8 ++++---- src/Services/FansRawService.php | 6 +++--- src/Services/FansService.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 | 10 +++++----- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 25 files changed, 98 insertions(+), 98 deletions(-) diff --git a/.stats.yml b/.stats.yml index f2a66157..602c0849 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b373d508b827f74dfea7e42bbcdf19b6a82a04bc6b34f04dc75d678326506607.yml -openapi_spec_hash: b93bd0c5bd3e528ef814ae267651ced5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-42fa35231d794b0bfd70bc9535f8c7c4de1637f2bf7efab0d20640f55d717daf.yml +openapi_spec_hash: 7c3baec99afe2fe96c534aabaa94b77e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Fans/FanListActiveParams.php b/src/Fans/FanListActiveParams.php index 2441c559..8cc0fa27 100644 --- a/src/Fans/FanListActiveParams.php +++ b/src/Fans/FanListActiveParams.php @@ -12,7 +12,7 @@ use OnlyFansAPI\Fans\FanListActiveParams\Type; /** - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. * * @see OnlyFansAPI\Services\FansService::listActive() * @@ -36,7 +36,7 @@ final class FanListActiveParams implements BaseModel public ?Filter $filter; /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ #[Optional] public ?int $limit; @@ -104,7 +104,7 @@ public function withFilter(Filter|array $filter): self } /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ public function withLimit(int $limit): self { diff --git a/src/Fans/FanListActiveParams/Filter.php b/src/Fans/FanListActiveParams/Filter.php index d0073d70..be013e1e 100644 --- a/src/Fans/FanListActiveParams/Filter.php +++ b/src/Fans/FanListActiveParams/Filter.php @@ -23,13 +23,13 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @var value-of|null $online */ @@ -37,13 +37,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -77,7 +77,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +88,7 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @param Online|value-of|null $online */ @@ -101,7 +101,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +112,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListActiveParams/Filter/Online.php b/src/Fans/FanListActiveParams/Filter/Online.php index 8e419d7d..6e5346cd 100644 --- a/src/Fans/FanListActiveParams/Filter/Online.php +++ b/src/Fans/FanListActiveParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListActiveParams\Filter; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. */ enum Online: int { diff --git a/src/Fans/FanListAllParams.php b/src/Fans/FanListAllParams.php index f9264ada..f670a3ef 100644 --- a/src/Fans/FanListAllParams.php +++ b/src/Fans/FanListAllParams.php @@ -12,7 +12,7 @@ use OnlyFansAPI\Fans\FanListAllParams\Type; /** - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @see OnlyFansAPI\Services\FansService::listAll() * @@ -36,7 +36,7 @@ final class FanListAllParams implements BaseModel public ?Filter $filter; /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ #[Optional] public ?int $limit; @@ -104,7 +104,7 @@ public function withFilter(Filter|array $filter): self } /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ public function withLimit(int $limit): self { diff --git a/src/Fans/FanListAllParams/Filter.php b/src/Fans/FanListAllParams/Filter.php index e4b0ce8a..4cea3583 100644 --- a/src/Fans/FanListAllParams/Filter.php +++ b/src/Fans/FanListAllParams/Filter.php @@ -23,13 +23,13 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @var value-of|null $online */ @@ -37,13 +37,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -77,7 +77,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +88,7 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @param Online|value-of|null $online */ @@ -101,7 +101,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +112,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListAllParams/Filter/Online.php b/src/Fans/FanListAllParams/Filter/Online.php index f94cc530..82c51601 100644 --- a/src/Fans/FanListAllParams/Filter/Online.php +++ b/src/Fans/FanListAllParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListAllParams\Filter; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. */ enum Online: int { diff --git a/src/Fans/FanListExpiredParams.php b/src/Fans/FanListExpiredParams.php index 08a7df9a..cba88d74 100644 --- a/src/Fans/FanListExpiredParams.php +++ b/src/Fans/FanListExpiredParams.php @@ -12,7 +12,7 @@ use OnlyFansAPI\Fans\FanListExpiredParams\Type; /** - * Get a paginated list of expired fans for an Account. Newest fans are first. + * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @see OnlyFansAPI\Services\FansService::listExpired() * @@ -36,7 +36,7 @@ final class FanListExpiredParams implements BaseModel public ?Filter $filter; /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ #[Optional] public ?int $limit; @@ -104,7 +104,7 @@ public function withFilter(Filter|array $filter): self } /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. */ public function withLimit(int $limit): self { diff --git a/src/Fans/FanListExpiredParams/Filter.php b/src/Fans/FanListExpiredParams/Filter.php index cf98c854..bcc05cae 100644 --- a/src/Fans/FanListExpiredParams/Filter.php +++ b/src/Fans/FanListExpiredParams/Filter.php @@ -23,13 +23,13 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @var value-of|null $online */ @@ -37,13 +37,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -77,7 +77,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +88,7 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. * * @param Online|value-of|null $online */ @@ -101,7 +101,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +112,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListExpiredParams/Filter/Online.php b/src/Fans/FanListExpiredParams/Filter/Online.php index fccd08cd..2553e8b3 100644 --- a/src/Fans/FanListExpiredParams/Filter/Online.php +++ b/src/Fans/FanListExpiredParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListExpiredParams\Filter; /** - * Filter by online status (`1` for online fans). + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. */ enum Online: int { diff --git a/src/Fans/FanListLatestParams.php b/src/Fans/FanListLatestParams.php index c68c2ad0..0ab4d18b 100644 --- a/src/Fans/FanListLatestParams.php +++ b/src/Fans/FanListLatestParams.php @@ -36,7 +36,7 @@ final class FanListLatestParams implements BaseModel public ?string $endDate; /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. + * Number of fans to return (1-50). Must be at least 1. Must not be greater than 50. */ #[Optional] public ?int $limit; @@ -103,7 +103,7 @@ public function withEndDate(?string $endDate): self } /** - * Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. + * Number of fans to return (1-50). Must be at least 1. Must not be greater than 50. */ public function withLimit(int $limit): self { diff --git a/src/ServiceContracts/FansContract.php b/src/ServiceContracts/FansContract.php index fec584a6..bac1d2d9 100644 --- a/src/ServiceContracts/FansContract.php +++ b/src/ServiceContracts/FansContract.php @@ -45,7 +45,7 @@ public function getSubscriptionHistory( * * @param string $account The Account ID * @param Filter|FilterShape $filter - * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * @param int $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 Type|value-of $type filter by fan type @@ -68,7 +68,7 @@ public function listActive( * * @param string $account The Account ID * @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 $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 @@ -91,7 +91,7 @@ public function listAll( * * @param string $account The Account ID * @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 $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 @@ -114,7 +114,7 @@ public function listExpired( * * @param string $account The Account ID * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. - * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. + * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 50. * @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). Must be a valid date. Must not be greater than 255 characters. * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new diff --git a/src/Services/FansRawService.php b/src/Services/FansRawService.php index 89720c68..e4418fb4 100644 --- a/src/Services/FansRawService.php +++ b/src/Services/FansRawService.php @@ -81,7 +81,7 @@ public function getSubscriptionHistory( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. * * @param string $account The Account ID * @param array{ @@ -120,7 +120,7 @@ public function listActive( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @param string $account The Account ID * @param array{ @@ -159,7 +159,7 @@ public function listAll( /** * @api * - * Get a paginated list of expired fans for an Account. Newest fans are first. + * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @param string $account The Account ID * @param array{ diff --git a/src/Services/FansService.php b/src/Services/FansService.php index 91fffa63..02b1dcad 100644 --- a/src/Services/FansService.php +++ b/src/Services/FansService.php @@ -84,11 +84,11 @@ public function getSubscriptionHistory( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. * * @param string $account The Account ID * @param Filter|FilterShape $filter - * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 20. + * @param int $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 Type|value-of $type filter by fan type @@ -124,11 +124,11 @@ public function listActive( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @param string $account The Account ID * @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 $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 @@ -164,11 +164,11 @@ public function listAll( /** * @api * - * Get a paginated list of expired fans for an Account. Newest fans are first. + * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * * @param string $account The Account ID * @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 $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. 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 @@ -208,7 +208,7 @@ public function listExpired( * * @param string $account The Account ID * @param string|null $endDate End date for filtering (required with start_date). Must be a valid date. Must not be greater than 255 characters. - * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 100. + * @param int $limit Number of fans to return (1-50). Must be at least 1. Must not be greater than 50. * @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). Must be a valid date. Must not be greater than 255 characters. * @param \OnlyFansAPI\Fans\FanListLatestParams\Type|value-of<\OnlyFansAPI\Fans\FanListLatestParams\Type>|null $type filter by type: total, renew, or new diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..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('qui'); + $result = $this->client->accounts->disconnect('laboriosam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c98975a2..c0b5366f 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( - 'corporis', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'corporis', + 'quaerat', 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 c08ad540..900c6943 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( - 'fuga', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'fuga', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'fuga', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'fuga', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f0860872..59c4bc1c 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( - 'tenetur', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'tenetur', + 'fuga', 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', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'tenetur', + 'fuga', 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/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 b687e785..55c2be28 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('animi'); + $result = $this->client->smartLinks->listClicks('soluta'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('esse'); + $result = $this->client->smartLinks->listFans('vero'); // @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('possimus'); + $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('voluptatem'); + $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('deserunt'); + $result = $this->client->smartLinks->retrieveStats('voluptatibus'); // @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 b6978fdc..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( - 'ea', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ea', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ce49cf54..c1f05e09 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'tenetur', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'tenetur', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'tenetur', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'tenetur', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ea', + 'eaque', 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( - 'consectetur', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'consectetur', + 'illo', 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 d0e5988c..dc988b15 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sit', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sit', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloremque', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'doloremque', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorem', + 'temporibus', 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 d17f7573..9c6b1f73 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: 'eliewjdpzgqfuxzpdlew' + name: 'pxtvwfysvmbazvtqlypv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'eliewjdpzgqfuxzpdlew' + name: 'pxtvwfysvmbazvtqlypv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b61e7c64315498fb5d5d35f98b5822ceed63b046 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:13:06 +0000 Subject: [PATCH 203/256] 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 | 10 +++++----- tests/Services/SmartLinksTest.php | 12 ++++++------ tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 ++++++++-------- tests/Services/TrialLinksTest.php | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.stats.yml b/.stats.yml index 602c0849..7d3f9bdb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-42fa35231d794b0bfd70bc9535f8c7c4de1637f2bf7efab0d20640f55d717daf.yml -openapi_spec_hash: 7c3baec99afe2fe96c534aabaa94b77e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0c1400f2d2673186ba78e4c245b8a9be95f0838ddeab0aed0113e2b3b7a886a3.yml +openapi_spec_hash: 984f4f233bee708607f2651a31eb5d7f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 53e3c4cc..3149bd7e 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('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c0b5366f..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( - 'quaerat', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quaerat', + '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 900c6943..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( - 'repellendus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'repellendus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'repellendus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'repellendus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59c4bc1c..d567c068 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( - 'fuga', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'fuga', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'fuga', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'fuga', + 'ea', 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 55c2be28..8f8d5711 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('soluta'); + $result = $this->client->smartLinks->listClicks('ex'); // @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('et'); + $result = $this->client->smartLinks->listConversions('optio'); // @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('vero'); + $result = $this->client->smartLinks->listFans('pariatur'); // @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('placeat'); // @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('enim'); // @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('voluptatibus'); + $result = $this->client->smartLinks->retrieveStats('delectus'); // @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..1acfae07 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', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quidem', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'recusandae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c1f05e09..16b09a74 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eaque', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eaque', + 'ipsam', 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( - 'illo', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'illo', + 'fuga', 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 dc988b15..0a810621 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'neque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'neque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'neque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'neque', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'enim', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'temporibus', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'temporibus', + 'saepe', 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 9c6b1f73..e4c2e439 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: 'pxtvwfysvmbazvtqlypv' + name: 'gtyaevtnisqrzebhwcv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'pxtvwfysvmbazvtqlypv' + name: 'gtyaevtnisqrzebhwcv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 039d65c27a24340315c2f9ea69ceef5e0084d88d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 17:13:05 +0000 Subject: [PATCH 204/256] feat(api): api update --- .stats.yml | 4 ++-- src/Fans/FanListActiveParams.php | 2 +- src/Services/FansRawService.php | 2 +- src/Services/FansService.php | 2 +- 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 ++-- 15 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7d3f9bdb..86a62496 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0c1400f2d2673186ba78e4c245b8a9be95f0838ddeab0aed0113e2b3b7a886a3.yml -openapi_spec_hash: 984f4f233bee708607f2651a31eb5d7f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-445eb492f26fedc978dca7dd3d47bec133960dc431aed4279e2a3587c7250649.yml +openapi_spec_hash: 8216c1487eb858df08449e7b45db8de0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Fans/FanListActiveParams.php b/src/Fans/FanListActiveParams.php index 8cc0fa27..32daf4b1 100644 --- a/src/Fans/FanListActiveParams.php +++ b/src/Fans/FanListActiveParams.php @@ -12,7 +12,7 @@ use OnlyFansAPI\Fans\FanListActiveParams\Type; /** - * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * * @see OnlyFansAPI\Services\FansService::listActive() * diff --git a/src/Services/FansRawService.php b/src/Services/FansRawService.php index e4418fb4..644dfd1c 100644 --- a/src/Services/FansRawService.php +++ b/src/Services/FansRawService.php @@ -81,7 +81,7 @@ public function getSubscriptionHistory( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * * @param string $account The Account ID * @param array{ diff --git a/src/Services/FansService.php b/src/Services/FansService.php index 02b1dcad..dfb5247c 100644 --- a/src/Services/FansService.php +++ b/src/Services/FansService.php @@ -84,7 +84,7 @@ public function getSubscriptionHistory( /** * @api * - * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET /{account}/me returns data.subscribersCount (the current active-subscriber count) as a total. + * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * * @param string $account The Account ID * @param Filter|FilterShape $filter diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3149bd7e..6b00fd93 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('natus'); + $result = $this->client->accounts->disconnect('tenetur'); // @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/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 7c6a28d3..8fcaa63c 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', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'debitis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index d567c068..b29bb199 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( - 'ea', + 'a', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ea', + 'a', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'ea', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ea', + 'a', 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/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 8f8d5711..47e0bd40 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('ex'); + $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('optio'); + $result = $this->client->smartLinks->listConversions('quas'); // @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('pariatur'); + $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('placeat'); + $result = $this->client->smartLinks->listSpenders('soluta'); // @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('enim'); + $result = $this->client->smartLinks->retrieveCohortArps('quas'); // @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('delectus'); + $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 1acfae07..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( - 'recusandae', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'recusandae', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'recusandae', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'recusandae', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 16b09a74..eea6b190 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'neque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsam', + '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( - 'fuga', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fuga', + '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 0a810621..acb35b46 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'blanditiis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'blanditiis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'reprehenderit', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'reprehenderit', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'saepe', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'saepe', + '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 e4c2e439..a5fed9a1 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: 'gtyaevtnisqrzebhwcv' + name: 'xtztgkcrtnrshuysrlypyv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gtyaevtnisqrzebhwcv' + name: 'xtztgkcrtnrshuysrlypyv' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5e66416ce9f4d04d05df8c9d2bf9b8b54e2196f6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 22:12:59 +0000 Subject: [PATCH 205/256] 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 86a62496..b2ca7f4b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-445eb492f26fedc978dca7dd3d47bec133960dc431aed4279e2a3587c7250649.yml -openapi_spec_hash: 8216c1487eb858df08449e7b45db8de0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-472164393adecbcbd3440db6a85eae0183969929872aa88c4f04fe98a0b32211.yml +openapi_spec_hash: ad9388a6b39b592c09d882570d47d170 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6b00fd93..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('tenetur'); + $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 a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 73906f4e..2d755e1f 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', + 'hic', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'est', + 'hic', 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 8fcaa63c..ffa3d9bf 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( - 'debitis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'debitis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'debitis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'debitis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b29bb199..a4afb10a 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( - 'a', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'a', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'a', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'a', + 'nulla', 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/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 47e0bd40..d91be780 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('repudiandae'); // @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('quas'); + $result = $this->client->smartLinks->listConversions('nihil'); // @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('reprehenderit'); // @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('soluta'); + $result = $this->client->smartLinks->listSpenders('animi'); // @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('quas'); + $result = $this->client->smartLinks->retrieveCohortArps('quia'); // @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('temporibus'); // @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..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( - 'quidem', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quidem', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quidem', + 'distinctio', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index eea6b190..c9c5b683 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'neque', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'neque', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'neque', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'neque', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + '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( - 'voluptates', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptates', + 'est', 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 acb35b46..bf68ffb6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ipsam', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ipsam', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quidem', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quidem', + 'repellendus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'eos', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eos', + 'unde', 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 a5fed9a1..2e109f06 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: 'xtztgkcrtnrshuysrlypyv' + name: 'bsykyiuieejhnohobnfbmpwcw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xtztgkcrtnrshuysrlypyv' + name: 'bsykyiuieejhnohobnfbmpwcw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ffa1f6a2470dcd30b44583e35992439675222ed2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 16:13:14 +0000 Subject: [PATCH 206/256] 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 b2ca7f4b..2d1cda3a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-472164393adecbcbd3440db6a85eae0183969929872aa88c4f04fe98a0b32211.yml -openapi_spec_hash: ad9388a6b39b592c09d882570d47d170 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8213256f6e0cc4f6df8d5b934e3da25a285184c159e4efa01820f0eda5624cf7.yml +openapi_spec_hash: 4937641fede443de6a09b5657448b2cb config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bb217b11..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('vel'); + $result = $this->client->accounts->disconnect('omnis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 2d755e1f..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( - 'hic', + 'itaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'hic', + '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 ffa3d9bf..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( - 'ipsam', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ipsam', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ipsam', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ipsam', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index a4afb10a..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( - 'nulla', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nulla', + '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( - 'nulla', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nulla', + 'aspernatur', 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/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 d91be780..52b9d9dd 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('repudiandae'); + $result = $this->client->smartLinks->listClicks('commodi'); // @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('nihil'); + $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('reprehenderit'); + $result = $this->client->smartLinks->listFans('laudantium'); // @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('animi'); + $result = $this->client->smartLinks->listSpenders('id'); // @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('quia'); + $result = $this->client->smartLinks->retrieveCohortArps('inventore'); // @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('temporibus'); + $result = $this->client->smartLinks->retrieveStats('accusantium'); // @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..1d96af5f 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', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'distinctio', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'distinctio', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'distinctio', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c9c5b683..3bde6135 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'incidunt', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'incidunt', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'incidunt', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'incidunt', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'error', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'error', + '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( - 'est', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + 'vel', 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 bf68ffb6..003d6b9e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'consequuntur', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'consequuntur', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'consequuntur', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'consequuntur', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'consectetur', + 'modi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellendus', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'repellendus', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'unde', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'unde', + 'eum', 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 2e109f06..a46320b8 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: 'bsykyiuieejhnohobnfbmpwcw' + name: 'stz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bsykyiuieejhnohobnfbmpwcw' + name: 'stz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9eb42a013bd4f87f61421f415ed00dbfb6e1b105 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 17:13:01 +0000 Subject: [PATCH 207/256] 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 2d1cda3a..3eb96a8c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8213256f6e0cc4f6df8d5b934e3da25a285184c159e4efa01820f0eda5624cf7.yml -openapi_spec_hash: 4937641fede443de6a09b5657448b2cb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d42187bbe311c249da9d900335a3e1cab032e3c291c93083200e7cde0232ea27.yml +openapi_spec_hash: c5fb30fd4724d69ba4b4bd519497bf35 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 710561df..83d6b4d7 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('quos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 388efe95..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( - 'itaque', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'itaque', + '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 d0da96a5..947fd4bf 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', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptas', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptas', + 'non', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0831cab1..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( - 'aspernatur', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aspernatur', + '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( - 'aspernatur', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aspernatur', + '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 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/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 52b9d9dd..433cf835 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('commodi'); + $result = $this->client->smartLinks->listClicks('iusto'); // @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('quia'); // @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('laudantium'); + $result = $this->client->smartLinks->listFans('aperiam'); // @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('id'); + $result = $this->client->smartLinks->listSpenders('quaerat'); // @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('inventore'); + $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('accusantium'); + $result = $this->client->smartLinks->retrieveStats('minima'); // @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 1d96af5f..bf0bdab4 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( - 'sit', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'sit', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'sit', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'sit', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 3bde6135..6816c481 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'consequatur', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'reprehenderit', + 'fugit', 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( - 'vel', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'vel', + 'id', 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 003d6b9e..3a42c225 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', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'modi', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'modi', + 'animi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quaerat', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'eum', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eum', + 'consequuntur', 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 a46320b8..08f7d931 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: 'stz' + name: 'igbiekqpqjcrwhkrleaozvktd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'stz' + name: 'igbiekqpqjcrwhkrleaozvktd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 0544581a8ed77e501a164f773e63d2502e5b0064 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 07:13:01 +0000 Subject: [PATCH 208/256] feat(api): api update --- .stats.yml | 4 ++-- src/Chats/Messages/MessageSendParams.php | 12 +++++------ src/MassMessaging/MassMessagingSendParams.php | 12 +++++------ .../MassMessagingUpdateParams.php | 12 +++++------ .../Chats/MessagesContract.php | 4 ++-- .../MassMessagingContract.php | 8 ++++---- src/Services/Chats/MessagesRawService.php | 2 +- src/Services/Chats/MessagesService.php | 4 ++-- src/Services/MassMessagingRawService.php | 4 ++-- src/Services/MassMessagingService.php | 8 ++++---- tests/Services/AccountsTest.php | 2 +- tests/Services/Chats/MessagesTest.php | 2 +- tests/Services/Engagement/MessagesTest.php | 4 ++-- tests/Services/MassMessagingTest.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 ++-- 21 files changed, 80 insertions(+), 80 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3eb96a8c..8d1d2029 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d42187bbe311c249da9d900335a3e1cab032e3c291c93083200e7cde0232ea27.yml -openapi_spec_hash: c5fb30fd4724d69ba4b4bd519497bf35 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2589d34f2558e14affdae826ce1c96c76ebf0659c44350e0c9f23a8b74758a68.yml +openapi_spec_hash: e5fc1e707177a3938b504eb815ebc379 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Chats/Messages/MessageSendParams.php b/src/Chats/Messages/MessageSendParams.php index 942eb511..93d7d754 100644 --- a/src/Chats/Messages/MessageSendParams.php +++ b/src/Chats/Messages/MessageSendParams.php @@ -23,7 +23,7 @@ * lockedText?: bool|null, * mediaFiles?: list|null, * previews?: list|null, - * price?: int|null, + * price?: float|null, * replyToMessageID?: int|null, * rfGuest?: string|null, * rfPartner?: string|null, @@ -77,10 +77,10 @@ final class MessageSendParams implements BaseModel public ?array $previews; /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ #[Optional] - public ?int $price; + public ?float $price; /** * Mark this message as a reply to another (can be either your own, or the recipient's). @@ -147,7 +147,7 @@ public static function with( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?int $replyToMessageID = null, ?string $rfGuest = null, ?string $rfPartner = null, @@ -244,9 +244,9 @@ public function withPreviews(array $previews): self } /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ - public function withPrice(int $price): self + public function withPrice(float $price): self { $self = clone $this; $self['price'] = $price; diff --git a/src/MassMessaging/MassMessagingSendParams.php b/src/MassMessaging/MassMessagingSendParams.php index 8eb40f12..2857a5b8 100644 --- a/src/MassMessaging/MassMessagingSendParams.php +++ b/src/MassMessaging/MassMessagingSendParams.php @@ -24,7 +24,7 @@ * lockedText?: bool|null, * mediaFiles?: list|null, * previews?: list|null, - * price?: int|null, + * price?: float|null, * rfGuest?: string|null, * rfPartner?: string|null, * rfTag?: string|null, @@ -91,10 +91,10 @@ final class MassMessagingSendParams implements BaseModel public ?array $previews; /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ #[Optional] - public ?int $price; + public ?float $price; /** * Array of OnlyFans Release Form Guest IDs to tag in your mass message. @@ -181,7 +181,7 @@ public static function with( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $rfGuest = null, ?string $rfPartner = null, ?string $rfTag = null, @@ -299,9 +299,9 @@ public function withPreviews(array $previews): self } /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ - public function withPrice(int $price): self + public function withPrice(float $price): self { $self = clone $this; $self['price'] = $price; diff --git a/src/MassMessaging/MassMessagingUpdateParams.php b/src/MassMessaging/MassMessagingUpdateParams.php index 27d0895d..ded49322 100644 --- a/src/MassMessaging/MassMessagingUpdateParams.php +++ b/src/MassMessaging/MassMessagingUpdateParams.php @@ -24,7 +24,7 @@ * lockedText?: bool|null, * mediaFiles?: list|null, * previews?: list|null, - * price?: int|null, + * price?: float|null, * scheduledDate?: string|null, * userIDs?: list|null, * userLists?: list|null, @@ -82,10 +82,10 @@ final class MassMessagingUpdateParams implements BaseModel public ?array $previews; /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ #[Optional] - public ?int $price; + public ?float $price; /** * Schedule the chat message in the future (UTC timezone). @@ -147,7 +147,7 @@ public static function with( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $scheduledDate = null, ?array $userIDs = null, ?array $userLists = null, @@ -252,9 +252,9 @@ public function withPreviews(array $previews): self } /** - * Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required. + * Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required. */ - public function withPrice(int $price): self + public function withPrice(float $price): self { $self = clone $this; $self['price'] = $price; diff --git a/src/ServiceContracts/Chats/MessagesContract.php b/src/ServiceContracts/Chats/MessagesContract.php index fa68539f..6427c77e 100644 --- a/src/ServiceContracts/Chats/MessagesContract.php +++ b/src/ServiceContracts/Chats/MessagesContract.php @@ -145,7 +145,7 @@ public function search( * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. * @param list $previews Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices referencing uploaded files in `mediaFiles`. Will be shown if `price` is provided. - * @param int $price Body param: Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Body param: Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param int $replyToMessageID Body param: Mark this message as a reply to another (can be either your own, or the recipient's) * @param string $rfGuest Body param: Array of OnlyFans Release Form Guest IDs to tag in your message * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message @@ -163,7 +163,7 @@ public function send( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?int $replyToMessageID = null, ?string $rfGuest = null, ?string $rfPartner = null, diff --git a/src/ServiceContracts/MassMessagingContract.php b/src/ServiceContracts/MassMessagingContract.php index cef117ba..2b851964 100644 --- a/src/ServiceContracts/MassMessagingContract.php +++ b/src/ServiceContracts/MassMessagingContract.php @@ -45,7 +45,7 @@ public function retrieve( * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be hidden if `price` is provided. * @param list $previews Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be shown if `price` is provided. All `previews` values must also exist in the `mediaFiles` array. - * @param int $price Body param: Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Body param: Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param string $scheduledDate body param: Schedule the chat message in the future (UTC timezone) * @param list $userIDs body param: Array of user IDs that the mass message will be sent to * @param list $userLists body param: Array of user list IDs that the mass message will be sent to @@ -62,7 +62,7 @@ public function update( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $scheduledDate = null, ?array $userIDs = null, ?array $userLists = null, @@ -129,7 +129,7 @@ public function retrieveOverview( * @param bool $lockedText Whether the text should be shown or hidden * @param list $mediaFiles Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. * @param list $previews Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices referencing uploaded files in `mediaFiles`. Will be shown if `price` is provided. - * @param int $price Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param string $rfGuest Array of OnlyFans Release Form Guest IDs to tag in your mass message * @param string $rfPartner Array of OnlyFans Release Form Partners IDs to tag in your mass message * @param string $rfTag Array of OnlyFans Creator User IDs to tag in your mass message @@ -150,7 +150,7 @@ public function send( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $rfGuest = null, ?string $rfPartner = null, ?string $rfTag = null, diff --git a/src/Services/Chats/MessagesRawService.php b/src/Services/Chats/MessagesRawService.php index 03261b38..c3277146 100644 --- a/src/Services/Chats/MessagesRawService.php +++ b/src/Services/Chats/MessagesRawService.php @@ -292,7 +292,7 @@ public function search( * lockedText?: bool, * mediaFiles?: list, * previews?: list, - * price?: int, + * price?: float, * replyToMessageID?: int, * rfGuest?: string, * rfPartner?: string, diff --git a/src/Services/Chats/MessagesService.php b/src/Services/Chats/MessagesService.php index 22b386c9..1e7813f8 100644 --- a/src/Services/Chats/MessagesService.php +++ b/src/Services/Chats/MessagesService.php @@ -227,7 +227,7 @@ public function search( * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. * @param list $previews Body param: Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices referencing uploaded files in `mediaFiles`. Will be shown if `price` is provided. - * @param int $price Body param: Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Body param: Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param int $replyToMessageID Body param: Mark this message as a reply to another (can be either your own, or the recipient's) * @param string $rfGuest Body param: Array of OnlyFans Release Form Guest IDs to tag in your message * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message @@ -245,7 +245,7 @@ public function send( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?int $replyToMessageID = null, ?string $rfGuest = null, ?string $rfPartner = null, diff --git a/src/Services/MassMessagingRawService.php b/src/Services/MassMessagingRawService.php index e925122e..0f5c250a 100644 --- a/src/Services/MassMessagingRawService.php +++ b/src/Services/MassMessagingRawService.php @@ -81,7 +81,7 @@ public function retrieve( * lockedText?: bool, * mediaFiles?: list, * previews?: list, - * price?: int, + * price?: float, * scheduledDate?: string, * userIDs?: list, * userLists?: list, @@ -222,7 +222,7 @@ public function retrieveOverview( * lockedText?: bool, * mediaFiles?: list, * previews?: list, - * price?: int, + * price?: float, * rfGuest?: string, * rfPartner?: string, * rfTag?: string, diff --git a/src/Services/MassMessagingService.php b/src/Services/MassMessagingService.php index d9b182b4..da1f9086 100644 --- a/src/Services/MassMessagingService.php +++ b/src/Services/MassMessagingService.php @@ -72,7 +72,7 @@ public function retrieve( * @param bool $lockedText Body param: Whether the text should be shown or hidden * @param list $mediaFiles Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be hidden if `price` is provided. * @param list $previews Body param: Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). Will be shown if `price` is provided. All `previews` values must also exist in the `mediaFiles` array. - * @param int $price Body param: Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Body param: Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param string $scheduledDate body param: Schedule the chat message in the future (UTC timezone) * @param list $userIDs body param: Array of user IDs that the mass message will be sent to * @param list $userLists body param: Array of user list IDs that the mass message will be sent to @@ -89,7 +89,7 @@ public function update( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $scheduledDate = null, ?array $userIDs = null, ?array $userLists = null, @@ -211,7 +211,7 @@ public function retrieveOverview( * @param bool $lockedText Whether the text should be shown or hidden * @param list $mediaFiles Direct file uploads, OFAPI `ofapi_media_` IDs, or OF vault IDs. Will be hidden if `price` is provided. * @param list $previews Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices referencing uploaded files in `mediaFiles`. Will be shown if `price` is provided. - * @param int $price Price for paid content (0 or between 3-200). In case this is not zero, **mediaFiles** is required + * @param float $price Price for paid content in USD (0 or between 3-200). In case this is not zero, **mediaFiles** is required * @param string $rfGuest Array of OnlyFans Release Form Guest IDs to tag in your mass message * @param string $rfPartner Array of OnlyFans Release Form Partners IDs to tag in your mass message * @param string $rfTag Array of OnlyFans Creator User IDs to tag in your mass message @@ -232,7 +232,7 @@ public function send( ?bool $lockedText = null, ?array $mediaFiles = null, ?array $previews = null, - ?int $price = null, + ?float $price = null, ?string $rfGuest = null, ?string $rfPartner = null, ?string $rfTag = null, diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 83d6b4d7..b8c43a20 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('quos'); + $result = $this->client->accounts->disconnect('illo'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Chats/MessagesTest.php b/tests/Services/Chats/MessagesTest.php index 9a58e28a..ee29fca4 100644 --- a/tests/Services/Chats/MessagesTest.php +++ b/tests/Services/Chats/MessagesTest.php @@ -275,7 +275,7 @@ public function testSendWithOptionalParams(): void lockedText: true, mediaFiles: ['ofapi_media_abc123', 1234567890], previews: ['ofapi_media_abc123', 1234567890], - price: 10, + price: 6.97, replyToMessageID: 123456789, rfGuest: 'rfGuest', rfPartner: 'rfPartner', diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 54120be1..7049e2ec 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', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'et', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, marker: 0, diff --git a/tests/Services/MassMessagingTest.php b/tests/Services/MassMessagingTest.php index cf693ff8..53bebb07 100644 --- a/tests/Services/MassMessagingTest.php +++ b/tests/Services/MassMessagingTest.php @@ -98,7 +98,7 @@ public function testUpdateWithOptionalParams(): void lockedText: true, mediaFiles: ['ofapi_media_abc123', 'string'], previews: ['ofapi_media_abc123', 'string'], - price: 100, + price: 6.97, scheduledDate: '2025-01-01T00:00:00.000Z', userIDs: ['string'], userLists: [ @@ -204,7 +204,7 @@ public function testSendWithOptionalParams(): void lockedText: true, mediaFiles: ['ofapi_media_abc123', 1234567890], previews: ['ofapi_media_abc123', 1234567890], - price: 100, + price: 6.97, rfGuest: 'rfGuest', rfPartner: 'rfPartner', rfTag: 'rfTag', diff --git a/tests/Services/Media/Vault/Lists/MediaTest.php b/tests/Services/Media/Vault/Lists/MediaTest.php index 947fd4bf..2edc361e 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( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'non', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..a4afb10a 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', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'nulla', 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', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'nulla', 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 433cf835..16907e39 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('iusto'); + $result = $this->client->smartLinks->listClicks('labore'); // @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('quia'); + $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('aperiam'); + $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('quaerat'); + $result = $this->client->smartLinks->listSpenders('reprehenderit'); // @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('autem'); // @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('minima'); + $result = $this->client->smartLinks->retrieveStats('voluptate'); // @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 bf0bdab4..9b078a3c 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( - 'ipsam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ipsam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ipsam', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6816c481..8301aeac 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'deleniti', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'deleniti', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'deleniti', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'deleniti', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugit', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'fugit', + 'nihil', 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( - 'id', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'id', + 'laboriosam', 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 3a42c225..d42bb56c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'molestias', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'molestias', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'molestias', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'molestias', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'animi', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequuntur', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequuntur', + 'numquam', 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 08f7d931..b87ccf5d 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: 'igbiekqpqjcrwhkrleaozvktd' + name: 'yhahkdzarvxodjk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'igbiekqpqjcrwhkrleaozvktd' + name: 'yhahkdzarvxodjk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From cb0e6e5788c5780f9917cbcf6c936e6d361820c6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 08:13:00 +0000 Subject: [PATCH 209/256] 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 8d1d2029..ca877a6f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2589d34f2558e14affdae826ce1c96c76ebf0659c44350e0c9f23a8b74758a68.yml -openapi_spec_hash: e5fc1e707177a3938b504eb815ebc379 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8617a19243245a950f0ae828b466a20067be8a118712b68264c974c57acfe6a2.yml +openapi_spec_hash: 7052a0a6ed40b45993cdd68cd9c873cc config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b8c43a20..be24062b 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('illo'); + $result = $this->client->accounts->disconnect('iste'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 7049e2ec..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( - 'voluptate', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptate', + '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 2edc361e..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( - 'qui', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'qui', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'qui', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index a4afb10a..deb1d4f2 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( - 'nulla', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nulla', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nulla', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nulla', + 'culpa', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 16907e39..08a4e626 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('labore'); + $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('unde'); + $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('quia'); + $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('reprehenderit'); + $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('autem'); + $result = $this->client->smartLinks->retrieveCohortArps('nostrum'); // @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('voluptate'); + $result = $this->client->smartLinks->retrieveStats('ullam'); // @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 9b078a3c..3f8317fe 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( - 'enim', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'enim', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'in', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8301aeac..550e39e6 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'at', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nihil', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nihil', + '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( - 'laboriosam', + 'laborum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'laboriosam', + 'laborum', 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 d42bb56c..1f3d24a1 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', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'culpa', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sint', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sint', + 'iure', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sint', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sint', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'numquam', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'numquam', + '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 b87ccf5d..fdaed44a 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: 'yhahkdzarvxodjk' + name: 'quwgwlaqvwpvskghhgsps' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'yhahkdzarvxodjk' + name: 'quwgwlaqvwpvskghhgsps' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 2876dc0f8ed146e204cdecf7e84bcb9dfa71d6ca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 14:13:04 +0000 Subject: [PATCH 210/256] 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 ca877a6f..ffefb493 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-8617a19243245a950f0ae828b466a20067be8a118712b68264c974c57acfe6a2.yml -openapi_spec_hash: 7052a0a6ed40b45993cdd68cd9c873cc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6f461bdebf5c8d8f2045ebf7cf3ec224d4918ebab907dd862e4cb14d6d558956.yml +openapi_spec_hash: 3192c58a8a2c404c1484b5b42af52a30 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index be24062b..3f6d8747 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('iste'); + $result = $this->client->accounts->disconnect('fugiat'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 19103f09..eb3fac7a 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', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aut', + 'pariatur', 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..15c75c9a 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', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index deb1d4f2..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( - 'culpa', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'culpa', + '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( - 'culpa', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'culpa', + 'adipisci', 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 08a4e626..0034bb7c 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('est'); // @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('debitis'); // @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('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('odit'); + $result = $this->client->smartLinks->listSpenders('excepturi'); // @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('nostrum'); + $result = $this->client->smartLinks->retrieveCohortArps('nobis'); // @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('ullam'); + $result = $this->client->smartLinks->retrieveStats('quam'); // @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 3f8317fe..f57e6bfa 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( - 'in', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'in', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'in', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'in', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 550e39e6..3106ad18 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'numquam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'numquam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'numquam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'numquam', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'qui', + 'voluptatibus', 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( - 'laborum', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'laborum', + '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 1f3d24a1..da4ba62a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eligendi', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eligendi', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eligendi', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eligendi', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'iure', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'iure', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'sit', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sit', + 'aperiam', 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 fdaed44a..56febe3d 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: 'quwgwlaqvwpvskghhgsps' + name: 'uopqbezqdvxomnnbvnysw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'quwgwlaqvwpvskghhgsps' + name: 'uopqbezqdvxomnnbvnysw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From ac7c99bfc3de1609b49a8ba60efb97d06a382f6e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 14:12:54 +0000 Subject: [PATCH 211/256] 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 ffefb493..b863200d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6f461bdebf5c8d8f2045ebf7cf3ec224d4918ebab907dd862e4cb14d6d558956.yml -openapi_spec_hash: 3192c58a8a2c404c1484b5b42af52a30 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-446dd37bf3f946b78c1871965d6c8615b1827af5f92cc5827541cebf5b66d2db.yml +openapi_spec_hash: f7cbc12eeba246d3ce34207b61508856 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3f6d8747..2c316ef6 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('fugiat'); + $result = $this->client->accounts->disconnect('tempore'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index eb3fac7a..97631646 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( - 'pariatur', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'pariatur', + 'libero', 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 15c75c9a..ee4d9a8f 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( - 'aspernatur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aspernatur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aspernatur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aspernatur', + 'adipisci', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b94934df..7cfdf417 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', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'adipisci', + 'facilis', 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', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'adipisci', + 'facilis', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 0034bb7c..c275a431 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('est'); + $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('debitis'); + $result = $this->client->smartLinks->listConversions('enim'); // @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('hic'); // @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('excepturi'); + $result = $this->client->smartLinks->listSpenders('quia'); // @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('nobis'); + $result = $this->client->smartLinks->retrieveCohortArps('ipsa'); // @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('quam'); + $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 f57e6bfa..50e3d583 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( - 'qui', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'qui', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'qui', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 3106ad18..42e81d24 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'id', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'id', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'id', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'id', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatibus', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatibus', + '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( - 'molestiae', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'molestiae', + 'dolores', 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 da4ba62a..95f3330d 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'deleniti', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'deleniti', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'deleniti', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'deleniti', + 'aperiam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'autem', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'autem', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eius', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aperiam', + 'sapiente', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aperiam', + 'sapiente', 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 56febe3d..a7f53a24 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: 'uopqbezqdvxomnnbvnysw' + name: 'pmfrvgxsohkgrve' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'uopqbezqdvxomnnbvnysw' + name: 'pmfrvgxsohkgrve' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From fa881b29695363bc5d1ae42658b045ad7d119bb1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 00:13:00 +0000 Subject: [PATCH 212/256] 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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.stats.yml b/.stats.yml index b863200d..ad875e50 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-446dd37bf3f946b78c1871965d6c8615b1827af5f92cc5827541cebf5b66d2db.yml -openapi_spec_hash: f7cbc12eeba246d3ce34207b61508856 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-28befbb82cb087540ae046ba8dbad14f696cd9c7b2b3c8398228f0c1779c9e89.yml +openapi_spec_hash: e13fdb92655650972f93ad491a9b4561 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 2c316ef6..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('tempore'); + $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 97631646..aa950848 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( - 'libero', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'libero', + 'accusamus', 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 ee4d9a8f..75aa7f96 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( - 'adipisci', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'adipisci', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'adipisci', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'adipisci', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 7cfdf417..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( - 'facilis', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'facilis', + '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( - 'facilis', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'facilis', + '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..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..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 c275a431..4b14c1db 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('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('enim'); + $result = $this->client->smartLinks->listConversions('aut'); // @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('hic'); + $result = $this->client->smartLinks->listFans('molestiae'); // @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('quia'); + $result = $this->client->smartLinks->listSpenders('blanditiis'); // @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('ipsa'); + $result = $this->client->smartLinks->retrieveCohortArps('cupiditate'); // @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('accusamus'); // @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 50e3d583..97926934 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( - 'harum', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'harum', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'harum', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'harum', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 42e81d24..13dec6a5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'tempora', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'tempora', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'tempora', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'tempora', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'corporis', 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( - 'dolores', + 'dolore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolores', + 'dolore', 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 95f3330d..64442a8c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aperiam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aperiam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aperiam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aperiam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsa', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ipsa', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'sapiente', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sapiente', + 'magnam', 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 a7f53a24..c3655a84 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: 'pmfrvgxsohkgrve' + name: 'jile' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'pmfrvgxsohkgrve' + name: 'jile' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 7f1715ab6ad12cd9819cf1ccd76e4abb056d8dc0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 05:13:02 +0000 Subject: [PATCH 213/256] 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 ad875e50..2c89b128 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-28befbb82cb087540ae046ba8dbad14f696cd9c7b2b3c8398228f0c1779c9e89.yml -openapi_spec_hash: e13fdb92655650972f93ad491a9b4561 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7c98fc095cb32510deb3d4cd9aa224171d93cf460e9463eaf197fe2f3f19cff8.yml +openapi_spec_hash: dc682bf7cc4a4368874fe6191fd66287 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7107e194..c4179059 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('facere'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index aa950848..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( - 'accusamus', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'accusamus', + '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 75aa7f96..3031d511 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( - 'pariatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'pariatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'pariatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'pariatur', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index e5919b83..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( - 'molestias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'molestias', + '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( - 'molestias', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'molestias', + '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 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 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 4b14c1db..9396b19d 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('nesciunt'); // @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('aut'); + $result = $this->client->smartLinks->listConversions('non'); // @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('molestiae'); + $result = $this->client->smartLinks->listFans('sit'); // @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('blanditiis'); + $result = $this->client->smartLinks->listSpenders('occaecati'); // @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('cupiditate'); + $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('accusamus'); + $result = $this->client->smartLinks->retrieveStats('consectetur'); // @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 97926934..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( - 'dolorem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'dolorem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'dolorem', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 13dec6a5..a5a8648d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ea', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ea', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ea', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ea', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'corporis', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'corporis', + '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( - 'dolore', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolore', + 'eum', 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 64442a8c..1c238ca5 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', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'magni', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'magni', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sunt', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sunt', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'magnam', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'magnam', + 'quod', 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 c3655a84..970b18b1 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: 'jile' + name: 'abykovvfeteq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'jile' + name: 'abykovvfeteq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 32cb1cc4e37894511e12dbf2ae5bbcff3a9821cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 2 Aug 2026 20:13:06 +0000 Subject: [PATCH 214/256] 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 | 10 +++++----- 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 2c89b128..32142ff8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7c98fc095cb32510deb3d4cd9aa224171d93cf460e9463eaf197fe2f3f19cff8.yml -openapi_spec_hash: dc682bf7cc4a4368874fe6191fd66287 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b8aa3dc8ecdb7abf50457c39f0ea5f32393832702742ac62df27924edd929acd.yml +openapi_spec_hash: 99c1fa667a4dabaf3eb6d8bb8c874536 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c4179059..731fb6bb 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('facere'); + $result = $this->client->accounts->disconnect('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 476da7b4..a578d400 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', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatem', + 'labore', 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 3031d511..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( - 'voluptatem', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatem', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'id', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..30d503e9 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'atque', 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', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'atque', 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 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 9396b19d..a2fbfd87 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('nesciunt'); + $result = $this->client->smartLinks->listClicks('quam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('sit'); + $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('occaecati'); + $result = $this->client->smartLinks->listSpenders('possimus'); // @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('eveniet'); // @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('consectetur'); + $result = $this->client->smartLinks->retrieveStats('nihil'); // @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..013ad42b 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', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'autem', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index a5a8648d..ddc62539 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', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'harum', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'harum', + 'eaque', 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( - 'eum', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'eum', + 'cumque', 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 1c238ca5..c6493935 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', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'ut', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'ut', + 'mollitia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'maiores', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'maiores', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quod', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quod', + 'minus', 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 970b18b1..522bd1ee 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: 'abykovvfeteq' + name: 'gayvcxm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'abykovvfeteq' + name: 'gayvcxm' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 61c019bd2b0761760f8d140e1ff1caa10cfedea1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 2 Aug 2026 21:13:02 +0000 Subject: [PATCH 215/256] feat(api): api update --- .stats.yml | 4 ++-- tests/Services/AccountsTest.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 | 16 ++++++++-------- tests/Services/UserListsTest.php | 4 ++-- 12 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 32142ff8..da5df7c1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-b8aa3dc8ecdb7abf50457c39f0ea5f32393832702742ac62df27924edd929acd.yml -openapi_spec_hash: 99c1fa667a4dabaf3eb6d8bb8c874536 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6da1904c4307508964dcc9f4cced7299a06a93982eceb54f02779ad5f1601f48.yml +openapi_spec_hash: 4cccfe7876171811f8b719a203d45740 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 731fb6bb..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('amet'); + $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 a578d400..e8eaaed7 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( - 'labore', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'labore', + 'dolores', 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..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( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'id', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 30d503e9..ce1b97fe 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( - 'atque', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'atque', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'atque', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'atque', + 'ipsa', 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/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 a2fbfd87..c40ac997 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('quam'); + $result = $this->client->smartLinks->listClicks('at'); // @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('non'); + $result = $this->client->smartLinks->listConversions('repellat'); // @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('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('possimus'); + $result = $this->client->smartLinks->listSpenders('accusantium'); // @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('eveniet'); + $result = $this->client->smartLinks->retrieveCohortArps('sequi'); // @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('nihil'); + $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 013ad42b..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( - 'rem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'rem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'rem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'rem', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ddc62539..96f8b260 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', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptates', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptates', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptates', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eaque', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'eaque', + '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( - 'cumque', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'cumque', + 'harum', 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 c6493935..af0eca80 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', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'mollitia', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'mollitia', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'et', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'minus', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'minus', + 'aspernatur', 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 522bd1ee..db35373f 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: 'gayvcxm' + name: 'csrvcnoyqczdsjbtnqcq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'gayvcxm' + name: 'csrvcnoyqczdsjbtnqcq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5e16a7324f00eed4c73962fb9dc90964e96f7552 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 12:13:03 +0000 Subject: [PATCH 216/256] 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 da5df7c1..74d0cfe7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6da1904c4307508964dcc9f4cced7299a06a93982eceb54f02779ad5f1601f48.yml -openapi_spec_hash: 4cccfe7876171811f8b719a203d45740 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3253a6d3d8baf9d78a608ca04480fbb714550e48df0ccbe77fdfd94f2aea3e14.yml +openapi_spec_hash: a4e2cf53474c029cc0c3d00922140766 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..3fd8128e 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('ratione'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index e8eaaed7..267afed7 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( - 'dolores', + 'reprehenderit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'dolores', + 'reprehenderit', 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..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( - 'ut', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce1b97fe..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( - 'ipsa', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ipsa', + '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( - 'ipsa', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ipsa', + 'ut', 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 c40ac997..f11ff24a 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('at'); + $result = $this->client->smartLinks->listClicks('rerum'); // @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('repellat'); + $result = $this->client->smartLinks->listConversions('sed'); // @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('vel'); // @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('accusantium'); + $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('sequi'); + $result = $this->client->smartLinks->retrieveCohortArps('doloribus'); // @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('sed'); // @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..809aaa05 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', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 96f8b260..0d4ccfef 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', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + '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( - 'harum', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'harum', + 'praesentium', 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 af0eca80..1d7d2a6a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aspernatur', + 'cum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aspernatur', + 'cum', 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 db35373f..7cc9a4ec 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: 'csrvcnoyqczdsjbtnqcq' + name: 'pndccqojudhsazc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'csrvcnoyqczdsjbtnqcq' + name: 'pndccqojudhsazc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3ab3e0a286d4eda5b9962872153bbe9a65cfae2b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:12:59 +0000 Subject: [PATCH 217/256] 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 74d0cfe7..534b8305 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3253a6d3d8baf9d78a608ca04480fbb714550e48df0ccbe77fdfd94f2aea3e14.yml -openapi_spec_hash: a4e2cf53474c029cc0c3d00922140766 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fd185dcd3e029848734fadcf0fb5188ef04ca2e3c03ac8cf3e9ac0836e381b91.yml +openapi_spec_hash: 764042539e8ad2552aad1095dd8aa57e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3fd8128e..3149bd7e 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('ratione'); + $result = $this->client->accounts->disconnect('natus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 267afed7..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( - 'reprehenderit', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'reprehenderit', + '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 7c6a28d3..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( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 51648210..cb577e33 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', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'ut', + 'expedita', 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', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'ut', + 'expedita', 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 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 f11ff24a..c18db821 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('libero'); // @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('sed'); + $result = $this->client->smartLinks->listConversions('quia'); // @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('vel'); + $result = $this->client->smartLinks->listFans('quo'); // @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('accusamus'); // @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('doloribus'); + $result = $this->client->smartLinks->retrieveCohortArps('aperiam'); // @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('sed'); + $result = $this->client->smartLinks->retrieveStats('excepturi'); // @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 809aaa05..ca62fcc6 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( - 'aut', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aut', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 0d4ccfef..8d83144a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'autem', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'autem', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'autem', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'autem', + 'unde', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'omnis', + 'voluptatum', 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( - 'praesentium', + 'atque', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'praesentium', + 'atque', 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 1d7d2a6a..22ee553a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatum', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatum', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatum', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatum', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aliquam', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aliquam', + 'sequi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'cum', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'cum', + '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 7cc9a4ec..f4fe6184 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: 'pndccqojudhsazc' + name: 'aackdsxerdq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'pndccqojudhsazc' + name: 'aackdsxerdq' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 37eb63f1e8c049d477b58395f92fcefa68837bcc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 4 Aug 2026 14:13:07 +0000 Subject: [PATCH 218/256] 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 534b8305..1be26674 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-fd185dcd3e029848734fadcf0fb5188ef04ca2e3c03ac8cf3e9ac0836e381b91.yml -openapi_spec_hash: 764042539e8ad2552aad1095dd8aa57e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d49b6717c8c51b0cd59e6b7eae808c6f52be34b403bac095334817be5d2587ab.yml +openapi_spec_hash: 559a822a4edd34a029724b95ac099b19 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3149bd7e..de6c20b2 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('natus'); + $result = $this->client->accounts->disconnect('iure'); // @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..7bed4ed0 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', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'porro', + 'voluptas', 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..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( - 'et', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cb577e33..ead3be2c 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( - 'expedita', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'expedita', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'expedita', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'expedita', + 'dolorem', 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 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 c18db821..5b79c23e 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('libero'); + $result = $this->client->smartLinks->listClicks('est'); // @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('quia'); + $result = $this->client->smartLinks->listConversions('delectus'); // @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('quo'); + $result = $this->client->smartLinks->listFans('rem'); // @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('accusamus'); + $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('aperiam'); + $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('excepturi'); + $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 ca62fcc6..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( - 'officiis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'officiis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'officiis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'officiis', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8d83144a..8fd3ca6f 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', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'unde', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'unde', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'unde', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatum', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptatum', + 'illo', 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( - 'atque', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'atque', + '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 22ee553a..41851d23 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', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'optio', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'optio', + 'quod', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sequi', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sequi', + 'non', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'saepe', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'saepe', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'voluptate', 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 f4fe6184..0751e288 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: 'aackdsxerdq' + name: 'r' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'aackdsxerdq' + name: 'r' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b0908b5c295d4f5fb0a54e76b58a6005d31dc08b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 4 Aug 2026 18:12:57 +0000 Subject: [PATCH 219/256] feat(api): api update --- .stats.yml | 4 ++-- src/SmartLinks/SmartLinkNewResponse/Data.php | 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 ++-- 13 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1be26674..846fffba 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d49b6717c8c51b0cd59e6b7eae808c6f52be34b403bac095334817be5d2587ab.yml -openapi_spec_hash: 559a822a4edd34a029724b95ac099b19 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0b99c4e51639a92cd89840429b4660a46c3893970f3a68f7630b7b507e91b4b0.yml +openapi_spec_hash: 0290856c57b56181dd2bb55e45fc0b27 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/SmartLinks/SmartLinkNewResponse/Data.php b/src/SmartLinks/SmartLinkNewResponse/Data.php index 3b8979d6..bba85519 100644 --- a/src/SmartLinks/SmartLinkNewResponse/Data.php +++ b/src/SmartLinks/SmartLinkNewResponse/Data.php @@ -62,7 +62,7 @@ final class Data implements BaseModel #[Optional] public ?string $name; - #[Optional(nullable: true)] + #[Optional] public ?string $revenue; #[Optional('subscribers_count')] @@ -199,7 +199,7 @@ public function withName(string $name): self return $self; } - public function withRevenue(?string $revenue): self + public function withRevenue(string $revenue): self { $self = clone $this; $self['revenue'] = $revenue; diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index de6c20b2..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('iure'); + $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 7bed4ed0..b53fcab0 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( - 'voluptas', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptas', + 'facilis', 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..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( - 'veritatis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'veritatis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'veritatis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'veritatis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ead3be2c..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( - 'dolorem', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolorem', + '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( - 'dolorem', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolorem', + '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 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/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 5b79c23e..00ae000b 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('est'); + $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('delectus'); + $result = $this->client->smartLinks->listConversions('totam'); // @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('rem'); + $result = $this->client->smartLinks->listFans('sunt'); // @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('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('et'); + $result = $this->client->smartLinks->retrieveCohortArps('recusandae'); // @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('quam'); // @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..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( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8fd3ca6f..ae1e0097 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'necessitatibus', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'necessitatibus', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'necessitatibus', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'necessitatibus', + 'illo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'illo', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'illo', + 'dolorem', 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', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptates', + '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 41851d23..3de327c2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quod', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quod', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'non', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ea', + 'at', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptate', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptate', + 'rerum', 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 0751e288..5813abd2 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: 'r' + name: 'eriklczcla' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'r' + name: 'eriklczcla' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 75d7ef5611997d8f1541a860a0fffe3fa3e86030 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 16:13:47 +0000 Subject: [PATCH 220/256] 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 846fffba..a1ad28ba 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0b99c4e51639a92cd89840429b4660a46c3893970f3a68f7630b7b507e91b4b0.yml -openapi_spec_hash: 0290856c57b56181dd2bb55e45fc0b27 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e59066bb8e85159d81a58c0f9d41d712bcc69e6615138b7f5b4daeef6918994c.yml +openapi_spec_hash: e357a369a68b11bca1e506a833b19786 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6d1ec048..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('dolor'); + $result = $this->client->accounts->disconnect('consequatur'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index b53fcab0..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( - 'facilis', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'facilis', + '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 a1fd57cc..bd105d8e 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', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'aut', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'aut', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..575cf8f1 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', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'eligendi', 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', + 'eligendi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'eligendi', 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..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 00ae000b..3604a88d 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('est'); // @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('totam'); + $result = $this->client->smartLinks->listConversions('non'); // @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('sunt'); + $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('qui'); + $result = $this->client->smartLinks->listSpenders('enim'); // @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('recusandae'); + $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('quam'); + $result = $this->client->smartLinks->retrieveStats('sequi'); // @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..c5031f50 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', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ae1e0097..377975ac 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'illo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'illo', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolorem', + 'animi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolorem', + 'animi', 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'id', 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 3de327c2..b3c1d9cb 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'rerum', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dignissimos', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dignissimos', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'at', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'at', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'rerum', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'rerum', + 'dolores', 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 5813abd2..ab27e283 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: 'eriklczcla' + name: 'wtlncilabgfoys' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'eriklczcla' + name: 'wtlncilabgfoys' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 6787b0c1e51389b6ea77d01de5144bd3e29da52f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 14:13:04 +0000 Subject: [PATCH 221/256] 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 ++++---- 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 ++-- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.stats.yml b/.stats.yml index a1ad28ba..0d79350a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e59066bb8e85159d81a58c0f9d41d712bcc69e6615138b7f5b4daeef6918994c.yml -openapi_spec_hash: e357a369a68b11bca1e506a833b19786 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-74bb49de83f5f1858c5acc52dae4d1b013631c31577f723654bf55acfd862978.yml +openapi_spec_hash: c44c33499ac6d9987934b2c6821081f1 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 78222ddb..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('consequatur'); + $result = $this->client->accounts->disconnect('qui'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index f7d04ae4..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( - 'quia', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'quia', + '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 bd105d8e..8c59d5e5 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( - 'deserunt', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'deserunt', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'deserunt', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'deserunt', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 575cf8f1..f2201a80 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( - 'eligendi', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'eligendi', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'eligendi', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'eligendi', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 3604a88d..2bbb1fce 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('est'); + $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('non'); + $result = $this->client->smartLinks->listConversions('minus'); // @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('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('enim'); + $result = $this->client->smartLinks->listSpenders('iusto'); // @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('quis'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertNull($result); diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index c5031f50..5d28a220 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( - 'nihil', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'nihil', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'nihil', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'nihil', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 377975ac..435ee0e5 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'aut', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'aut', + 'odit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'animi', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'animi', + 'minus', 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( - 'id', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'id', + 'est', 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 b3c1d9cb..80df5e24 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'vel', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'vel', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolores', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolores', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolores', + 'perspiciatis', 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 ab27e283..8f1f6d70 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: 'wtlncilabgfoys' + name: 'xkliqaeucnrgjtd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'wtlncilabgfoys' + name: 'xkliqaeucnrgjtd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3418d65a8e06502120584ba3eb21538b96b13bdc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 15:13:06 +0000 Subject: [PATCH 222/256] 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 0d79350a..e2285957 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-74bb49de83f5f1858c5acc52dae4d1b013631c31577f723654bf55acfd862978.yml -openapi_spec_hash: c44c33499ac6d9987934b2c6821081f1 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1c495ff673113b55e9ed3bdccd0a71d5d07ae8cd83570be2d57768d8e605402b.yml +openapi_spec_hash: ac357a40d6a804424720aff7840547c2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 21626e83..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('qui'); + $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..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4669eeab..e5ca707b 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', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'earum', + 'doloribus', 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 8c59d5e5..2ea0ffa8 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( - 'inventore', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'inventore', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index f2201a80..3e510ac6 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( - 'dolores', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolores', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'dolores', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolores', + 'sit', 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 2bbb1fce..b34f3b22 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('rem'); // @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('minus'); + $result = $this->client->smartLinks->listConversions('vitae'); // @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('eveniet'); // @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('iusto'); + $result = $this->client->smartLinks->listSpenders('saepe'); // @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('repellat'); // @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('sequi'); + $result = $this->client->smartLinks->retrieveStats('sed'); // @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 5d28a220..a0c850a6 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( - 'voluptatum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'voluptatum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'voluptatum', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 435ee0e5..f19e01a9 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'odit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'odit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'odit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'odit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'minus', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'minus', + 'maiores', 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( - 'est', + 'sunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + 'sunt', 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 80df5e24..f3d691b2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quis', + 'facilis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'molestiae', + 'repudiandae', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'officiis', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'perspiciatis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'perspiciatis', + '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 8f1f6d70..9d1f0e77 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: 'xkliqaeucnrgjtd' + name: 'nbgznywsojqxpdtqlr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xkliqaeucnrgjtd' + name: 'nbgznywsojqxpdtqlr' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 174b910d828bf6365be93d33196781d02124520f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 16:13:07 +0000 Subject: [PATCH 223/256] 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 e2285957..c153f1b0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-1c495ff673113b55e9ed3bdccd0a71d5d07ae8cd83570be2d57768d8e605402b.yml -openapi_spec_hash: ac357a40d6a804424720aff7840547c2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-29c14daeff3835032106c1a2a4647cb028a8ff8e09e9d50e63fb2621e3fddb27.yml +openapi_spec_hash: 6cbcad5427abf73d8af31cda86fe9ed2 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index d2f9eee3..0a04f15f 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('nesciunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index e5ca707b..5f7c0c7b 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( - 'doloribus', + 'optio', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'doloribus', + 'optio', 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 2ea0ffa8..8c59d5e5 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( - 'explicabo', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'explicabo', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'explicabo', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'explicabo', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 3e510ac6..b71b92e1 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( - 'sit', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'sit', + 'minus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'sit', + 'minus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'sit', + 'minus', 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/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 b34f3b22..d9289f0d 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('rem'); + $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('vitae'); + $result = $this->client->smartLinks->listConversions('occaecati'); // @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('eveniet'); + $result = $this->client->smartLinks->listFans('nihil'); // @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('saepe'); + $result = $this->client->smartLinks->listSpenders('dolorem'); // @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('repellat'); + $result = $this->client->smartLinks->retrieveCohortArps('architecto'); // @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('sed'); + $result = $this->client->smartLinks->retrieveStats('soluta'); // @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 a0c850a6..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( - 'rerum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'rerum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'rerum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f19e01a9..37af6b09 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', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'inventore', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'inventore', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'maiores', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'maiores', + 'velit', 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( - 'sunt', + 'fuga', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'sunt', + 'fuga', 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 f3d691b2..ae1d9e2e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'facilis', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'facilis', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'facilis', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'facilis', + 'quas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'repudiandae', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'repudiandae', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laudantium', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laudantium', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'aut', + 'ad', 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 9d1f0e77..6604de8b 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: 'nbgznywsojqxpdtqlr' + name: 'ancdsugyuqswl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nbgznywsojqxpdtqlr' + name: 'ancdsugyuqswl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 8f0be8b779b8161764cd7df5ba5965d31d1fc67c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Aug 2026 19:12:59 +0000 Subject: [PATCH 224/256] 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 c153f1b0..9b65f845 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-29c14daeff3835032106c1a2a4647cb028a8ff8e09e9d50e63fb2621e3fddb27.yml -openapi_spec_hash: 6cbcad5427abf73d8af31cda86fe9ed2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6ca07aa83cd98f818f0ef1fbdfe59df8ac9762492be0312474a71f558817c258.yml +openapi_spec_hash: d29549849be6e283ba7316928ce76cde config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0a04f15f..2f2489bd 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('nesciunt'); + $result = $this->client->accounts->disconnect('quae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 5f7c0c7b..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( - 'optio', + 'repellat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'optio', + '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 8c59d5e5..0d889a7e 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( - 'inventore', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'inventore', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'inventore', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b71b92e1..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( - 'minus', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'minus', + '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( - 'minus', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'minus', + 'excepturi', 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/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 d9289f0d..f53d4a17 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('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('occaecati'); + $result = $this->client->smartLinks->listConversions('et'); // @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('nihil'); + $result = $this->client->smartLinks->listFans('eos'); // @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('dolorem'); + $result = $this->client->smartLinks->listSpenders('vero'); // @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('architecto'); + $result = $this->client->smartLinks->retrieveCohortArps('aliquid'); // @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('soluta'); + $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 68c61dd1..035bc48f 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ut', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ut', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 37af6b09..8331d033 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'alias', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'alias', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'alias', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'alias', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'velit', + 'impedit', 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( - 'fuga', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'fuga', + 'aspernatur', 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 ae1d9e2e..cf14bc51 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quas', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quas', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quas', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quas', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ea', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'dolorum', + 'incidunt', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ad', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ad', + 'velit', 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 6604de8b..aa36436e 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: 'ancdsugyuqswl' + name: 'cudvsctuyhiao' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ancdsugyuqswl' + name: 'cudvsctuyhiao' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d300d0647c0a2c92dc887074437798fe2b692b96 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 15:13:56 +0000 Subject: [PATCH 225/256] 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 9b65f845..784e957d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-6ca07aa83cd98f818f0ef1fbdfe59df8ac9762492be0312474a71f558817c258.yml -openapi_spec_hash: d29549849be6e283ba7316928ce76cde +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a25f67524107e11173299b244198d472d7abea586a4179e3838764896d87c555.yml +openapi_spec_hash: 9e6f6ba8dacad12c509462f22278735c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 2f2489bd..731fb6bb 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('quae'); + $result = $this->client->accounts->disconnect('amet'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index cf0e215f..d84c7299 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', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'repellat', + 'reiciendis', 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 0d889a7e..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( - 'natus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'natus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'natus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'natus', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5f4de04b..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( - 'excepturi', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'excepturi', + '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( - 'excepturi', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'excepturi', + 'aut', 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 f53d4a17..970bd78b 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('quasi'); // @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('et'); + $result = $this->client->smartLinks->listConversions('occaecati'); // @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('eos'); + $result = $this->client->smartLinks->listFans('libero'); // @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('vero'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('aliquid'); + $result = $this->client->smartLinks->retrieveCohortArps('earum'); // @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('quod'); // @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 035bc48f..cdd973b0 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( - 'vel', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vel', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vel', + 'ab', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 8331d033..2bd5a048 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'impedit', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'impedit', + '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( - 'aspernatur', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aspernatur', + 'rerum', 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 cf14bc51..8f64928e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'id', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'id', + 'dolor', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'alias', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'alias', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'incidunt', + 'molestias', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'velit', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'velit', + 'ratione', 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 aa36436e..23f4c2e8 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: 'cudvsctuyhiao' + name: 'qmhkontnjbzcsjogqgcez' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'cudvsctuyhiao' + name: 'qmhkontnjbzcsjogqgcez' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 73199a73c254fd74eb1c036c5c44a56cedb21446 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:13:11 +0000 Subject: [PATCH 226/256] 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 784e957d..a0b698d8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a25f67524107e11173299b244198d472d7abea586a4179e3838764896d87c555.yml -openapi_spec_hash: 9e6f6ba8dacad12c509462f22278735c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9ded63088e6c7c224f6f831a5d9c1b038c02a5d631631ad3480ab7052f03d67e.yml +openapi_spec_hash: 7373194c17010bd5d2e58feedf4a37e6 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 731fb6bb..fec08728 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('amet'); + $result = $this->client->accounts->disconnect('laborum'); // @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 d84c7299..aa151f02 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( - 'reiciendis', + 'commodi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'reiciendis', + 'commodi', 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..200ff6bb 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', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quia', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quia', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..b9f6f730 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'architecto', 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'architecto', 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 970bd78b..2c971175 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('quasi'); + $result = $this->client->smartLinks->listClicks('reiciendis'); // @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('occaecati'); + $result = $this->client->smartLinks->listConversions('voluptas'); // @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('libero'); + $result = $this->client->smartLinks->listFans('doloremque'); // @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('ea'); + $result = $this->client->smartLinks->listSpenders('corporis'); // @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('earum'); + $result = $this->client->smartLinks->retrieveCohortArps('quisquam'); // @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('quod'); + $result = $this->client->smartLinks->retrieveStats('id'); // @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 cdd973b0..b7a9df74 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( - 'ab', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ab', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ab', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ab', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2bd5a048..93dd4dfe 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptas', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptas', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'in', + 'numquam', 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( - 'rerum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'rerum', + 'est', 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 8f64928e..da0be243 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolor', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolor', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'molestias', + 'in', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'molestias', + 'in', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ratione', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ratione', + '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 23f4c2e8..0e52e9c5 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: 'qmhkontnjbzcsjogqgcez' + name: 'ioooxdy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qmhkontnjbzcsjogqgcez' + name: 'ioooxdy' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 072a70fe7a78aa54c32294d702d64ab0f708726f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 19:13:16 +0000 Subject: [PATCH 227/256] 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 a0b698d8..0f9ae5d4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9ded63088e6c7c224f6f831a5d9c1b038c02a5d631631ad3480ab7052f03d67e.yml -openapi_spec_hash: 7373194c17010bd5d2e58feedf4a37e6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e4abd4c83686ea74647398a46d6991a121861e309ae311ea7a362c4cc9666a34.yml +openapi_spec_hash: cc4be956948ae5b19f83ad3b6fdb9e8d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index fec08728..c55a243d 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('laborum'); + $result = $this->client->accounts->disconnect('eligendi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index aa151f02..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( - 'commodi', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'commodi', + '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 200ff6bb..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( - 'veniam', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'veniam', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'veniam', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'veniam', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b9f6f730..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( - 'architecto', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'architecto', + '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( - 'architecto', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'architecto', + '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 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 2c971175..34aa26ca 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('reiciendis'); + $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('voluptas'); + $result = $this->client->smartLinks->listConversions('a'); // @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('doloremque'); + $result = $this->client->smartLinks->listFans('dolor'); // @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('corporis'); + $result = $this->client->smartLinks->listSpenders('autem'); // @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('quisquam'); + $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('id'); + $result = $this->client->smartLinks->retrieveStats('eius'); // @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 b7a9df74..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( - 'omnis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'omnis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'omnis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'omnis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 93dd4dfe..5b8cdee1 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'possimus', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'possimus', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'possimus', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'possimus', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'numquam', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'numquam', + 'dolores', 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( - 'est', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'est', + '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 da0be243..a84aea75 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'accusantium', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'accusantium', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'accusantium', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'accusantium', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'omnis', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'omnis', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'in', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'in', + 'eos', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + '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 0e52e9c5..914ebe23 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: 'ioooxdy' + name: 'dybjkxucmthbcfwdltsetdrmk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ioooxdy' + name: 'dybjkxucmthbcfwdltsetdrmk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a4e2a77495340be69f7663e04694968fc3a59e21 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 20:13:04 +0000 Subject: [PATCH 228/256] feat(api): api update --- .stats.yml | 4 +- src/Chats/Messages/MessageSendParams.php | 31 ++++++ src/Fans/FanListActiveParams.php | 2 + src/Fans/FanListActiveParams/Filter.php | 44 +++++++-- .../FanListActiveParams/Filter/Online.php | 2 +- src/Fans/FanListAllParams.php | 2 + src/Fans/FanListAllParams/Filter.php | 44 +++++++-- src/Fans/FanListAllParams/Filter/Online.php | 2 +- src/Fans/FanListExpiredParams.php | 2 + src/Fans/FanListExpiredParams/Filter.php | 44 +++++++-- .../FanListExpiredParams/Filter/Online.php | 2 +- src/Media/MediaUploadParams.php | 4 +- src/Media/Uploads/UploadGetStatusParams.php | 2 + src/Media/Vault/VaultUploadParams.php | 4 +- .../Chats/MessagesContract.php | 2 + src/ServiceContracts/Media/VaultContract.php | 2 +- src/ServiceContracts/MediaContract.php | 2 +- .../UserLists/UsersContract.php | 7 +- .../UserLists/UsersRawContract.php | 5 +- src/Services/Chats/MessagesRawService.php | 28 +++++- src/Services/Chats/MessagesService.php | 20 ++++ src/Services/FansRawService.php | 6 ++ src/Services/FansService.php | 6 ++ src/Services/Media/UploadsRawService.php | 2 + src/Services/Media/UploadsService.php | 2 + src/Services/Media/VaultService.php | 2 +- src/Services/MediaService.php | 2 +- src/Services/UserLists/UsersRawService.php | 8 +- src/Services/UserLists/UsersService.php | 11 ++- src/UserLists/Users/UserAddParams.php | 31 +++++- src/UserLists/Users/UserAddResponse.php | 77 +++------------ .../Users/UserAddResponse/UnionMember0.php | 80 +++++++++++++++ .../{ => UnionMember0}/Data.php | 2 +- .../{ => UnionMember0}/_Meta.php | 14 +-- .../{ => UnionMember0}/_Meta/_Cache.php | 2 +- .../{ => UnionMember0}/_Meta/_Credits.php | 2 +- .../{ => UnionMember0}/_Meta/_RateLimits.php | 2 +- .../Users/UserAddResponse/UnionMember1.php | 80 +++++++++++++++ .../UserAddResponse/UnionMember1/Data.php | 77 +++++++++++++++ .../UnionMember1/Data/Failed.php | 48 +++++++++ .../UserAddResponse/UnionMember1/_Meta.php | 99 +++++++++++++++++++ .../UnionMember1/_Meta/_Cache.php | 62 ++++++++++++ .../UnionMember1/_Meta/_Credits.php | 77 +++++++++++++++ .../UnionMember1/_Meta/_RateLimits.php | 93 +++++++++++++++++ tests/Services/AccountsTest.php | 2 +- tests/Services/Chats/MessagesTest.php | 1 + 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/UserLists/UsersTest.php | 6 +- tests/Services/UserListsTest.php | 4 +- 56 files changed, 965 insertions(+), 168 deletions(-) create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember0.php rename src/UserLists/Users/UserAddResponse/{ => UnionMember0}/Data.php (94%) rename src/UserLists/Users/UserAddResponse/{ => UnionMember0}/_Meta.php (83%) rename src/UserLists/Users/UserAddResponse/{ => UnionMember0}/_Meta/_Cache.php (94%) rename src/UserLists/Users/UserAddResponse/{ => UnionMember0}/_Meta/_Credits.php (95%) rename src/UserLists/Users/UserAddResponse/{ => UnionMember0}/_Meta/_RateLimits.php (96%) create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/Data.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/Data/Failed.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/_Meta.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Cache.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Credits.php create mode 100644 src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_RateLimits.php diff --git a/.stats.yml b/.stats.yml index 0f9ae5d4..4648608c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e4abd4c83686ea74647398a46d6991a121861e309ae311ea7a362c4cc9666a34.yml -openapi_spec_hash: cc4be956948ae5b19f83ad3b6fdb9e8d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-34e6f479a1872e539a6ba6bbd44e66e1a10d978ae34a53a7f7499c4e93bafd2e.yml +openapi_spec_hash: 17e3d768656db29acf3d2068449bfa52 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Chats/Messages/MessageSendParams.php b/src/Chats/Messages/MessageSendParams.php index 93d7d754..4af5396e 100644 --- a/src/Chats/Messages/MessageSendParams.php +++ b/src/Chats/Messages/MessageSendParams.php @@ -14,6 +14,23 @@ /** * Send a new message to a chat. * + * **Idempotency.** Pass an `Idempotency-Key` header to make retries safe. The first request with a + * given key is executed normally and its response is stored for **24 hours**; any later request with + * the same key returns that stored response, plus an `Idempotent-Replayed: true` header, without + * contacting OnlyFans and without consuming credits. The replayed body is the original response with + * its `_meta._credits` block rewritten to show `used: 0` and your current balance. + * + * Keys are scoped to your team, this endpoint and the account in the URL, so the same value can be + * reused safely against a different account. Use a fresh, unique value (a UUID works well) for each + * message you send; it must be 1-255 printable ASCII characters. + * + * - `400 IDEMPOTENCY_KEY_INVALID` — the header value is empty, too long, or contains non-ASCII characters. + * - `409 IDEMPOTENCY_CONFLICT` — an earlier request with this key is still running. Retry once it finishes. + * - `422 IDEMPOTENCY_KEY_MISMATCH` — this key was already used with a different request body or chat. + * + * Responses with a `5xx` status (and `408`/`429`) are never stored, so a failed send can be retried + * with the same key. The header is optional: omit it and the endpoint behaves exactly as before. + * * @see OnlyFansAPI\Services\Chats\MessagesService::send() * * @phpstan-type MessageSendParamsShape = array{ @@ -29,6 +46,7 @@ * rfPartner?: string|null, * rfTag?: string|null, * text?: string|null, + * idempotencyKey?: string|null, * } */ final class MessageSendParams implements BaseModel @@ -112,6 +130,9 @@ final class MessageSendParams implements BaseModel #[Optional] public ?string $text; + #[Optional] + public ?string $idempotencyKey; + /** * `new MessageSendParams()` is missing required properties by the API. * @@ -153,6 +174,7 @@ public static function with( ?string $rfPartner = null, ?string $rfTag = null, ?string $text = null, + ?string $idempotencyKey = null, ): self { $self = new self; @@ -169,6 +191,7 @@ public static function with( null !== $rfPartner && $self['rfPartner'] = $rfPartner; null !== $rfTag && $self['rfTag'] = $rfTag; null !== $text && $self['text'] = $text; + null !== $idempotencyKey && $self['idempotencyKey'] = $idempotencyKey; return $self; } @@ -308,4 +331,12 @@ public function withText(string $text): self return $self; } + + public function withIdempotencyKey(string $idempotencyKey): self + { + $self = clone $this; + $self['idempotencyKey'] = $idempotencyKey; + + return $self; + } } diff --git a/src/Fans/FanListActiveParams.php b/src/Fans/FanListActiveParams.php index 32daf4b1..c2732927 100644 --- a/src/Fans/FanListActiveParams.php +++ b/src/Fans/FanListActiveParams.php @@ -14,6 +14,8 @@ /** * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @see OnlyFansAPI\Services\FansService::listActive() * * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListActiveParams\Filter diff --git a/src/Fans/FanListActiveParams/Filter.php b/src/Fans/FanListActiveParams/Filter.php index be013e1e..39ceb6c6 100644 --- a/src/Fans/FanListActiveParams/Filter.php +++ b/src/Fans/FanListActiveParams/Filter.php @@ -12,6 +12,7 @@ /** * @phpstan-type FilterShape = array{ * duration?: int|null, + * maxTotalSpent?: float|null, * online?: null|Online|value-of, * tips?: int|null, * totalSpent?: int|null, @@ -23,13 +24,23 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + #[Optional('max_total_spent')] + public ?float $maxTotalSpent; + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @var value-of|null $online */ @@ -37,13 +48,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -62,6 +73,7 @@ public function __construct() */ public static function with( ?int $duration = null, + ?float $maxTotalSpent = null, Online|int|null $online = null, ?int $tips = null, ?int $totalSpent = null, @@ -69,6 +81,7 @@ public static function with( $self = new self; null !== $duration && $self['duration'] = $duration; + null !== $maxTotalSpent && $self['maxTotalSpent'] = $maxTotalSpent; null !== $online && $self['online'] = $online; null !== $tips && $self['tips'] = $tips; null !== $totalSpent && $self['totalSpent'] = $totalSpent; @@ -77,7 +90,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +101,22 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + public function withMaxTotalSpent(float $maxTotalSpent): self + { + $self = clone $this; + $self['maxTotalSpent'] = $maxTotalSpent; + + return $self; + } + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @param Online|value-of|null $online */ @@ -101,7 +129,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +140,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListActiveParams/Filter/Online.php b/src/Fans/FanListActiveParams/Filter/Online.php index 6e5346cd..f9e6255b 100644 --- a/src/Fans/FanListActiveParams/Filter/Online.php +++ b/src/Fans/FanListActiveParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListActiveParams\Filter; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. */ enum Online: int { diff --git a/src/Fans/FanListAllParams.php b/src/Fans/FanListAllParams.php index f670a3ef..01e8829b 100644 --- a/src/Fans/FanListAllParams.php +++ b/src/Fans/FanListAllParams.php @@ -14,6 +14,8 @@ /** * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @see OnlyFansAPI\Services\FansService::listAll() * * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListAllParams\Filter diff --git a/src/Fans/FanListAllParams/Filter.php b/src/Fans/FanListAllParams/Filter.php index 4cea3583..04163ace 100644 --- a/src/Fans/FanListAllParams/Filter.php +++ b/src/Fans/FanListAllParams/Filter.php @@ -12,6 +12,7 @@ /** * @phpstan-type FilterShape = array{ * duration?: int|null, + * maxTotalSpent?: float|null, * online?: null|Online|value-of, * tips?: int|null, * totalSpent?: int|null, @@ -23,13 +24,23 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + #[Optional('max_total_spent')] + public ?float $maxTotalSpent; + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @var value-of|null $online */ @@ -37,13 +48,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -62,6 +73,7 @@ public function __construct() */ public static function with( ?int $duration = null, + ?float $maxTotalSpent = null, Online|int|null $online = null, ?int $tips = null, ?int $totalSpent = null, @@ -69,6 +81,7 @@ public static function with( $self = new self; null !== $duration && $self['duration'] = $duration; + null !== $maxTotalSpent && $self['maxTotalSpent'] = $maxTotalSpent; null !== $online && $self['online'] = $online; null !== $tips && $self['tips'] = $tips; null !== $totalSpent && $self['totalSpent'] = $totalSpent; @@ -77,7 +90,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +101,22 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + public function withMaxTotalSpent(float $maxTotalSpent): self + { + $self = clone $this; + $self['maxTotalSpent'] = $maxTotalSpent; + + return $self; + } + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @param Online|value-of|null $online */ @@ -101,7 +129,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +140,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListAllParams/Filter/Online.php b/src/Fans/FanListAllParams/Filter/Online.php index 82c51601..93b5f97c 100644 --- a/src/Fans/FanListAllParams/Filter/Online.php +++ b/src/Fans/FanListAllParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListAllParams\Filter; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. */ enum Online: int { diff --git a/src/Fans/FanListExpiredParams.php b/src/Fans/FanListExpiredParams.php index cba88d74..501e4753 100644 --- a/src/Fans/FanListExpiredParams.php +++ b/src/Fans/FanListExpiredParams.php @@ -14,6 +14,8 @@ /** * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @see OnlyFansAPI\Services\FansService::listExpired() * * @phpstan-import-type FilterShape from \OnlyFansAPI\Fans\FanListExpiredParams\Filter diff --git a/src/Fans/FanListExpiredParams/Filter.php b/src/Fans/FanListExpiredParams/Filter.php index bcc05cae..1470a89a 100644 --- a/src/Fans/FanListExpiredParams/Filter.php +++ b/src/Fans/FanListExpiredParams/Filter.php @@ -12,6 +12,7 @@ /** * @phpstan-type FilterShape = array{ * duration?: int|null, + * maxTotalSpent?: float|null, * online?: null|Online|value-of, * tips?: int|null, * totalSpent?: int|null, @@ -23,13 +24,23 @@ final class Filter implements BaseModel use SdkModel; /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $duration; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + #[Optional('max_total_spent')] + public ?float $maxTotalSpent; + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @var value-of|null $online */ @@ -37,13 +48,13 @@ final class Filter implements BaseModel public ?int $online; /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ #[Optional] public ?int $tips; /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ #[Optional('total_spent')] public ?int $totalSpent; @@ -62,6 +73,7 @@ public function __construct() */ public static function with( ?int $duration = null, + ?float $maxTotalSpent = null, Online|int|null $online = null, ?int $tips = null, ?int $totalSpent = null, @@ -69,6 +81,7 @@ public static function with( $self = new self; null !== $duration && $self['duration'] = $duration; + null !== $maxTotalSpent && $self['maxTotalSpent'] = $maxTotalSpent; null !== $online && $self['online'] = $online; null !== $tips && $self['tips'] = $tips; null !== $totalSpent && $self['totalSpent'] = $totalSpent; @@ -77,7 +90,7 @@ public static function with( } /** - * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum subscription duration in months. Must use bracket syntax: filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422, because PHP rewrites it to `filter_duration` and the filter could not be applied. Must be at least 0. */ public function withDuration(int $duration): self { @@ -88,7 +101,22 @@ public function withDuration(int $duration): self } /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with `filter[total_spent]` for a range. Must use bracket syntax: filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP rewrites it to `filter_max_total_spent` and the filter could not be applied. + * + * OnlyFans itself has no maximum-spend filter, so this one is resolved against OnlyFansAPI's own fan index instead of being proxied. The fan objects in `data.list` are still fetched live from OnlyFans and are re-checked against your filters before being returned, but only fans we have already indexed for this account can appear. Each response reports its own coverage under `data._source`; when `data._source.is_complete` is `false` a full-base backfill is queued automatically, so retry later for a complete answer. + * + * `data._source.omitted_from_page` counts fans that matched your filters but which OnlyFans returned no usable data for on that page (a deleted account, or a partial response). They are left out of `data.list` and not revisited later in the same walk, so a non-zero value means that page was short — start a fresh walk to retry them. Cannot be combined with `filter[online]`. Must be at least 0. + */ + public function withMaxTotalSpent(float $maxTotalSpent): self + { + $self = clone $this; + $self['maxTotalSpent'] = $maxTotalSpent; + + return $self; + } + + /** + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. * * @param Online|value-of|null $online */ @@ -101,7 +129,7 @@ public function withOnline(Online|int|null $online): self } /** - * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form (filter.tips=100) is rejected with a 422, because PHP rewrites it to `filter_tips` and the filter could not be applied. Must be at least 0. */ public function withTips(int $tips): self { @@ -112,7 +140,7 @@ public function withTips(int $tips): self } /** - * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is NOT supported and will be ignored. Must be at least 0. + * Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with a 422, because PHP rewrites it to `filter_total_spent` and the filter could not be applied. Must be at least 0. */ public function withTotalSpent(int $totalSpent): self { diff --git a/src/Fans/FanListExpiredParams/Filter/Online.php b/src/Fans/FanListExpiredParams/Filter/Online.php index 2553e8b3..f5b7d4b1 100644 --- a/src/Fans/FanListExpiredParams/Filter/Online.php +++ b/src/Fans/FanListExpiredParams/Filter/Online.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Fans\FanListExpiredParams\Filter; /** - * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is NOT supported and will be ignored. + * Filter by online status (`1` for online fans). Must use bracket syntax: filter[online]=1 — the dot form (filter.online=1) is rejected with a 422, because PHP rewrites it to `filter_online` and the filter could not be applied. */ enum Online: int { diff --git a/src/Media/MediaUploadParams.php b/src/Media/MediaUploadParams.php index 0dff71de..95109c77 100644 --- a/src/Media/MediaUploadParams.php +++ b/src/Media/MediaUploadParams.php @@ -30,7 +30,7 @@ final class MediaUploadParams implements BaseModel use SdkParams; /** - * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. */ #[Optional] public ?bool $async; @@ -84,7 +84,7 @@ public static function with( } /** - * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. */ public function withAsync(bool $async): self { diff --git a/src/Media/Uploads/UploadGetStatusParams.php b/src/Media/Uploads/UploadGetStatusParams.php index 49f4ef2d..1fcdf449 100644 --- a/src/Media/Uploads/UploadGetStatusParams.php +++ b/src/Media/Uploads/UploadGetStatusParams.php @@ -18,6 +18,8 @@ * - `completed` — Upload finished, `media` and `credits_used` are included * - `failed` — Upload failed, `error` is included * + * Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events. They carry the same fields as this endpoint and are only sent for async (`async=true`) uploads — synchronous uploads return their result directly. + * * @see OnlyFansAPI\Services\Media\UploadsService::getStatus() * * @phpstan-type UploadGetStatusParamsShape = array{account: string} diff --git a/src/Media/Vault/VaultUploadParams.php b/src/Media/Vault/VaultUploadParams.php index 0879ed79..6776d6b8 100644 --- a/src/Media/Vault/VaultUploadParams.php +++ b/src/Media/Vault/VaultUploadParams.php @@ -26,7 +26,7 @@ final class VaultUploadParams implements BaseModel use SdkParams; /** - * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. */ #[Optional] public ?bool $async; @@ -68,7 +68,7 @@ public static function with( } /** - * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. */ public function withAsync(bool $async): self { diff --git a/src/ServiceContracts/Chats/MessagesContract.php b/src/ServiceContracts/Chats/MessagesContract.php index 6427c77e..9c04f98c 100644 --- a/src/ServiceContracts/Chats/MessagesContract.php +++ b/src/ServiceContracts/Chats/MessagesContract.php @@ -151,6 +151,7 @@ public function search( * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message * @param string $rfTag Body param: Array of OnlyFans Creator User IDs to tag in your message * @param string $text Body param: The message text content. Required unless a media file is present. + * @param string $idempotencyKey Header param * @param RequestOpts|null $requestOptions * * @throws APIException @@ -169,6 +170,7 @@ public function send( ?string $rfPartner = null, ?string $rfTag = null, ?string $text = null, + ?string $idempotencyKey = null, RequestOptions|array|null $requestOptions = null, ): MessageSendResponse; diff --git a/src/ServiceContracts/Media/VaultContract.php b/src/ServiceContracts/Media/VaultContract.php index 870bf6af..38cf3253 100644 --- a/src/ServiceContracts/Media/VaultContract.php +++ b/src/ServiceContracts/Media/VaultContract.php @@ -81,7 +81,7 @@ public function delete( * @api * * @param string $account The Account ID - * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. * @param string|FileParam $file The file to upload. Required if `file_url` is not provided. Maximum file size: 100 MB (limited by Cloudflare). * @param string $fileURL A URL to download the file from. Required if `file` is not provided. Maximum file size depends on the subscription configuration. * @param RequestOpts|null $requestOptions diff --git a/src/ServiceContracts/MediaContract.php b/src/ServiceContracts/MediaContract.php index 4cd2c31d..dbae49dc 100644 --- a/src/ServiceContracts/MediaContract.php +++ b/src/ServiceContracts/MediaContract.php @@ -59,7 +59,7 @@ public function scrape( * @api * * @param string $account The Account ID - * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. * @param string|FileParam $file The file to upload. Required if `file_url` is not provided. Maximum file size: 100 MB (limited by Cloudflare). * @param string $fileURL A URL to download the file from. Required if `file` is not provided. Maximum file size depends on the subscription configuration. * @param Type|value-of $type 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/ServiceContracts/UserLists/UsersContract.php b/src/ServiceContracts/UserLists/UsersContract.php index d368f081..fba44e57 100644 --- a/src/ServiceContracts/UserLists/UsersContract.php +++ b/src/ServiceContracts/UserLists/UsersContract.php @@ -6,7 +6,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; -use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1; use OnlyFansAPI\UserLists\Users\UserClearResponse; use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; use OnlyFansAPI\UserLists\Users\UserListResponse; @@ -43,6 +44,7 @@ public function list( * @param string $userListID Path param: OnlyFans User List ID, or a default list name like `tagged` * @param string $account Path param: The Account ID * @param list $ids Body param: Array of OnlyFans User IDs to be added into the list + * @param bool $skipInvalid Body param: Set to `true` to skip the User IDs OnlyFans refuses instead of failing the whole batch. We drop the rejected IDs and retry the remainder for you (up to 5 OnlyFans attempts, each costing 1 credit), then respond `200` with `data.added` (the IDs that made it in) and `data.failed` (an object mapping each rejected User ID to the reason OnlyFans gave). Note this changes the shape of `data` — see the example responses. Failures that are not about individual users (e.g. an invalid or inaccessible list ID) still return the regular `400`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -51,8 +53,9 @@ public function add( string $userListID, string $account, array $ids, + ?bool $skipInvalid = null, RequestOptions|array|null $requestOptions = null, - ): UserAddResponse; + ): UnionMember0|UnionMember1; /** * @api diff --git a/src/ServiceContracts/UserLists/UsersRawContract.php b/src/ServiceContracts/UserLists/UsersRawContract.php index 3a2689b9..2d6a5e52 100644 --- a/src/ServiceContracts/UserLists/UsersRawContract.php +++ b/src/ServiceContracts/UserLists/UsersRawContract.php @@ -8,7 +8,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\UserLists\Users\UserAddParams; -use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1; use OnlyFansAPI\UserLists\Users\UserClearParams; use OnlyFansAPI\UserLists\Users\UserClearResponse; use OnlyFansAPI\UserLists\Users\UserListParams; @@ -49,7 +50,7 @@ public function list( * @param array|UserAddParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/Chats/MessagesRawService.php b/src/Services/Chats/MessagesRawService.php index c3277146..3994174f 100644 --- a/src/Services/Chats/MessagesRawService.php +++ b/src/Services/Chats/MessagesRawService.php @@ -284,6 +284,23 @@ public function search( * * Send a new message to a chat. * + * **Idempotency.** Pass an `Idempotency-Key` header to make retries safe. The first request with a + * given key is executed normally and its response is stored for **24 hours**; any later request with + * the same key returns that stored response, plus an `Idempotent-Replayed: true` header, without + * contacting OnlyFans and without consuming credits. The replayed body is the original response with + * its `_meta._credits` block rewritten to show `used: 0` and your current balance. + * + * Keys are scoped to your team, this endpoint and the account in the URL, so the same value can be + * reused safely against a different account. Use a fresh, unique value (a UUID works well) for each + * message you send; it must be 1-255 printable ASCII characters. + * + * - `400 IDEMPOTENCY_KEY_INVALID` — the header value is empty, too long, or contains non-ASCII characters. + * - `409 IDEMPOTENCY_CONFLICT` — an earlier request with this key is still running. Retry once it finishes. + * - `422 IDEMPOTENCY_KEY_MISMATCH` — this key was already used with a different request body or chat. + * + * Responses with a `5xx` status (and `408`/`429`) are never stored, so a failed send can be retried + * with the same key. The header is optional: omit it and the endpoint behaves exactly as before. + * * @param string $chatID Path param: The ID of the chat (usually a fan's OnlyFans User ID) * @param array{ * account: string, @@ -298,6 +315,7 @@ public function search( * rfPartner?: string, * rfTag?: string, * text?: string, + * idempotencyKey?: string, * }|MessageSendParams $params * @param RequestOpts|null $requestOptions * @@ -316,12 +334,20 @@ public function send( ); $account = $parsed['account']; unset($parsed['account']); + $header_params = ['idempotencyKey' => 'Idempotency-Key']; // @phpstan-ignore-next-line return.type return $this->client->request( method: 'post', path: ['api/%1$s/chats/%2$s/messages', $account, $chatID], - body: (object) array_diff_key($parsed, array_flip(['account'])), + headers: Util::array_transform_keys( + array_intersect_key($parsed, array_flip(array_keys($header_params))), + $header_params, + ), + body: (object) array_diff_key( + array_diff_key($parsed, array_flip(array_keys($header_params))), + array_flip(['account']), + ), options: $options, convert: MessageSendResponse::class, ); diff --git a/src/Services/Chats/MessagesService.php b/src/Services/Chats/MessagesService.php index 1e7813f8..50d6d106 100644 --- a/src/Services/Chats/MessagesService.php +++ b/src/Services/Chats/MessagesService.php @@ -220,6 +220,23 @@ public function search( * * Send a new message to a chat. * + * **Idempotency.** Pass an `Idempotency-Key` header to make retries safe. The first request with a + * given key is executed normally and its response is stored for **24 hours**; any later request with + * the same key returns that stored response, plus an `Idempotent-Replayed: true` header, without + * contacting OnlyFans and without consuming credits. The replayed body is the original response with + * its `_meta._credits` block rewritten to show `used: 0` and your current balance. + * + * Keys are scoped to your team, this endpoint and the account in the URL, so the same value can be + * reused safely against a different account. Use a fresh, unique value (a UUID works well) for each + * message you send; it must be 1-255 printable ASCII characters. + * + * - `400 IDEMPOTENCY_KEY_INVALID` — the header value is empty, too long, or contains non-ASCII characters. + * - `409 IDEMPOTENCY_CONFLICT` — an earlier request with this key is still running. Retry once it finishes. + * - `422 IDEMPOTENCY_KEY_MISMATCH` — this key was already used with a different request body or chat. + * + * Responses with a `5xx` status (and `408`/`429`) are never stored, so a failed send can be retried + * with the same key. The header is optional: omit it and the endpoint behaves exactly as before. + * * @param string $chatID Path param: The ID of the chat (usually a fan's OnlyFans User ID) * @param string $account Path param: The Account ID * @param BlockBannedWords|value-of $blockBannedWords Body param: Screen `text` for OnlyFans banned words and block the send if any are found (returns a 422 listing the offending words). `strict_ban` blocks all tiers, `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften only. Omit to disable screening. @@ -233,6 +250,7 @@ public function search( * @param string $rfPartner Body param: Array of OnlyFans Release Form Partners IDs to tag in your message * @param string $rfTag Body param: Array of OnlyFans Creator User IDs to tag in your message * @param string $text Body param: The message text content. Required unless a media file is present. + * @param string $idempotencyKey Header param * @param RequestOpts|null $requestOptions * * @throws APIException @@ -251,6 +269,7 @@ public function send( ?string $rfPartner = null, ?string $rfTag = null, ?string $text = null, + ?string $idempotencyKey = null, RequestOptions|array|null $requestOptions = null, ): MessageSendResponse { $params = Util::removeNulls( @@ -267,6 +286,7 @@ public function send( 'rfPartner' => $rfPartner, 'rfTag' => $rfTag, 'text' => $text, + 'idempotencyKey' => $idempotencyKey, ], ); diff --git a/src/Services/FansRawService.php b/src/Services/FansRawService.php index 644dfd1c..0eb7b01f 100644 --- a/src/Services/FansRawService.php +++ b/src/Services/FansRawService.php @@ -83,6 +83,8 @@ public function getSubscriptionHistory( * * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param array{ * filter?: Filter|FilterShape, @@ -122,6 +124,8 @@ public function listActive( * * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param array{ * filter?: FanListAllParams\Filter|FilterShape1, @@ -161,6 +165,8 @@ public function listAll( * * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param array{ * filter?: FanListExpiredParams\Filter|FilterShape2, diff --git a/src/Services/FansService.php b/src/Services/FansService.php index dfb5247c..854a49cb 100644 --- a/src/Services/FansService.php +++ b/src/Services/FansService.php @@ -86,6 +86,8 @@ public function getSubscriptionHistory( * * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. To track progress, GET `/{account}/me` returns data.subscribersCount (the current active-subscriber count) as a total. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param Filter|FilterShape $filter * @param int $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. @@ -126,6 +128,8 @@ public function listActive( * * Get a paginated list of fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param \OnlyFansAPI\Fans\FanListAllParams\Filter|FilterShape1 $filter * @param int $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. @@ -166,6 +170,8 @@ public function listAll( * * Get a paginated list of expired fans for an Account. Newest fans are first. Paginate by following `_pagination.next_page` until it is null (`data.hasMore` is the authoritative flag). Do NOT use the page's item count to detect the last page — OnlyFans occasionally returns fewer than `limit` items (e.g. 19 for limit=20) on a non-final page because it filters entries server-side; no fans are skipped. * + * Supports `filter[max_total_spent]` (e.g. `filter[max_total_spent]=0` for fans who have never spent), which OnlyFans itself cannot do. Those requests are answered from OnlyFansAPI's own fan index rather than proxied, so the page is limited to fans we have already indexed for this account — see `data._source` in the response. + * * @param string $account The Account ID * @param \OnlyFansAPI\Fans\FanListExpiredParams\Filter|FilterShape2 $filter * @param int $limit Number of fans to return (1-20). OnlyFans does not allow more than 20 per page. Must be at least 1. Must not be greater than 20. diff --git a/src/Services/Media/UploadsRawService.php b/src/Services/Media/UploadsRawService.php index 99c8d894..c591c056 100644 --- a/src/Services/Media/UploadsRawService.php +++ b/src/Services/Media/UploadsRawService.php @@ -38,6 +38,8 @@ public function __construct(private Client $client) {} * - `completed` — Upload finished, `media` and `credits_used` are included * - `failed` — Upload failed, `error` is included * + * Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events. They carry the same fields as this endpoint and are only sent for async (`async=true`) uploads — synchronous uploads return their result directly. + * * @param string $upload the prefixed ID of the upload * @param array{account: string}|UploadGetStatusParams $params * @param RequestOpts|null $requestOptions diff --git a/src/Services/Media/UploadsService.php b/src/Services/Media/UploadsService.php index 0ba7bad8..16a8e10b 100644 --- a/src/Services/Media/UploadsService.php +++ b/src/Services/Media/UploadsService.php @@ -43,6 +43,8 @@ public function __construct(private Client $client) * - `completed` — Upload finished, `media` and `credits_used` are included * - `failed` — Upload failed, `error` is included * + * Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events. They carry the same fields as this endpoint and are only sent for async (`async=true`) uploads — synchronous uploads return their result directly. + * * @param string $upload the prefixed ID of the upload * @param string $account The Account ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/Media/VaultService.php b/src/Services/Media/VaultService.php index 2d533f00..92817377 100644 --- a/src/Services/Media/VaultService.php +++ b/src/Services/Media/VaultService.php @@ -143,7 +143,7 @@ public function delete( * Upload a media file directly to your vault. * * @param string $account The Account ID - * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. * @param string|FileParam $file The file to upload. Required if `file_url` is not provided. Maximum file size: 100 MB (limited by Cloudflare). * @param string $fileURL A URL to download the file from. Required if `file` is not provided. Maximum file size depends on the subscription configuration. * @param RequestOpts|null $requestOptions diff --git a/src/Services/MediaService.php b/src/Services/MediaService.php index 28ce360b..74d92d9d 100644 --- a/src/Services/MediaService.php +++ b/src/Services/MediaService.php @@ -117,7 +117,7 @@ public function scrape( * 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`. * * @param string $account The Account ID - * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. + * @param bool $async Set to `true` to process uploads in the background. Returns a `polling_url` to check status. Recommended for large files. Instead of polling, you can subscribe to the `media_uploads.completed` and `media_uploads.failed` webhook events — they only fire for async uploads. * @param string|FileParam $file The file to upload. Required if `file_url` is not provided. Maximum file size: 100 MB (limited by Cloudflare). * @param string $fileURL A URL to download the file from. Required if `file` is not provided. Maximum file size depends on the subscription configuration. * @param Type|value-of $type 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/Services/UserLists/UsersRawService.php b/src/Services/UserLists/UsersRawService.php index 5f1f69c2..8323695e 100644 --- a/src/Services/UserLists/UsersRawService.php +++ b/src/Services/UserLists/UsersRawService.php @@ -11,6 +11,8 @@ use OnlyFansAPI\ServiceContracts\UserLists\UsersRawContract; use OnlyFansAPI\UserLists\Users\UserAddParams; use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1; use OnlyFansAPI\UserLists\Users\UserClearParams; use OnlyFansAPI\UserLists\Users\UserClearResponse; use OnlyFansAPI\UserLists\Users\UserListParams; @@ -76,10 +78,12 @@ public function list( * Add multiple Users To OnlyFans User List * * @param string $userListID Path param: OnlyFans User List ID, or a default list name like `tagged` - * @param array{account: string, ids: list}|UserAddParams $params + * @param array{ + * account: string, ids: list, skipInvalid?: bool + * }|UserAddParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/UserLists/UsersService.php b/src/Services/UserLists/UsersService.php index 2aa3655f..afb31b84 100644 --- a/src/Services/UserLists/UsersService.php +++ b/src/Services/UserLists/UsersService.php @@ -9,7 +9,8 @@ use OnlyFansAPI\Core\Util; use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\UserLists\UsersContract; -use OnlyFansAPI\UserLists\Users\UserAddResponse; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1; use OnlyFansAPI\UserLists\Users\UserClearResponse; use OnlyFansAPI\UserLists\Users\UserListPinnedResponse; use OnlyFansAPI\UserLists\Users\UserListResponse; @@ -72,6 +73,7 @@ public function list( * @param string $userListID Path param: OnlyFans User List ID, or a default list name like `tagged` * @param string $account Path param: The Account ID * @param list $ids Body param: Array of OnlyFans User IDs to be added into the list + * @param bool $skipInvalid Body param: Set to `true` to skip the User IDs OnlyFans refuses instead of failing the whole batch. We drop the rejected IDs and retry the remainder for you (up to 5 OnlyFans attempts, each costing 1 credit), then respond `200` with `data.added` (the IDs that made it in) and `data.failed` (an object mapping each rejected User ID to the reason OnlyFans gave). Note this changes the shape of `data` — see the example responses. Failures that are not about individual users (e.g. an invalid or inaccessible list ID) still return the regular `400`. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -80,9 +82,12 @@ public function add( string $userListID, string $account, array $ids, + ?bool $skipInvalid = null, RequestOptions|array|null $requestOptions = null, - ): UserAddResponse { - $params = Util::removeNulls(['account' => $account, 'ids' => $ids]); + ): UnionMember0|UnionMember1 { + $params = Util::removeNulls( + ['account' => $account, 'ids' => $ids, 'skipInvalid' => $skipInvalid] + ); // @phpstan-ignore-next-line argument.type $response = $this->raw->add($userListID, params: $params, requestOptions: $requestOptions); diff --git a/src/UserLists/Users/UserAddParams.php b/src/UserLists/Users/UserAddParams.php index 7ec3ff4b..a46a513a 100644 --- a/src/UserLists/Users/UserAddParams.php +++ b/src/UserLists/Users/UserAddParams.php @@ -4,6 +4,7 @@ namespace OnlyFansAPI\UserLists\Users; +use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Attributes\Required; use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; @@ -14,7 +15,9 @@ * * @see OnlyFansAPI\Services\UserLists\UsersService::add() * - * @phpstan-type UserAddParamsShape = array{account: string, ids: list} + * @phpstan-type UserAddParamsShape = array{ + * account: string, ids: list, skipInvalid?: bool|null + * } */ final class UserAddParams implements BaseModel { @@ -33,6 +36,12 @@ final class UserAddParams implements BaseModel #[Required(list: 'string')] public array $ids; + /** + * Set to `true` to skip the User IDs OnlyFans refuses instead of failing the whole batch. We drop the rejected IDs and retry the remainder for you (up to 5 OnlyFans attempts, each costing 1 credit), then respond `200` with `data.added` (the IDs that made it in) and `data.failed` (an object mapping each rejected User ID to the reason OnlyFans gave). Note this changes the shape of `data` — see the example responses. Failures that are not about individual users (e.g. an invalid or inaccessible list ID) still return the regular `400`. + */ + #[Optional('skip_invalid')] + public ?bool $skipInvalid; + /** * `new UserAddParams()` is missing required properties by the API. * @@ -59,13 +68,18 @@ public function __construct() * * @param list $ids */ - public static function with(string $account, array $ids): self - { + public static function with( + string $account, + array $ids, + ?bool $skipInvalid = null + ): self { $self = new self; $self['account'] = $account; $self['ids'] = $ids; + null !== $skipInvalid && $self['skipInvalid'] = $skipInvalid; + return $self; } @@ -89,4 +103,15 @@ public function withIDs(array $ids): self return $self; } + + /** + * Set to `true` to skip the User IDs OnlyFans refuses instead of failing the whole batch. We drop the rejected IDs and retry the remainder for you (up to 5 OnlyFans attempts, each costing 1 credit), then respond `200` with `data.added` (the IDs that made it in) and `data.failed` (an object mapping each rejected User ID to the reason OnlyFans gave). Note this changes the shape of `data` — see the example responses. Failures that are not about individual users (e.g. an invalid or inaccessible list ID) still return the regular `400`. + */ + public function withSkipInvalid(bool $skipInvalid): self + { + $self = clone $this; + $self['skipInvalid'] = $skipInvalid; + + return $self; + } } diff --git a/src/UserLists/Users/UserAddResponse.php b/src/UserLists/Users/UserAddResponse.php index 2b813e87..2b8f1d71 100644 --- a/src/UserLists/Users/UserAddResponse.php +++ b/src/UserLists/Users/UserAddResponse.php @@ -4,75 +4,30 @@ 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\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1; /** - * @phpstan-import-type _MetaShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta - * @phpstan-import-type DataShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\Data + * Default: OnlyFans accepted every User ID. * - * @phpstan-type UserAddResponseShape = array{ - * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape - * } + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember1 + * + * @phpstan-type UserAddResponseVariants = UnionMember0|UnionMember1 + * @phpstan-type UserAddResponseShape = UserAddResponseVariants|UnionMember0Shape|UnionMember1Shape */ -final class UserAddResponse implements BaseModel +final class UserAddResponse implements ConverterSource { - /** @use SdkModel */ - use SdkModel; - - #[Optional] - public ?_Meta $_meta; - - #[Optional] - public ?Data $data; - - public function __construct() - { - $this->initialize(); - } + use SdkUnion; /** - * Construct an instance from the required parameters. - * - * You must use named parameters to construct any parameters with a default value. - * - * @param _Meta|_MetaShape|null $_meta - * @param Data|DataShape|null $data + * @return list|array */ - public static function with( - _Meta|array|null $_meta = null, - Data|array|null $data = null - ): self { - $self = new self; - - null !== $_meta && $self['_meta'] = $_meta; - null !== $data && $self['data'] = $data; - - return $self; - } - - /** - * @param _Meta|_MetaShape $_meta - */ - public function withMeta(_Meta|array $_meta): self + public static function variants(): array { - $self = clone $this; - $self['_meta'] = $_meta; - - return $self; - } - - /** - * @param Data|DataShape $data - */ - public function withData(Data|array $data): self - { - $self = clone $this; - $self['data'] = $data; - - return $self; + return [UnionMember0::class, UnionMember1::class]; } } diff --git a/src/UserLists/Users/UserAddResponse/UnionMember0.php b/src/UserLists/Users/UserAddResponse/UnionMember0.php new file mode 100644 index 00000000..0a539afc --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember0.php @@ -0,0 +1,80 @@ + */ + use SdkModel; + + #[Optional] + public ?_Meta $_meta; + + #[Optional] + public ?Data $data; + + 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 _Meta|_MetaShape|null $_meta + * @param Data|DataShape|null $data + */ + public static function with( + _Meta|array|null $_meta = null, + Data|array|null $data = null + ): self { + $self = new self; + + null !== $_meta && $self['_meta'] = $_meta; + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param _Meta|_MetaShape $_meta + */ + public function withMeta(_Meta|array $_meta): self + { + $self = clone $this; + $self['_meta'] = $_meta; + + return $self; + } + + /** + * @param Data|DataShape $data + */ + public function withData(Data|array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/Data.php b/src/UserLists/Users/UserAddResponse/UnionMember0/Data.php similarity index 94% rename from src/UserLists/Users/UserAddResponse/Data.php rename to src/UserLists/Users/UserAddResponse/UnionMember0/Data.php index 4ae749b2..227f54ad 100644 --- a/src/UserLists/Users/UserAddResponse/Data.php +++ b/src/UserLists/Users/UserAddResponse/UnionMember0/Data.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\UserLists\Users\UserAddResponse; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/UserLists/Users/UserAddResponse/_Meta.php b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta.php similarity index 83% rename from src/UserLists/Users/UserAddResponse/_Meta.php rename to src/UserLists/Users/UserAddResponse/UnionMember0/_Meta.php index 24c6a4b2..4d16cccb 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta.php +++ b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace OnlyFansAPI\UserLists\Users\UserAddResponse; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0; 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\UserLists\Users\UserAddResponse\UnionMember0\_Meta\_Cache; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_Meta\_Credits; +use OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_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\UnionMember0\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_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/UnionMember0/_Meta/_Cache.php similarity index 94% rename from src/UserLists/Users/UserAddResponse/_Meta/_Cache.php rename to src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_Cache.php index 73ce7bc4..5a4c6d71 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_Cache.php +++ b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_Cache.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_Credits.php similarity index 95% rename from src/UserLists/Users/UserAddResponse/_Meta/_Credits.php rename to src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_Credits.php index 1ccc6853..90bfbda5 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_Credits.php +++ b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_Credits.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_RateLimits.php similarity index 96% rename from src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php rename to src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_RateLimits.php index eaa0d022..dfaf1706 100644 --- a/src/UserLists/Users/UserAddResponse/_Meta/_RateLimits.php +++ b/src/UserLists/Users/UserAddResponse/UnionMember0/_Meta/_RateLimits.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\UserLists\Users\UserAddResponse\_Meta; +namespace OnlyFansAPI\UserLists\Users\UserAddResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1.php b/src/UserLists/Users/UserAddResponse/UnionMember1.php new file mode 100644 index 00000000..493e2210 --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1.php @@ -0,0 +1,80 @@ + */ + use SdkModel; + + #[Optional] + public ?_Meta $_meta; + + #[Optional] + public ?Data $data; + + 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 _Meta|_MetaShape|null $_meta + * @param Data|DataShape|null $data + */ + public static function with( + _Meta|array|null $_meta = null, + Data|array|null $data = null + ): self { + $self = new self; + + null !== $_meta && $self['_meta'] = $_meta; + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param _Meta|_MetaShape $_meta + */ + public function withMeta(_Meta|array $_meta): self + { + $self = clone $this; + $self['_meta'] = $_meta; + + return $self; + } + + /** + * @param Data|DataShape $data + */ + public function withData(Data|array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/Data.php b/src/UserLists/Users/UserAddResponse/UnionMember1/Data.php new file mode 100644 index 00000000..3f767bac --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/Data.php @@ -0,0 +1,77 @@ +|null, failed?: null|Failed|FailedShape + * } + */ +final class Data implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + /** @var list|null $added */ + #[Optional(list: 'int')] + public ?array $added; + + #[Optional] + public ?Failed $failed; + + 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 $added + * @param Failed|FailedShape|null $failed + */ + public static function with( + ?array $added = null, + Failed|array|null $failed = null + ): self { + $self = new self; + + null !== $added && $self['added'] = $added; + null !== $failed && $self['failed'] = $failed; + + return $self; + } + + /** + * @param list $added + */ + public function withAdded(array $added): self + { + $self = clone $this; + $self['added'] = $added; + + return $self; + } + + /** + * @param Failed|FailedShape $failed + */ + public function withFailed(Failed|array $failed): self + { + $self = clone $this; + $self['failed'] = $failed; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/Data/Failed.php b/src/UserLists/Users/UserAddResponse/UnionMember1/Data/Failed.php new file mode 100644 index 00000000..7fb5c29a --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/Data/Failed.php @@ -0,0 +1,48 @@ + */ + use SdkModel; + + #[Optional('123456')] + public ?string $_123456; + + 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 $_123456 = null): self + { + $self = new self; + + null !== $_123456 && $self['_123456'] = $_123456; + + return $self; + } + + public function with123456(string $_123456): self + { + $self = clone $this; + $self['_123456'] = $_123456; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta.php b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta.php new file mode 100644 index 00000000..85a087d2 --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta.php @@ -0,0 +1,99 @@ + */ + use SdkModel; + + #[Optional] + public ?_Cache $_cache; + + #[Optional] + public ?_Credits $_credits; + + #[Optional('_rate_limits')] + public ?_RateLimits $_rateLimits; + + 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 _Cache|_CacheShape|null $_cache + * @param _Credits|_CreditsShape|null $_credits + * @param _RateLimits|_RateLimitsShape|null $_rateLimits + */ + public static function with( + _Cache|array|null $_cache = null, + _Credits|array|null $_credits = null, + _RateLimits|array|null $_rateLimits = null, + ): self { + $self = new self; + + null !== $_cache && $self['_cache'] = $_cache; + null !== $_credits && $self['_credits'] = $_credits; + null !== $_rateLimits && $self['_rateLimits'] = $_rateLimits; + + return $self; + } + + /** + * @param _Cache|_CacheShape $_cache + */ + public function withCache(_Cache|array $_cache): self + { + $self = clone $this; + $self['_cache'] = $_cache; + + return $self; + } + + /** + * @param _Credits|_CreditsShape $_credits + */ + public function withCredits(_Credits|array $_credits): self + { + $self = clone $this; + $self['_credits'] = $_credits; + + return $self; + } + + /** + * @param _RateLimits|_RateLimitsShape $_rateLimits + */ + public function withRateLimits(_RateLimits|array $_rateLimits): self + { + $self = clone $this; + $self['_rateLimits'] = $_rateLimits; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Cache.php b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Cache.php new file mode 100644 index 00000000..004f8879 --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Cache.php @@ -0,0 +1,62 @@ + */ + use SdkModel; + + #[Optional('is_cached')] + public ?bool $isCached; + + #[Optional] + public ?string $note; + + 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( + ?bool $isCached = null, + ?string $note = null + ): self { + $self = new self; + + null !== $isCached && $self['isCached'] = $isCached; + null !== $note && $self['note'] = $note; + + return $self; + } + + public function withIsCached(bool $isCached): self + { + $self = clone $this; + $self['isCached'] = $isCached; + + return $self; + } + + public function withNote(string $note): self + { + $self = clone $this; + $self['note'] = $note; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Credits.php b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Credits.php new file mode 100644 index 00000000..6faeb687 --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_Credits.php @@ -0,0 +1,77 @@ + */ + use SdkModel; + + #[Optional] + public ?int $balance; + + #[Optional] + public ?string $note; + + #[Optional] + public ?int $used; + + 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( + ?int $balance = null, + ?string $note = null, + ?int $used = null + ): self { + $self = new self; + + null !== $balance && $self['balance'] = $balance; + null !== $note && $self['note'] = $note; + null !== $used && $self['used'] = $used; + + return $self; + } + + public function withBalance(int $balance): self + { + $self = clone $this; + $self['balance'] = $balance; + + return $self; + } + + public function withNote(string $note): self + { + $self = clone $this; + $self['note'] = $note; + + return $self; + } + + public function withUsed(int $used): self + { + $self = clone $this; + $self['used'] = $used; + + return $self; + } +} diff --git a/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_RateLimits.php b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_RateLimits.php new file mode 100644 index 00000000..fbb3e899 --- /dev/null +++ b/src/UserLists/Users/UserAddResponse/UnionMember1/_Meta/_RateLimits.php @@ -0,0 +1,93 @@ + */ + use SdkModel; + + #[Optional('limit_day')] + public ?int $limitDay; + + #[Optional('limit_minute')] + public ?int $limitMinute; + + #[Optional('remaining_day')] + public ?int $remainingDay; + + #[Optional('remaining_minute')] + public ?int $remainingMinute; + + 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( + ?int $limitDay = null, + ?int $limitMinute = null, + ?int $remainingDay = null, + ?int $remainingMinute = null, + ): self { + $self = new self; + + null !== $limitDay && $self['limitDay'] = $limitDay; + null !== $limitMinute && $self['limitMinute'] = $limitMinute; + null !== $remainingDay && $self['remainingDay'] = $remainingDay; + null !== $remainingMinute && $self['remainingMinute'] = $remainingMinute; + + return $self; + } + + public function withLimitDay(int $limitDay): self + { + $self = clone $this; + $self['limitDay'] = $limitDay; + + return $self; + } + + public function withLimitMinute(int $limitMinute): self + { + $self = clone $this; + $self['limitMinute'] = $limitMinute; + + return $self; + } + + public function withRemainingDay(int $remainingDay): self + { + $self = clone $this; + $self['remainingDay'] = $remainingDay; + + return $self; + } + + public function withRemainingMinute(int $remainingMinute): self + { + $self = clone $this; + $self['remainingMinute'] = $remainingMinute; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index c55a243d..af746972 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('eligendi'); + $result = $this->client->accounts->disconnect('velit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Chats/MessagesTest.php b/tests/Services/Chats/MessagesTest.php index ee29fca4..5c5e3366 100644 --- a/tests/Services/Chats/MessagesTest.php +++ b/tests/Services/Chats/MessagesTest.php @@ -281,6 +281,7 @@ public function testSendWithOptionalParams(): void rfPartner: 'rfPartner', rfTag: 'rfTag', text: 'Hello!', + idempotencyKey: 'a1b2c3d4-5e6f-4789-a0b1-c2d3e4f5a6b7', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 476da7b4..334c5f21 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', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptatem', + 'veniam', 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..010ccf9a 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', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nihil', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nihil', + 'cumque', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 4e91880d..50871953 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'voluptatem', + 'enim', 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'voluptatem', + 'enim', 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..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 34aa26ca..497344b3 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('quasi'); // @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('a'); + $result = $this->client->smartLinks->listConversions('et'); // @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('dolor'); + $result = $this->client->smartLinks->listFans('animi'); // @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('autem'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('ad'); // @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('eius'); + $result = $this->client->smartLinks->retrieveStats('fuga'); // @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..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( - 'et', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'occaecati', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 5b8cdee1..d7f0c147 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'sint', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'sint', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'sint', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'sint', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'dolores', + '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( - 'et', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'nihil', 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 a84aea75..b0020677 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', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'numquam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'numquam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quasi', + 'provident', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quasi', + 'provident', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eos', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'et', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', dateEnd: '2026-01-31T23:59:59Z', dateStart: '2026-01-01T00:00:00Z', diff --git a/tests/Services/UserLists/UsersTest.php b/tests/Services/UserLists/UsersTest.php index 1a5c703f..3c410723 100644 --- a/tests/Services/UserLists/UsersTest.php +++ b/tests/Services/UserLists/UsersTest.php @@ -4,7 +4,6 @@ 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; @@ -81,7 +80,7 @@ public function testAdd(): void ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(UserAddResponse::class, $result); + $this->assertNotNull($result); } #[Test] @@ -95,10 +94,11 @@ public function testAddWithOptionalParams(): void 'userListId', account: 'acct_XXXXXXXXXXXXXXX', ids: ['string', 'string', 'string'], + skipInvalid: true, ); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(UserAddResponse::class, $result); + $this->assertNotNull($result); } #[Test] diff --git a/tests/Services/UserListsTest.php b/tests/Services/UserListsTest.php index 914ebe23..c2c7f1df 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: 'dybjkxucmthbcfwdltsetdrmk' + name: 'ctxewseyhvrgitxpb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'dybjkxucmthbcfwdltsetdrmk' + name: 'ctxewseyhvrgitxpb' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b43af135a371f68ad5507d2332fc284ddb75b37c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 23:13:04 +0000 Subject: [PATCH 229/256] 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 | 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, 45 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4648608c..590627fd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-34e6f479a1872e539a6ba6bbd44e66e1a10d978ae34a53a7f7499c4e93bafd2e.yml -openapi_spec_hash: 17e3d768656db29acf3d2068449bfa52 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2ce7e4faeac778d9c957f8bde601d21cd3430eac45582b017e5f9ae1c240426b.yml +openapi_spec_hash: 299b94ff934b6b607f0c539e453a4b41 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index af746972..7bea11ac 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('velit'); + $result = $this->client->accounts->disconnect('provident'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 334c5f21..f90ede9a 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( - 'veniam', + 'aliquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'veniam', + 'aliquam', 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 010ccf9a..b837c444 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( - 'cumque', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'cumque', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'cumque', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'cumque', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 50871953..998ad821 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( - 'enim', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'enim', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'enim', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'enim', + 'doloribus', 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 497344b3..04545294 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('quasi'); + $result = $this->client->smartLinks->listClicks('non'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('animi'); + $result = $this->client->smartLinks->listFans('adipisci'); // @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('ea'); + $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('ad'); + $result = $this->client->smartLinks->retrieveCohortArps('hic'); // @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('fuga'); + $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 62989ecd..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( - 'occaecati', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'occaecati', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'occaecati', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'occaecati', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d7f0c147..2365fa74 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'beatae', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'beatae', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'beatae', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'beatae', + 'dicta', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'voluptates', + '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( - 'nihil', + 'porro', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nihil', + 'porro', 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 b0020677..9a289b8a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'saepe', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'saepe', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'saepe', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'saepe', + 'quo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'provident', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'provident', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatem', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ea', + 'nemo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ea', + 'nemo', 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 c2c7f1df..c2d03819 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: 'ctxewseyhvrgitxpb' + name: 'bixpizxpysrbfvo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ctxewseyhvrgitxpb' + name: 'bixpizxpysrbfvo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bb092015a9ff8b0eb3987e732f76a4a58a24fe27 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 01:13:07 +0000 Subject: [PATCH 230/256] 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 590627fd..e930aa70 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2ce7e4faeac778d9c957f8bde601d21cd3430eac45582b017e5f9ae1c240426b.yml -openapi_spec_hash: 299b94ff934b6b607f0c539e453a4b41 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2c5b060da707f4bec752a51c5083de5dc6c62e5bbccb85335295fa6cd4ae565d.yml +openapi_spec_hash: 4bbb78d30cff486200a37644ccc6732c config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 7bea11ac..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('provident'); + $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 a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index f90ede9a..1a97b9dc 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( - 'aliquam', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'aliquam', + 'expedita', 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 b837c444..bbb431da 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( - 'vitae', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'vitae', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'vitae', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'vitae', + 'voluptatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 998ad821..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( - 'doloribus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'doloribus', + '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( - 'doloribus', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'doloribus', + 'alias', 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 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 04545294..33afd8eb 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('non'); + $result = $this->client->smartLinks->listClicks('nam'); // @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('et'); + $result = $this->client->smartLinks->listConversions('molestiae'); // @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('adipisci'); + $result = $this->client->smartLinks->listFans('sunt'); // @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('officia'); // @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('hic'); + $result = $this->client->smartLinks->retrieveCohortArps('est'); // @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('id'); // @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..2fc20dfc 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', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'aliquid', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2365fa74..08126826 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dicta', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dicta', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dicta', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dicta', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'rerum', + 'excepturi', 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( - 'porro', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'porro', + 'nihil', 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 9a289b8a..8918036e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'quo', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'quo', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quia', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'rerum', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'nemo', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'nemo', + '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 c2d03819..f64b8733 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: 'bixpizxpysrbfvo' + name: 'glhesvw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bixpizxpysrbfvo' + name: 'glhesvw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From e469d6b5fbf3de9c751b077bbef05c005ab21ce0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 18:13:05 +0000 Subject: [PATCH 231/256] feat(api): api update --- .stats.yml | 4 ++-- src/DataExports/DataExportCreateParams.php | 8 ++++---- .../DataExportCreateParams/FileType.php | 2 +- .../DataExportCreateParams/Type.php | 4 +++- src/DataExports/DataExportListParams/Type.php | 8 ++++++++ src/ServiceContracts/DataExportsContract.php | 4 ++-- src/Services/DataExportsService.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/SmartLinksTest.php | 8 ++++---- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 19 files changed, 66 insertions(+), 56 deletions(-) diff --git a/.stats.yml b/.stats.yml index e930aa70..60420b5b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2c5b060da707f4bec752a51c5083de5dc6c62e5bbccb85335295fa6cd4ae565d.yml -openapi_spec_hash: 4bbb78d30cff486200a37644ccc6732c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-15697c64ce0e5f2b490492854e85471ddc66ec9593502b053b6c21fc78baff51.yml +openapi_spec_hash: 09ce808b20cd019e2feddd877f251c82 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/DataExports/DataExportCreateParams.php b/src/DataExports/DataExportCreateParams.php index 77b42e96..be2b6c42 100644 --- a/src/DataExports/DataExportCreateParams.php +++ b/src/DataExports/DataExportCreateParams.php @@ -41,7 +41,7 @@ final class DataExportCreateParams implements BaseModel public string $endDate; /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * * @var value-of $fileType */ @@ -55,7 +55,7 @@ final class DataExportCreateParams implements BaseModel public string $startDate; /** - * The type of data to export. + * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * * @var value-of $type */ @@ -165,7 +165,7 @@ public function withEndDate(string $endDate): self } /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * * @param FileType|value-of $fileType */ @@ -189,7 +189,7 @@ public function withStartDate(string $startDate): self } /** - * The type of data to export. + * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * * @param Type|value-of $type */ diff --git a/src/DataExports/DataExportCreateParams/FileType.php b/src/DataExports/DataExportCreateParams/FileType.php index 574221cf..7050bf2a 100644 --- a/src/DataExports/DataExportCreateParams/FileType.php +++ b/src/DataExports/DataExportCreateParams/FileType.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\DataExports\DataExportCreateParams; /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. */ enum FileType: string { diff --git a/src/DataExports/DataExportCreateParams/Type.php b/src/DataExports/DataExportCreateParams/Type.php index d7c203e8..a3ad1fd7 100644 --- a/src/DataExports/DataExportCreateParams/Type.php +++ b/src/DataExports/DataExportCreateParams/Type.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\DataExports\DataExportCreateParams; /** - * The type of data to export. + * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. */ enum Type: string { @@ -30,4 +30,6 @@ enum Type: string case FANS = 'fans'; case FOLLOWINGS = 'followings'; + + case PROFILE_VISITORS = 'profile_visitors'; } diff --git a/src/DataExports/DataExportListParams/Type.php b/src/DataExports/DataExportListParams/Type.php index ced29423..81c99ae0 100644 --- a/src/DataExports/DataExportListParams/Type.php +++ b/src/DataExports/DataExportListParams/Type.php @@ -19,9 +19,17 @@ enum Type: string case TRACKING_LINKS = 'tracking_links'; + case SMART_LINKS = 'smart_links'; + case PAYOUTS = 'payouts'; case CHARGEBACKS = 'chargebacks'; case PUBLIC_PROFILES = 'public_profiles'; + + case FANS = 'fans'; + + case FOLLOWINGS = 'followings'; + + case PROFILE_VISITORS = 'profile_visitors'; } diff --git a/src/ServiceContracts/DataExportsContract.php b/src/ServiceContracts/DataExportsContract.php index 3ade98e3..7b5769bb 100644 --- a/src/ServiceContracts/DataExportsContract.php +++ b/src/ServiceContracts/DataExportsContract.php @@ -25,9 +25,9 @@ interface DataExportsContract * @api * * @param string $endDate the end date for the export (ISO 8601 format) - * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings; `zip` for media_vault. + * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * @param string $startDate the start date for the export (ISO 8601 format) - * @param Type|value-of $type The type of data to export + * @param Type|value-of $type The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) diff --git a/src/Services/DataExportsService.php b/src/Services/DataExportsService.php index 3a099b3f..2f8162f7 100644 --- a/src/Services/DataExportsService.php +++ b/src/Services/DataExportsService.php @@ -45,9 +45,9 @@ public function __construct(private Client $client) * Create a new data export request. This will calculate the required credits and prepare the export for starting. * * @param string $endDate the end date for the export (ISO 8601 format) - * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings; `zip` for media_vault. + * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * @param string $startDate the start date for the export (ISO 8601 format) - * @param Type|value-of $type The type of data to export + * @param Type|value-of $type The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bb217b11..294035a2 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('exercitationem'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1a97b9dc..68c899b8 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( - 'expedita', + 'vero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'expedita', + 'vero', 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 bbb431da..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( - 'voluptatibus', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatibus', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatibus', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatibus', + 'voluptate', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ace1f5c8..ca46826d 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'alias', + 'fugit', 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'alias', + 'fugit', 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 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 33afd8eb..a10338a4 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('nam'); + $result = $this->client->smartLinks->listClicks('est'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('sunt'); + $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('officia'); + $result = $this->client->smartLinks->listSpenders('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result); @@ -182,7 +182,7 @@ public function testRetrieveStats(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->retrieveStats('id'); + $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 2fc20dfc..25b47b98 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( - 'aliquid', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aliquid', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aliquid', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aliquid', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 08126826..b04e6335 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'blanditiis', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'blanditiis', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'blanditiis', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'blanditiis', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'excepturi', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'excepturi', + 'tempore', 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( - 'nihil', + 'ea', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nihil', + 'ea', 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 8918036e..0cd85fc2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'doloribus', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'doloribus', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'doloribus', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'doloribus', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quidem', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quidem', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quasi', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quasi', + 'explicabo', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'sed', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'dolorum', + 'sed', 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 f64b8733..8e2dbf52 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: 'glhesvw' + name: 'i' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'glhesvw' + name: 'i' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d63b6bdb56d60896365cb0adc0978754971b4f19 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 19:14:54 +0000 Subject: [PATCH 232/256] feat(api): api update --- .stats.yml | 4 +- src/Core/BaseClient.php | 9 ++- .../Implementation/StreamingHttpClient.php | 9 ++- tests/Core/RequestTimeoutTest.php | 81 +++++++++++++++++++ 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 +- 15 files changed, 143 insertions(+), 50 deletions(-) create mode 100644 tests/Core/RequestTimeoutTest.php diff --git a/.stats.yml b/.stats.yml index 60420b5b..73ae68b0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-15697c64ce0e5f2b490492854e85471ddc66ec9593502b053b6c21fc78baff51.yml -openapi_spec_hash: 09ce808b20cd019e2feddd877f251c82 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0051b267b340d73100cc82c613c23c169ec33f841a3fcf6246bf80a16ff1394c.yml +openapi_spec_hash: c026386eab286b73bfd3b742a83be83d config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Core/BaseClient.php b/src/Core/BaseClient.php index 1c4ad375..748db88f 100644 --- a/src/Core/BaseClient.php +++ b/src/Core/BaseClient.php @@ -12,6 +12,7 @@ use OnlyFansAPI\Core\Exceptions\APIConnectionException; use OnlyFansAPI\Core\Exceptions\APIStatusException; use OnlyFansAPI\Core\Implementation\RawResponse; +use OnlyFansAPI\Core\Implementation\StreamingHttpClient; use OnlyFansAPI\RequestOptions; use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Message\RequestInterface; @@ -249,7 +250,13 @@ protected function sendRequest( $err = null; try { - $rsp = $transporter->sendRequest($req); + if ($transporter instanceof StreamingHttpClient) { + $rsp = $transporter->sendRequest($req, timeout: $opts->timeout); + } elseif (is_a($transporter, '\GuzzleHttp\Client')) { + $rsp = $transporter->send($req, ['timeout' => $opts->timeout]); + } else { + $rsp = $transporter->sendRequest($req); + } } catch (ClientExceptionInterface $e) { $err = $e; } diff --git a/src/Core/Implementation/StreamingHttpClient.php b/src/Core/Implementation/StreamingHttpClient.php index 7f2d8f10..9f2c7f4e 100644 --- a/src/Core/Implementation/StreamingHttpClient.php +++ b/src/Core/Implementation/StreamingHttpClient.php @@ -18,10 +18,15 @@ final class StreamingHttpClient implements ClientInterface { public function __construct(private ClientInterface $inner) {} - public function sendRequest(RequestInterface $request): ResponseInterface + public function sendRequest(RequestInterface $request, ?float $timeout = null): ResponseInterface { if (is_a($this->inner, '\GuzzleHttp\Client')) { - return $this->inner->send($request, ['stream' => true]); + $options = ['stream' => true]; + if (null !== $timeout) { + $options['timeout'] = $timeout; + } + + return $this->inner->send($request, $options); } return $this->inner->sendRequest($request); diff --git a/tests/Core/RequestTimeoutTest.php b/tests/Core/RequestTimeoutTest.php new file mode 100644 index 00000000..81c703a5 --- /dev/null +++ b/tests/Core/RequestTimeoutTest.php @@ -0,0 +1,81 @@ +buildClient(); + + $client->request('GET', '/', options: ['timeout' => 1.5]); + + $this->assertSame(1.5, $mock->getLastOptions()['timeout']); + } + + #[Test] + public function testPassesDefaultTimeoutToGuzzleTransporter(): void + { + [$client, $mock] = $this->buildClient(); + + $client->request('GET', '/'); + + $this->assertSame((new RequestOptions)->timeout, $mock->getLastOptions()['timeout']); + } + + #[Test] + public function testPassesTimeoutToStreamingTransporter(): void + { + [$client, $mock] = $this->buildClient(streaming: true); + + $client->request('GET', '/', headers: ['Accept' => 'text/event-stream'], options: ['timeout' => 2.5]); + + $options = $mock->getLastOptions(); + $this->assertTrue($options['stream']); + $this->assertSame(2.5, $options['timeout']); + } + + /** + * @return array{BaseClient, MockHandler} + */ + private function buildClient(bool $streaming = false): array + { + $response = $streaming + ? new Response(200, ['Content-Type' => 'text/event-stream'], '') + : new Response(200, ['Content-Type' => 'application/json'], '{}'); + + $mock = new MockHandler([$response]); + $guzzle = new GuzzleClient(['handler' => HandlerStack::create($mock)]); + + $options = RequestOptions::with( + transporter: $guzzle, + streamingTransporter: new StreamingHttpClient($guzzle), + uriFactory: Psr17FactoryDiscovery::findUriFactory(), + requestFactory: Psr17FactoryDiscovery::findRequestFactory(), + streamFactory: Psr17FactoryDiscovery::findStreamFactory(), + ); + + $client = new class(headers: [], baseUrl: 'http://localhost', options: $options) extends BaseClient {}; + + return [$client, $mock]; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 294035a2..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('exercitationem'); + $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 68c899b8..ccf10d4d 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( - 'vero', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vero', + 'qui', 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..02a37df8 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptate', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptate', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptate', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ca46826d..845cd522 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( - 'fugit', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'fugit', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'fugit', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'fugit', + 'laboriosam', 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 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 a10338a4..9a48b9dd 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('est'); + $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('molestiae'); + $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('consequatur'); + $result = $this->client->smartLinks->listFans('maiores'); // @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('dignissimos'); // @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('est'); + $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('magni'); + $result = $this->client->smartLinks->retrieveStats('quisquam'); // @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 25b47b98..6bfe21e8 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( - 'vitae', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'vitae', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'vitae', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'vitae', + 'quam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b04e6335..f27049d7 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ad', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ad', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ad', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ad', + 'autem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'tempore', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'tempore', + 'consequatur', 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( - 'ea', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ea', + 'ducimus', 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 0cd85fc2..81bcf78e 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'eveniet', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eveniet', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eveniet', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eveniet', + 'praesentium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'magni', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'explicabo', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'explicabo', + 'quibusdam', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'sed', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'sed', + 'suscipit', 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 8e2dbf52..0011d745 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: 'i' + name: 'nrmxdeecfdtvk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'i' + name: 'nrmxdeecfdtvk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From adec3622e01a4306512ae0d3336bc6941e91b637 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 20:13:09 +0000 Subject: [PATCH 233/256] 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 73ae68b0..da2ced40 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0051b267b340d73100cc82c613c23c169ec33f841a3fcf6246bf80a16ff1394c.yml -openapi_spec_hash: c026386eab286b73bfd3b742a83be83d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-901d18ae0073230cbc072f729528c17043fde31d4a7a993dd1d1ed1a786e9dce.yml +openapi_spec_hash: ed64e03b24764680ba2d50c82d9cb426 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6529a66f..d3bc5ef5 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('quam'); // @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 ccf10d4d..08c5fbd5 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( - 'qui', + 'ex', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'qui', + 'ex', 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 02a37df8..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( - 'vel', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'vel', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'vel', + 'et', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 845cd522..e164dc11 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( - 'laboriosam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'laboriosam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'laboriosam', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'laboriosam', + 'quia', 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 9a48b9dd..077e584f 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('culpa'); + $result = $this->client->smartLinks->listClicks('est'); // @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('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('maiores'); + $result = $this->client->smartLinks->listFans('sunt'); // @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('dignissimos'); + $result = $this->client->smartLinks->listSpenders('omnis'); // @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('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('quisquam'); + $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 6bfe21e8..ca62fcc6 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( - 'quam', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'quam', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'quam', + 'officiis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index f27049d7..89845552 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'autem', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'autem', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'autem', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'autem', + 'pariatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + 'temporibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'consequatur', + '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( - 'ducimus', + 'nostrum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ducimus', + 'nostrum', 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 81bcf78e..e1104818 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'praesentium', + 'eius', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'magni', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'magni', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quibusdam', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quibusdam', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'suscipit', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'suscipit', + 'labore', 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 0011d745..f80f5bf6 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: 'nrmxdeecfdtvk' + name: 'btsxknjjwrgwukfe' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nrmxdeecfdtvk' + name: 'btsxknjjwrgwukfe' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From bab2d9f037122c0c24e3ce8c4c9fb888ff2741c0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 03:13:13 +0000 Subject: [PATCH 234/256] feat(api): api update --- .stats.yml | 4 +-- src/ServiceContracts/StatisticsContract.php | 3 ++ src/Services/StatisticsRawService.php | 12 +++++-- src/Services/StatisticsService.php | 4 +++ .../StatisticGetSubscriberMetricsParams.php | 34 +++++++++++++++++-- .../DetailedType.php | 17 ++++++++++ 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/StatisticsTest.php | 1 + tests/Services/Stories/HighlightsTest.php | 8 ++--- tests/Services/TrackingLinksTest.php | 16 ++++----- tests/Services/TrialLinksTest.php | 20 +++++------ tests/Services/UserListsTest.php | 4 +-- 17 files changed, 112 insertions(+), 49 deletions(-) create mode 100644 src/Statistics/StatisticGetSubscriberMetricsParams/DetailedType.php diff --git a/.stats.yml b/.stats.yml index da2ced40..c8a9d548 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-901d18ae0073230cbc072f729528c17043fde31d4a7a993dd1d1ed1a786e9dce.yml -openapi_spec_hash: ed64e03b24764680ba2d50c82d9cb426 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7fb04b7318a956be18b88bb8ec2c972ef3225505d36876b1cabd703546d81590.yml +openapi_spec_hash: 4d67fe9decba5dca8538c3a8e5bd584f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/StatisticsContract.php b/src/ServiceContracts/StatisticsContract.php index 6207c566..3ae38c59 100644 --- a/src/ServiceContracts/StatisticsContract.php +++ b/src/ServiceContracts/StatisticsContract.php @@ -9,6 +9,7 @@ use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams\DetailedType; use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** @@ -59,6 +60,7 @@ public function getOverview( * @param string $endDate the end date for the metrics * @param string $startDate the start date for the metrics * @param bool|null $detailed Include paid and free fan metrics. Will slow down the response time, and might time out if timeframe is too large. Default = `false` + * @param DetailedType|value-of|null $detailedType Use only with `detailed=true` - otherwise, it has no effect. Filter the subscriber statistics (default = total) * @param RequestOpts|null $requestOptions * * @throws APIException @@ -68,6 +70,7 @@ public function getSubscriberMetrics( string $endDate, string $startDate, ?bool $detailed = null, + DetailedType|string|null $detailedType = null, RequestOptions|array|null $requestOptions = null, ): StatisticGetSubscriberMetricsResponse; } diff --git a/src/Services/StatisticsRawService.php b/src/Services/StatisticsRawService.php index 6ae94ba5..6759a9eb 100644 --- a/src/Services/StatisticsRawService.php +++ b/src/Services/StatisticsRawService.php @@ -16,6 +16,7 @@ use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams\DetailedType; use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** @@ -112,7 +113,10 @@ public function getOverview( * * @param string $account The Account ID * @param array{ - * endDate: string, startDate: string, detailed?: bool|null + * endDate: string, + * startDate: string, + * detailed?: bool|null, + * detailedType?: DetailedType|value-of|null, * }|StatisticGetSubscriberMetricsParams $params * @param RequestOpts|null $requestOptions * @@ -136,7 +140,11 @@ public function getSubscriberMetrics( path: ['api/%1$s/statistics/subscriber-metrics', $account], query: Util::array_transform_keys( $parsed, - ['endDate' => 'end_date', 'startDate' => 'start_date'] + [ + 'endDate' => 'end_date', + 'startDate' => 'start_date', + 'detailedType' => 'detailed_type', + ], ), options: $options, convert: StatisticGetSubscriberMetricsResponse::class, diff --git a/src/Services/StatisticsService.php b/src/Services/StatisticsService.php index 38649a96..5f01b570 100644 --- a/src/Services/StatisticsService.php +++ b/src/Services/StatisticsService.php @@ -14,6 +14,7 @@ use OnlyFansAPI\Statistics\StatisticCalculateTotalTransactionsResponse; use OnlyFansAPI\Statistics\StatisticGetOverviewParams\Type; use OnlyFansAPI\Statistics\StatisticGetOverviewResponse; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams\DetailedType; use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsResponse; /** @@ -113,6 +114,7 @@ public function getOverview( * @param string $endDate the end date for the metrics * @param string $startDate the start date for the metrics * @param bool|null $detailed Include paid and free fan metrics. Will slow down the response time, and might time out if timeframe is too large. Default = `false` + * @param DetailedType|value-of|null $detailedType Use only with `detailed=true` - otherwise, it has no effect. Filter the subscriber statistics (default = total) * @param RequestOpts|null $requestOptions * * @throws APIException @@ -122,6 +124,7 @@ public function getSubscriberMetrics( string $endDate, string $startDate, ?bool $detailed = null, + DetailedType|string|null $detailedType = null, RequestOptions|array|null $requestOptions = null, ): StatisticGetSubscriberMetricsResponse { $params = Util::removeNulls( @@ -129,6 +132,7 @@ public function getSubscriberMetrics( 'endDate' => $endDate, 'startDate' => $startDate, 'detailed' => $detailed, + 'detailedType' => $detailedType, ], ); diff --git a/src/Statistics/StatisticGetSubscriberMetricsParams.php b/src/Statistics/StatisticGetSubscriberMetricsParams.php index 0716e601..cbad0be1 100644 --- a/src/Statistics/StatisticGetSubscriberMetricsParams.php +++ b/src/Statistics/StatisticGetSubscriberMetricsParams.php @@ -9,6 +9,7 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\Statistics\StatisticGetSubscriberMetricsParams\DetailedType; /** * Get subscriber metrics including total, new, renewed, paid, and free subscriptions for a specified timeframe. `unknown_subscriptions` indicates deleted fan accounts. @@ -16,7 +17,10 @@ * @see OnlyFansAPI\Services\StatisticsService::getSubscriberMetrics() * * @phpstan-type StatisticGetSubscriberMetricsParamsShape = array{ - * endDate: string, startDate: string, detailed?: bool|null + * endDate: string, + * startDate: string, + * detailed?: bool|null, + * detailedType?: null|DetailedType|value-of, * } */ final class StatisticGetSubscriberMetricsParams implements BaseModel @@ -43,6 +47,14 @@ final class StatisticGetSubscriberMetricsParams implements BaseModel #[Optional(nullable: true)] public ?bool $detailed; + /** + * Use only with `detailed=true` - otherwise, it has no effect. Filter the subscriber statistics (default = total). + * + * @var value-of|null $detailedType + */ + #[Optional(enum: DetailedType::class, nullable: true)] + public ?string $detailedType; + /** * `new StatisticGetSubscriberMetricsParams()` is missing required properties by the API. * @@ -66,11 +78,14 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param DetailedType|value-of|null $detailedType */ public static function with( string $endDate, string $startDate, - ?bool $detailed = null + ?bool $detailed = null, + DetailedType|string|null $detailedType = null, ): self { $self = new self; @@ -78,6 +93,7 @@ public static function with( $self['startDate'] = $startDate; null !== $detailed && $self['detailed'] = $detailed; + null !== $detailedType && $self['detailedType'] = $detailedType; return $self; } @@ -114,4 +130,18 @@ public function withDetailed(?bool $detailed): self return $self; } + + /** + * Use only with `detailed=true` - otherwise, it has no effect. Filter the subscriber statistics (default = total). + * + * @param DetailedType|value-of|null $detailedType + */ + public function withDetailedType( + DetailedType|string|null $detailedType + ): self { + $self = clone $this; + $self['detailedType'] = $detailedType; + + return $self; + } } diff --git a/src/Statistics/StatisticGetSubscriberMetricsParams/DetailedType.php b/src/Statistics/StatisticGetSubscriberMetricsParams/DetailedType.php new file mode 100644 index 00000000..3ade3933 --- /dev/null +++ b/src/Statistics/StatisticGetSubscriberMetricsParams/DetailedType.php @@ -0,0 +1,17 @@ +markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('quam'); + $result = $this->client->accounts->disconnect('id'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 08c5fbd5..217c5da6 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( - 'ex', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ex', + 'velit', 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..b837c444 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', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'et', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'et', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index e164dc11..aafb587f 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( - 'quia', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'quia', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'quia', + 'corporis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'quia', + 'corporis', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 077e584f..ad599751 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('est'); + $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('qui'); + $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('sunt'); + $result = $this->client->smartLinks->listFans('repellat'); // @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('omnis'); + $result = $this->client->smartLinks->listSpenders('unde'); // @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('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('et'); + $result = $this->client->smartLinks->retrieveStats('quae'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result); diff --git a/tests/Services/StatisticsTest.php b/tests/Services/StatisticsTest.php index ba863b7e..6034b32c 100644 --- a/tests/Services/StatisticsTest.php +++ b/tests/Services/StatisticsTest.php @@ -93,6 +93,7 @@ public function testGetSubscriberMetricsWithOptionalParams(): void endDate: '2025-03-31 23:59:59', startDate: '2025-01-01 00:00:00', detailed: false, + detailedType: 'total', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Stories/HighlightsTest.php b/tests/Services/Stories/HighlightsTest.php index ca62fcc6..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( - 'officiis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'officiis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'officiis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'officiis', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 89845552..6349ff47 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'pariatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'pariatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'pariatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'pariatur', + 'rem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + 'ratione', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'temporibus', + '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( - 'nostrum', + 'aspernatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'nostrum', + 'aspernatur', 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 e1104818..ef3fc315 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', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'eius', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'eius', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'eius', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'sit', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'reiciendis', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'reiciendis', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'labore', + 'suscipit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'labore', + 'suscipit', 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 f80f5bf6..4d1bcfc9 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: 'btsxknjjwrgwukfe' + name: 'kc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'btsxknjjwrgwukfe' + name: 'kc' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d79c3e21b18aa6e13557334ab6233ade8ad66c9b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 05:13:12 +0000 Subject: [PATCH 235/256] 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 c8a9d548..fb85fa7b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7fb04b7318a956be18b88bb8ec2c972ef3225505d36876b1cabd703546d81590.yml -openapi_spec_hash: 4d67fe9decba5dca8538c3a8e5bd584f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-26d242bf8bba4ea78c767ab736c06cf502c13ee0ec7423b5719b5c4858e163ea.yml +openapi_spec_hash: 87dff8cf9517213ce7c5a4521c9d7e08 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bf95eefe..5cc3e430 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('sunt'); // @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 217c5da6..77fda41c 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( - 'velit', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'velit', + 'accusantium', 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 b837c444..f291fe11 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( - 'vitae', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'vitae', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'vitae', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'vitae', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index aafb587f..a8df7256 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( - 'corporis', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'corporis', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'corporis', + 'dignissimos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'corporis', + 'dignissimos', 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..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 ad599751..3bf3ddd5 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('doloremque'); // @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('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('repellat'); + $result = $this->client->smartLinks->listFans('suscipit'); // @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('unde'); + $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('et'); + $result = $this->client->smartLinks->retrieveCohortArps('perferendis'); // @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('quae'); + $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 2443ecae..7b8e88f3 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', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'consequuntur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 6349ff47..e4f4000b 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'rem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'rem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'rem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'rem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ratione', + 'nulla', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ratione', + 'nulla', 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( - 'aspernatur', + 'molestiae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'aspernatur', + '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 ef3fc315..1b2eb3b9 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'enim', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'enim', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'inventore', + 'quo', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'tempore', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'tempore', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'suscipit', + 'vitae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'suscipit', + 'vitae', 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 4d1bcfc9..7f1b5072 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: 'kc' + name: 'zrdnpftdmggmcikmpsvipan' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kc' + name: 'zrdnpftdmggmcikmpsvipan' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 250217e31bd7c74b9730ad584261a897a10e2178 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 14:13:07 +0000 Subject: [PATCH 236/256] 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 ++++---- 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, 44 insertions(+), 44 deletions(-) diff --git a/.stats.yml b/.stats.yml index fb85fa7b..41a52929 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-26d242bf8bba4ea78c767ab736c06cf502c13ee0ec7423b5719b5c4858e163ea.yml -openapi_spec_hash: 87dff8cf9517213ce7c5a4521c9d7e08 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-613af136f5c7dc6e23778725bbc12bcb401c4c6b9ea23a39f1829a0a78f765c0.yml +openapi_spec_hash: a29028052b286ae5243ff22ec8222806 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5cc3e430..90eb97d2 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('sunt'); + $result = $this->client->accounts->disconnect('repellendus'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 77fda41c..1d0dfae6 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( - 'accusantium', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'accusantium', + 'omnis', 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 f291fe11..eaf6ebce 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( - 'rem', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'rem', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'rem', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'rem', + 'omnis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index a8df7256..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( - 'dignissimos', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dignissimos', + '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( - 'dignissimos', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dignissimos', + 'nihil', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index 3bf3ddd5..fbf861ab 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('doloremque'); + $result = $this->client->smartLinks->listClicks('velit'); // @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('molestiae'); // @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('suscipit'); + $result = $this->client->smartLinks->listFans('ut'); // @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('rerum'); // @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('perferendis'); + $result = $this->client->smartLinks->retrieveCohortArps('harum'); // @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('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 7b8e88f3..b6978fdc 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( - 'consequuntur', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequuntur', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequuntur', + 'ea', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e4f4000b..1b7e35ac 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ut', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ut', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ut', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ut', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nulla', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'nulla', + 'veniam', 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', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'molestiae', + 'dolorem', 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 1b2eb3b9..89a4b592 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'asperiores', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'asperiores', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'asperiores', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'asperiores', + 'a', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quo', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quo', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nesciunt', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'vitae', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'vitae', + '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 7f1b5072..066ab342 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: 'zrdnpftdmggmcikmpsvipan' + name: 'qofnodruutfxhcz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'zrdnpftdmggmcikmpsvipan' + name: 'qofnodruutfxhcz' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From a586271354a046aa924c47d47af0e598318e998a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Aug 2026 03:13:05 +0000 Subject: [PATCH 237/256] 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 | 10 +++++----- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 41a52929..48394c7e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-613af136f5c7dc6e23778725bbc12bcb401c4c6b9ea23a39f1829a0a78f765c0.yml -openapi_spec_hash: a29028052b286ae5243ff22ec8222806 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9211f591b9039824ae8fe2671723b7c1d92e0fba48b5ccc1609904535787fee2.yml +openapi_spec_hash: 4f46a9fe89ae6b600a9f629b5fd06b85 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 90eb97d2..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('repellendus'); + $result = $this->client->accounts->disconnect('et'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 1d0dfae6..a578d400 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( - 'omnis', + 'labore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'omnis', + 'labore', 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 eaf6ebce..d3642d0e 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( - 'omnis', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'omnis', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'omnis', + 'quae', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 59b84195..ce2ca93b 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', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nihil', + 'inventore', 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', + 'inventore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nihil', + 'inventore', 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..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 fbf861ab..be111803 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('velit'); + $result = $this->client->smartLinks->listClicks('laboriosam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListClicksResponse::class, $result); @@ -143,7 +143,7 @@ public function testListFans(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listFans('ut'); + $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('rerum'); + $result = $this->client->smartLinks->listSpenders('nulla'); // @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('harum'); + $result = $this->client->smartLinks->retrieveCohortArps('numquam'); // @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('quisquam'); // @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 b6978fdc..b2ad3e25 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( - 'ea', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'ea', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'ea', + 'accusantium', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1b7e35ac..2b5eb957 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'reiciendis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'reiciendis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'reiciendis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'reiciendis', + 'ipsam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veniam', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veniam', + '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( - 'dolorem', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'dolorem', + 'quasi', 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 89a4b592..19de80b6 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'a', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'a', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'a', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'a', + 'at', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'illum', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'necessitatibus', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'necessitatibus', + 'iste', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'ab', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'voluptatem', + 'ab', 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 066ab342..64fe9753 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: 'qofnodruutfxhcz' + name: 'tpepavyd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qofnodruutfxhcz' + name: 'tpepavyd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 17d8b9bf75557dee8ac5b5bc8b93b994c66f24f7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:13:19 +0000 Subject: [PATCH 238/256] 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 | 10 +++++----- tests/Services/Stories/HighlightsTest.php | 8 ++++---- tests/Services/TrackingLinksTest.php | 16 +++++++-------- tests/Services/TrialLinksTest.php | 20 +++++++++---------- tests/Services/UserListsTest.php | 4 ++-- 13 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 48394c7e..612bd15d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-9211f591b9039824ae8fe2671723b7c1d92e0fba48b5ccc1609904535787fee2.yml -openapi_spec_hash: 4f46a9fe89ae6b600a9f629b5fd06b85 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7e3e550412c99358098687ea8efec491c92578ed5817d0a81b97aa95b4650140.yml +openapi_spec_hash: 3518dea1c76095b666e7e8f04ef0dc05 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e0412cae..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('et'); + $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 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 a578d400..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( - 'labore', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'labore', + '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 d3642d0e..c596df64 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( - 'quae', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'quae', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'quae', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ce2ca93b..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( - 'inventore', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'inventore', + '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( - 'inventore', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'inventore', + '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 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 be111803..1caf5eac 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('laboriosam'); + $result = $this->client->smartLinks->listClicks('provident'); // @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('molestiae'); + $result = $this->client->smartLinks->listConversions('aut'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result); @@ -156,7 +156,7 @@ public function testListSpenders(): void $this->markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->smartLinks->listSpenders('nulla'); + $result = $this->client->smartLinks->listSpenders('libero'); // @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('numquam'); + $result = $this->client->smartLinks->retrieveCohortArps('nobis'); // @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('quisquam'); + $result = $this->client->smartLinks->retrieveStats('minima'); // @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 b2ad3e25..24cdc795 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( - 'accusantium', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'accusantium', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'accusantium', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'accusantium', + 'expedita', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2b5eb957..b079e8bd 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ipsam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ipsam', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'non', + '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( - 'quasi', + 'blanditiis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quasi', + 'blanditiis', 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 19de80b6..0e748fa4 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', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'at', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'at', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'at', + 'beatae', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ut', + 'eius', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'iste', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'iste', + 'voluptatum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'ab', + 'rerum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'ab', + 'rerum', 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 64fe9753..7ad6826a 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: 'tpepavyd' + name: 'cuatcmrijdfxdezfermnbfpic' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'tpepavyd' + name: 'cuatcmrijdfxdezfermnbfpic' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 5f77d74c1388c7f3fbf0f66a87958522ec2aa299 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 23:13:11 +0000 Subject: [PATCH 239/256] 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 612bd15d..aed49705 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7e3e550412c99358098687ea8efec491c92578ed5817d0a81b97aa95b4650140.yml -openapi_spec_hash: 3518dea1c76095b666e7e8f04ef0dc05 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d405ec53846be49bd1a6484b0af2fb42e46b3d1f700eba30d689da5cac3ce71c.yml +openapi_spec_hash: 106c4b2587de1b257da1e8773985ea43 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index e26540f0..90eb97d2 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('repellendus'); // @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 c39f8642..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( - 'vel', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vel', + '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 c596df64..1c2f16f1 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( - 'illum', + 'in', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'illum', + 'in', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'illum', + 'in', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'illum', + 'in', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 0c3d9262..b19bbcf9 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', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'laudantium', + 'reiciendis', 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', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'laudantium', + 'reiciendis', 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..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 1caf5eac..5e79c41d 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('provident'); + $result = $this->client->smartLinks->listClicks('nam'); // @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('aut'); + $result = $this->client->smartLinks->listConversions('et'); // @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('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('libero'); + $result = $this->client->smartLinks->listSpenders('ipsam'); // @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('nobis'); + $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('minima'); + $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 24cdc795..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( - 'expedita', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'expedita', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'expedita', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'expedita', + 'totam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index b079e8bd..afdc3e4e 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'saepe', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'saepe', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'saepe', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'saepe', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quia', + '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( - 'blanditiis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'blanditiis', + 'qui', 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 0e748fa4..3b777138 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'beatae', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'beatae', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'beatae', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'beatae', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eius', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eius', + 'eaque', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'voluptatum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'rerum', + 'quos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'rerum', + 'quos', 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 7ad6826a..d42b45e5 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: 'cuatcmrijdfxdezfermnbfpic' + name: 'rfunebjtmxkcx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'cuatcmrijdfxdezfermnbfpic' + name: 'rfunebjtmxkcx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b07985b2cd436e49e38677a80d5d82ebb5568692 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 00:13:03 +0000 Subject: [PATCH 240/256] 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 aed49705..570fba11 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d405ec53846be49bd1a6484b0af2fb42e46b3d1f700eba30d689da5cac3ce71c.yml -openapi_spec_hash: 106c4b2587de1b257da1e8773985ea43 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-23242adeafcf47de7fa93b9f3ca5c97663bd58039566842a69c640967cebed1a.yml +openapi_spec_hash: 8af32fd575ba1dce811202ad05432f84 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 90eb97d2..1306b456 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('repellendus'); + $result = $this->client->accounts->disconnect('excepturi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 07a744d1..ce6cb1b1 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'ut', + 'fugit', 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 1c2f16f1..c474aefe 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( - 'in', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'in', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'in', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'in', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b19bbcf9..ead3be2c 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( - 'reiciendis', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'reiciendis', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'reiciendis', + 'dolorem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'reiciendis', + 'dolorem', 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 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 5e79c41d..c408c60a 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('nam'); + $result = $this->client->smartLinks->listClicks('ad'); // @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('et'); + $result = $this->client->smartLinks->listConversions('aut'); // @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('consequuntur'); // @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('ipsam'); + $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('aut'); + $result = $this->client->smartLinks->retrieveCohortArps('ducimus'); // @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('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 f041f0e1..4a9b764d 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', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'totam', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'totam', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index afdc3e4e..9872005d 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'harum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'harum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'harum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'harum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'enim', 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( - 'qui', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'qui', + '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 3b777138..9878943d 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', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'culpa', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'eaque', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'eaque', + 'et', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'et', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quos', + 'numquam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quos', + 'numquam', 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 d42b45e5..6e1a1806 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: 'rfunebjtmxkcx' + name: 'qqyvncwahrgdpaeaadk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'rfunebjtmxkcx' + name: 'qqyvncwahrgdpaeaadk' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From c39ce46046aeb093413ff873d8d62b8f4f9d19e6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 02:05:26 +0000 Subject: [PATCH 241/256] chore(internal): codegen related update --- src/Core/BaseClient.php | 5 +---- src/Core/Concerns/SdkModel.php | 20 ++++++++++++++++++++ src/Core/Util.php | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/src/Core/BaseClient.php b/src/Core/BaseClient.php index 748db88f..b4fa1b86 100644 --- a/src/Core/BaseClient.php +++ b/src/Core/BaseClient.php @@ -130,10 +130,7 @@ protected function buildRequest( $parsedPath = Util::parsePath($path); /** @var array $mergedQuery */ - $mergedQuery = array_merge_recursive( - $query, - $options->extraQueryParams ?? [] - ); + $mergedQuery = [...$query, ...($options->extraQueryParams ?? [])]; $uri = Util::joinUri($this->baseUrl, path: $parsedPath, query: $mergedQuery)->__toString(); $idempotencyHeaders = $this->idempotencyHeader && !array_key_exists($this->idempotencyHeader, array: $headers) ? [$this->idempotencyHeader => $this->generateIdempotencyKey()] diff --git a/src/Core/Concerns/SdkModel.php b/src/Core/Concerns/SdkModel.php index a3e86742..4b2e0946 100644 --- a/src/Core/Concerns/SdkModel.php +++ b/src/Core/Concerns/SdkModel.php @@ -97,6 +97,26 @@ public function __get(string $key): mixed return null; } + /** + * @internal + * + * Like {@link __unserialize()}, but for raw API payloads, whose keys are + * API property names rather than PHP property names + * + * @param array $data + */ + public function unserializeFromApiPayload(array $data): void + { + foreach (self::$converter->properties as $name => $info) { + if ($name !== $info->apiName && array_key_exists($info->apiName, array: $data)) { + $data[$name] = $data[$info->apiName]; + unset($data[$info->apiName]); + } + } + + $this->__unserialize($data); + } + /** * @internal * diff --git a/src/Core/Util.php b/src/Core/Util.php index d8db700e..71b930d5 100644 --- a/src/Core/Util.php +++ b/src/Core/Util.php @@ -207,7 +207,7 @@ public static function joinUri( parse_str($base->getQuery(), $q1); parse_str($parsed['query'] ?? '', $q2); - $mergedQuery = array_merge_recursive($q1, $q2, $query); + $mergedQuery = [...$q1, ...$q2, ...$query]; /** @var array */ $normalizedQuery = self::mapRecursive( From e5292862cb52981e0368dee55fa74e8da20e0e4e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 12:13:15 +0000 Subject: [PATCH 242/256] feat(api): api update --- .stats.yml | 4 ++-- src/Following/FollowingListActiveParams.php | 2 +- src/Following/FollowingListAllParams.php | 2 +- src/Following/FollowingListExpiredParams.php | 2 +- src/Services/FollowingRawService.php | 6 +++--- src/Services/FollowingService.php | 6 +++--- 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 ++-- 18 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.stats.yml b/.stats.yml index 570fba11..fb88c543 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-23242adeafcf47de7fa93b9f3ca5c97663bd58039566842a69c640967cebed1a.yml -openapi_spec_hash: 8af32fd575ba1dce811202ad05432f84 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a2d5f52ed1f85349c85e1d5e456592651e902edad67d67c38c9c704edb60af74.yml +openapi_spec_hash: 610275aba2d84b6adbb63416c2d03a07 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Following/FollowingListActiveParams.php b/src/Following/FollowingListActiveParams.php index 9162eb96..c69f79a5 100644 --- a/src/Following/FollowingListActiveParams.php +++ b/src/Following/FollowingListActiveParams.php @@ -11,7 +11,7 @@ use OnlyFansAPI\Following\FollowingListActiveParams\Filter; /** - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @see OnlyFansAPI\Services\FollowingService::listActive() * diff --git a/src/Following/FollowingListAllParams.php b/src/Following/FollowingListAllParams.php index 67473b27..53c455c8 100644 --- a/src/Following/FollowingListAllParams.php +++ b/src/Following/FollowingListAllParams.php @@ -11,7 +11,7 @@ use OnlyFansAPI\Following\FollowingListAllParams\Filter; /** - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @see OnlyFansAPI\Services\FollowingService::listAll() * diff --git a/src/Following/FollowingListExpiredParams.php b/src/Following/FollowingListExpiredParams.php index 54f45235..1a560b2e 100644 --- a/src/Following/FollowingListExpiredParams.php +++ b/src/Following/FollowingListExpiredParams.php @@ -11,7 +11,7 @@ use OnlyFansAPI\Following\FollowingListExpiredParams\Filter; /** - * Get a paginated list of expired followings for an Account. Newest followings are first. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. * * @see OnlyFansAPI\Services\FollowingService::listExpired() * diff --git a/src/Services/FollowingRawService.php b/src/Services/FollowingRawService.php index 9768bccb..7760a91c 100644 --- a/src/Services/FollowingRawService.php +++ b/src/Services/FollowingRawService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @param string $account The Account ID * @param array{ @@ -71,7 +71,7 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @param string $account The Account ID * @param array{ @@ -109,7 +109,7 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. Newest followings are first. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. * * @param string $account The Account ID * @param array{ diff --git a/src/Services/FollowingService.php b/src/Services/FollowingService.php index 9b2ce11a..77674177 100644 --- a/src/Services/FollowingService.php +++ b/src/Services/FollowingService.php @@ -40,7 +40,7 @@ public function __construct(private Client $client) /** * @api * - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @param string $account The Account ID * @param Filter|FilterShape $filter @@ -77,7 +77,7 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. Newest followings are first. + * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. * * @param string $account The Account ID * @param \OnlyFansAPI\Following\FollowingListAllParams\Filter|FilterShape1 $filter @@ -114,7 +114,7 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. Newest followings are first. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. * * @param string $account The Account ID * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Filter|FilterShape2 $filter diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 1306b456..5e68159a 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('excepturi'); + $result = $this->client->accounts->disconnect('nam'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ce6cb1b1..c5fc621b 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( - 'fugit', + 'non', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'fugit', + 'non', 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 c474aefe..9378a633 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( - 'dolores', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'dolores', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'dolores', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ead3be2c..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( - 'dolorem', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'dolorem', + '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( - 'dolorem', + 'excepturi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'dolorem', + 'excepturi', 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/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 c408c60a..e0270fe4 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('ad'); + $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('aut'); + $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('consequuntur'); + $result = $this->client->smartLinks->listFans('sit'); // @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('distinctio'); // @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('ducimus'); + $result = $this->client->smartLinks->retrieveCohortArps('ullam'); // @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('occaecati'); // @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 4a9b764d..f275968b 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( - 'fugit', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'fugit', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'fugit', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'fugit', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 9872005d..dfc666f4 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'enim', + 'earum', 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', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quia', + 'voluptatem', 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 9878943d..c1124ae2 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'accusamus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'accusamus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'accusamus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'accusamus', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eum', + 'harum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'eum', + 'harum', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'numquam', + 'assumenda', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'numquam', + '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 6e1a1806..b1c82ba1 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: 'qqyvncwahrgdpaeaadk' + name: 'werwytboubtrvievkh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'qqyvncwahrgdpaeaadk' + name: 'werwytboubtrvievkh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 3844d8c036a33094b7e5afca92c5d2be91e17950 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:13:05 +0000 Subject: [PATCH 243/256] 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 fb88c543..c617ea48 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-a2d5f52ed1f85349c85e1d5e456592651e902edad67d67c38c9c704edb60af74.yml -openapi_spec_hash: 610275aba2d84b6adbb63416c2d03a07 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3e41fe0e34300060c6b811748d8c6d41c25296780772981088799f57f3a62620.yml +openapi_spec_hash: 1fef4a251599b597914b6e44589ec522 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 5e68159a..facdf8bb 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('nam'); + $result = $this->client->accounts->disconnect('sint'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c5fc621b..59b8fbf6 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( - 'non', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'non', + 'sint', 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 9378a633..fd605fa2 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( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 5f4de04b..b9f6f730 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'excepturi', + 'architecto', 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', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'excepturi', + 'architecto', 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/SavedForLater/Posts/SettingsTest.php b/tests/Services/SavedForLater/Posts/SettingsTest.php index 12ec31fa..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: 6) + ->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: 6) + ->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24) ; // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index e0270fe4..4fb74fd4 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('iste'); // @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('voluptas'); // @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('sit'); + $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('distinctio'); + $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('ullam'); + $result = $this->client->smartLinks->retrieveCohortArps('ratione'); // @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('occaecati'); + $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 f275968b..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( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'illum', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index dfc666f4..c8c5fc4a 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'ut', + 'doloribus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'earum', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'earum', + 'ipsum', 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', + 'magnam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'voluptatem', + 'magnam', 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 c1124ae2..efda449c 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'culpa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'similique', + 'velit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'harum', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'harum', + 'nobis', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'assumenda', + 'iusto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'assumenda', + 'iusto', 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 b1c82ba1..016e3daa 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: 'werwytboubtrvievkh' + name: 'isfkhsndbcnwtcefzbnzqx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'werwytboubtrvievkh' + name: 'isfkhsndbcnwtcefzbnzqx' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 9394f2646cc5895487dc8bf377725f22764b80aa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 15:13:11 +0000 Subject: [PATCH 244/256] 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 c617ea48..8da4e8f3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3e41fe0e34300060c6b811748d8c6d41c25296780772981088799f57f3a62620.yml -openapi_spec_hash: 1fef4a251599b597914b6e44589ec522 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3a681811f9dca9fafb1afffb864339f1522537aee190126620680aeca3803358.yml +openapi_spec_hash: 1b0a40a3f83009a9b99ea771335d528f config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index facdf8bb..3c038ff6 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('sint'); + $result = $this->client->accounts->disconnect('at'); // @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 59b8fbf6..3b2a0ed6 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( - 'sint', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'sint', + 'veritatis', 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 fd605fa2..3031d511 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( - 'nobis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'nobis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'nobis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'nobis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b9f6f730..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( - 'architecto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'architecto', + '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( - 'architecto', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'architecto', + 'aut', 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..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/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 4fb74fd4..7dc455d6 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('iste'); + $result = $this->client->smartLinks->listClicks('repudiandae'); // @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('voluptas'); + $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('sed'); + $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('culpa'); + $result = $this->client->smartLinks->listSpenders('veritatis'); // @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('ratione'); + $result = $this->client->smartLinks->retrieveCohortArps('dolores'); // @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('accusamus'); // @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..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( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c8c5fc4a..9b872587 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'doloribus', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'doloribus', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ipsum', + '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( - 'magnam', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'magnam', + '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 efda449c..825aba1e 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', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'culpa', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'culpa', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'velit', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'velit', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nobis', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'iusto', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'iusto', + 'delectus', 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 016e3daa..8f64d272 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: 'isfkhsndbcnwtcefzbnzqx' + name: 'nbkdeagayzijsh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'isfkhsndbcnwtcefzbnzqx' + name: 'nbkdeagayzijsh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From d3fb8986cb08ac0e535e9cdd269f7c784717991f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 23:13:00 +0000 Subject: [PATCH 245/256] 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 | 12 +++++------ 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 8da4e8f3..986ed842 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-3a681811f9dca9fafb1afffb864339f1522537aee190126620680aeca3803358.yml -openapi_spec_hash: 1b0a40a3f83009a9b99ea771335d528f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d77c40bb8d593aea1bef6ab925354c00f69d9f92c1e67a8965997e6d363237a9.yml +openapi_spec_hash: 79ccca3bec6097941e6b20ab10a3b09e config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 3c038ff6..0d89cad0 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('at'); + $result = $this->client->accounts->disconnect('odit'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 3b2a0ed6..ccf10d4d 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( - 'veritatis', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'veritatis', + 'qui', 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 3031d511..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( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'voluptatem', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 306dcb9a..b9685711 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', + 'error', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'aut', + 'error', 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', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'aut', + 'error', 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 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 7dc455d6..016c5a77 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('repudiandae'); + $result = $this->client->smartLinks->listClicks('sapiente'); // @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('architecto'); // @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('magni'); // @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('veritatis'); + $result = $this->client->smartLinks->listSpenders('esse'); // @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('dolores'); + $result = $this->client->smartLinks->retrieveCohortArps('ab'); // @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('accusamus'); + $result = $this->client->smartLinks->retrieveStats('quod'); // @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..5ddfdef4 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', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'autem', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'autem', + 'eum', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 9b872587..1df7d7c2 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -187,7 +187,7 @@ public function testGetStats(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'et', + 'libero', 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 825aba1e..1811d292 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'dolorum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'dolorum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'dolorum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'dolorum', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'qui', + 'ipsum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'ut', + 'placeat', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'delectus', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'delectus', + 'laudantium', 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 8f64d272..f88b4d74 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: 'nbkdeagayzijsh' + name: 'fzqezaenenscbqdhjo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'nbkdeagayzijsh' + name: 'fzqezaenenscbqdhjo' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From be2c1338ef9e318d5d7a2141f48a999c6da36493 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Aug 2026 16:13:06 +0000 Subject: [PATCH 246/256] 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 986ed842..2ddb459b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-d77c40bb8d593aea1bef6ab925354c00f69d9f92c1e67a8965997e6d363237a9.yml -openapi_spec_hash: 79ccca3bec6097941e6b20ab10a3b09e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f64ed313defbcde810e1a8d9a094e06799e72d0d1d29c6a0c0e7917f8020642f.yml +openapi_spec_hash: d508d92cc5afbca8b9fb3c20b0fee10b config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0d89cad0..8146bc54 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('odit'); + $result = $this->client->accounts->disconnect('occaecati'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ccf10d4d..136abf98 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( - 'qui', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'qui', + 'illum', 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..9378a633 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', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'sint', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b9685711..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( - 'error', + 'amet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'error', + '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( - 'error', + 'amet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'error', + '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 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 016c5a77..a3f0d5bb 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('sapiente'); + $result = $this->client->smartLinks->listClicks('dolore'); // @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('architecto'); + $result = $this->client->smartLinks->listConversions('minima'); // @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('magni'); + $result = $this->client->smartLinks->listFans('enim'); // @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('esse'); + $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('ab'); + $result = $this->client->smartLinks->retrieveCohortArps('omnis'); // @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('quod'); + $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 5ddfdef4..bedd1970 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( - 'eum', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'eum', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'eum', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'eum', + 'deserunt', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 1df7d7c2..e6c9a3ae 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', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'qui', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'qui', + 'quia', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'veritatis', 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( - 'libero', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'libero', + 'quis', 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 1811d292..f20f5820 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', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptatem', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptatem', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'ipsum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'ipsum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'placeat', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'placeat', + 'sit', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'laudantium', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'laudantium', + '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 f88b4d74..07619ca8 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: 'fzqezaenenscbqdhjo' + name: 'lwpqwwwqqffdonvikp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'fzqezaenenscbqdhjo' + name: 'lwpqwwwqqffdonvikp' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f38980a7192e8ef2d9fda642de3c7566166461f5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 23 Aug 2026 21:12:58 +0000 Subject: [PATCH 247/256] 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 2ddb459b..1aca34c8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f64ed313defbcde810e1a8d9a094e06799e72d0d1d29c6a0c0e7917f8020642f.yml -openapi_spec_hash: d508d92cc5afbca8b9fb3c20b0fee10b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-02449c7bd0ee06a1b5581c42d74655e56bd85c35f6d15f866331750c288a3221.yml +openapi_spec_hash: 9d4de106d4e6df753ada574f4c637d28 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 8146bc54..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('occaecati'); + $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..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 136abf98..ad01f285 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( - 'illum', + 'maiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'illum', + 'maiores', 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 9378a633..f291fe11 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( - 'sint', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'sint', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'sint', + 'rem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index b6bf7b4e..47c56e75 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', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'amet', + 'nisi', 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', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'amet', + 'nisi', 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 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 a3f0d5bb..8c2ce3e0 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('dolore'); + $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('minima'); + $result = $this->client->smartLinks->listConversions('itaque'); // @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('enim'); + $result = $this->client->smartLinks->listFans('doloremque'); // @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('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('omnis'); + $result = $this->client->smartLinks->retrieveCohortArps('sequi'); // @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('iure'); // @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 bedd1970..809aaa05 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( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'deserunt', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index e6c9a3ae..2d9a92ee 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', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'quia', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'quia', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veritatis', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'veritatis', + '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( - 'quis', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quis', + '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 f20f5820..7b07052a 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'reiciendis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'reiciendis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'reiciendis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'reiciendis', + 'aut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'sit', + 'nisi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'eum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'id', + 'eum', 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 07619ca8..364815eb 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: 'lwpqwwwqqffdonvikp' + name: 'xvntzgfveqrouznemdtwig' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'lwpqwwwqqffdonvikp' + name: 'xvntzgfveqrouznemdtwig' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From b7b91bb3d33a311cd000d31a40d5764cfa9591ab Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 00:13:06 +0000 Subject: [PATCH 248/256] feat(api): api update --- .stats.yml | 4 +- .../MassMessagingRetrieveParams.php | 2 +- .../MassMessagingUpdateParams.php | 2 +- src/Queue/QueueListParams.php | 81 ++++++++++++------- src/Queue/QueueListParams/Type.php | 12 +++ src/ServiceContracts/QueueContract.php | 13 +-- src/Services/MassMessagingRawService.php | 6 +- src/Services/MassMessagingService.php | 6 +- src/Services/QueueRawService.php | 9 ++- src/Services/QueueService.php | 18 +++-- 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 +- tests/Services/QueueTest.php | 4 +- .../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 +- 23 files changed, 148 insertions(+), 101 deletions(-) create mode 100644 src/Queue/QueueListParams/Type.php diff --git a/.stats.yml b/.stats.yml index 1aca34c8..593b3843 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-02449c7bd0ee06a1b5581c42d74655e56bd85c35f6d15f866331750c288a3221.yml -openapi_spec_hash: 9d4de106d4e6df753ada574f4c637d28 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f140a250991f032346b7608fc1537772544176a5415f903ea8c1575bd526f21c.yml +openapi_spec_hash: 8d2af7aeb4b1adf6e44d2314ff7cab03 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/MassMessaging/MassMessagingRetrieveParams.php b/src/MassMessaging/MassMessagingRetrieveParams.php index 7998ca4c..23ea2131 100644 --- a/src/MassMessaging/MassMessagingRetrieveParams.php +++ b/src/MassMessaging/MassMessagingRetrieveParams.php @@ -10,7 +10,7 @@ use OnlyFansAPI\Core\Contracts\BaseModel; /** - * Get the content of a mass message. + * Get the content and settings of a mass message, including a message scheduled for later. * * @see OnlyFansAPI\Services\MassMessagingService::retrieve() * diff --git a/src/MassMessaging/MassMessagingUpdateParams.php b/src/MassMessaging/MassMessagingUpdateParams.php index ded49322..8a94be1e 100644 --- a/src/MassMessaging/MassMessagingUpdateParams.php +++ b/src/MassMessaging/MassMessagingUpdateParams.php @@ -12,7 +12,7 @@ use OnlyFansAPI\MassMessaging\MassMessagingUpdateParams\BlockBannedWords; /** - * Update a mass message. + * Update the content, recipients, media, price, or scheduled send time of an existing mass message. * * @see OnlyFansAPI\Services\MassMessagingService::update() * diff --git a/src/Queue/QueueListParams.php b/src/Queue/QueueListParams.php index 6df9dcdb..271a932e 100644 --- a/src/Queue/QueueListParams.php +++ b/src/Queue/QueueListParams.php @@ -4,18 +4,24 @@ namespace OnlyFansAPI\Queue; +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\Queue\QueueListParams\Type; /** - * List posts and messages in the queue. + * List scheduled posts and mass messages for a date range. Use the type filter to return only posts, messages, or both. * * @see OnlyFansAPI\Services\QueueService::list() * * @phpstan-type QueueListParamsShape = array{ - * limit: int, publishDateEnd: string, publishDateStart: string, timezone: string + * publishDateEnd: string, + * publishDateStart: string, + * timezone: string, + * limit?: int|null, + * type?: list>|null, * } */ final class QueueListParams implements BaseModel @@ -25,44 +31,45 @@ final class QueueListParams implements BaseModel use SdkParams; /** - * Maximum number of queue items to return (default = 20). - */ - #[Required] - public int $limit; - - /** - * Latest publish date to return. + * Latest publish date to return. Must be a valid date. Must be a valid date. Must be a date after or equal to publishDateStart. */ #[Required] public string $publishDateEnd; /** - * Earliest publish date to return (must be at least today). + * Earliest publish date to return (must be at least today). Must be a valid date. Must be a valid date. Must be a date after or equal to today. */ #[Required] public string $publishDateStart; /** - * Time timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). + * Timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). Must be a valid time zone, such as Africa/Accra. */ #[Required] public string $timezone; + /** + * Maximum number of queue items to return (default 20). Must be at least 1. Must not be greater than 100. + */ + #[Optional] + public ?int $limit; + + /** @var list>|null $type */ + #[Optional(list: Type::class)] + public ?array $type; + /** * `new QueueListParams()` is missing required properties by the API. * * To enforce required parameters use * ``` - * QueueListParams::with( - * limit: ..., publishDateEnd: ..., publishDateStart: ..., timezone: ... - * ) + * QueueListParams::with(publishDateEnd: ..., publishDateStart: ..., timezone: ...) * ``` * * Otherwise ensure the following setters are called * * ``` * (new QueueListParams) - * ->withLimit(...) * ->withPublishDateEnd(...) * ->withPublishDateStart(...) * ->withTimezone(...) @@ -77,63 +84,79 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param list>|null $type */ public static function with( - int $limit, string $publishDateEnd, string $publishDateStart, string $timezone, + ?int $limit = null, + ?array $type = null, ): self { $self = new self; - $self['limit'] = $limit; $self['publishDateEnd'] = $publishDateEnd; $self['publishDateStart'] = $publishDateStart; $self['timezone'] = $timezone; + null !== $limit && $self['limit'] = $limit; + null !== $type && $self['type'] = $type; + return $self; } /** - * Maximum number of queue items to return (default = 20). + * Latest publish date to return. Must be a valid date. Must be a valid date. Must be a date after or equal to publishDateStart. */ - public function withLimit(int $limit): self + public function withPublishDateEnd(string $publishDateEnd): self { $self = clone $this; - $self['limit'] = $limit; + $self['publishDateEnd'] = $publishDateEnd; return $self; } /** - * Latest publish date to return. + * Earliest publish date to return (must be at least today). Must be a valid date. Must be a valid date. Must be a date after or equal to today. */ - public function withPublishDateEnd(string $publishDateEnd): self + public function withPublishDateStart(string $publishDateStart): self { $self = clone $this; - $self['publishDateEnd'] = $publishDateEnd; + $self['publishDateStart'] = $publishDateStart; return $self; } /** - * Earliest publish date to return (must be at least today). + * Timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). Must be a valid time zone, such as Africa/Accra. */ - public function withPublishDateStart(string $publishDateStart): self + public function withTimezone(string $timezone): self { $self = clone $this; - $self['publishDateStart'] = $publishDateStart; + $self['timezone'] = $timezone; return $self; } /** - * Time timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). + * Maximum number of queue items to return (default 20). Must be at least 1. Must not be greater than 100. */ - public function withTimezone(string $timezone): self + public function withLimit(int $limit): self { $self = clone $this; - $self['timezone'] = $timezone; + $self['limit'] = $limit; + + return $self; + } + + /** + * @param list> $type + */ + public function withType(array $type): self + { + $self = clone $this; + $self['type'] = $type; return $self; } diff --git a/src/Queue/QueueListParams/Type.php b/src/Queue/QueueListParams/Type.php new file mode 100644 index 00000000..90f3c3ba --- /dev/null +++ b/src/Queue/QueueListParams/Type.php @@ -0,0 +1,12 @@ +publishDateStart. + * @param string $publishDateStart Earliest publish date to return (must be at least today). Must be a valid date. Must be a valid date. Must be a date after or equal to today. + * @param string $timezone Timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). Must be a valid time zone, such as Africa/Accra. + * @param int $limit Maximum number of queue items to return (default 20). Must be at least 1. Must not be greater than 100. + * @param list> $type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function list( string $account, - int $limit, string $publishDateEnd, string $publishDateStart, string $timezone, + ?int $limit = null, + ?array $type = null, RequestOptions|array|null $requestOptions = null, ): QueueListResponse; diff --git a/src/Services/MassMessagingRawService.php b/src/Services/MassMessagingRawService.php index 0f5c250a..82b55020 100644 --- a/src/Services/MassMessagingRawService.php +++ b/src/Services/MassMessagingRawService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get the content of a mass message. + * Get the content and settings of a mass message, including a message scheduled for later. * * @param string $id The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param array{account: string}|MassMessagingRetrieveParams $params @@ -70,7 +70,7 @@ public function retrieve( /** * @api * - * Update a mass message. + * Update the content, recipients, media, price, or scheduled send time of an existing mass message. * * @param string $id Path param: The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param array{ @@ -117,7 +117,7 @@ public function update( /** * @api * - * List the pending or recently sent mass messages in the message queue. + * List pending, scheduled, and recently sent mass messages. Use an item ID to retrieve, update, reschedule, delete, or unsend the message. * * @param string $account The Account ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/MassMessagingService.php b/src/Services/MassMessagingService.php index da1f9086..36653af2 100644 --- a/src/Services/MassMessagingService.php +++ b/src/Services/MassMessagingService.php @@ -38,7 +38,7 @@ public function __construct(private Client $client) /** * @api * - * Get the content of a mass message. + * Get the content and settings of a mass message, including a message scheduled for later. * * @param string $id The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param string $account The Account ID @@ -62,7 +62,7 @@ public function retrieve( /** * @api * - * Update a mass message. + * Update the content, recipients, media, price, or scheduled send time of an existing mass message. * * @param string $id Path param: The ID of the message queue item. Can be retrieved from the above store and list endpoints. * @param string $account Path param: The Account ID @@ -120,7 +120,7 @@ public function update( /** * @api * - * List the pending or recently sent mass messages in the message queue. + * List pending, scheduled, and recently sent mass messages. Use an item ID to retrieve, update, reschedule, delete, or unsend the message. * * @param string $account The Account ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/QueueRawService.php b/src/Services/QueueRawService.php index 60e993a4..6ca392bd 100644 --- a/src/Services/QueueRawService.php +++ b/src/Services/QueueRawService.php @@ -10,6 +10,7 @@ use OnlyFansAPI\Queue\QueueCountParams; use OnlyFansAPI\Queue\QueueCountResponse; use OnlyFansAPI\Queue\QueueListParams; +use OnlyFansAPI\Queue\QueueListParams\Type; use OnlyFansAPI\Queue\QueueListResponse; use OnlyFansAPI\Queue\QueuePublishParams; use OnlyFansAPI\Queue\QueuePublishResponse; @@ -30,11 +31,15 @@ public function __construct(private Client $client) {} /** * @api * - * List posts and messages in the queue. + * List scheduled posts and mass messages for a date range. Use the type filter to return only posts, messages, or both. * * @param string $account The Account ID * @param array{ - * limit: int, publishDateEnd: string, publishDateStart: string, timezone: string + * publishDateEnd: string, + * publishDateStart: string, + * timezone: string, + * limit?: int, + * type?: list>, * }|QueueListParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/QueueService.php b/src/Services/QueueService.php index 77a33467..5de7c088 100644 --- a/src/Services/QueueService.php +++ b/src/Services/QueueService.php @@ -8,6 +8,7 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Core\Util; use OnlyFansAPI\Queue\QueueCountResponse; +use OnlyFansAPI\Queue\QueueListParams\Type; use OnlyFansAPI\Queue\QueueListResponse; use OnlyFansAPI\Queue\QueuePublishResponse; use OnlyFansAPI\RequestOptions; @@ -34,31 +35,34 @@ public function __construct(private Client $client) /** * @api * - * List posts and messages in the queue. + * List scheduled posts and mass messages for a date range. Use the type filter to return only posts, messages, or both. * * @param string $account The Account ID - * @param int $limit Maximum number of queue items to return (default = 20) - * @param string $publishDateEnd Latest publish date to return - * @param string $publishDateStart Earliest publish date to return (must be at least today) - * @param string $timezone Time timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php) + * @param string $publishDateEnd Latest publish date to return. Must be a valid date. Must be a valid date. Must be a date after or equal to publishDateStart. + * @param string $publishDateStart Earliest publish date to return (must be at least today). Must be a valid date. Must be a valid date. Must be a date after or equal to today. + * @param string $timezone Timezone of the provided dates. [View available timezone values](https://www.php.net/manual/en/timezones.php). Must be a valid time zone, such as Africa/Accra. + * @param int $limit Maximum number of queue items to return (default 20). Must be at least 1. Must not be greater than 100. + * @param list> $type * @param RequestOpts|null $requestOptions * * @throws APIException */ public function list( string $account, - int $limit, string $publishDateEnd, string $publishDateStart, string $timezone, + ?int $limit = null, + ?array $type = null, RequestOptions|array|null $requestOptions = null, ): QueueListResponse { $params = Util::removeNulls( [ - 'limit' => $limit, 'publishDateEnd' => $publishDateEnd, 'publishDateStart' => $publishDateStart, 'timezone' => $timezone, + 'limit' => $limit, + 'type' => $type, ], ); diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 384f8ecc..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('quo'); + $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 a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index ad01f285..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( - 'maiores', + 'eos', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'maiores', + '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 f291fe11..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( - 'rem', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'rem', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'rem', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'rem', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 47c56e75..83809929 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( - 'nisi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nisi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nisi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nisi', + 'illum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 68b0197b..10f24495 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -39,7 +39,6 @@ public function testList(): void $result = $this->client->queue->list( 'acct_XXXXXXXXXXXXXXX', - limit: 20, publishDateEnd: '2025-01-01', publishDateStart: '2025-01-01', timezone: 'Europe/Prague', @@ -58,10 +57,11 @@ public function testListWithOptionalParams(): void $result = $this->client->queue->list( 'acct_XXXXXXXXXXXXXXX', - limit: 20, publishDateEnd: '2025-01-01', publishDateStart: '2025-01-01', timezone: 'Europe/Prague', + limit: 20, + type: ['post'], ); // @phpstan-ignore-next-line method.alreadyNarrowedType 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/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 8c2ce3e0..af4592e8 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('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('itaque'); + $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('doloremque'); + $result = $this->client->smartLinks->listFans('velit'); // @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('velit'); // @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('sequi'); + $result = $this->client->smartLinks->retrieveCohortArps('ipsum'); // @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('iure'); + $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 809aaa05..fda042e6 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( - 'aut', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'aut', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'aut', + 'accusamus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 2d9a92ee..c3e4c7a1 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'vel', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'vel', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'vel', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'vel', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'et', + 'ad', 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', + 'ad', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'reiciendis', + 'ad', 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 7b07052a..a5d2d6df 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'aut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'voluptas', + 'dolores', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nisi', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'nisi', + 'consectetur', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'eum', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'eum', + 'consequatur', 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 364815eb..11ddd0fe 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: 'xvntzgfveqrouznemdtwig' + name: 'bdqaozoqrnmisspdfdifh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'xvntzgfveqrouznemdtwig' + name: 'bdqaozoqrnmisspdfdifh' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From eb6fef411733907375939931602381e1d19dd086 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 15:13:05 +0000 Subject: [PATCH 249/256] feat(api): api update --- .stats.yml | 4 +- src/Following/FollowingListActiveParams.php | 55 ++++++++++++++++++- .../FollowingListActiveParams/Sort.php | 19 +++++++ .../SortDirection.php | 15 +++++ src/Following/FollowingListAllParams.php | 55 ++++++++++++++++++- src/Following/FollowingListAllParams/Sort.php | 19 +++++++ .../FollowingListAllParams/SortDirection.php | 15 +++++ src/Following/FollowingListExpiredParams.php | 55 ++++++++++++++++++- .../FollowingListExpiredParams/Sort.php | 19 +++++++ .../SortDirection.php | 15 +++++ src/ServiceContracts/FollowingContract.php | 14 +++++ src/Services/FollowingRawService.php | 19 +++++-- src/Services/FollowingService.php | 26 ++++++++- 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 +- 24 files changed, 363 insertions(+), 57 deletions(-) create mode 100644 src/Following/FollowingListActiveParams/Sort.php create mode 100644 src/Following/FollowingListActiveParams/SortDirection.php create mode 100644 src/Following/FollowingListAllParams/Sort.php create mode 100644 src/Following/FollowingListAllParams/SortDirection.php create mode 100644 src/Following/FollowingListExpiredParams/Sort.php create mode 100644 src/Following/FollowingListExpiredParams/SortDirection.php diff --git a/.stats.yml b/.stats.yml index 593b3843..b12d9a09 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-f140a250991f032346b7608fc1537772544176a5415f903ea8c1575bd526f21c.yml -openapi_spec_hash: 8d2af7aeb4b1adf6e44d2314ff7cab03 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2981bb00d5867ed47941041f5cf03f89c9b8886804df5861b6ced90a57e4b284.yml +openapi_spec_hash: 9bf4bd2681b9df87f9a020cfe5d547a3 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Following/FollowingListActiveParams.php b/src/Following/FollowingListActiveParams.php index c69f79a5..807edd6e 100644 --- a/src/Following/FollowingListActiveParams.php +++ b/src/Following/FollowingListActiveParams.php @@ -9,9 +9,11 @@ use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveParams\Sort; +use OnlyFansAPI\Following\FollowingListActiveParams\SortDirection; /** - * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @see OnlyFansAPI\Services\FollowingService::listActive() * @@ -22,6 +24,8 @@ * limit?: int|null, * offset?: int|null, * query?: string|null, + * sort?: null|Sort|value-of, + * sortDirection?: null|SortDirection|value-of, * } */ final class FollowingListActiveParams implements BaseModel @@ -51,6 +55,22 @@ final class FollowingListActiveParams implements BaseModel #[Optional(nullable: true)] public ?string $query; + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @var value-of|null $sort + */ + #[Optional(enum: Sort::class, nullable: true)] + public ?string $sort; + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @var value-of|null $sortDirection + */ + #[Optional(enum: SortDirection::class, nullable: true)] + public ?string $sortDirection; + public function __construct() { $this->initialize(); @@ -62,12 +82,16 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param Filter|FilterShape|null $filter + * @param Sort|value-of|null $sort + * @param SortDirection|value-of|null $sortDirection */ public static function with( Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, + Sort|string|null $sort = null, + SortDirection|string|null $sortDirection = null, ): self { $self = new self; @@ -75,6 +99,8 @@ public static function with( null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; null !== $query && $self['query'] = $query; + null !== $sort && $self['sort'] = $sort; + null !== $sortDirection && $self['sortDirection'] = $sortDirection; return $self; } @@ -122,4 +148,31 @@ public function withQuery(?string $query): self return $self; } + + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @param Sort|value-of|null $sort + */ + public function withSort(Sort|string|null $sort): self + { + $self = clone $this; + $self['sort'] = $sort; + + return $self; + } + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @param SortDirection|value-of|null $sortDirection + */ + public function withSortDirection( + SortDirection|string|null $sortDirection + ): self { + $self = clone $this; + $self['sortDirection'] = $sortDirection; + + return $self; + } } diff --git a/src/Following/FollowingListActiveParams/Sort.php b/src/Following/FollowingListActiveParams/Sort.php new file mode 100644 index 00000000..dacc1bff --- /dev/null +++ b/src/Following/FollowingListActiveParams/Sort.php @@ -0,0 +1,19 @@ +sortDirection is present. + */ +enum Sort: string +{ + case LAST_ACTIVITY = 'last_activity'; + + case EXPIRE_DATE = 'expire_date'; + + case SUBSCRIBE_DATE = 'subscribe_date'; + + case IS_EXPIRED = 'is_expired'; +} diff --git a/src/Following/FollowingListActiveParams/SortDirection.php b/src/Following/FollowingListActiveParams/SortDirection.php new file mode 100644 index 00000000..a5677daa --- /dev/null +++ b/src/Following/FollowingListActiveParams/SortDirection.php @@ -0,0 +1,15 @@ +, + * sortDirection?: null|SortDirection|value-of, * } */ final class FollowingListAllParams implements BaseModel @@ -51,6 +55,22 @@ final class FollowingListAllParams implements BaseModel #[Optional(nullable: true)] public ?string $query; + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @var value-of|null $sort + */ + #[Optional(enum: Sort::class, nullable: true)] + public ?string $sort; + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @var value-of|null $sortDirection + */ + #[Optional(enum: SortDirection::class, nullable: true)] + public ?string $sortDirection; + public function __construct() { $this->initialize(); @@ -62,12 +82,16 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param Filter|FilterShape|null $filter + * @param Sort|value-of|null $sort + * @param SortDirection|value-of|null $sortDirection */ public static function with( Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, + Sort|string|null $sort = null, + SortDirection|string|null $sortDirection = null, ): self { $self = new self; @@ -75,6 +99,8 @@ public static function with( null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; null !== $query && $self['query'] = $query; + null !== $sort && $self['sort'] = $sort; + null !== $sortDirection && $self['sortDirection'] = $sortDirection; return $self; } @@ -122,4 +148,31 @@ public function withQuery(?string $query): self return $self; } + + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @param Sort|value-of|null $sort + */ + public function withSort(Sort|string|null $sort): self + { + $self = clone $this; + $self['sort'] = $sort; + + return $self; + } + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @param SortDirection|value-of|null $sortDirection + */ + public function withSortDirection( + SortDirection|string|null $sortDirection + ): self { + $self = clone $this; + $self['sortDirection'] = $sortDirection; + + return $self; + } } diff --git a/src/Following/FollowingListAllParams/Sort.php b/src/Following/FollowingListAllParams/Sort.php new file mode 100644 index 00000000..ce2bf3a0 --- /dev/null +++ b/src/Following/FollowingListAllParams/Sort.php @@ -0,0 +1,19 @@ +sortDirection is present. + */ +enum Sort: string +{ + case LAST_ACTIVITY = 'last_activity'; + + case EXPIRE_DATE = 'expire_date'; + + case SUBSCRIBE_DATE = 'subscribe_date'; + + case IS_EXPIRED = 'is_expired'; +} diff --git a/src/Following/FollowingListAllParams/SortDirection.php b/src/Following/FollowingListAllParams/SortDirection.php new file mode 100644 index 00000000..7899b7a9 --- /dev/null +++ b/src/Following/FollowingListAllParams/SortDirection.php @@ -0,0 +1,15 @@ +, + * sortDirection?: null|SortDirection|value-of, * } */ final class FollowingListExpiredParams implements BaseModel @@ -51,6 +55,22 @@ final class FollowingListExpiredParams implements BaseModel #[Optional(nullable: true)] public ?string $query; + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @var value-of|null $sort + */ + #[Optional(enum: Sort::class, nullable: true)] + public ?string $sort; + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @var value-of|null $sortDirection + */ + #[Optional(enum: SortDirection::class, nullable: true)] + public ?string $sortDirection; + public function __construct() { $this->initialize(); @@ -62,12 +82,16 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param Filter|FilterShape|null $filter + * @param Sort|value-of|null $sort + * @param SortDirection|value-of|null $sortDirection */ public static function with( Filter|array|null $filter = null, ?int $limit = null, ?int $offset = null, ?string $query = null, + Sort|string|null $sort = null, + SortDirection|string|null $sortDirection = null, ): self { $self = new self; @@ -75,6 +99,8 @@ public static function with( null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; null !== $query && $self['query'] = $query; + null !== $sort && $self['sort'] = $sort; + null !== $sortDirection && $self['sortDirection'] = $sortDirection; return $self; } @@ -122,4 +148,31 @@ public function withQuery(?string $query): self return $self; } + + /** + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * + * @param Sort|value-of|null $sort + */ + public function withSort(Sort|string|null $sort): self + { + $self = clone $this; + $self['sort'] = $sort; + + return $self; + } + + /** + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * + * @param SortDirection|value-of|null $sortDirection + */ + public function withSortDirection( + SortDirection|string|null $sortDirection + ): self { + $self = clone $this; + $self['sortDirection'] = $sortDirection; + + return $self; + } } diff --git a/src/Following/FollowingListExpiredParams/Sort.php b/src/Following/FollowingListExpiredParams/Sort.php new file mode 100644 index 00000000..201982fa --- /dev/null +++ b/src/Following/FollowingListExpiredParams/Sort.php @@ -0,0 +1,19 @@ +sortDirection is present. + */ +enum Sort: string +{ + case LAST_ACTIVITY = 'last_activity'; + + case EXPIRE_DATE = 'expire_date'; + + case SUBSCRIBE_DATE = 'subscribe_date'; + + case IS_EXPIRED = 'is_expired'; +} diff --git a/src/Following/FollowingListExpiredParams/SortDirection.php b/src/Following/FollowingListExpiredParams/SortDirection.php new file mode 100644 index 00000000..5daf33f2 --- /dev/null +++ b/src/Following/FollowingListExpiredParams/SortDirection.php @@ -0,0 +1,15 @@ +|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -37,6 +41,8 @@ public function listActive( ?int $limit = null, ?int $offset = null, ?string $query = null, + Sort|string|null $sort = null, + SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListActiveResponse; @@ -48,6 +54,8 @@ public function listActive( * @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 + * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -58,6 +66,8 @@ public function listAll( ?int $limit = null, ?int $offset = null, ?string $query = null, + \OnlyFansAPI\Following\FollowingListAllParams\Sort|string|null $sort = null, + \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListAllResponse; @@ -69,6 +79,8 @@ public function listAll( * @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 + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -79,6 +91,8 @@ public function listExpired( ?int $limit = null, ?int $offset = null, ?string $query = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|string|null $sort = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListExpiredResponse; } diff --git a/src/Services/FollowingRawService.php b/src/Services/FollowingRawService.php index 7760a91c..803b1621 100644 --- a/src/Services/FollowingRawService.php +++ b/src/Services/FollowingRawService.php @@ -9,6 +9,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Following\FollowingListActiveParams; use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveParams\Sort; +use OnlyFansAPI\Following\FollowingListActiveParams\SortDirection; use OnlyFansAPI\Following\FollowingListActiveResponse; use OnlyFansAPI\Following\FollowingListAllParams; use OnlyFansAPI\Following\FollowingListAllResponse; @@ -36,11 +38,16 @@ public function __construct(private Client $client) {} /** * @api * - * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @param array{ - * filter?: Filter|FilterShape, limit?: int, offset?: int, query?: string|null + * filter?: Filter|FilterShape, + * limit?: int, + * offset?: int, + * query?: string|null, + * sort?: Sort|value-of|null, + * sortDirection?: SortDirection|value-of|null, * }|FollowingListActiveParams $params * @param RequestOpts|null $requestOptions * @@ -71,7 +78,7 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @param array{ @@ -79,6 +86,8 @@ public function listActive( * limit?: int, * offset?: int, * query?: string|null, + * sort?: FollowingListAllParams\Sort|value-of|null, + * sortDirection?: FollowingListAllParams\SortDirection|value-of|null, * }|FollowingListAllParams $params * @param RequestOpts|null $requestOptions * @@ -109,7 +118,7 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @param array{ @@ -117,6 +126,8 @@ public function listAll( * limit?: int, * offset?: int, * query?: string|null, + * sort?: FollowingListExpiredParams\Sort|value-of|null, + * sortDirection?: FollowingListExpiredParams\SortDirection|value-of|null, * }|FollowingListExpiredParams $params * @param RequestOpts|null $requestOptions * diff --git a/src/Services/FollowingService.php b/src/Services/FollowingService.php index 77674177..f2e10496 100644 --- a/src/Services/FollowingService.php +++ b/src/Services/FollowingService.php @@ -8,6 +8,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\Core\Util; use OnlyFansAPI\Following\FollowingListActiveParams\Filter; +use OnlyFansAPI\Following\FollowingListActiveParams\Sort; +use OnlyFansAPI\Following\FollowingListActiveParams\SortDirection; use OnlyFansAPI\Following\FollowingListActiveResponse; use OnlyFansAPI\Following\FollowingListAllResponse; use OnlyFansAPI\Following\FollowingListExpiredResponse; @@ -40,13 +42,15 @@ public function __construct(private Client $client) /** * @api * - * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @param Filter|FilterShape $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 + * @param Sort|value-of|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -57,6 +61,8 @@ public function listActive( ?int $limit = null, ?int $offset = null, ?string $query = null, + Sort|string|null $sort = null, + SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListActiveResponse { $params = Util::removeNulls( @@ -65,6 +71,8 @@ public function listActive( 'limit' => $limit, 'offset' => $offset, 'query' => $query, + 'sort' => $sort, + 'sortDirection' => $sortDirection, ], ); @@ -77,13 +85,15 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @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 + * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -94,6 +104,8 @@ public function listAll( ?int $limit = null, ?int $offset = null, ?string $query = null, + \OnlyFansAPI\Following\FollowingListAllParams\Sort|string|null $sort = null, + \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListAllResponse { $params = Util::removeNulls( @@ -102,6 +114,8 @@ public function listAll( 'limit' => $limit, 'offset' => $offset, 'query' => $query, + 'sort' => $sort, + 'sortDirection' => $sortDirection, ], ); @@ -114,13 +128,15 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. * * @param string $account The Account ID * @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 + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -131,6 +147,8 @@ public function listExpired( ?int $limit = null, ?int $offset = null, ?string $query = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|string|null $sort = null, + \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|string|null $sortDirection = null, RequestOptions|array|null $requestOptions = null, ): FollowingListExpiredResponse { $params = Util::removeNulls( @@ -139,6 +157,8 @@ public function listExpired( 'limit' => $limit, 'offset' => $offset, 'query' => $query, + 'sort' => $sort, + 'sortDirection' => $sortDirection, ], ); diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index bf95eefe..6cc6801c 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('cupiditate'); // @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..3b2a0ed6 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', + 'veritatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'eos', + 'veritatis', 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..f0261f6a 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', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'consequatur', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'consequatur', + 'necessitatibus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 83809929..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( - 'illum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'illum', + '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( - 'illum', + 'est', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'illum', + '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..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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index af4592e8..9227f37c 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('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('ut'); + $result = $this->client->smartLinks->listConversions('nam'); // @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('velit'); + $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('velit'); + $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('ipsum'); + $result = $this->client->smartLinks->retrieveCohortArps('repellat'); // @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('ad'); // @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 fda042e6..e6d13e5a 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( - 'accusamus', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'accusamus', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'accusamus', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'accusamus', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index c3e4c7a1..37d31915 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'dolorum', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ad', + 'corrupti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'ad', + 'corrupti', 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( - 'ad', + 'totam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'ad', + 'totam', 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 a5d2d6df..54ccab03 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'qui', + 'voluptates', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolores', + 'cum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'consectetur', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'consectetur', + 'laudantium', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequatur', + 'libero', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'consequatur', + 'libero', 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 11ddd0fe..0b4deff3 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: 'bdqaozoqrnmisspdfdifh' + name: 'ffckfyolvlbkmim' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'bdqaozoqrnmisspdfdifh' + name: 'ffckfyolvlbkmim' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From f058df5963a4022f4f4cbf73dcb4817097fe9afe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 25 Aug 2026 16:13:14 +0000 Subject: [PATCH 250/256] 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 +++++----- tests/Services/QueueTest.php | 2 +- .../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 b12d9a09..ebf847c6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-2981bb00d5867ed47941041f5cf03f89c9b8886804df5861b6ced90a57e4b284.yml -openapi_spec_hash: 9bf4bd2681b9df87f9a020cfe5d547a3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e51a86ed2d022a357a3c23d6131e7ef5dc02e6eed7938a2194636c0af981b1a2.yml +openapi_spec_hash: 6193cd485cc05096d76def90c29701a0 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 6cc6801c..1306b456 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('cupiditate'); + $result = $this->client->accounts->disconnect('excepturi'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 3b2a0ed6..4e7c47e6 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( - 'veritatis', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'veritatis', + 'asperiores', 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 f0261f6a..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( - 'necessitatibus', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'necessitatibus', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'necessitatibus', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'necessitatibus', + 'autem', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index cca4f113..1a254769 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', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'est', + 'eveniet', 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', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'est', + 'eveniet', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, - sort: 'desc' + sort: 'desc', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 10f24495..7472c036 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -61,7 +61,7 @@ public function testListWithOptionalParams(): void publishDateStart: '2025-01-01', timezone: 'Europe/Prague', limit: 20, - type: ['post'], + type: ['chat'], ); // @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 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 9227f37c..e9ac9c25 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('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('nam'); + $result = $this->client->smartLinks->listConversions('quia'); // @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('tempora'); // @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('rerum'); // @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('repellat'); + $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('ad'); + $result = $this->client->smartLinks->retrieveStats('quibusdam'); // @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 e6d13e5a..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( - 'natus', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'natus', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'natus', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'natus', + 'et', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 37d31915..24382c21 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', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'et', + 'similique', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'corrupti', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'corrupti', + 'quis', 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( - 'totam', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'totam', + 'quaerat', 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 54ccab03..f1144f99 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'voluptates', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'voluptates', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'voluptates', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'voluptates', + 'delectus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'cum', + 'impedit', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laudantium', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'laudantium', + 'possimus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'libero', + 'error', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'libero', + 'error', 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 0b4deff3..a1862f8c 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: 'ffckfyolvlbkmim' + name: 'sqofdvxjl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'ffckfyolvlbkmim' + name: 'sqofdvxjl' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 609a680017f503e0daf35e6f328c9ad7d25b3ffa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 05:13:07 +0000 Subject: [PATCH 251/256] 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/QueueTest.php | 2 +- 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, 41 insertions(+), 41 deletions(-) diff --git a/.stats.yml b/.stats.yml index ebf847c6..2282b87f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-e51a86ed2d022a357a3c23d6131e7ef5dc02e6eed7938a2194636c0af981b1a2.yml -openapi_spec_hash: 6193cd485cc05096d76def90c29701a0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0f5b27a377922abdbb2e57feb12601f2d92833cefaad9e301ad09a9972ea72c2.yml +openapi_spec_hash: 57c96cc1e38a5988580696892c0ce585 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 1306b456..0dd17c01 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('excepturi'); + $result = $this->client->accounts->disconnect('incidunt'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index 8a04ad87..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4e7c47e6..e5513160 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( - 'asperiores', + 'tempora', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'asperiores', + 'tempora', 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..be3dfd32 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', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'autem', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'autem', + 'ducimus', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 7472c036..10f24495 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -61,7 +61,7 @@ public function testListWithOptionalParams(): void publishDateStart: '2025-01-01', timezone: 'Europe/Prague', limit: 20, - type: ['chat'], + type: ['post'], ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index e9ac9c25..90a8306b 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('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('quia'); + $result = $this->client->smartLinks->listConversions('voluptatum'); // @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('tempora'); + $result = $this->client->smartLinks->listFans('nulla'); // @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('rerum'); + $result = $this->client->smartLinks->listSpenders('soluta'); // @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('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('quibusdam'); + $result = $this->client->smartLinks->retrieveStats('velit'); // @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..590c31cd 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', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'et', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'et', + 'laboriosam', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 24382c21..559f5029 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'similique', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'similique', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'similique', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'similique', + 'perspiciatis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + 'iste', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + 'iste', 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( - 'quaerat', + 'tempore', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'quaerat', + '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 f1144f99..78449ba5 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'delectus', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'delectus', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'delectus', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'delectus', + 'earum', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'impedit', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'impedit', + 'quos', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'possimus', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'error', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'error', + 'enim', 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 a1862f8c..5f25e765 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: 'sqofdvxjl' + name: 'kdgreiataph' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'sqofdvxjl' + name: 'kdgreiataph' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 12e96984e9fbf5abf8a15bf8435e848277564c11 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 06:13:06 +0000 Subject: [PATCH 252/256] feat(api): api update --- .stats.yml | 4 +- src/DataExports/DataExportCreateParams.php | 16 +-- .../DataExportCreateParams/FileType.php | 2 +- .../DataExportCreateParams/Type.php | 4 +- src/DataExports/DataExportListParams/Type.php | 2 + src/Media/Vault/Lists/ListListParams.php | 37 ++++- src/Media/Vault/Lists/ListListResponse.php | 77 +++------- .../Lists/ListListResponse/UnionMember0.php | 80 +++++++++++ .../{ => UnionMember0}/Data.php | 10 +- .../{ => UnionMember0}/Data/All.php | 6 +- .../{ => UnionMember0}/Data/All/Media.php | 2 +- .../{ => UnionMember0}/Data/List_.php | 2 +- .../{ => UnionMember0}/_Meta.php | 14 +- .../{ => UnionMember0}/_Meta/_Cache.php | 2 +- .../{ => UnionMember0}/_Meta/_Credits.php | 2 +- .../{ => UnionMember0}/_Meta/_RateLimits.php | 2 +- .../Lists/ListListResponse/UnionMember1.php | 80 +++++++++++ .../ListListResponse/UnionMember1/Data.php | 136 ++++++++++++++++++ .../UnionMember1/Data/All.php | 48 +++++++ .../UnionMember1/Data/List_.php | 107 ++++++++++++++ .../ListListResponse/UnionMember1/_Meta.php | 99 +++++++++++++ .../UnionMember1/_Meta/_Cache.php | 62 ++++++++ .../UnionMember1/_Meta/_Credits.php | 77 ++++++++++ .../UnionMember1/_Meta/_RateLimits.php | 93 ++++++++++++ src/ServiceContracts/DataExportsContract.php | 8 +- .../Media/Vault/ListsContract.php | 7 +- .../Media/Vault/ListsRawContract.php | 5 +- src/Services/DataExportsService.php | 8 +- src/Services/Media/Vault/ListsRawService.php | 19 ++- src/Services/Media/Vault/ListsService.php | 25 +++- 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 | 3 +- 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 +- 43 files changed, 971 insertions(+), 160 deletions(-) create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember0.php rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/Data.php (90%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/Data/All.php (92%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/Data/All/Media.php (93%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/Data/List_.php (98%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/_Meta.php (83%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/_Meta/_Cache.php (94%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/_Meta/_Credits.php (95%) rename src/Media/Vault/Lists/ListListResponse/{ => UnionMember0}/_Meta/_RateLimits.php (96%) create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/Data.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/All.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/List_.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Cache.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Credits.php create mode 100644 src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_RateLimits.php diff --git a/.stats.yml b/.stats.yml index 2282b87f..410df9e4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0f5b27a377922abdbb2e57feb12601f2d92833cefaad9e301ad09a9972ea72c2.yml -openapi_spec_hash: 57c96cc1e38a5988580696892c0ce585 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5b7eaf3aea520bc245be9b93991257f9c1b5ad2ebad57eb17e80ac97fbdc66a4.yml +openapi_spec_hash: c6cfa0dc8655e915bd8f945d84121803 config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/DataExports/DataExportCreateParams.php b/src/DataExports/DataExportCreateParams.php index be2b6c42..67c30920 100644 --- a/src/DataExports/DataExportCreateParams.php +++ b/src/DataExports/DataExportCreateParams.php @@ -41,7 +41,7 @@ final class DataExportCreateParams implements BaseModel public string $endDate; /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, fansly_chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * * @var value-of $fileType */ @@ -55,7 +55,7 @@ final class DataExportCreateParams implements BaseModel public string $startDate; /** - * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. + * The type of data to export. Use `fansly_chat_messages` to export Fansly chat messages (all other types are OnlyFans). `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * * @var value-of $type */ @@ -63,7 +63,7 @@ final class DataExportCreateParams implements BaseModel public string $type; /** - * Array of account prefixed IDs to export data from. Not required for `public_profiles` type. + * Array of account prefixed IDs to export data from. Not required for `public_profiles` type. For `fansly_chat_messages`, pass Fansly account prefixed IDs (`fansly_acct_...`); all other types take OnlyFans account IDs. * * @var list|null $accountIDs */ @@ -85,7 +85,7 @@ final class DataExportCreateParams implements BaseModel public ?array $exportColumns; /** - * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `fansly_chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `chatIds` (optional array of Fansly group ID strings; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * * @var array|null $options */ @@ -165,7 +165,7 @@ public function withEndDate(string $endDate): self } /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, fansly_chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * * @param FileType|value-of $fileType */ @@ -189,7 +189,7 @@ public function withStartDate(string $startDate): self } /** - * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. + * The type of data to export. Use `fansly_chat_messages` to export Fansly chat messages (all other types are OnlyFans). `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. * * @param Type|value-of $type */ @@ -202,7 +202,7 @@ public function withType(Type|string $type): self } /** - * Array of account prefixed IDs to export data from. Not required for `public_profiles` type. + * Array of account prefixed IDs to export data from. Not required for `public_profiles` type. For `fansly_chat_messages`, pass Fansly account prefixed IDs (`fansly_acct_...`); all other types take OnlyFans account IDs. * * @param list $accountIDs */ @@ -239,7 +239,7 @@ public function withExportColumns(array $exportColumns): self } /** - * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `fansly_chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `chatIds` (optional array of Fansly group ID strings; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * * @param array $options */ diff --git a/src/DataExports/DataExportCreateParams/FileType.php b/src/DataExports/DataExportCreateParams/FileType.php index 7050bf2a..df690ba5 100644 --- a/src/DataExports/DataExportCreateParams/FileType.php +++ b/src/DataExports/DataExportCreateParams/FileType.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\DataExports\DataExportCreateParams; /** - * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. + * The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, fansly_chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. */ enum FileType: string { diff --git a/src/DataExports/DataExportCreateParams/Type.php b/src/DataExports/DataExportCreateParams/Type.php index a3ad1fd7..908b8a64 100644 --- a/src/DataExports/DataExportCreateParams/Type.php +++ b/src/DataExports/DataExportCreateParams/Type.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\DataExports\DataExportCreateParams; /** - * The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. + * The type of data to export. Use `fansly_chat_messages` to export Fansly chat messages (all other types are OnlyFans). `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. */ enum Type: string { @@ -32,4 +32,6 @@ enum Type: string case FOLLOWINGS = 'followings'; case PROFILE_VISITORS = 'profile_visitors'; + + case FANSLY_CHAT_MESSAGES = 'fansly_chat_messages'; } diff --git a/src/DataExports/DataExportListParams/Type.php b/src/DataExports/DataExportListParams/Type.php index 81c99ae0..9a10e931 100644 --- a/src/DataExports/DataExportListParams/Type.php +++ b/src/DataExports/DataExportListParams/Type.php @@ -32,4 +32,6 @@ enum Type: string case FOLLOWINGS = 'followings'; case PROFILE_VISITORS = 'profile_visitors'; + + case FANSLY_CHAT_MESSAGES = 'fansly_chat_messages'; } diff --git a/src/Media/Vault/Lists/ListListParams.php b/src/Media/Vault/Lists/ListListParams.php index 8c9303bc..61b06b8a 100644 --- a/src/Media/Vault/Lists/ListListParams.php +++ b/src/Media/Vault/Lists/ListListParams.php @@ -12,10 +12,24 @@ /** * List your Vault lists (categories). * + * Every response carries an `ETag` computed over the `data` payload. Send it back as `If-None-Match` on your next + * call and you will get a `304 Not Modified` with an empty body when nothing changed, so you can keep serving your + * cached copy instead of re-parsing the full list. Credits are debited either way — we still have to ask OnlyFans + * for the current state to know whether it changed. + * + * The `ETag` covers `data` only, never `_meta` — your credits balance changes on every call, so including it would + * mean the `ETag` never matches. Because a `304` has no body, it also has no `_meta`: read the current credits and + * rate-limit counters from the `X-OFAPI-Credits-Used`, `X-OFAPI-Credits-Balance`, `X-Rate-Limit-Limit-Minute` and + * `X-Rate-Limit-Remaining-Minute` response headers, which are sent on `304` responses too. The `_meta` inside a + * body you cached earlier is stale by definition. + * * @see OnlyFansAPI\Services\Media\Vault\ListsService::list() * * @phpstan-type ListListParamsShape = array{ - * limit?: int|null, offset?: int|null, query?: string|null + * lightweight?: bool|null, + * limit?: int|null, + * offset?: int|null, + * query?: string|null, * } */ final class ListListParams implements BaseModel @@ -24,6 +38,12 @@ final class ListListParams implements BaseModel use SdkModel; use SdkParams; + /** + * Set to `true` to return only `id`, `name`, `type`, `canUpdate` and a rolled-up `mediaCount` per list, dropping the `medias` previews. Much smaller payload — ideal for rendering a folder picker. Default: `false`. + */ + #[Optional] + public ?bool $lightweight; + /** * Number of media to return per page. Default: `24`. */ @@ -53,12 +73,14 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. */ public static function with( + ?bool $lightweight = null, ?int $limit = null, ?int $offset = null, - ?string $query = null + ?string $query = null, ): self { $self = new self; + null !== $lightweight && $self['lightweight'] = $lightweight; null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; null !== $query && $self['query'] = $query; @@ -66,6 +88,17 @@ public static function with( return $self; } + /** + * Set to `true` to return only `id`, `name`, `type`, `canUpdate` and a rolled-up `mediaCount` per list, dropping the `medias` previews. Much smaller payload — ideal for rendering a folder picker. Default: `false`. + */ + public function withLightweight(bool $lightweight): self + { + $self = clone $this; + $self['lightweight'] = $lightweight; + + return $self; + } + /** * Number of media to return per page. Default: `24`. */ diff --git a/src/Media/Vault/Lists/ListListResponse.php b/src/Media/Vault/Lists/ListListResponse.php index 6e6ac0f2..a7e4817d 100644 --- a/src/Media/Vault/Lists/ListListResponse.php +++ b/src/Media/Vault/Lists/ListListResponse.php @@ -4,75 +4,30 @@ 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\Concerns\SdkUnion; +use OnlyFansAPI\Core\Conversion\Contracts\Converter; +use OnlyFansAPI\Core\Conversion\Contracts\ConverterSource; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1; /** - * @phpstan-import-type _MetaShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta - * @phpstan-import-type DataShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data + * Success. * - * @phpstan-type ListListResponseShape = array{ - * _meta?: null|_Meta|_MetaShape, data?: null|Data|DataShape - * } + * @phpstan-import-type UnionMember0Shape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0 + * @phpstan-import-type UnionMember1Shape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1 + * + * @phpstan-type ListListResponseVariants = UnionMember0|UnionMember1 + * @phpstan-type ListListResponseShape = ListListResponseVariants|UnionMember0Shape|UnionMember1Shape */ -final class ListListResponse implements BaseModel +final class ListListResponse implements ConverterSource { - /** @use SdkModel */ - use SdkModel; - - #[Optional] - public ?_Meta $_meta; - - #[Optional] - public ?Data $data; - - public function __construct() - { - $this->initialize(); - } + use SdkUnion; /** - * Construct an instance from the required parameters. - * - * You must use named parameters to construct any parameters with a default value. - * - * @param _Meta|_MetaShape|null $_meta - * @param Data|DataShape|null $data + * @return list|array */ - public static function with( - _Meta|array|null $_meta = null, - Data|array|null $data = null - ): self { - $self = new self; - - null !== $_meta && $self['_meta'] = $_meta; - null !== $data && $self['data'] = $data; - - return $self; - } - - /** - * @param _Meta|_MetaShape $_meta - */ - public function withMeta(_Meta|array $_meta): self + public static function variants(): array { - $self = clone $this; - $self['_meta'] = $_meta; - - return $self; - } - - /** - * @param Data|DataShape $data - */ - public function withData(Data|array $data): self - { - $self = clone $this; - $self['data'] = $data; - - return $self; + return [UnionMember0::class, UnionMember1::class]; } } diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember0.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0.php new file mode 100644 index 00000000..f3efb8e0 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0.php @@ -0,0 +1,80 @@ + */ + use SdkModel; + + #[Optional] + public ?_Meta $_meta; + + #[Optional] + public ?Data $data; + + 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 _Meta|_MetaShape|null $_meta + * @param Data|DataShape|null $data + */ + public static function with( + _Meta|array|null $_meta = null, + Data|array|null $data = null + ): self { + $self = new self; + + null !== $_meta && $self['_meta'] = $_meta; + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param _Meta|_MetaShape $_meta + */ + public function withMeta(_Meta|array $_meta): self + { + $self = clone $this; + $self['_meta'] = $_meta; + + return $self; + } + + /** + * @param Data|DataShape $data + */ + public function withData(Data|array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/Data.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data.php similarity index 90% rename from src/Media/Vault/Lists/ListListResponse/Data.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/Data.php index cb7a8887..958c12a9 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0; 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\Media\Vault\Lists\ListListResponse\UnionMember0\Data\All; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\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\UnionMember0\Data\All + * @phpstan-import-type ListShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\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/UnionMember0/Data/All.php similarity index 92% rename from src/Media/Vault/Lists/ListListResponse/Data/All.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/All.php index 290eac77..a133282c 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/All.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/All.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\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\Media\Vault\Lists\ListListResponse\UnionMember0\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\UnionMember0\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/UnionMember0/Data/All/Media.php similarity index 93% rename from src/Media/Vault/Lists/ListListResponse/Data/All/Media.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/All/Media.php index be390035..a1ce09f9 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/All/Media.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/All/Media.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data\All; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\Data\All; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/Media/Vault/Lists/ListListResponse/Data/List_.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/List_.php similarity index 98% rename from src/Media/Vault/Lists/ListListResponse/Data/List_.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/List_.php index 6b396cd1..365507cc 100644 --- a/src/Media/Vault/Lists/ListListResponse/Data/List_.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/Data/List_.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\Data; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\Data; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta.php similarity index 83% rename from src/Media/Vault/Lists/ListListResponse/_Meta.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta.php index 21eda85d..4370c39b 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0; 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\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta\_Cache; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta\_Credits; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_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\UnionMember0\_Meta\_Cache + * @phpstan-import-type _CreditsShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta\_Credits + * @phpstan-import-type _RateLimitsShape from \OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_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/UnionMember0/_Meta/_Cache.php similarity index 94% rename from src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_Cache.php index 389015c8..ebef386e 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_Cache.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_Cache.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_Credits.php similarity index 95% rename from src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_Credits.php index cddb33e9..79fdbfff 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_Credits.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_Credits.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_RateLimits.php similarity index 96% rename from src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php rename to src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_RateLimits.php index 2a0e59a0..e4cb305c 100644 --- a/src/Media/Vault/Lists/ListListResponse/_Meta/_RateLimits.php +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember0/_Meta/_RateLimits.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\_Meta; +namespace OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0\_Meta; use OnlyFansAPI\Core\Attributes\Optional; use OnlyFansAPI\Core\Concerns\SdkModel; diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1.php new file mode 100644 index 00000000..9203a863 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1.php @@ -0,0 +1,80 @@ + */ + use SdkModel; + + #[Optional] + public ?_Meta $_meta; + + #[Optional] + public ?Data $data; + + 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 _Meta|_MetaShape|null $_meta + * @param Data|DataShape|null $data + */ + public static function with( + _Meta|array|null $_meta = null, + Data|array|null $data = null + ): self { + $self = new self; + + null !== $_meta && $self['_meta'] = $_meta; + null !== $data && $self['data'] = $data; + + return $self; + } + + /** + * @param _Meta|_MetaShape $_meta + */ + public function withMeta(_Meta|array $_meta): self + { + $self = clone $this; + $self['_meta'] = $_meta; + + return $self; + } + + /** + * @param Data|DataShape $data + */ + public function withData(Data|array $data): self + { + $self = clone $this; + $self['data'] = $data; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data.php new file mode 100644 index 00000000..5cf175ac --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data.php @@ -0,0 +1,136 @@ +|null, + * order?: string|null, + * sort?: string|null, + * } + */ +final class Data implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + #[Optional] + public ?All $all; + + #[Optional] + public ?bool $canCreateVaultLists; + + #[Optional] + public ?bool $hasMore; + + /** @var list|null $list */ + #[Optional(list: List_::class)] + public ?array $list; + + #[Optional] + public ?string $order; + + #[Optional] + public ?string $sort; + + 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 All|AllShape|null $all + * @param list|null $list + */ + public static function with( + All|array|null $all = null, + ?bool $canCreateVaultLists = null, + ?bool $hasMore = null, + ?array $list = null, + ?string $order = null, + ?string $sort = null, + ): self { + $self = new self; + + null !== $all && $self['all'] = $all; + null !== $canCreateVaultLists && $self['canCreateVaultLists'] = $canCreateVaultLists; + null !== $hasMore && $self['hasMore'] = $hasMore; + null !== $list && $self['list'] = $list; + null !== $order && $self['order'] = $order; + null !== $sort && $self['sort'] = $sort; + + return $self; + } + + /** + * @param All|AllShape $all + */ + public function withAll(All|array $all): self + { + $self = clone $this; + $self['all'] = $all; + + return $self; + } + + public function withCanCreateVaultLists(bool $canCreateVaultLists): self + { + $self = clone $this; + $self['canCreateVaultLists'] = $canCreateVaultLists; + + return $self; + } + + public function withHasMore(bool $hasMore): self + { + $self = clone $this; + $self['hasMore'] = $hasMore; + + return $self; + } + + /** + * @param list $list + */ + public function withList(array $list): self + { + $self = clone $this; + $self['list'] = $list; + + return $self; + } + + public function withOrder(string $order): self + { + $self = clone $this; + $self['order'] = $order; + + return $self; + } + + public function withSort(string $sort): self + { + $self = clone $this; + $self['sort'] = $sort; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/All.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/All.php new file mode 100644 index 00000000..3c94f3c1 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/All.php @@ -0,0 +1,48 @@ + */ + use SdkModel; + + #[Optional] + public ?int $mediaCount; + + 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(?int $mediaCount = null): self + { + $self = new self; + + null !== $mediaCount && $self['mediaCount'] = $mediaCount; + + return $self; + } + + public function withMediaCount(int $mediaCount): self + { + $self = clone $this; + $self['mediaCount'] = $mediaCount; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/List_.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/List_.php new file mode 100644 index 00000000..a6342943 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/Data/List_.php @@ -0,0 +1,107 @@ + */ + use SdkModel; + + #[Optional] + public ?int $id; + + #[Optional] + public ?bool $canUpdate; + + #[Optional] + public ?int $mediaCount; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $type; + + 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( + ?int $id = null, + ?bool $canUpdate = null, + ?int $mediaCount = null, + ?string $name = null, + ?string $type = null, + ): self { + $self = new self; + + null !== $id && $self['id'] = $id; + null !== $canUpdate && $self['canUpdate'] = $canUpdate; + null !== $mediaCount && $self['mediaCount'] = $mediaCount; + null !== $name && $self['name'] = $name; + null !== $type && $self['type'] = $type; + + return $self; + } + + public function withID(int $id): self + { + $self = clone $this; + $self['id'] = $id; + + return $self; + } + + public function withCanUpdate(bool $canUpdate): self + { + $self = clone $this; + $self['canUpdate'] = $canUpdate; + + return $self; + } + + public function withMediaCount(int $mediaCount): self + { + $self = clone $this; + $self['mediaCount'] = $mediaCount; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta.php new file mode 100644 index 00000000..b4ac157f --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta.php @@ -0,0 +1,99 @@ + */ + use SdkModel; + + #[Optional] + public ?_Cache $_cache; + + #[Optional] + public ?_Credits $_credits; + + #[Optional('_rate_limits')] + public ?_RateLimits $_rateLimits; + + 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 _Cache|_CacheShape|null $_cache + * @param _Credits|_CreditsShape|null $_credits + * @param _RateLimits|_RateLimitsShape|null $_rateLimits + */ + public static function with( + _Cache|array|null $_cache = null, + _Credits|array|null $_credits = null, + _RateLimits|array|null $_rateLimits = null, + ): self { + $self = new self; + + null !== $_cache && $self['_cache'] = $_cache; + null !== $_credits && $self['_credits'] = $_credits; + null !== $_rateLimits && $self['_rateLimits'] = $_rateLimits; + + return $self; + } + + /** + * @param _Cache|_CacheShape $_cache + */ + public function withCache(_Cache|array $_cache): self + { + $self = clone $this; + $self['_cache'] = $_cache; + + return $self; + } + + /** + * @param _Credits|_CreditsShape $_credits + */ + public function withCredits(_Credits|array $_credits): self + { + $self = clone $this; + $self['_credits'] = $_credits; + + return $self; + } + + /** + * @param _RateLimits|_RateLimitsShape $_rateLimits + */ + public function withRateLimits(_RateLimits|array $_rateLimits): self + { + $self = clone $this; + $self['_rateLimits'] = $_rateLimits; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Cache.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Cache.php new file mode 100644 index 00000000..0c6a0170 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Cache.php @@ -0,0 +1,62 @@ + */ + use SdkModel; + + #[Optional('is_cached')] + public ?bool $isCached; + + #[Optional] + public ?string $note; + + 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( + ?bool $isCached = null, + ?string $note = null + ): self { + $self = new self; + + null !== $isCached && $self['isCached'] = $isCached; + null !== $note && $self['note'] = $note; + + return $self; + } + + public function withIsCached(bool $isCached): self + { + $self = clone $this; + $self['isCached'] = $isCached; + + return $self; + } + + public function withNote(string $note): self + { + $self = clone $this; + $self['note'] = $note; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Credits.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Credits.php new file mode 100644 index 00000000..b49aeaa8 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_Credits.php @@ -0,0 +1,77 @@ + */ + use SdkModel; + + #[Optional] + public ?int $balance; + + #[Optional] + public ?string $note; + + #[Optional] + public ?int $used; + + 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( + ?int $balance = null, + ?string $note = null, + ?int $used = null + ): self { + $self = new self; + + null !== $balance && $self['balance'] = $balance; + null !== $note && $self['note'] = $note; + null !== $used && $self['used'] = $used; + + return $self; + } + + public function withBalance(int $balance): self + { + $self = clone $this; + $self['balance'] = $balance; + + return $self; + } + + public function withNote(string $note): self + { + $self = clone $this; + $self['note'] = $note; + + return $self; + } + + public function withUsed(int $used): self + { + $self = clone $this; + $self['used'] = $used; + + return $self; + } +} diff --git a/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_RateLimits.php b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_RateLimits.php new file mode 100644 index 00000000..1b0c1868 --- /dev/null +++ b/src/Media/Vault/Lists/ListListResponse/UnionMember1/_Meta/_RateLimits.php @@ -0,0 +1,93 @@ + */ + use SdkModel; + + #[Optional('limit_day')] + public ?int $limitDay; + + #[Optional('limit_minute')] + public ?int $limitMinute; + + #[Optional('remaining_day')] + public ?int $remainingDay; + + #[Optional('remaining_minute')] + public ?int $remainingMinute; + + 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( + ?int $limitDay = null, + ?int $limitMinute = null, + ?int $remainingDay = null, + ?int $remainingMinute = null, + ): self { + $self = new self; + + null !== $limitDay && $self['limitDay'] = $limitDay; + null !== $limitMinute && $self['limitMinute'] = $limitMinute; + null !== $remainingDay && $self['remainingDay'] = $remainingDay; + null !== $remainingMinute && $self['remainingMinute'] = $remainingMinute; + + return $self; + } + + public function withLimitDay(int $limitDay): self + { + $self = clone $this; + $self['limitDay'] = $limitDay; + + return $self; + } + + public function withLimitMinute(int $limitMinute): self + { + $self = clone $this; + $self['limitMinute'] = $limitMinute; + + return $self; + } + + public function withRemainingDay(int $remainingDay): self + { + $self = clone $this; + $self['remainingDay'] = $remainingDay; + + return $self; + } + + public function withRemainingMinute(int $remainingMinute): self + { + $self = clone $this; + $self['remainingMinute'] = $remainingMinute; + + return $self; + } +} diff --git a/src/ServiceContracts/DataExportsContract.php b/src/ServiceContracts/DataExportsContract.php index 7b5769bb..67fb1ba1 100644 --- a/src/ServiceContracts/DataExportsContract.php +++ b/src/ServiceContracts/DataExportsContract.php @@ -25,13 +25,13 @@ interface DataExportsContract * @api * * @param string $endDate the end date for the export (ISO 8601 format) - * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. + * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, fansly_chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * @param string $startDate the start date for the export (ISO 8601 format) - * @param Type|value-of $type The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. - * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. + * @param Type|value-of $type The type of data to export. Use `fansly_chat_messages` to export Fansly chat messages (all other types are OnlyFans). `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. + * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. For `fansly_chat_messages`, pass Fansly account prefixed IDs (`fansly_acct_...`); all other types take OnlyFans account IDs. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) - * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `fansly_chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `chatIds` (optional array of Fansly group ID strings; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/ServiceContracts/Media/Vault/ListsContract.php b/src/ServiceContracts/Media/Vault/ListsContract.php index 9cc5f362..7d38d6fa 100644 --- a/src/ServiceContracts/Media/Vault/ListsContract.php +++ b/src/ServiceContracts/Media/Vault/ListsContract.php @@ -7,7 +7,8 @@ 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\ListListResponse\UnionMember0; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1; use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; use OnlyFansAPI\RequestOptions; @@ -68,6 +69,7 @@ public function update( * @api * * @param string $account The Account ID + * @param bool $lightweight Set to `true` to return only `id`, `name`, `type`, `canUpdate` and a rolled-up `mediaCount` per list, dropping the `medias` previews. Much smaller payload — ideal for rendering a folder picker. Default: `false` * @param int $limit Number of media to return per page. Default: `24` * @param int $offset The offset used for pagination. Default `0` * @param string $query optionally, find a list by its name @@ -77,11 +79,12 @@ public function update( */ public function list( string $account, + ?bool $lightweight = null, ?int $limit = null, ?int $offset = null, ?string $query = null, RequestOptions|array|null $requestOptions = null, - ): ListListResponse; + ): UnionMember0|UnionMember1; /** * @api diff --git a/src/ServiceContracts/Media/Vault/ListsRawContract.php b/src/ServiceContracts/Media/Vault/ListsRawContract.php index 2cee7519..f2941fb7 100644 --- a/src/ServiceContracts/Media/Vault/ListsRawContract.php +++ b/src/ServiceContracts/Media/Vault/ListsRawContract.php @@ -11,7 +11,8 @@ 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\ListListResponse\UnionMember0; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1; use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; use OnlyFansAPI\Media\Vault\Lists\ListRetrieveParams; use OnlyFansAPI\Media\Vault\Lists\ListUpdateParams; @@ -81,7 +82,7 @@ public function update( * @param array|ListListParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/DataExportsService.php b/src/Services/DataExportsService.php index 2f8162f7..589e3253 100644 --- a/src/Services/DataExportsService.php +++ b/src/Services/DataExportsService.php @@ -45,13 +45,13 @@ public function __construct(private Client $client) * Create a new data export request. This will calculate the required credits and prepare the export for starting. * * @param string $endDate the end date for the export (ISO 8601 format) - * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. + * @param FileType|value-of $fileType The output file format. Supported formats vary by export type: `csv` or `xlsx` for transactions, chat_messages, fansly_chat_messages, trial_links, tracking_links, smart_links, payouts, chargebacks, public_profiles, fans, followings, profile_visitors; `zip` for media_vault. * @param string $startDate the start date for the export (ISO 8601 format) - * @param Type|value-of $type The type of data to export. `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. - * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. + * @param Type|value-of $type The type of data to export. Use `fansly_chat_messages` to export Fansly chat messages (all other types are OnlyFans). `profile_visitors` returns one row per account per day, scraped one day at a time so the daily numbers are not aggregated away by OnlyFans. + * @param list $accountIDs Array of account prefixed IDs to export data from. Not required for `public_profiles` type. For `fansly_chat_messages`, pass Fansly account prefixed IDs (`fansly_acct_...`); all other types take OnlyFans account IDs. * @param bool $autoStart when true, automatically starts the export after creation * @param list $exportColumns Array of column names to include in the export (optional, defaults to all columns for the export type) - * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). + * @param array $options Type-specific export options. For `chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `skipMassMessages` (optional, bool), `chatIds` (optional array of numeric fan/chat IDs; filters output and can drastically reduce totals). For `fansly_chat_messages`: `maxMessages` (required per account, max 10,000,000), `maxChats` (optional per-account chat scrape limit), `chatIds` (optional array of Fansly group ID strings; filters output and can drastically reduce totals). For `media_vault`: `mediaType` (required, one of: `all`, `photo`, `gif`, `video`, `audio`). For `fans`: `type` (required, one of: `all`, `active`, `expired`, `latest`). For `followings`: `type` (required, one of: `all`, `active`, `expired`). For `public_profiles`: `query` (optional, full-text search), `gender` (optional, filter: male, female, trans, couple), `minSubscribePrice` (optional, USD), `maxSubscribePrice` (optional, USD), `location` (optional), `minPostsCount` (optional, minimum posts), `minPhotosCount` (optional, minimum photos), `minVideosCount` (optional, minimum videos), `minSubscribersCount` (optional, minimum subscribers), `maxSubscribersCount` (optional, maximum subscribers), `minJoinDate` (optional, ISO 8601 date), `minLastSeenAt` (optional, ISO 8601 date), `createdAtFrom` (optional, ISO 8601 date, profile added to DB after), `createdAtTo` (optional, ISO 8601 date, profile added to DB before), `instagram` (optional), `twitter` (optional), `tiktok` (optional), `maxResults` (optional, limit results). * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/Media/Vault/ListsRawService.php b/src/Services/Media/Vault/ListsRawService.php index e9bac9fa..871d7669 100644 --- a/src/Services/Media/Vault/ListsRawService.php +++ b/src/Services/Media/Vault/ListsRawService.php @@ -13,6 +13,8 @@ use OnlyFansAPI\Media\Vault\Lists\ListGetResponse; use OnlyFansAPI\Media\Vault\Lists\ListListParams; use OnlyFansAPI\Media\Vault\Lists\ListListResponse; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember0; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1; use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; use OnlyFansAPI\Media\Vault\Lists\ListRetrieveParams; use OnlyFansAPI\Media\Vault\Lists\ListUpdateParams; @@ -138,11 +140,24 @@ public function update( * * List your Vault lists (categories). * + * Every response carries an `ETag` computed over the `data` payload. Send it back as `If-None-Match` on your next + * call and you will get a `304 Not Modified` with an empty body when nothing changed, so you can keep serving your + * cached copy instead of re-parsing the full list. Credits are debited either way — we still have to ask OnlyFans + * for the current state to know whether it changed. + * + * The `ETag` covers `data` only, never `_meta` — your credits balance changes on every call, so including it would + * mean the `ETag` never matches. Because a `304` has no body, it also has no `_meta`: read the current credits and + * rate-limit counters from the `X-OFAPI-Credits-Used`, `X-OFAPI-Credits-Balance`, `X-Rate-Limit-Limit-Minute` and + * `X-Rate-Limit-Remaining-Minute` response headers, which are sent on `304` responses too. The `_meta` inside a + * body you cached earlier is stale by definition. + * * @param string $account The Account ID - * @param array{limit?: int, offset?: int, query?: string}|ListListParams $params + * @param array{ + * lightweight?: bool, limit?: int, offset?: int, query?: string + * }|ListListParams $params * @param RequestOpts|null $requestOptions * - * @return BaseResponse + * @return BaseResponse * * @throws APIException */ diff --git a/src/Services/Media/Vault/ListsService.php b/src/Services/Media/Vault/ListsService.php index 77d0d164..50d7590e 100644 --- a/src/Services/Media/Vault/ListsService.php +++ b/src/Services/Media/Vault/ListsService.php @@ -9,7 +9,8 @@ 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\ListListResponse\UnionMember0; +use OnlyFansAPI\Media\Vault\Lists\ListListResponse\UnionMember1; use OnlyFansAPI\Media\Vault\Lists\ListNewResponse; use OnlyFansAPI\Media\Vault\Lists\ListUpdateResponse; use OnlyFansAPI\RequestOptions; @@ -119,7 +120,19 @@ public function update( * * List your Vault lists (categories). * + * Every response carries an `ETag` computed over the `data` payload. Send it back as `If-None-Match` on your next + * call and you will get a `304 Not Modified` with an empty body when nothing changed, so you can keep serving your + * cached copy instead of re-parsing the full list. Credits are debited either way — we still have to ask OnlyFans + * for the current state to know whether it changed. + * + * The `ETag` covers `data` only, never `_meta` — your credits balance changes on every call, so including it would + * mean the `ETag` never matches. Because a `304` has no body, it also has no `_meta`: read the current credits and + * rate-limit counters from the `X-OFAPI-Credits-Used`, `X-OFAPI-Credits-Balance`, `X-Rate-Limit-Limit-Minute` and + * `X-Rate-Limit-Remaining-Minute` response headers, which are sent on `304` responses too. The `_meta` inside a + * body you cached earlier is stale by definition. + * * @param string $account The Account ID + * @param bool $lightweight Set to `true` to return only `id`, `name`, `type`, `canUpdate` and a rolled-up `mediaCount` per list, dropping the `medias` previews. Much smaller payload — ideal for rendering a folder picker. Default: `false` * @param int $limit Number of media to return per page. Default: `24` * @param int $offset The offset used for pagination. Default `0` * @param string $query optionally, find a list by its name @@ -129,13 +142,19 @@ public function update( */ public function list( string $account, + ?bool $lightweight = null, ?int $limit = null, ?int $offset = null, ?string $query = null, RequestOptions|array|null $requestOptions = null, - ): ListListResponse { + ): UnionMember0|UnionMember1 { $params = Util::removeNulls( - ['limit' => $limit, 'offset' => $offset, 'query' => $query] + [ + 'lightweight' => $lightweight, + 'limit' => $limit, + 'offset' => $offset, + 'query' => $query, + ], ); // @phpstan-ignore-next-line argument.type diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0dd17c01..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('incidunt'); + $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 a2d9098c..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: 'gb', + proxyCountry: 'us', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index e5513160..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( - 'tempora', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'tempora', + '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 be3dfd32..a3238cbd 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( - 'ducimus', + 'facere', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ducimus', + 'facere', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ducimus', + 'facere', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ducimus', + 'facere', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Media/Vault/ListsTest.php b/tests/Services/Media/Vault/ListsTest.php index 6ce4a51a..0620a717 100644 --- a/tests/Services/Media/Vault/ListsTest.php +++ b/tests/Services/Media/Vault/ListsTest.php @@ -6,7 +6,6 @@ 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; @@ -140,7 +139,7 @@ public function testList(): void $result = $this->client->media->vault->lists->list('acct_XXXXXXXXXXXXXXX'); // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(ListListResponse::class, $result); + $this->assertNotNull($result); } #[Test] diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 1a254769..ca46826d 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( - 'eveniet', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'eveniet', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'eveniet', + 'fugit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'eveniet', + 'fugit', 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..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 90a8306b..e0ab53b9 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('molestiae'); // @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('voluptatum'); + $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('nulla'); + $result = $this->client->smartLinks->listFans('dolor'); // @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('soluta'); + $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('qui'); + $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('velit'); + $result = $this->client->smartLinks->retrieveStats('cumque'); // @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 590c31cd..c64b4403 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( - 'laboriosam', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'laboriosam', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'laboriosam', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'laboriosam', + 'consequatur', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index 559f5029..dc23e221 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'perspiciatis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'perspiciatis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'perspiciatis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'perspiciatis', + 'voluptatem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iste', + 'minima', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'iste', + 'minima', 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'tempore', + 'qui', 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 78449ba5..effb5f4c 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', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'earum', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'earum', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'earum', + 'sint', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'quos', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'quos', + 'dolorum', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quasi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quasi', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'enim', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'enim', + '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 5f25e765..4a37aaa1 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: 'kdgreiataph' + name: 'djinyxqtyxdktwmewn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'kdgreiataph' + name: 'djinyxqtyxdktwmewn' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 47ae1fe33b05c557090c3a95df993f6801ee7a1b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 07:13:11 +0000 Subject: [PATCH 253/256] feat(api): api update --- .stats.yml | 4 +- src/ServiceContracts/StoriesContract.php | 14 +- src/Services/StoriesRawService.php | 14 +- src/Services/StoriesService.php | 26 +- src/Stories/StoryCreateParams.php | 110 ++++- src/Stories/StoryCreateParams/Question.php | 159 ++++++++ src/Stories/StoryCreateParams/Text.php | 378 ++++++++++++++++++ .../StoryCreateParams/Text/FontFamily.php | 25 ++ .../StoryCreateParams/Text/FontWeight.php | 17 + .../StoryCreateParams/Text/TextAlign.php | 17 + src/Stories/StoryCreateParams/Text/Type.php | 15 + src/Stories/StoryNewResponse/Data.php | 77 +++- .../StoryNewResponse/Data/Question.php | 93 +++++ .../StoryNewResponse/Data/Question/Entity.php | 77 ++++ .../Data/Question/Positions.php | 163 ++++++++ .../StoryNewResponse/Data/ReleaseForm.php | 115 ++++++ .../Data/ReleaseForm/User.php | 163 ++++++++ src/Stories/StoryNewResponse/Data/Text.php | 281 +++++++++++++ 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/StoriesTest.php | 31 +- tests/Services/TrackingLinksTest.php | 16 +- tests/Services/TrialLinksTest.php | 20 +- tests/Services/UserListsTest.php | 4 +- 30 files changed, 1798 insertions(+), 69 deletions(-) create mode 100644 src/Stories/StoryCreateParams/Question.php create mode 100644 src/Stories/StoryCreateParams/Text.php create mode 100644 src/Stories/StoryCreateParams/Text/FontFamily.php create mode 100644 src/Stories/StoryCreateParams/Text/FontWeight.php create mode 100644 src/Stories/StoryCreateParams/Text/TextAlign.php create mode 100644 src/Stories/StoryCreateParams/Text/Type.php create mode 100644 src/Stories/StoryNewResponse/Data/Question.php create mode 100644 src/Stories/StoryNewResponse/Data/Question/Entity.php create mode 100644 src/Stories/StoryNewResponse/Data/Question/Positions.php create mode 100644 src/Stories/StoryNewResponse/Data/ReleaseForm.php create mode 100644 src/Stories/StoryNewResponse/Data/ReleaseForm/User.php create mode 100644 src/Stories/StoryNewResponse/Data/Text.php diff --git a/.stats.yml b/.stats.yml index 410df9e4..d4b3109f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5b7eaf3aea520bc245be9b93991257f9c1b5ad2ebad57eb17e80ac97fbdc66a4.yml -openapi_spec_hash: c6cfa0dc8655e915bd8f945d84121803 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-edfaafe1957998ebfbda2d08eaaa72e8c2d00323ae5d025bd86083a71b7d6612.yml +openapi_spec_hash: abf7eda561eb13076e85063eb92088ba config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/StoriesContract.php b/src/ServiceContracts/StoriesContract.php index dd2ecc75..a40c3cad 100644 --- a/src/ServiceContracts/StoriesContract.php +++ b/src/ServiceContracts/StoriesContract.php @@ -6,6 +6,8 @@ use OnlyFansAPI\Core\Exceptions\APIException; use OnlyFansAPI\RequestOptions; +use OnlyFansAPI\Stories\StoryCreateParams\Question; +use OnlyFansAPI\Stories\StoryCreateParams\Text; use OnlyFansAPI\Stories\StoryDeleteResponse; use OnlyFansAPI\Stories\StoryGetResponse; use OnlyFansAPI\Stories\StoryGetStatsResponse; @@ -16,6 +18,8 @@ use OnlyFansAPI\Stories\StoryNewResponse; /** + * @phpstan-import-type QuestionShape from \OnlyFansAPI\Stories\StoryCreateParams\Question + * @phpstan-import-type TextShape from \OnlyFansAPI\Stories\StoryCreateParams\Text * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ interface StoriesContract @@ -24,7 +28,11 @@ interface StoriesContract * @api * * @param string $account The Account ID - * @param list $mediaFiles array of media file upload prefixed_ids, or OF media IDs (required if price is not 0) + * @param list $mediaFiles array of media file upload prefixed_ids, or OF vault media IDs + * @param int $canvasHeight Canvas height overlay positions are relative to. Default `1920`. + * @param int $canvasWidth Canvas width overlay positions are relative to. Default `1080`. + * @param Question|QuestionShape $question interactive question sticker viewers can answer + * @param list $texts text and @mention overlays * @param RequestOpts|null $requestOptions * * @throws APIException @@ -32,6 +40,10 @@ interface StoriesContract public function create( string $account, array $mediaFiles, + ?int $canvasHeight = null, + ?int $canvasWidth = null, + Question|array|null $question = null, + ?array $texts = null, RequestOptions|array|null $requestOptions = null, ): StoryNewResponse; diff --git a/src/Services/StoriesRawService.php b/src/Services/StoriesRawService.php index 36cd0a8f..65b443c3 100644 --- a/src/Services/StoriesRawService.php +++ b/src/Services/StoriesRawService.php @@ -10,6 +10,8 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\StoriesRawContract; use OnlyFansAPI\Stories\StoryCreateParams; +use OnlyFansAPI\Stories\StoryCreateParams\Question; +use OnlyFansAPI\Stories\StoryCreateParams\Text; use OnlyFansAPI\Stories\StoryDeleteParams; use OnlyFansAPI\Stories\StoryDeleteResponse; use OnlyFansAPI\Stories\StoryGetResponse; @@ -28,6 +30,8 @@ /** * APIs for managing OnlyFans stories. * + * @phpstan-import-type QuestionShape from \OnlyFansAPI\Stories\StoryCreateParams\Question + * @phpstan-import-type TextShape from \OnlyFansAPI\Stories\StoryCreateParams\Text * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoriesRawService implements StoriesRawContract @@ -41,10 +45,16 @@ public function __construct(private Client $client) {} /** * @api * - * Post a new media or vault file to your story. + * Post a new media or vault file to your story, optionally with text overlays, @mentions, and a question sticker. Overlay elements are rendered by OnlyFans on top of your story media at view time. * * @param string $account The Account ID - * @param array{mediaFiles: list}|StoryCreateParams $params + * @param array{ + * mediaFiles: list, + * canvasHeight?: int, + * canvasWidth?: int, + * question?: Question|QuestionShape, + * texts?: list, + * }|StoryCreateParams $params * @param RequestOpts|null $requestOptions * * @return BaseResponse diff --git a/src/Services/StoriesService.php b/src/Services/StoriesService.php index eff04208..9096782f 100644 --- a/src/Services/StoriesService.php +++ b/src/Services/StoriesService.php @@ -10,6 +10,8 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\ServiceContracts\StoriesContract; use OnlyFansAPI\Services\Stories\HighlightsService; +use OnlyFansAPI\Stories\StoryCreateParams\Question; +use OnlyFansAPI\Stories\StoryCreateParams\Text; use OnlyFansAPI\Stories\StoryDeleteResponse; use OnlyFansAPI\Stories\StoryGetResponse; use OnlyFansAPI\Stories\StoryGetStatsResponse; @@ -22,6 +24,8 @@ /** * APIs for managing OnlyFans stories. * + * @phpstan-import-type QuestionShape from \OnlyFansAPI\Stories\StoryCreateParams\Question + * @phpstan-import-type TextShape from \OnlyFansAPI\Stories\StoryCreateParams\Text * @phpstan-import-type RequestOpts from \OnlyFansAPI\RequestOptions */ final class StoriesService implements StoriesContract @@ -48,10 +52,14 @@ public function __construct(private Client $client) /** * @api * - * Post a new media or vault file to your story. + * Post a new media or vault file to your story, optionally with text overlays, @mentions, and a question sticker. Overlay elements are rendered by OnlyFans on top of your story media at view time. * * @param string $account The Account ID - * @param list $mediaFiles array of media file upload prefixed_ids, or OF media IDs (required if price is not 0) + * @param list $mediaFiles array of media file upload prefixed_ids, or OF vault media IDs + * @param int $canvasHeight Canvas height overlay positions are relative to. Default `1920`. + * @param int $canvasWidth Canvas width overlay positions are relative to. Default `1080`. + * @param Question|QuestionShape $question interactive question sticker viewers can answer + * @param list $texts text and @mention overlays * @param RequestOpts|null $requestOptions * * @throws APIException @@ -59,9 +67,21 @@ public function __construct(private Client $client) public function create( string $account, array $mediaFiles, + ?int $canvasHeight = null, + ?int $canvasWidth = null, + Question|array|null $question = null, + ?array $texts = null, RequestOptions|array|null $requestOptions = null, ): StoryNewResponse { - $params = Util::removeNulls(['mediaFiles' => $mediaFiles]); + $params = Util::removeNulls( + [ + 'mediaFiles' => $mediaFiles, + 'canvasHeight' => $canvasHeight, + 'canvasWidth' => $canvasWidth, + 'question' => $question, + 'texts' => $texts, + ], + ); // @phpstan-ignore-next-line argument.type $response = $this->raw->create($account, params: $params, requestOptions: $requestOptions); diff --git a/src/Stories/StoryCreateParams.php b/src/Stories/StoryCreateParams.php index acc92fdb..1a33fe41 100644 --- a/src/Stories/StoryCreateParams.php +++ b/src/Stories/StoryCreateParams.php @@ -4,17 +4,29 @@ 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\Stories\StoryCreateParams\Question; +use OnlyFansAPI\Stories\StoryCreateParams\Text; /** - * Post a new media or vault file to your story. + * Post a new media or vault file to your story, optionally with text overlays, @mentions, and a question sticker. Overlay elements are rendered by OnlyFans on top of your story media at view time. * * @see OnlyFansAPI\Services\StoriesService::create() * - * @phpstan-type StoryCreateParamsShape = array{mediaFiles: list} + * @phpstan-import-type QuestionShape from \OnlyFansAPI\Stories\StoryCreateParams\Question + * @phpstan-import-type TextShape from \OnlyFansAPI\Stories\StoryCreateParams\Text + * + * @phpstan-type StoryCreateParamsShape = array{ + * mediaFiles: list, + * canvasHeight?: int|null, + * canvasWidth?: int|null, + * question?: null|Question|QuestionShape, + * texts?: list|null, + * } */ final class StoryCreateParams implements BaseModel { @@ -23,13 +35,39 @@ final class StoryCreateParams implements BaseModel use SdkParams; /** - * Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). + * Array of media file upload prefixed_ids, or OF vault media IDs. * * @var list $mediaFiles */ #[Required(list: 'string')] public array $mediaFiles; + /** + * Canvas height overlay positions are relative to. Default `1920`. + */ + #[Optional] + public ?int $canvasHeight; + + /** + * Canvas width overlay positions are relative to. Default `1080`. + */ + #[Optional] + public ?int $canvasWidth; + + /** + * Interactive question sticker viewers can answer. + */ + #[Optional] + public ?Question $question; + + /** + * Text and @mention overlays. + * + * @var list|null $texts + */ + #[Optional(list: Text::class)] + public ?array $texts; + /** * `new StoryCreateParams()` is missing required properties by the API. * @@ -55,18 +93,30 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list $mediaFiles + * @param Question|QuestionShape|null $question + * @param list|null $texts */ - public static function with(array $mediaFiles): self - { + public static function with( + array $mediaFiles, + ?int $canvasHeight = null, + ?int $canvasWidth = null, + Question|array|null $question = null, + ?array $texts = null, + ): self { $self = new self; $self['mediaFiles'] = $mediaFiles; + null !== $canvasHeight && $self['canvasHeight'] = $canvasHeight; + null !== $canvasWidth && $self['canvasWidth'] = $canvasWidth; + null !== $question && $self['question'] = $question; + null !== $texts && $self['texts'] = $texts; + return $self; } /** - * Array of media file upload prefixed_ids, or OF media IDs (required if price is not 0). + * Array of media file upload prefixed_ids, or OF vault media IDs. * * @param list $mediaFiles */ @@ -77,4 +127,52 @@ public function withMediaFiles(array $mediaFiles): self return $self; } + + /** + * Canvas height overlay positions are relative to. Default `1920`. + */ + public function withCanvasHeight(int $canvasHeight): self + { + $self = clone $this; + $self['canvasHeight'] = $canvasHeight; + + return $self; + } + + /** + * Canvas width overlay positions are relative to. Default `1080`. + */ + public function withCanvasWidth(int $canvasWidth): self + { + $self = clone $this; + $self['canvasWidth'] = $canvasWidth; + + return $self; + } + + /** + * Interactive question sticker viewers can answer. + * + * @param Question|QuestionShape $question + */ + public function withQuestion(Question|array $question): self + { + $self = clone $this; + $self['question'] = $question; + + return $self; + } + + /** + * Text and @mention overlays. + * + * @param list $texts + */ + public function withTexts(array $texts): self + { + $self = clone $this; + $self['texts'] = $texts; + + return $self; + } } diff --git a/src/Stories/StoryCreateParams/Question.php b/src/Stories/StoryCreateParams/Question.php new file mode 100644 index 00000000..85e19e2b --- /dev/null +++ b/src/Stories/StoryCreateParams/Question.php @@ -0,0 +1,159 @@ + */ + use SdkModel; + + /** + * Sticker accent color (hex). Default `#FF51DC`. + */ + #[Optional] + public ?string $color; + + /** + * Sticker height in canvas px. Default `160`. + */ + #[Optional] + public ?float $height; + + /** + * Horizontal position as a percentage of the canvas width (0-100). Default `25`. + */ + #[Optional] + public ?float $left; + + /** + * The question to ask. + */ + #[Optional] + public ?string $text; + + /** + * Vertical position as a percentage of the canvas height (0-100). Default `30`. + */ + #[Optional] + public ?float $top; + + /** + * Sticker width in canvas px. Default `257`. + */ + #[Optional] + public ?float $width; + + 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 $color = null, + ?float $height = null, + ?float $left = null, + ?string $text = null, + ?float $top = null, + ?float $width = null, + ): self { + $self = new self; + + null !== $color && $self['color'] = $color; + null !== $height && $self['height'] = $height; + null !== $left && $self['left'] = $left; + null !== $text && $self['text'] = $text; + null !== $top && $self['top'] = $top; + null !== $width && $self['width'] = $width; + + return $self; + } + + /** + * Sticker accent color (hex). Default `#FF51DC`. + */ + public function withColor(string $color): self + { + $self = clone $this; + $self['color'] = $color; + + return $self; + } + + /** + * Sticker height in canvas px. Default `160`. + */ + public function withHeight(float $height): self + { + $self = clone $this; + $self['height'] = $height; + + return $self; + } + + /** + * Horizontal position as a percentage of the canvas width (0-100). Default `25`. + */ + public function withLeft(float $left): self + { + $self = clone $this; + $self['left'] = $left; + + return $self; + } + + /** + * The question to ask. + */ + public function withText(string $text): self + { + $self = clone $this; + $self['text'] = $text; + + return $self; + } + + /** + * Vertical position as a percentage of the canvas height (0-100). Default `30`. + */ + public function withTop(float $top): self + { + $self = clone $this; + $self['top'] = $top; + + return $self; + } + + /** + * Sticker width in canvas px. Default `257`. + */ + public function withWidth(float $width): self + { + $self = clone $this; + $self['width'] = $width; + + return $self; + } +} diff --git a/src/Stories/StoryCreateParams/Text.php b/src/Stories/StoryCreateParams/Text.php new file mode 100644 index 00000000..39b1ab21 --- /dev/null +++ b/src/Stories/StoryCreateParams/Text.php @@ -0,0 +1,378 @@ +, + * fontSize?: float|null, + * fontWeight?: null|FontWeight|value-of, + * left?: float|null, + * scale?: float|null, + * textAlign?: null|TextAlign|value-of, + * textHeight?: float|null, + * textWidth?: float|null, + * top?: float|null, + * type?: null|Type|value-of, + * zIndex?: int|null, + * } + */ +final class Text implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + /** + * The overlay text. For mentions this must be the `@username` to mention (OnlyFans resolves the user and adds them to the story's release forms). + */ + #[Required] + public string $text; + + /** + * Rotation in degrees. Default `0`. + */ + #[Optional] + public ?float $angle; + + /** + * Background color (hex, `#00000000` = transparent). Native editor palette: #FFFFFF #000000 #69818C #FF51DC #FF4081 #FA3240 #FF8040 #FCA800 #70CF27 #00C864 #00B1CC #2196F3 #7953F5 #A832BF. Default: transparent for texts, white for mentions. + */ + #[Optional] + public ?string $bgColor; + + /** + * Text color (hex). Defaults to the native editor behavior: white on a colored background, black on a white background (mentions: OnlyFans blue `#0091EA` on white). + */ + #[Optional] + public ?string $color; + + /** + * Font family. Families support specific weights only: Roboto (400/500/700), PTMono (400), ShantellSans (400), SofiaSans (400, renders uppercase), YanoneKaffeesatz (700), RubikMedium (500), RubikBlack (700). Default `Roboto`. Ignored for mentions (always Roboto 500). + * + * @var value-of|null $fontFamily + */ + #[Optional(enum: FontFamily::class)] + public ?string $fontFamily; + + /** + * Font size in canvas px (8-100). The native editor uses 9-36. Default `20`. + */ + #[Optional] + public ?float $fontSize; + + /** + * Font weight; must match the chosen family (see `fontFamily`). + * + * @var value-of|null $fontWeight + */ + #[Optional(enum: FontWeight::class)] + public ?int $fontWeight; + + /** + * Horizontal position as a percentage of the canvas width (0-100). Default `25`. + */ + #[Optional] + public ?float $left; + + /** + * Scale factor. Default `1`. + */ + #[Optional] + public ?float $scale; + + /** + * Text alignment. Default `left`. + * + * @var value-of|null $textAlign + */ + #[Optional(enum: TextAlign::class)] + public ?string $textAlign; + + /** + * Rendered text box height in canvas px. Estimated automatically when omitted. + */ + #[Optional] + public ?float $textHeight; + + /** + * Rendered text box width in canvas px. Estimated automatically when omitted. + */ + #[Optional] + public ?float $textWidth; + + /** + * Vertical position as a percentage of the canvas height (0-100). Defaults stagger each overlay below the previous one. + */ + #[Optional] + public ?float $top; + + /** + * Overlay type. Default `text`. + * + * @var value-of|null $type + */ + #[Optional(enum: Type::class)] + public ?string $type; + + /** + * Stacking order. Defaults to placement order. + */ + #[Optional] + public ?int $zIndex; + + /** + * `new Text()` is missing required properties by the API. + * + * To enforce required parameters use + * ``` + * Text::with(text: ...) + * ``` + * + * Otherwise ensure the following setters are called + * + * ``` + * (new Text)->withText(...) + * ``` + */ + 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 FontFamily|value-of|null $fontFamily + * @param FontWeight|value-of|null $fontWeight + * @param TextAlign|value-of|null $textAlign + * @param Type|value-of|null $type + */ + public static function with( + string $text, + ?float $angle = null, + ?string $bgColor = null, + ?string $color = null, + FontFamily|string|null $fontFamily = null, + ?float $fontSize = null, + FontWeight|int|null $fontWeight = null, + ?float $left = null, + ?float $scale = null, + TextAlign|string|null $textAlign = null, + ?float $textHeight = null, + ?float $textWidth = null, + ?float $top = null, + Type|string|null $type = null, + ?int $zIndex = null, + ): self { + $self = new self; + + $self['text'] = $text; + + null !== $angle && $self['angle'] = $angle; + null !== $bgColor && $self['bgColor'] = $bgColor; + null !== $color && $self['color'] = $color; + null !== $fontFamily && $self['fontFamily'] = $fontFamily; + null !== $fontSize && $self['fontSize'] = $fontSize; + null !== $fontWeight && $self['fontWeight'] = $fontWeight; + null !== $left && $self['left'] = $left; + null !== $scale && $self['scale'] = $scale; + null !== $textAlign && $self['textAlign'] = $textAlign; + null !== $textHeight && $self['textHeight'] = $textHeight; + null !== $textWidth && $self['textWidth'] = $textWidth; + null !== $top && $self['top'] = $top; + null !== $type && $self['type'] = $type; + null !== $zIndex && $self['zIndex'] = $zIndex; + + return $self; + } + + /** + * The overlay text. For mentions this must be the `@username` to mention (OnlyFans resolves the user and adds them to the story's release forms). + */ + public function withText(string $text): self + { + $self = clone $this; + $self['text'] = $text; + + return $self; + } + + /** + * Rotation in degrees. Default `0`. + */ + public function withAngle(float $angle): self + { + $self = clone $this; + $self['angle'] = $angle; + + return $self; + } + + /** + * Background color (hex, `#00000000` = transparent). Native editor palette: #FFFFFF #000000 #69818C #FF51DC #FF4081 #FA3240 #FF8040 #FCA800 #70CF27 #00C864 #00B1CC #2196F3 #7953F5 #A832BF. Default: transparent for texts, white for mentions. + */ + public function withBgColor(string $bgColor): self + { + $self = clone $this; + $self['bgColor'] = $bgColor; + + return $self; + } + + /** + * Text color (hex). Defaults to the native editor behavior: white on a colored background, black on a white background (mentions: OnlyFans blue `#0091EA` on white). + */ + public function withColor(string $color): self + { + $self = clone $this; + $self['color'] = $color; + + return $self; + } + + /** + * Font family. Families support specific weights only: Roboto (400/500/700), PTMono (400), ShantellSans (400), SofiaSans (400, renders uppercase), YanoneKaffeesatz (700), RubikMedium (500), RubikBlack (700). Default `Roboto`. Ignored for mentions (always Roboto 500). + * + * @param FontFamily|value-of $fontFamily + */ + public function withFontFamily(FontFamily|string $fontFamily): self + { + $self = clone $this; + $self['fontFamily'] = $fontFamily; + + return $self; + } + + /** + * Font size in canvas px (8-100). The native editor uses 9-36. Default `20`. + */ + public function withFontSize(float $fontSize): self + { + $self = clone $this; + $self['fontSize'] = $fontSize; + + return $self; + } + + /** + * Font weight; must match the chosen family (see `fontFamily`). + * + * @param FontWeight|value-of $fontWeight + */ + public function withFontWeight(FontWeight|int $fontWeight): self + { + $self = clone $this; + $self['fontWeight'] = $fontWeight; + + return $self; + } + + /** + * Horizontal position as a percentage of the canvas width (0-100). Default `25`. + */ + public function withLeft(float $left): self + { + $self = clone $this; + $self['left'] = $left; + + return $self; + } + + /** + * Scale factor. Default `1`. + */ + public function withScale(float $scale): self + { + $self = clone $this; + $self['scale'] = $scale; + + return $self; + } + + /** + * Text alignment. Default `left`. + * + * @param TextAlign|value-of $textAlign + */ + public function withTextAlign(TextAlign|string $textAlign): self + { + $self = clone $this; + $self['textAlign'] = $textAlign; + + return $self; + } + + /** + * Rendered text box height in canvas px. Estimated automatically when omitted. + */ + public function withTextHeight(float $textHeight): self + { + $self = clone $this; + $self['textHeight'] = $textHeight; + + return $self; + } + + /** + * Rendered text box width in canvas px. Estimated automatically when omitted. + */ + public function withTextWidth(float $textWidth): self + { + $self = clone $this; + $self['textWidth'] = $textWidth; + + return $self; + } + + /** + * Vertical position as a percentage of the canvas height (0-100). Defaults stagger each overlay below the previous one. + */ + public function withTop(float $top): self + { + $self = clone $this; + $self['top'] = $top; + + return $self; + } + + /** + * Overlay type. Default `text`. + * + * @param Type|value-of $type + */ + public function withType(Type|string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } + + /** + * Stacking order. Defaults to placement order. + */ + public function withZIndex(int $zIndex): self + { + $self = clone $this; + $self['zIndex'] = $zIndex; + + return $self; + } +} diff --git a/src/Stories/StoryCreateParams/Text/FontFamily.php b/src/Stories/StoryCreateParams/Text/FontFamily.php new file mode 100644 index 00000000..780ea1ed --- /dev/null +++ b/src/Stories/StoryCreateParams/Text/FontFamily.php @@ -0,0 +1,25 @@ +|null, - * question?: string|null, - * releaseForms?: list|null, + * question?: null|Question|QuestionShape, + * releaseForms?: list|null, + * texts?: list|null, * tipsAmount?: string|null, * tipsAmountRaw?: int|null, * tipsCount?: int|null, @@ -45,6 +54,12 @@ final class Data implements BaseModel #[Optional] public ?bool $canDelete; + #[Optional] + public ?int $canvasHeight; + + #[Optional] + public ?int $canvasWidth; + #[Optional] public ?int $commentsCount; @@ -73,13 +88,17 @@ final class Data implements BaseModel #[Optional(list: Media::class)] public ?array $media; - #[Optional(nullable: true)] - public ?string $question; + #[Optional] + public ?Question $question; - /** @var list|null $releaseForms */ - #[Optional(list: 'mixed')] + /** @var list|null $releaseForms */ + #[Optional(list: ReleaseForm::class)] public ?array $releaseForms; + /** @var list|null $texts */ + #[Optional(list: Text::class)] + public ?array $texts; + #[Optional] public ?string $tipsAmount; @@ -110,12 +129,16 @@ public function __construct() * You must use named parameters to construct any parameters with a default value. * * @param list|null $media - * @param list|null $releaseForms + * @param Question|QuestionShape|null $question + * @param list|null $releaseForms + * @param list|null $texts * @param list|null $viewers */ public static function with( ?int $id = null, ?bool $canDelete = null, + ?int $canvasHeight = null, + ?int $canvasWidth = null, ?int $commentsCount = null, ?string $createdAt = null, ?bool $hasPost = null, @@ -125,8 +148,9 @@ public static function with( ?bool $isWatched = null, ?int $likesCount = null, ?array $media = null, - ?string $question = null, + Question|array|null $question = null, ?array $releaseForms = null, + ?array $texts = null, ?string $tipsAmount = null, ?int $tipsAmountRaw = null, ?int $tipsCount = null, @@ -138,6 +162,8 @@ public static function with( null !== $id && $self['id'] = $id; null !== $canDelete && $self['canDelete'] = $canDelete; + null !== $canvasHeight && $self['canvasHeight'] = $canvasHeight; + null !== $canvasWidth && $self['canvasWidth'] = $canvasWidth; null !== $commentsCount && $self['commentsCount'] = $commentsCount; null !== $createdAt && $self['createdAt'] = $createdAt; null !== $hasPost && $self['hasPost'] = $hasPost; @@ -149,6 +175,7 @@ public static function with( null !== $media && $self['media'] = $media; null !== $question && $self['question'] = $question; null !== $releaseForms && $self['releaseForms'] = $releaseForms; + null !== $texts && $self['texts'] = $texts; null !== $tipsAmount && $self['tipsAmount'] = $tipsAmount; null !== $tipsAmountRaw && $self['tipsAmountRaw'] = $tipsAmountRaw; null !== $tipsCount && $self['tipsCount'] = $tipsCount; @@ -175,6 +202,22 @@ public function withCanDelete(bool $canDelete): self return $self; } + public function withCanvasHeight(int $canvasHeight): self + { + $self = clone $this; + $self['canvasHeight'] = $canvasHeight; + + return $self; + } + + public function withCanvasWidth(int $canvasWidth): self + { + $self = clone $this; + $self['canvasWidth'] = $canvasWidth; + + return $self; + } + public function withCommentsCount(int $commentsCount): self { $self = clone $this; @@ -250,7 +293,10 @@ public function withMedia(array $media): self return $self; } - public function withQuestion(?string $question): self + /** + * @param Question|QuestionShape $question + */ + public function withQuestion(Question|array $question): self { $self = clone $this; $self['question'] = $question; @@ -259,7 +305,7 @@ public function withQuestion(?string $question): self } /** - * @param list $releaseForms + * @param list $releaseForms */ public function withReleaseForms(array $releaseForms): self { @@ -269,6 +315,17 @@ public function withReleaseForms(array $releaseForms): self return $self; } + /** + * @param list $texts + */ + public function withTexts(array $texts): self + { + $self = clone $this; + $self['texts'] = $texts; + + return $self; + } + public function withTipsAmount(string $tipsAmount): self { $self = clone $this; diff --git a/src/Stories/StoryNewResponse/Data/Question.php b/src/Stories/StoryNewResponse/Data/Question.php new file mode 100644 index 00000000..40d52734 --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/Question.php @@ -0,0 +1,93 @@ + */ + use SdkModel; + + #[Optional] + public ?Entity $entity; + + #[Optional] + public ?Positions $positions; + + #[Optional] + public ?string $type; + + 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 Entity|EntityShape|null $entity + * @param Positions|PositionsShape|null $positions + */ + public static function with( + Entity|array|null $entity = null, + Positions|array|null $positions = null, + ?string $type = null, + ): self { + $self = new self; + + null !== $entity && $self['entity'] = $entity; + null !== $positions && $self['positions'] = $positions; + null !== $type && $self['type'] = $type; + + return $self; + } + + /** + * @param Entity|EntityShape $entity + */ + public function withEntity(Entity|array $entity): self + { + $self = clone $this; + $self['entity'] = $entity; + + return $self; + } + + /** + * @param Positions|PositionsShape $positions + */ + public function withPositions(Positions|array $positions): self + { + $self = clone $this; + $self['positions'] = $positions; + + return $self; + } + + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } +} diff --git a/src/Stories/StoryNewResponse/Data/Question/Entity.php b/src/Stories/StoryNewResponse/Data/Question/Entity.php new file mode 100644 index 00000000..81d266f5 --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/Question/Entity.php @@ -0,0 +1,77 @@ + */ + use SdkModel; + + #[Optional] + public ?int $id; + + #[Optional] + public ?string $createdAt; + + #[Optional] + public ?string $text; + + 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( + ?int $id = null, + ?string $createdAt = null, + ?string $text = null + ): self { + $self = new self; + + null !== $id && $self['id'] = $id; + null !== $createdAt && $self['createdAt'] = $createdAt; + null !== $text && $self['text'] = $text; + + return $self; + } + + public function withID(int $id): self + { + $self = clone $this; + $self['id'] = $id; + + return $self; + } + + public function withCreatedAt(string $createdAt): self + { + $self = clone $this; + $self['createdAt'] = $createdAt; + + return $self; + } + + public function withText(string $text): self + { + $self = clone $this; + $self['text'] = $text; + + return $self; + } +} diff --git a/src/Stories/StoryNewResponse/Data/Question/Positions.php b/src/Stories/StoryNewResponse/Data/Question/Positions.php new file mode 100644 index 00000000..5f21299d --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/Question/Positions.php @@ -0,0 +1,163 @@ + */ + use SdkModel; + + #[Optional] + public ?int $angle; + + #[Optional] + public ?string $color; + + #[Optional] + public ?int $height; + + #[Optional] + public ?int $left; + + #[Optional] + public ?int $top; + + #[Optional] + public ?int $width; + + #[Optional(nullable: true)] + public ?string $x; + + #[Optional(nullable: true)] + public ?string $y; + + #[Optional] + public ?int $zIndex; + + 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( + ?int $angle = null, + ?string $color = null, + ?int $height = null, + ?int $left = null, + ?int $top = null, + ?int $width = null, + ?string $x = null, + ?string $y = null, + ?int $zIndex = null, + ): self { + $self = new self; + + null !== $angle && $self['angle'] = $angle; + null !== $color && $self['color'] = $color; + null !== $height && $self['height'] = $height; + null !== $left && $self['left'] = $left; + null !== $top && $self['top'] = $top; + null !== $width && $self['width'] = $width; + null !== $x && $self['x'] = $x; + null !== $y && $self['y'] = $y; + null !== $zIndex && $self['zIndex'] = $zIndex; + + return $self; + } + + public function withAngle(int $angle): self + { + $self = clone $this; + $self['angle'] = $angle; + + return $self; + } + + public function withColor(string $color): self + { + $self = clone $this; + $self['color'] = $color; + + return $self; + } + + public function withHeight(int $height): self + { + $self = clone $this; + $self['height'] = $height; + + return $self; + } + + public function withLeft(int $left): self + { + $self = clone $this; + $self['left'] = $left; + + return $self; + } + + public function withTop(int $top): self + { + $self = clone $this; + $self['top'] = $top; + + return $self; + } + + public function withWidth(int $width): self + { + $self = clone $this; + $self['width'] = $width; + + return $self; + } + + public function withX(?string $x): self + { + $self = clone $this; + $self['x'] = $x; + + return $self; + } + + public function withY(?string $y): self + { + $self = clone $this; + $self['y'] = $y; + + return $self; + } + + public function withZIndex(int $zIndex): self + { + $self = clone $this; + $self['zIndex'] = $zIndex; + + return $self; + } +} diff --git a/src/Stories/StoryNewResponse/Data/ReleaseForm.php b/src/Stories/StoryNewResponse/Data/ReleaseForm.php new file mode 100644 index 00000000..e69ab950 --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/ReleaseForm.php @@ -0,0 +1,115 @@ + */ + use SdkModel; + + #[Optional] + public ?int $id; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $partnerSource; + + #[Optional] + public ?string $type; + + #[Optional] + public ?User $user; + + 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 User|UserShape|null $user + */ + public static function with( + ?int $id = null, + ?string $name = null, + ?string $partnerSource = null, + ?string $type = null, + User|array|null $user = null, + ): self { + $self = new self; + + null !== $id && $self['id'] = $id; + null !== $name && $self['name'] = $name; + null !== $partnerSource && $self['partnerSource'] = $partnerSource; + null !== $type && $self['type'] = $type; + null !== $user && $self['user'] = $user; + + return $self; + } + + public function withID(int $id): self + { + $self = clone $this; + $self['id'] = $id; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withPartnerSource(string $partnerSource): self + { + $self = clone $this; + $self['partnerSource'] = $partnerSource; + + return $self; + } + + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } + + /** + * @param User|UserShape $user + */ + public function withUser(User|array $user): self + { + $self = clone $this; + $self['user'] = $user; + + return $self; + } +} diff --git a/src/Stories/StoryNewResponse/Data/ReleaseForm/User.php b/src/Stories/StoryNewResponse/Data/ReleaseForm/User.php new file mode 100644 index 00000000..bf0fb374 --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/ReleaseForm/User.php @@ -0,0 +1,163 @@ + */ + use SdkModel; + + #[Optional] + public ?int $id; + + #[Optional(nullable: true)] + public ?string $avatar; + + #[Optional(nullable: true)] + public ?string $avatarThumbs; + + #[Optional] + public ?bool $isFromGuest; + + #[Optional] + public ?bool $isIdentityVerified; + + #[Optional] + public ?string $ivStatus; + + #[Optional] + public ?string $name; + + #[Optional] + public ?string $username; + + #[Optional] + public ?string $view; + + 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( + ?int $id = null, + ?string $avatar = null, + ?string $avatarThumbs = null, + ?bool $isFromGuest = null, + ?bool $isIdentityVerified = null, + ?string $ivStatus = null, + ?string $name = null, + ?string $username = null, + ?string $view = null, + ): self { + $self = new self; + + null !== $id && $self['id'] = $id; + null !== $avatar && $self['avatar'] = $avatar; + null !== $avatarThumbs && $self['avatarThumbs'] = $avatarThumbs; + null !== $isFromGuest && $self['isFromGuest'] = $isFromGuest; + null !== $isIdentityVerified && $self['isIdentityVerified'] = $isIdentityVerified; + null !== $ivStatus && $self['ivStatus'] = $ivStatus; + null !== $name && $self['name'] = $name; + null !== $username && $self['username'] = $username; + null !== $view && $self['view'] = $view; + + return $self; + } + + public function withID(int $id): self + { + $self = clone $this; + $self['id'] = $id; + + return $self; + } + + public function withAvatar(?string $avatar): self + { + $self = clone $this; + $self['avatar'] = $avatar; + + return $self; + } + + public function withAvatarThumbs(?string $avatarThumbs): self + { + $self = clone $this; + $self['avatarThumbs'] = $avatarThumbs; + + return $self; + } + + public function withIsFromGuest(bool $isFromGuest): self + { + $self = clone $this; + $self['isFromGuest'] = $isFromGuest; + + return $self; + } + + public function withIsIdentityVerified(bool $isIdentityVerified): self + { + $self = clone $this; + $self['isIdentityVerified'] = $isIdentityVerified; + + return $self; + } + + public function withIvStatus(string $ivStatus): self + { + $self = clone $this; + $self['ivStatus'] = $ivStatus; + + return $self; + } + + public function withName(string $name): self + { + $self = clone $this; + $self['name'] = $name; + + return $self; + } + + public function withUsername(string $username): self + { + $self = clone $this; + $self['username'] = $username; + + return $self; + } + + public function withView(string $view): self + { + $self = clone $this; + $self['view'] = $view; + + return $self; + } +} diff --git a/src/Stories/StoryNewResponse/Data/Text.php b/src/Stories/StoryNewResponse/Data/Text.php new file mode 100644 index 00000000..3b308ab6 --- /dev/null +++ b/src/Stories/StoryNewResponse/Data/Text.php @@ -0,0 +1,281 @@ +|null, + * zIndex?: int|null, + * } + */ +final class Text implements BaseModel +{ + /** @use SdkModel */ + use SdkModel; + + #[Optional] + public ?int $angle; + + #[Optional] + public ?string $bgColor; + + #[Optional] + public ?string $color; + + #[Optional] + public ?string $fontFamily; + + #[Optional] + public ?string $fontSize; + + #[Optional(nullable: true)] + public ?string $fontStyle; + + #[Optional] + public ?int $fontWeight; + + #[Optional] + public ?int $left; + + #[Optional] + public ?int $scale; + + #[Optional] + public ?string $text; + + #[Optional] + public ?string $textAlign; + + #[Optional] + public ?float $textHeight; + + #[Optional] + public ?int $textWidth; + + #[Optional] + public ?int $top; + + #[Optional] + public ?string $type; + + /** @var list|null $users */ + #[Optional(list: 'mixed')] + public ?array $users; + + #[Optional] + public ?int $zIndex; + + 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 $users + */ + public static function with( + ?int $angle = null, + ?string $bgColor = null, + ?string $color = null, + ?string $fontFamily = null, + ?string $fontSize = null, + ?string $fontStyle = null, + ?int $fontWeight = null, + ?int $left = null, + ?int $scale = null, + ?string $text = null, + ?string $textAlign = null, + ?float $textHeight = null, + ?int $textWidth = null, + ?int $top = null, + ?string $type = null, + ?array $users = null, + ?int $zIndex = null, + ): self { + $self = new self; + + null !== $angle && $self['angle'] = $angle; + null !== $bgColor && $self['bgColor'] = $bgColor; + null !== $color && $self['color'] = $color; + null !== $fontFamily && $self['fontFamily'] = $fontFamily; + null !== $fontSize && $self['fontSize'] = $fontSize; + null !== $fontStyle && $self['fontStyle'] = $fontStyle; + null !== $fontWeight && $self['fontWeight'] = $fontWeight; + null !== $left && $self['left'] = $left; + null !== $scale && $self['scale'] = $scale; + null !== $text && $self['text'] = $text; + null !== $textAlign && $self['textAlign'] = $textAlign; + null !== $textHeight && $self['textHeight'] = $textHeight; + null !== $textWidth && $self['textWidth'] = $textWidth; + null !== $top && $self['top'] = $top; + null !== $type && $self['type'] = $type; + null !== $users && $self['users'] = $users; + null !== $zIndex && $self['zIndex'] = $zIndex; + + return $self; + } + + public function withAngle(int $angle): self + { + $self = clone $this; + $self['angle'] = $angle; + + return $self; + } + + public function withBgColor(string $bgColor): self + { + $self = clone $this; + $self['bgColor'] = $bgColor; + + return $self; + } + + public function withColor(string $color): self + { + $self = clone $this; + $self['color'] = $color; + + return $self; + } + + public function withFontFamily(string $fontFamily): self + { + $self = clone $this; + $self['fontFamily'] = $fontFamily; + + return $self; + } + + public function withFontSize(string $fontSize): self + { + $self = clone $this; + $self['fontSize'] = $fontSize; + + return $self; + } + + public function withFontStyle(?string $fontStyle): self + { + $self = clone $this; + $self['fontStyle'] = $fontStyle; + + return $self; + } + + public function withFontWeight(int $fontWeight): self + { + $self = clone $this; + $self['fontWeight'] = $fontWeight; + + return $self; + } + + public function withLeft(int $left): self + { + $self = clone $this; + $self['left'] = $left; + + return $self; + } + + public function withScale(int $scale): self + { + $self = clone $this; + $self['scale'] = $scale; + + return $self; + } + + public function withText(string $text): self + { + $self = clone $this; + $self['text'] = $text; + + return $self; + } + + public function withTextAlign(string $textAlign): self + { + $self = clone $this; + $self['textAlign'] = $textAlign; + + return $self; + } + + public function withTextHeight(float $textHeight): self + { + $self = clone $this; + $self['textHeight'] = $textHeight; + + return $self; + } + + public function withTextWidth(int $textWidth): self + { + $self = clone $this; + $self['textWidth'] = $textWidth; + + return $self; + } + + public function withTop(int $top): self + { + $self = clone $this; + $self['top'] = $top; + + return $self; + } + + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } + + /** + * @param list $users + */ + public function withUsers(array $users): self + { + $self = clone $this; + $self['users'] = $users; + + return $self; + } + + public function withZIndex(int $zIndex): self + { + $self = clone $this; + $self['zIndex'] = $zIndex; + + return $self; + } +} diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index 0d20cc2a..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('est'); + $result = $this->client->accounts->disconnect('eos'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a08669c4..a2d9098c 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: 'gb', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index c39f8642..4e7c47e6 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', + 'asperiores', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'vel', + 'asperiores', 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 a3238cbd..fa3dd189 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( - 'facere', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'facere', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'facere', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'facere', + 'error', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index ca46826d..512eb224 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( - 'fugit', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'fugit', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'fugit', + 'nesciunt', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'fugit', + 'nesciunt', 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/SmartLinksTest.php b/tests/Services/SmartLinksTest.php index e0ab53b9..bc190aaf 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('molestiae'); + $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('rerum'); + $result = $this->client->smartLinks->listConversions('quasi'); // @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('dolor'); + $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('sint'); + $result = $this->client->smartLinks->listSpenders('ea'); // @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('quibusdam'); // @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('cumque'); + $result = $this->client->smartLinks->retrieveStats('eveniet'); // @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 c64b4403..9b078a3c 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( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'consequatur', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/StoriesTest.php b/tests/Services/StoriesTest.php index 4feb137e..ca2dde4a 100644 --- a/tests/Services/StoriesTest.php +++ b/tests/Services/StoriesTest.php @@ -60,7 +60,36 @@ public function testCreateWithOptionalParams(): void $result = $this->client->stories->create( 'acct_XXXXXXXXXXXXXXX', - mediaFiles: ['ofapi_media_abc123', 'string'] + mediaFiles: ['ofapi_media_abc123', 'string'], + canvasHeight: 1920, + canvasWidth: 1080, + question: [ + 'color' => '#FF51DC', + 'height' => 160, + 'left' => 25, + 'text' => 'Ask me anything!', + 'top' => 30, + 'width' => 257, + ], + texts: [ + [ + 'text' => 'New drop today!', + 'angle' => 0, + 'bgColor' => '#FF51DC', + 'color' => '#FFFFFF', + 'fontFamily' => 'ShantellSans', + 'fontSize' => 24, + 'fontWeight' => 400, + 'left' => 30.5, + 'scale' => 1, + 'textAlign' => 'center', + 'textHeight' => 36, + 'textWidth' => 140, + 'top' => 60, + 'type' => 'text', + 'zIndex' => 8, + ], + ], ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index dc23e221..ee74e609 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'voluptatem', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'voluptatem', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'minima', + 'sit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'minima', + '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( - 'qui', + 'architecto', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'qui', + 'architecto', 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 effb5f4c..f4c59a83 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', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'sint', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'sint', + 'id', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'dolorum', + 'est', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quidem', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'quidem', + 'vel', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'quasi', + 'alias', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'quasi', + 'alias', 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 4a37aaa1..0fab3a4c 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: 'djinyxqtyxdktwmewn' + name: 'whwktrmekficw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'djinyxqtyxdktwmewn' + name: 'whwktrmekficw' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 65663b8404cbda2887bac2a9257334c819f56d58 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 08:13:17 +0000 Subject: [PATCH 254/256] feat(api): api update --- .stats.yml | 4 ++-- src/Following/FollowingListActiveParams.php | 10 +++++----- .../FollowingListActiveParams/Sort.php | 2 +- .../SortDirection.php | 2 +- src/Following/FollowingListAllParams.php | 10 +++++----- src/Following/FollowingListAllParams/Sort.php | 2 +- .../FollowingListAllParams/SortDirection.php | 2 +- src/Following/FollowingListExpiredParams.php | 10 +++++----- .../FollowingListExpiredParams/Sort.php | 2 +- .../SortDirection.php | 2 +- src/ServiceContracts/FollowingContract.php | 12 +++++------ src/Services/FollowingRawService.php | 6 +++--- src/Services/FollowingService.php | 18 ++++++++--------- 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 ++++---- tests/Services/QueueTest.php | 2 +- .../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 ++-- 26 files changed, 88 insertions(+), 88 deletions(-) diff --git a/.stats.yml b/.stats.yml index d4b3109f..a48b1ad0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-edfaafe1957998ebfbda2d08eaaa72e8c2d00323ae5d025bd86083a71b7d6612.yml -openapi_spec_hash: abf7eda561eb13076e85063eb92088ba +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-adc2248fbfadd296a372e1cfaa0f2017dfa4a0d611edea0a6006264d4328cada.yml +openapi_spec_hash: 1986e762bd172ac144a57ea678357cad config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/Following/FollowingListActiveParams.php b/src/Following/FollowingListActiveParams.php index 807edd6e..95b57c81 100644 --- a/src/Following/FollowingListActiveParams.php +++ b/src/Following/FollowingListActiveParams.php @@ -13,7 +13,7 @@ use OnlyFansAPI\Following\FollowingListActiveParams\SortDirection; /** - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @see OnlyFansAPI\Services\FollowingService::listActive() * @@ -56,7 +56,7 @@ final class FollowingListActiveParams implements BaseModel public ?string $query; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @var value-of|null $sort */ @@ -64,7 +64,7 @@ final class FollowingListActiveParams implements BaseModel public ?string $sort; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @var value-of|null $sortDirection */ @@ -150,7 +150,7 @@ public function withQuery(?string $query): self } /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @param Sort|value-of|null $sort */ @@ -163,7 +163,7 @@ public function withSort(Sort|string|null $sort): self } /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @param SortDirection|value-of|null $sortDirection */ diff --git a/src/Following/FollowingListActiveParams/Sort.php b/src/Following/FollowingListActiveParams/Sort.php index dacc1bff..5688559e 100644 --- a/src/Following/FollowingListActiveParams/Sort.php +++ b/src/Following/FollowingListActiveParams/Sort.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListActiveParams; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. */ enum Sort: string { diff --git a/src/Following/FollowingListActiveParams/SortDirection.php b/src/Following/FollowingListActiveParams/SortDirection.php index a5677daa..e3d23d2d 100644 --- a/src/Following/FollowingListActiveParams/SortDirection.php +++ b/src/Following/FollowingListActiveParams/SortDirection.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListActiveParams; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. */ enum SortDirection: string { diff --git a/src/Following/FollowingListAllParams.php b/src/Following/FollowingListAllParams.php index ab3f4ea3..ad253370 100644 --- a/src/Following/FollowingListAllParams.php +++ b/src/Following/FollowingListAllParams.php @@ -13,7 +13,7 @@ use OnlyFansAPI\Following\FollowingListAllParams\SortDirection; /** - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @see OnlyFansAPI\Services\FollowingService::listAll() * @@ -56,7 +56,7 @@ final class FollowingListAllParams implements BaseModel public ?string $query; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @var value-of|null $sort */ @@ -64,7 +64,7 @@ final class FollowingListAllParams implements BaseModel public ?string $sort; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @var value-of|null $sortDirection */ @@ -150,7 +150,7 @@ public function withQuery(?string $query): self } /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @param Sort|value-of|null $sort */ @@ -163,7 +163,7 @@ public function withSort(Sort|string|null $sort): self } /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @param SortDirection|value-of|null $sortDirection */ diff --git a/src/Following/FollowingListAllParams/Sort.php b/src/Following/FollowingListAllParams/Sort.php index ce2bf3a0..9a548c4f 100644 --- a/src/Following/FollowingListAllParams/Sort.php +++ b/src/Following/FollowingListAllParams/Sort.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListAllParams; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. */ enum Sort: string { diff --git a/src/Following/FollowingListAllParams/SortDirection.php b/src/Following/FollowingListAllParams/SortDirection.php index 7899b7a9..ff9ee82f 100644 --- a/src/Following/FollowingListAllParams/SortDirection.php +++ b/src/Following/FollowingListAllParams/SortDirection.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListAllParams; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. */ enum SortDirection: string { diff --git a/src/Following/FollowingListExpiredParams.php b/src/Following/FollowingListExpiredParams.php index 61c7390f..a2af9c35 100644 --- a/src/Following/FollowingListExpiredParams.php +++ b/src/Following/FollowingListExpiredParams.php @@ -13,7 +13,7 @@ use OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection; /** - * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. An empty page is not the end of the list either: OnlyFans applies `offset` to the whole following collection and only then filters that window down to expired subscriptions, so early pages can come back empty while hundreds of expired rows still follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. Ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection, so prefer `sortDirection=asc` or `sort=is_expired` for expired-first results; for that reason `sort=expire_date` defaults to `asc` on this list when no `sortDirection` is given. * * @see OnlyFansAPI\Services\FollowingService::listExpired() * @@ -56,7 +56,7 @@ final class FollowingListExpiredParams implements BaseModel public ?string $query; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @var value-of|null $sort */ @@ -64,7 +64,7 @@ final class FollowingListExpiredParams implements BaseModel public ?string $sort; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @var value-of|null $sortDirection */ @@ -150,7 +150,7 @@ public function withQuery(?string $query): self } /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. * * @param Sort|value-of|null $sort */ @@ -163,7 +163,7 @@ public function withSort(Sort|string|null $sort): self } /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * * @param SortDirection|value-of|null $sortDirection */ diff --git a/src/Following/FollowingListExpiredParams/Sort.php b/src/Following/FollowingListExpiredParams/Sort.php index 201982fa..41c7074c 100644 --- a/src/Following/FollowingListExpiredParams/Sort.php +++ b/src/Following/FollowingListExpiredParams/Sort.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListExpiredParams; /** - * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. + * Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. */ enum Sort: string { diff --git a/src/Following/FollowingListExpiredParams/SortDirection.php b/src/Following/FollowingListExpiredParams/SortDirection.php index 5daf33f2..fb7296a0 100644 --- a/src/Following/FollowingListExpiredParams/SortDirection.php +++ b/src/Following/FollowingListExpiredParams/SortDirection.php @@ -5,7 +5,7 @@ namespace OnlyFansAPI\Following\FollowingListExpiredParams; /** - * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. */ enum SortDirection: string { diff --git a/src/ServiceContracts/FollowingContract.php b/src/ServiceContracts/FollowingContract.php index 42b908c4..93891cf2 100644 --- a/src/ServiceContracts/FollowingContract.php +++ b/src/ServiceContracts/FollowingContract.php @@ -29,8 +29,8 @@ interface FollowingContract * @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 - * @param Sort|value-of|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param Sort|value-of|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -54,8 +54,8 @@ public function listActive( * @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 - * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -79,8 +79,8 @@ public function listAll( * @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 - * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/src/Services/FollowingRawService.php b/src/Services/FollowingRawService.php index 803b1621..767f55fd 100644 --- a/src/Services/FollowingRawService.php +++ b/src/Services/FollowingRawService.php @@ -38,7 +38,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @param string $account The Account ID * @param array{ @@ -78,7 +78,7 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @param string $account The Account ID * @param array{ @@ -118,7 +118,7 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. An empty page is not the end of the list either: OnlyFans applies `offset` to the whole following collection and only then filters that window down to expired subscriptions, so early pages can come back empty while hundreds of expired rows still follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. Ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection, so prefer `sortDirection=asc` or `sort=is_expired` for expired-first results; for that reason `sort=expire_date` defaults to `asc` on this list when no `sortDirection` is given. * * @param string $account The Account ID * @param array{ diff --git a/src/Services/FollowingService.php b/src/Services/FollowingService.php index f2e10496..ee9871d9 100644 --- a/src/Services/FollowingService.php +++ b/src/Services/FollowingService.php @@ -42,15 +42,15 @@ public function __construct(private Client $client) /** * @api * - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @param string $account The Account ID * @param Filter|FilterShape $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 - * @param Sort|value-of|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param Sort|value-of|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param SortDirection|value-of|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -85,15 +85,15 @@ public function listActive( /** * @api * - * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of followings for an Account. By default OnlyFans returns this list newest-first, sorted by `subscribedByData.subscribeAt` descending. The expired list does not share this order, so do not assume it applies there. Pass `sort` (optionally with `sortDirection`) to reorder the list — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. An empty page is not the end of the list: OnlyFans applies `offset` to the whole following collection before filtering it down to the requested list, so a page can come back empty while more results follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. * * @param string $account The Account ID * @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 - * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param \OnlyFansAPI\Following\FollowingListAllParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListAllParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListAllParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListAllParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -128,15 +128,15 @@ public function listAll( /** * @api * - * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. + * Get a paginated list of expired followings for an Account. This list has no order guarantee. Unlike the all and active lists, it is sorted by neither `subscribedByData.subscribeAt` nor `subscribedByData.expiredAt`. To poll for new expirations, page through the full list each cycle (`limit=50`, follow `_pagination.next_page` until it is null) and diff it against your own store using `subscribedByData.expiredAt`. Do NOT stop early at the first entry you have already seen, as that can silently skip real expirations. An empty page is not the end of the list either: OnlyFans applies `offset` to the whole following collection and only then filters that window down to expired subscriptions, so early pages can come back empty while hundreds of expired rows still follow. Keep following `_pagination.next_page` until it is `null` instead of stopping at the first empty page. Pass `sort=expire_date` (optionally with `sortDirection`) to get a deterministic order instead — see the parameter description for the caveat that OnlyFans persists the chosen order account-wide. Ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection, so prefer `sortDirection=asc` or `sort=is_expired` for expired-first results; for that reason `sort=expire_date` defaults to `asc` on this list when no `sortDirection` is given. * * @param string $account The Account ID * @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 - * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. This field is required when sortDirection is present. - * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\Sort|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\Sort>|null $sort Order the list by `last_activity` (the followed creator's last activity), `expire_date` (subscription expiry), `subscribe_date` (subscription start) or `is_expired` (expired first — OnlyFans only offers this one on the expired list). Omit it to keep whichever order is currently stored for the account. **Note:** OnlyFans persists this order account-wide, so it also applies to later requests that omit `sort` and to the creator's own onlyfans.com UI, until it is changed again. **Expired list:** OnlyFans applies `offset` to the whole following collection and only then filters it down to expired subscriptions, so ordering by expiry descending puts the still-active subscriptions first and moves the expired rows to the tail of the collection — the first several hundred offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to get expired-first results. For that reason `sort=expire_date` on the expired list defaults to `asc` instead of `desc` when you do not pass `sortDirection`. Whatever order you pick, an empty page is **not** the end of the list: keep following `_pagination.next_page` until it is `null` rather than stopping at the first empty page. This field is required when sortDirection is present. + * @param \OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection|value-of<\OnlyFansAPI\Following\FollowingListExpiredParams\SortDirection>|null $sortDirection Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exception: `sort=expire_date` on the expired list defaults to `asc`, because `desc` moves the expired rows to the tail of the underlying collection and leaves the early pages empty. Passing `sortDirection` explicitly always wins. * @param RequestOpts|null $requestOptions * * @throws APIException diff --git a/tests/Services/AccountsTest.php b/tests/Services/AccountsTest.php index b7f8a200..90e5bf8f 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('neque'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/ClientSessionsTest.php b/tests/Services/ClientSessionsTest.php index a2d9098c..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: 'gb', + proxyCountry: 'uk', ); // @phpstan-ignore-next-line method.alreadyNarrowedType diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 4e7c47e6..7bed4ed0 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( - 'asperiores', + 'voluptas', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'asperiores', + 'voluptas', 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 fa3dd189..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( - 'error', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'error', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'error', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'error', + 'ut', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 512eb224..50871953 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( - 'nesciunt', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'nesciunt', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'nesciunt', + 'enim', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'nesciunt', + 'enim', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 10f24495..7472c036 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -61,7 +61,7 @@ public function testListWithOptionalParams(): void publishDateStart: '2025-01-01', timezone: 'Europe/Prague', limit: 20, - type: ['post'], + type: ['chat'], ); // @phpstan-ignore-next-line method.alreadyNarrowedType 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 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 bc190aaf..0adedc23 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('reprehenderit'); // @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('quasi'); + $result = $this->client->smartLinks->listConversions('eos'); // @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('numquam'); // @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('ea'); + $result = $this->client->smartLinks->listSpenders('facilis'); // @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('quibusdam'); + $result = $this->client->smartLinks->retrieveCohortArps('sunt'); // @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('eveniet'); + $result = $this->client->smartLinks->retrieveStats('incidunt'); // @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 9b078a3c..d3958852 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( - 'enim', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'enim', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'enim', + 'reiciendis', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index ee74e609..d6786e91 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'veniam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'veniam', + 'vel', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'sit', + 'quis', 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( - 'architecto', + 'velit', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'architecto', + '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 f4c59a83..338caf19 100644 --- a/tests/Services/TrialLinksTest.php +++ b/tests/Services/TrialLinksTest.php @@ -80,7 +80,7 @@ public function testRetrieve(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'id', + 'et', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'est', + 'aut', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vel', + 'natus', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'vel', + 'natus', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'alias', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'alias', + 'saepe', 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 0fab3a4c..8e2dbf52 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: 'whwktrmekficw' + name: 'i' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'whwktrmekficw' + name: 'i' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 649cebb8022c3e782064b524be7a303da1647140 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 11:13:09 +0000 Subject: [PATCH 255/256] feat(api): api update --- .stats.yml | 4 +-- src/ServiceContracts/UserListsContract.php | 3 ++ src/Services/UserListsRawService.php | 7 ++-- src/Services/UserListsService.php | 9 +++-- src/UserLists/UserListListParams.php | 36 ++++++++++++++++--- src/UserLists/UserListListParams/View.php | 13 +++++++ 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/QueueTest.php | 2 +- .../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, 108 insertions(+), 56 deletions(-) create mode 100644 src/UserLists/UserListListParams/View.php diff --git a/.stats.yml b/.stats.yml index a48b1ad0..0751bec3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 265 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-adc2248fbfadd296a372e1cfaa0f2017dfa4a0d611edea0a6006264d4328cada.yml -openapi_spec_hash: 1986e762bd172ac144a57ea678357cad +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-5ac36f138ceb953477f1830fb90a8455ee5fb60bb00b79351f49a0d930a7bb44.yml +openapi_spec_hash: 4925a6c29f19d5958094e6a45fb3cd5a config_hash: 397c91e15c0024f8b5bbed9b82c2348c diff --git a/src/ServiceContracts/UserListsContract.php b/src/ServiceContracts/UserListsContract.php index dbe4a4d2..bb3ba9fc 100644 --- a/src/ServiceContracts/UserListsContract.php +++ b/src/ServiceContracts/UserListsContract.php @@ -8,6 +8,7 @@ use OnlyFansAPI\RequestOptions; use OnlyFansAPI\UserLists\UserListDeleteResponse; use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListParams\View; use OnlyFansAPI\UserLists\UserListListResponse; use OnlyFansAPI\UserLists\UserListNewResponse; use OnlyFansAPI\UserLists\UserListUpdateResponse; @@ -72,6 +73,7 @@ public function update( * @param string $account The Account ID * @param int|null $limit How many results to return in the request. Max. 50 user lists. Must be at least 10. Must not be greater than 50. * @param int|null $offset must be at least 0 + * @param View|value-of $view How to return the results. `queue` returns the user lists that are available for Mass-Messaging. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -80,6 +82,7 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + View|string|null $view = null, RequestOptions|array|null $requestOptions = null, ): UserListListResponse; diff --git a/src/Services/UserListsRawService.php b/src/Services/UserListsRawService.php index 21f5507d..50c80667 100644 --- a/src/Services/UserListsRawService.php +++ b/src/Services/UserListsRawService.php @@ -14,6 +14,7 @@ use OnlyFansAPI\UserLists\UserListDeleteResponse; use OnlyFansAPI\UserLists\UserListGetResponse; use OnlyFansAPI\UserLists\UserListListParams; +use OnlyFansAPI\UserLists\UserListListParams\View; use OnlyFansAPI\UserLists\UserListListResponse; use OnlyFansAPI\UserLists\UserListNewResponse; use OnlyFansAPI\UserLists\UserListRetrieveParams; @@ -138,10 +139,12 @@ public function update( /** * @api * - * Get a list of OnlyFans Collections - User Lists + * Get a list of OnlyFans Collections - User Lists. If you only want to get User Lists available for sending a Mass-Message, use `?view=queue` * * @param string $account The Account ID - * @param array{limit?: int|null, offset?: int|null}|UserListListParams $params + * @param array{ + * limit?: int|null, offset?: int|null, view?: View|value-of + * }|UserListListParams $params * @param RequestOpts|null $requestOptions * * @return BaseResponse diff --git a/src/Services/UserListsService.php b/src/Services/UserListsService.php index fce02d32..4efb6753 100644 --- a/src/Services/UserListsService.php +++ b/src/Services/UserListsService.php @@ -12,6 +12,7 @@ use OnlyFansAPI\Services\UserLists\UsersService; use OnlyFansAPI\UserLists\UserListDeleteResponse; use OnlyFansAPI\UserLists\UserListGetResponse; +use OnlyFansAPI\UserLists\UserListListParams\View; use OnlyFansAPI\UserLists\UserListListResponse; use OnlyFansAPI\UserLists\UserListNewResponse; use OnlyFansAPI\UserLists\UserListUpdateResponse; @@ -125,11 +126,12 @@ public function update( /** * @api * - * Get a list of OnlyFans Collections - User Lists + * Get a list of OnlyFans Collections - User Lists. If you only want to get User Lists available for sending a Mass-Message, use `?view=queue` * * @param string $account The Account ID * @param int|null $limit How many results to return in the request. Max. 50 user lists. Must be at least 10. Must not be greater than 50. * @param int|null $offset must be at least 0 + * @param View|value-of $view How to return the results. `queue` returns the user lists that are available for Mass-Messaging. * @param RequestOpts|null $requestOptions * * @throws APIException @@ -138,9 +140,12 @@ public function list( string $account, ?int $limit = null, ?int $offset = null, + View|string|null $view = null, RequestOptions|array|null $requestOptions = null, ): UserListListResponse { - $params = Util::removeNulls(['limit' => $limit, 'offset' => $offset]); + $params = Util::removeNulls( + ['limit' => $limit, 'offset' => $offset, 'view' => $view] + ); // @phpstan-ignore-next-line argument.type $response = $this->raw->list($account, params: $params, requestOptions: $requestOptions); diff --git a/src/UserLists/UserListListParams.php b/src/UserLists/UserListListParams.php index 63a1a66a..a200395b 100644 --- a/src/UserLists/UserListListParams.php +++ b/src/UserLists/UserListListParams.php @@ -8,14 +8,15 @@ use OnlyFansAPI\Core\Concerns\SdkModel; use OnlyFansAPI\Core\Concerns\SdkParams; use OnlyFansAPI\Core\Contracts\BaseModel; +use OnlyFansAPI\UserLists\UserListListParams\View; /** - * Get a list of OnlyFans Collections - User Lists. + * Get a list of OnlyFans Collections - User Lists. If you only want to get User Lists available for sending a Mass-Message, use `?view=queue`. * * @see OnlyFansAPI\Services\UserListsService::list() * * @phpstan-type UserListListParamsShape = array{ - * limit?: int|null, offset?: int|null + * limit?: int|null, offset?: int|null, view?: null|View|value-of * } */ final class UserListListParams implements BaseModel @@ -36,6 +37,14 @@ final class UserListListParams implements BaseModel #[Optional(nullable: true)] public ?int $offset; + /** + * How to return the results. `queue` returns the user lists that are available for Mass-Messaging. + * + * @var value-of|null $view + */ + #[Optional(enum: View::class)] + public ?string $view; + public function __construct() { $this->initialize(); @@ -45,13 +54,19 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. + * + * @param View|value-of|null $view */ - public static function with(?int $limit = null, ?int $offset = null): self - { + public static function with( + ?int $limit = null, + ?int $offset = null, + View|string|null $view = null + ): self { $self = new self; null !== $limit && $self['limit'] = $limit; null !== $offset && $self['offset'] = $offset; + null !== $view && $self['view'] = $view; return $self; } @@ -77,4 +92,17 @@ public function withOffset(?int $offset): self return $self; } + + /** + * How to return the results. `queue` returns the user lists that are available for Mass-Messaging. + * + * @param View|value-of $view + */ + public function withView(View|string $view): self + { + $self = clone $this; + $self['view'] = $view; + + return $self; + } } diff --git a/src/UserLists/UserListListParams/View.php b/src/UserLists/UserListListParams/View.php new file mode 100644 index 00000000..8760cfb9 --- /dev/null +++ b/src/UserLists/UserListListParams/View.php @@ -0,0 +1,13 @@ +markTestSkipped('Mock server tests are disabled'); } - $result = $this->client->accounts->disconnect('neque'); + $result = $this->client->accounts->disconnect('in'); // @phpstan-ignore-next-line method.alreadyNarrowedType $this->assertIsArray($result); diff --git a/tests/Services/Engagement/MessagesTest.php b/tests/Services/Engagement/MessagesTest.php index 7bed4ed0..e30934f9 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( - 'voluptas', + 'ipsa', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void } $result = $this->client->engagement->messages->getMessageBuyers( - 'voluptas', + 'ipsa', 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..2edc361e 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', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->add( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -71,7 +71,7 @@ public function testRemove(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); @@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void } $result = $this->client->media->vault->lists->media->remove( - 'ut', + 'qui', account: 'acct_XXXXXXXXXXXXXXX', mediaIDs: ['string'] ); diff --git a/tests/Services/Posts/CommentsTest.php b/tests/Services/Posts/CommentsTest.php index 50871953..95d35fbf 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( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.' ); @@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void } $result = $this->client->posts->comments->create( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', text: 'This is a comment.', answerTo: 123, @@ -78,7 +78,7 @@ public function testList(): void } $result = $this->client->posts->comments->list( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -94,7 +94,7 @@ public function testListWithOptionalParams(): void } $result = $this->client->posts->comments->list( - 'enim', + 'quis', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0, diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 7472c036..10f24495 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -61,7 +61,7 @@ public function testListWithOptionalParams(): void publishDateStart: '2025-01-01', timezone: 'Europe/Prague', limit: 20, - type: ['chat'], + type: ['post'], ); // @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/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 0adedc23..b83dc17c 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('reprehenderit'); + $result = $this->client->smartLinks->listClicks('eum'); // @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('eos'); + $result = $this->client->smartLinks->listConversions('quia'); // @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('numquam'); + $result = $this->client->smartLinks->listFans('totam'); // @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('facilis'); + $result = $this->client->smartLinks->listSpenders('enim'); // @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('sunt'); + $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('incidunt'); + $result = $this->client->smartLinks->retrieveStats('nisi'); // @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 d3958852..9ceb333b 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( - 'reiciendis', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->addStory( - 'reiciendis', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890, storyID: 2345678901, @@ -229,7 +229,7 @@ public function testRemoveStory(): void } $result = $this->client->stories->highlights->removeStory( - 'reiciendis', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); @@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void } $result = $this->client->stories->highlights->removeStory( - 'reiciendis', + 'saepe', account: 'acct_XXXXXXXXXXXXXXX', highlightID: 1234567890 ); diff --git a/tests/Services/TrackingLinksTest.php b/tests/Services/TrackingLinksTest.php index d6786e91..bb8f32bf 100644 --- a/tests/Services/TrackingLinksTest.php +++ b/tests/Services/TrackingLinksTest.php @@ -75,7 +75,7 @@ public function testRetrieve(): void } $result = $this->client->trackingLinks->retrieve( - 'vel', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trackingLinks->retrieve( - 'vel', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -120,7 +120,7 @@ public function testDelete(): void } $result = $this->client->trackingLinks->delete( - 'vel', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trackingLinks->delete( - 'vel', + 'quidem', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -152,7 +152,7 @@ public function testGetCohortArps(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + 'quasi', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -168,7 +168,7 @@ public function testGetCohortArpsWithOptionalParams(): void } $result = $this->client->trackingLinks->getCohortArps( - 'quis', + '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( - 'velit', + 'ut', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void } $result = $this->client->trackingLinks->getStats( - 'velit', + '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 338caf19..3ceb1c90 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', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -96,7 +96,7 @@ public function testRetrieveWithOptionalParams(): void } $result = $this->client->trialLinks->retrieve( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -125,7 +125,7 @@ public function testDelete(): void } $result = $this->client->trialLinks->delete( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -141,7 +141,7 @@ public function testDeleteWithOptionalParams(): void } $result = $this->client->trialLinks->delete( - 'et', + 'veniam', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -192,7 +192,7 @@ public function testListSubscribers(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -210,7 +210,7 @@ public function testListSubscribersWithOptionalParams(): void } $result = $this->client->trialLinks->listSubscribers( - 'aut', + 'quaerat', account: 'acct_XXXXXXXXXXXXXXX', limit: 10, offset: 0 @@ -228,7 +228,7 @@ public function testRetrieveCohortArps(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'natus', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -244,7 +244,7 @@ public function testRetrieveCohortArpsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveCohortArps( - 'natus', + 'deleniti', account: 'acct_XXXXXXXXXXXXXXX', acquisitionEnd: '2026-01-31T23:59:59Z', acquisitionStart: '2026-01-01T00:00:00Z', @@ -263,7 +263,7 @@ public function testRetrieveStats(): void } $result = $this->client->trialLinks->retrieveStats( - 'saepe', + 'quis', account: 'acct_XXXXXXXXXXXXXXX' ); @@ -279,7 +279,7 @@ public function testRetrieveStatsWithOptionalParams(): void } $result = $this->client->trialLinks->retrieveStats( - 'saepe', + 'quis', 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 8e2dbf52..16f301f2 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: 'i' + name: 'llscmhd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType @@ -57,7 +57,7 @@ public function testCreateWithOptionalParams(): void $result = $this->client->userLists->create( 'acct_XXXXXXXXXXXXXXX', - name: 'i' + name: 'llscmhd' ); // @phpstan-ignore-next-line method.alreadyNarrowedType From 51de8720da7223ed17d6722c0e4cff28c05271f1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 11:15:27 +0000 Subject: [PATCH 256/256] release: 0.3.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 259 ++++++++++++++++++++++++++++++++++ src/Version.php | 2 +- 3 files changed, 261 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..becf28b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,264 @@ # Changelog +## 0.3.0 (2026-08-26) + +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 ([649cebb](https://github.com/onlyfansapi/onlyfansapi-php/commit/649cebb8022c3e782064b524be7a303da1647140)) +* **api:** api update ([65663b8](https://github.com/onlyfansapi/onlyfansapi-php/commit/65663b8404cbda2887bac2a9257334c819f56d58)) +* **api:** api update ([47ae1fe](https://github.com/onlyfansapi/onlyfansapi-php/commit/47ae1fe33b05c557090c3a95df993f6801ee7a1b)) +* **api:** api update ([12e9698](https://github.com/onlyfansapi/onlyfansapi-php/commit/12e96984e9fbf5abf8a15bf8435e848277564c11)) +* **api:** api update ([609a680](https://github.com/onlyfansapi/onlyfansapi-php/commit/609a680017f503e0daf35e6f328c9ad7d25b3ffa)) +* **api:** api update ([f058df5](https://github.com/onlyfansapi/onlyfansapi-php/commit/f058df5963a4022f4f4cbf73dcb4817097fe9afe)) +* **api:** api update ([eb6fef4](https://github.com/onlyfansapi/onlyfansapi-php/commit/eb6fef411733907375939931602381e1d19dd086)) +* **api:** api update ([b7b91bb](https://github.com/onlyfansapi/onlyfansapi-php/commit/b7b91bb3d33a311cd000d31a40d5764cfa9591ab)) +* **api:** api update ([f38980a](https://github.com/onlyfansapi/onlyfansapi-php/commit/f38980a7192e8ef2d9fda642de3c7566166461f5)) +* **api:** api update ([be2c133](https://github.com/onlyfansapi/onlyfansapi-php/commit/be2c1338ef9e318d5d7a2141f48a999c6da36493)) +* **api:** api update ([d3fb898](https://github.com/onlyfansapi/onlyfansapi-php/commit/d3fb8986cb08ac0e535e9cdd269f7c784717991f)) +* **api:** api update ([9394f26](https://github.com/onlyfansapi/onlyfansapi-php/commit/9394f2646cc5895487dc8bf377725f22764b80aa)) +* **api:** api update ([3844d8c](https://github.com/onlyfansapi/onlyfansapi-php/commit/3844d8c036a33094b7e5afca92c5d2be91e17950)) +* **api:** api update ([e529286](https://github.com/onlyfansapi/onlyfansapi-php/commit/e5292862cb52981e0368dee55fa74e8da20e0e4e)) +* **api:** api update ([b07985b](https://github.com/onlyfansapi/onlyfansapi-php/commit/b07985b2cd436e49e38677a80d5d82ebb5568692)) +* **api:** api update ([5f77d74](https://github.com/onlyfansapi/onlyfansapi-php/commit/5f77d74c1388c7f3fbf0f66a87958522ec2aa299)) +* **api:** api update ([17d8b9b](https://github.com/onlyfansapi/onlyfansapi-php/commit/17d8b9bf75557dee8ac5b5bc8b93b994c66f24f7)) +* **api:** api update ([a586271](https://github.com/onlyfansapi/onlyfansapi-php/commit/a586271354a046aa924c47d47af0e598318e998a)) +* **api:** api update ([250217e](https://github.com/onlyfansapi/onlyfansapi-php/commit/250217e31bd7c74b9730ad584261a897a10e2178)) +* **api:** api update ([d79c3e2](https://github.com/onlyfansapi/onlyfansapi-php/commit/d79c3e21b18aa6e13557334ab6233ade8ad66c9b)) +* **api:** api update ([bab2d9f](https://github.com/onlyfansapi/onlyfansapi-php/commit/bab2d9f037122c0c24e3ce8c4c9fb888ff2741c0)) +* **api:** api update ([adec362](https://github.com/onlyfansapi/onlyfansapi-php/commit/adec3622e01a4306512ae0d3336bc6941e91b637)) +* **api:** api update ([d63b6bd](https://github.com/onlyfansapi/onlyfansapi-php/commit/d63b6bdb56d60896365cb0adc0978754971b4f19)) +* **api:** api update ([e469d6b](https://github.com/onlyfansapi/onlyfansapi-php/commit/e469d6b5fbf3de9c751b077bbef05c005ab21ce0)) +* **api:** api update ([bb09201](https://github.com/onlyfansapi/onlyfansapi-php/commit/bb092015a9ff8b0eb3987e732f76a4a58a24fe27)) +* **api:** api update ([b43af13](https://github.com/onlyfansapi/onlyfansapi-php/commit/b43af135a371f68ad5507d2332fc284ddb75b37c)) +* **api:** api update ([a4e2a77](https://github.com/onlyfansapi/onlyfansapi-php/commit/a4e2a77495340be69f7663e04694968fc3a59e21)) +* **api:** api update ([072a70f](https://github.com/onlyfansapi/onlyfansapi-php/commit/072a70fe7a78aa54c32294d702d64ab0f708726f)) +* **api:** api update ([73199a7](https://github.com/onlyfansapi/onlyfansapi-php/commit/73199a73c254fd74eb1c036c5c44a56cedb21446)) +* **api:** api update ([d300d06](https://github.com/onlyfansapi/onlyfansapi-php/commit/d300d0647c0a2c92dc887074437798fe2b692b96)) +* **api:** api update ([8f0be8b](https://github.com/onlyfansapi/onlyfansapi-php/commit/8f0be8b779b8161764cd7df5ba5965d31d1fc67c)) +* **api:** api update ([174b910](https://github.com/onlyfansapi/onlyfansapi-php/commit/174b910d828bf6365be93d33196781d02124520f)) +* **api:** api update ([3418d65](https://github.com/onlyfansapi/onlyfansapi-php/commit/3418d65a8e06502120584ba3eb21538b96b13bdc)) +* **api:** api update ([6787b0c](https://github.com/onlyfansapi/onlyfansapi-php/commit/6787b0c1e51389b6ea77d01de5144bd3e29da52f)) +* **api:** api update ([75d7ef5](https://github.com/onlyfansapi/onlyfansapi-php/commit/75d7ef5611997d8f1541a860a0fffe3fa3e86030)) +* **api:** api update ([b0908b5](https://github.com/onlyfansapi/onlyfansapi-php/commit/b0908b5c295d4f5fb0a54e76b58a6005d31dc08b)) +* **api:** api update ([37eb63f](https://github.com/onlyfansapi/onlyfansapi-php/commit/37eb63f1e8c049d477b58395f92fcefa68837bcc)) +* **api:** api update ([3ab3e0a](https://github.com/onlyfansapi/onlyfansapi-php/commit/3ab3e0a286d4eda5b9962872153bbe9a65cfae2b)) +* **api:** api update ([5e16a73](https://github.com/onlyfansapi/onlyfansapi-php/commit/5e16a7324f00eed4c73962fb9dc90964e96f7552)) +* **api:** api update ([61c019b](https://github.com/onlyfansapi/onlyfansapi-php/commit/61c019bd2b0761760f8d140e1ff1caa10cfedea1)) +* **api:** api update ([32cb1cc](https://github.com/onlyfansapi/onlyfansapi-php/commit/32cb1cc4e37894511e12dbf2ae5bbcff3a9821cc)) +* **api:** api update ([7f1715a](https://github.com/onlyfansapi/onlyfansapi-php/commit/7f1715ab6ad12cd9819cf1ccd76e4abb056d8dc0)) +* **api:** api update ([fa881b2](https://github.com/onlyfansapi/onlyfansapi-php/commit/fa881b29695363bc5d1ae42658b045ad7d119bb1)) +* **api:** api update ([ac7c99b](https://github.com/onlyfansapi/onlyfansapi-php/commit/ac7c99bfc3de1609b49a8ba60efb97d06a382f6e)) +* **api:** api update ([2876dc0](https://github.com/onlyfansapi/onlyfansapi-php/commit/2876dc0f8ed146e204cdecf7e84bcb9dfa71d6ca)) +* **api:** api update ([cb0e6e5](https://github.com/onlyfansapi/onlyfansapi-php/commit/cb0e6e5788c5780f9917cbcf6c936e6d361820c6)) +* **api:** api update ([0544581](https://github.com/onlyfansapi/onlyfansapi-php/commit/0544581a8ed77e501a164f773e63d2502e5b0064)) +* **api:** api update ([9eb42a0](https://github.com/onlyfansapi/onlyfansapi-php/commit/9eb42a013bd4f87f61421f415ed00dbfb6e1b105)) +* **api:** api update ([ffa1f6a](https://github.com/onlyfansapi/onlyfansapi-php/commit/ffa1f6a2470dcd30b44583e35992439675222ed2)) +* **api:** api update ([5e66416](https://github.com/onlyfansapi/onlyfansapi-php/commit/5e66416ce9f4d04d05df8c9d2bf9b8b54e2196f6)) +* **api:** api update ([039d65c](https://github.com/onlyfansapi/onlyfansapi-php/commit/039d65c27a24340315c2f9ea69ceef5e0084d88d)) +* **api:** api update ([b61e7c6](https://github.com/onlyfansapi/onlyfansapi-php/commit/b61e7c64315498fb5d5d35f98b5822ceed63b046)) +* **api:** api update ([5c43daf](https://github.com/onlyfansapi/onlyfansapi-php/commit/5c43dafc49b7475aeae313c372ca9e5c9d402312)) +* **api:** api update ([311cc1b](https://github.com/onlyfansapi/onlyfansapi-php/commit/311cc1b9eb87de598596a62e82d985e22d73f0a9)) +* **api:** api update ([6c88fb2](https://github.com/onlyfansapi/onlyfansapi-php/commit/6c88fb2864476935a034c2824d6505db9725a3ab)) +* **api:** api update ([6b7474d](https://github.com/onlyfansapi/onlyfansapi-php/commit/6b7474d551efd5daff9653baf2898d4e3709de2b)) +* **api:** api update ([1073c55](https://github.com/onlyfansapi/onlyfansapi-php/commit/1073c558a06fb83fa81a9ef8206d80bc3e758d57)) +* **api:** api update ([55e6dcb](https://github.com/onlyfansapi/onlyfansapi-php/commit/55e6dcbe8465e15cdf66a9c7f77528221df9236c)) +* **api:** api update ([3b529b0](https://github.com/onlyfansapi/onlyfansapi-php/commit/3b529b0218f273903c12e1c67cb63d4e992e428f)) +* **api:** api update ([2e57646](https://github.com/onlyfansapi/onlyfansapi-php/commit/2e57646d4699460cc99883d47518baf4929fadf2)) +* **api:** api update ([bc3e4e4](https://github.com/onlyfansapi/onlyfansapi-php/commit/bc3e4e40863d31c2e1e8d6c43c6337bd54a4f242)) +* **api:** api update ([9c2f121](https://github.com/onlyfansapi/onlyfansapi-php/commit/9c2f1210e96d24ccae4e47b1447f790b6c0cd503)) +* **api:** api update ([513f9a6](https://github.com/onlyfansapi/onlyfansapi-php/commit/513f9a69f46b4876387931bd012b12a47bd81b9e)) +* **api:** api update ([e04e2fe](https://github.com/onlyfansapi/onlyfansapi-php/commit/e04e2fe5038113ecb1f3ae387a54f533a7f4db6d)) +* **api:** api update ([1ebf3d2](https://github.com/onlyfansapi/onlyfansapi-php/commit/1ebf3d26261574f763c88d701b127f89107b7ba9)) +* **api:** api update ([7fdb212](https://github.com/onlyfansapi/onlyfansapi-php/commit/7fdb2123b81066fb5b145f1d8715eb680faf22e9)) +* **api:** api update ([1b1a08a](https://github.com/onlyfansapi/onlyfansapi-php/commit/1b1a08a72296380a645d50463ea8d063fdf6aa96)) +* **api:** api update ([8b106bf](https://github.com/onlyfansapi/onlyfansapi-php/commit/8b106bfa0cfedc03eda14da7ca4ce9b29cecf1e6)) +* **api:** api update ([4c1271b](https://github.com/onlyfansapi/onlyfansapi-php/commit/4c1271b671f1fe344c4c15a47fdaef7241c675c3)) +* **api:** api update ([7c1b424](https://github.com/onlyfansapi/onlyfansapi-php/commit/7c1b42441cf49a65571471982e3aaf3e45e9dd54)) +* **api:** api update ([3660482](https://github.com/onlyfansapi/onlyfansapi-php/commit/36604823f34aed6e8f14bb7a32faccad6a707cc1)) +* **api:** api update ([fc83887](https://github.com/onlyfansapi/onlyfansapi-php/commit/fc838875ba5abd3da70563bdf0ac5578daab14f1)) +* **api:** api update ([3647532](https://github.com/onlyfansapi/onlyfansapi-php/commit/364753292a163752a586384e7851a2a39545cd67)) +* **api:** api update ([933ceaf](https://github.com/onlyfansapi/onlyfansapi-php/commit/933ceaf62827139dea5d0a4b0e1a9a5d71292dca)) +* **api:** api update ([3d5e3a0](https://github.com/onlyfansapi/onlyfansapi-php/commit/3d5e3a030e281998fe561aa73be901dc9f76143f)) +* **api:** api update ([90cdf7a](https://github.com/onlyfansapi/onlyfansapi-php/commit/90cdf7a3699cd28a8d54aa6285fcfbbd303101a8)) +* **api:** api update ([6e2a066](https://github.com/onlyfansapi/onlyfansapi-php/commit/6e2a066f660fd178d7f6232e3a9ff70a4db21474)) +* **api:** api update ([90dc43f](https://github.com/onlyfansapi/onlyfansapi-php/commit/90dc43fa048189b21615140273803e771e28d33a)) +* **api:** api update ([14ad433](https://github.com/onlyfansapi/onlyfansapi-php/commit/14ad4337809fe6e3e1a49442755e53e01d4eac96)) +* **api:** api update ([df26de6](https://github.com/onlyfansapi/onlyfansapi-php/commit/df26de65574f5e90c4dde64ea62f0dedb655c7ca)) +* **api:** api update ([2e61f17](https://github.com/onlyfansapi/onlyfansapi-php/commit/2e61f17f9bd43e848ac02978e6941e2b6904f747)) +* **api:** api update ([28d9cf5](https://github.com/onlyfansapi/onlyfansapi-php/commit/28d9cf5ed7a55d8214c893fd6401261c2c9811cb)) +* **api:** api update ([e613dcc](https://github.com/onlyfansapi/onlyfansapi-php/commit/e613dcc83abe3ee46b7a856608b46ef86a690ea3)) +* **api:** api update ([fda48ad](https://github.com/onlyfansapi/onlyfansapi-php/commit/fda48ad5d6e2450be64a67e532564f174d87760e)) +* **api:** api update ([1a521c6](https://github.com/onlyfansapi/onlyfansapi-php/commit/1a521c6b2fbbcba6202b29c5d09217149fa87d79)) +* **api:** api update ([4d8fea7](https://github.com/onlyfansapi/onlyfansapi-php/commit/4d8fea7917c3670f2be5f168c9041ff8abb0ede0)) +* **api:** api update ([7c65e34](https://github.com/onlyfansapi/onlyfansapi-php/commit/7c65e34fb796753af717aacfdfc767602e7c3d90)) +* **api:** api update ([43fb611](https://github.com/onlyfansapi/onlyfansapi-php/commit/43fb611720f0c6f1f6881cc76693b182f0ec38d1)) +* **api:** api update ([63b803b](https://github.com/onlyfansapi/onlyfansapi-php/commit/63b803bb16c98fe9cc6263c50812fcfbc840e603)) +* **api:** api update ([5631351](https://github.com/onlyfansapi/onlyfansapi-php/commit/563135152037a9b4b992846f0464b365271b4ce8)) +* **api:** api update ([5a9bc71](https://github.com/onlyfansapi/onlyfansapi-php/commit/5a9bc71f33c8d61cee2ed8d7b7009132c99154e0)) +* **api:** api update ([311b007](https://github.com/onlyfansapi/onlyfansapi-php/commit/311b00787f6fbf95903b82e70ea6b3b604a18ec3)) +* **api:** api update ([ede5ea7](https://github.com/onlyfansapi/onlyfansapi-php/commit/ede5ea75da025bb9726609b583dcc0d193b3b7ed)) +* **api:** api update ([adf4188](https://github.com/onlyfansapi/onlyfansapi-php/commit/adf4188a1f29eed6d71b03218cad7c967b59c720)) +* **api:** api update ([be61b6a](https://github.com/onlyfansapi/onlyfansapi-php/commit/be61b6a7727ac8cefcf79478118479888b15759b)) +* **api:** api update ([204edc4](https://github.com/onlyfansapi/onlyfansapi-php/commit/204edc426c87747e85cad26f75182262b51f71ca)) +* **api:** api update ([e27ee20](https://github.com/onlyfansapi/onlyfansapi-php/commit/e27ee20392191505e3205a1b429ede316b46cb95)) +* **api:** api update ([d4121f8](https://github.com/onlyfansapi/onlyfansapi-php/commit/d4121f8403acd5114255cd43df59a4b132261398)) +* **api:** api update ([dc85f80](https://github.com/onlyfansapi/onlyfansapi-php/commit/dc85f80e4ba9376cfff5c48f086e616a467e048d)) +* **api:** api update ([a4fdaf5](https://github.com/onlyfansapi/onlyfansapi-php/commit/a4fdaf5c384493fed4ad4ee3d3ef5b912ab05128)) +* **api:** api update ([c0ece4e](https://github.com/onlyfansapi/onlyfansapi-php/commit/c0ece4e81d37fca61e9a56a173b5a7a19f24d4df)) +* **api:** api update ([bdedf23](https://github.com/onlyfansapi/onlyfansapi-php/commit/bdedf2395591ddf9bd887cd4b349652b9e81afc5)) +* **api:** api update ([4e57b3d](https://github.com/onlyfansapi/onlyfansapi-php/commit/4e57b3d2445c26ca27da00ba425ba7722bfc7936)) +* **api:** api update ([ccd75bd](https://github.com/onlyfansapi/onlyfansapi-php/commit/ccd75bdce1d0c210f37b7287fa5c0f48acfcfef4)) +* **api:** api update ([12f8cf3](https://github.com/onlyfansapi/onlyfansapi-php/commit/12f8cf3cd6b76587416ad7c27a728e6e1a408883)) +* **api:** api update ([a1a011a](https://github.com/onlyfansapi/onlyfansapi-php/commit/a1a011a29f5c788941c7a61118f7102b4a82b4f2)) +* **api:** api update ([a2d5d88](https://github.com/onlyfansapi/onlyfansapi-php/commit/a2d5d8873f9ab2a1b2300e07523b726d04e54d84)) +* **api:** api update ([fdcc20a](https://github.com/onlyfansapi/onlyfansapi-php/commit/fdcc20a65525cb33c52dd72b1795198b89a3b141)) +* **api:** api update ([cc90cd1](https://github.com/onlyfansapi/onlyfansapi-php/commit/cc90cd1ed3b2e2ea1c884d0000635fb194a5036c)) +* **api:** api update ([02fe111](https://github.com/onlyfansapi/onlyfansapi-php/commit/02fe111bb899a8f5d250487f89b183d2cc6ca030)) +* **api:** api update ([3a98764](https://github.com/onlyfansapi/onlyfansapi-php/commit/3a987641f786dfa1db2f33cc8daba7511f07357d)) +* **api:** api update ([75a59e5](https://github.com/onlyfansapi/onlyfansapi-php/commit/75a59e565544eaed1d54bfaf0313b1ec5257bc2b)) +* **api:** api update ([11e3c2d](https://github.com/onlyfansapi/onlyfansapi-php/commit/11e3c2d33a6ebc0ca136bd04ecc9dee6c64eac5c)) +* **api:** api update ([ac0f9fa](https://github.com/onlyfansapi/onlyfansapi-php/commit/ac0f9fa336c372eb515761f8ff71dd1cf034a6b2)) +* **api:** api update ([f2b56a9](https://github.com/onlyfansapi/onlyfansapi-php/commit/f2b56a91aa23f53a23db23e78ce7e41641667866)) +* **api:** api update ([bebd6e8](https://github.com/onlyfansapi/onlyfansapi-php/commit/bebd6e800d574dd73a70fc46d62a2bef60aa4da9)) +* **api:** api update ([16366f0](https://github.com/onlyfansapi/onlyfansapi-php/commit/16366f08898225796ecee8c1a562538522358437)) +* **api:** api update ([f45d0e0](https://github.com/onlyfansapi/onlyfansapi-php/commit/f45d0e0822eb6229f2d2792081b4481da6f6b0ff)) +* **api:** api update ([464bd11](https://github.com/onlyfansapi/onlyfansapi-php/commit/464bd110cf8c8e347d1e61eedf7cda992d8fd99f)) +* **api:** api update ([492b8ef](https://github.com/onlyfansapi/onlyfansapi-php/commit/492b8ef89b75829bfe16c9ac1f92961ba2f44a2d)) +* **api:** api update ([246fd25](https://github.com/onlyfansapi/onlyfansapi-php/commit/246fd254757217855ee2495f1fb6d481f3298876)) +* **api:** api update ([909fd2a](https://github.com/onlyfansapi/onlyfansapi-php/commit/909fd2adc9b469afd2d2fe97f7c8f58819ccc042)) +* **api:** api update ([0cede97](https://github.com/onlyfansapi/onlyfansapi-php/commit/0cede9771598c0c02e5e8ea135ff7af1ab44088c)) +* **api:** api update ([87e1f1d](https://github.com/onlyfansapi/onlyfansapi-php/commit/87e1f1d8765189fded614610d9f06342428c0a5d)) +* **api:** api update ([bc0d221](https://github.com/onlyfansapi/onlyfansapi-php/commit/bc0d221eeed6d629803c4742ff6e62c6516001a6)) +* **api:** api update ([d779efd](https://github.com/onlyfansapi/onlyfansapi-php/commit/d779efd499622dd95d3d23889ace78cfb374fc33)) +* **api:** api update ([0cbfd57](https://github.com/onlyfansapi/onlyfansapi-php/commit/0cbfd5707ff0a4e6e58726e4968a9e4825f1cfd3)) +* **api:** api update ([e55290e](https://github.com/onlyfansapi/onlyfansapi-php/commit/e55290e6d505256d5f91e3bbacc9745e63fc20a6)) +* **api:** api update ([f074936](https://github.com/onlyfansapi/onlyfansapi-php/commit/f074936f45c6f470c9d7a8490dadaf19df3ce2ed)) +* **api:** api update ([fb98e74](https://github.com/onlyfansapi/onlyfansapi-php/commit/fb98e7447a3fd62777f38ca770495d3251c330a8)) +* **api:** api update ([6fc2d94](https://github.com/onlyfansapi/onlyfansapi-php/commit/6fc2d9436ed70207505b25fd42bdcd4f5941bebe)) +* **api:** api update ([2589b75](https://github.com/onlyfansapi/onlyfansapi-php/commit/2589b753d38c316b7e38a8a2be929b1f9c896489)) +* **api:** api update ([d34ffb3](https://github.com/onlyfansapi/onlyfansapi-php/commit/d34ffb3e97bee8c9c6e45aac31e11145570326c7)) +* **api:** api update ([ce63a6c](https://github.com/onlyfansapi/onlyfansapi-php/commit/ce63a6cae99a93b473db662e9954821d76d17e43)) +* **api:** api update ([a407567](https://github.com/onlyfansapi/onlyfansapi-php/commit/a407567913fc92c2b89574cacd4b6b21cf81ff7f)) +* **api:** api update ([bc70597](https://github.com/onlyfansapi/onlyfansapi-php/commit/bc70597d4983cfd5a4cb775c5143b3adb276e941)) +* **api:** api update ([6d35ebf](https://github.com/onlyfansapi/onlyfansapi-php/commit/6d35ebfc7af999de5b813b1633e2cc40c3b863a9)) +* **api:** api update ([762460f](https://github.com/onlyfansapi/onlyfansapi-php/commit/762460fe9142f0b491befeecbab1487bb1506551)) +* **api:** api update ([a63b3c6](https://github.com/onlyfansapi/onlyfansapi-php/commit/a63b3c6b99eb54c25676c8ef2ebf8cbd3fcb2484)) +* **api:** api update ([b276693](https://github.com/onlyfansapi/onlyfansapi-php/commit/b2766937eb9f017dde188548b2e585c8c65c6998)) +* **api:** api update ([08189b1](https://github.com/onlyfansapi/onlyfansapi-php/commit/08189b15cc816b38194d4ec45d6ffb75fda1f498)) +* **api:** api update ([4fbfeed](https://github.com/onlyfansapi/onlyfansapi-php/commit/4fbfeed12c67c14ff79f8cef11452a9f23251bb5)) +* **api:** api update ([7c86617](https://github.com/onlyfansapi/onlyfansapi-php/commit/7c86617bb4d9b1b1ecdcb82e451d4ba5fa5239c4)) +* **api:** api update ([80b44f7](https://github.com/onlyfansapi/onlyfansapi-php/commit/80b44f742ee51c29f46706f23435d10fedef7a1a)) +* **api:** api update ([f05d0aa](https://github.com/onlyfansapi/onlyfansapi-php/commit/f05d0aa1ed5f84d65f2057ae144be24493375140)) +* **api:** api update ([fa45fa3](https://github.com/onlyfansapi/onlyfansapi-php/commit/fa45fa3a4ca46f2d14c8350880ad39aef8526bb7)) +* **api:** api update ([133644e](https://github.com/onlyfansapi/onlyfansapi-php/commit/133644ea2b8d697daa21eb26d37c092364bc0f61)) +* **api:** api update ([868e12d](https://github.com/onlyfansapi/onlyfansapi-php/commit/868e12d53ee830219a36981bfccc37c87da6f751)) +* **api:** api update ([2762457](https://github.com/onlyfansapi/onlyfansapi-php/commit/2762457f61c3545917b55f5493e20327e39fb56d)) +* **api:** api update ([a592b01](https://github.com/onlyfansapi/onlyfansapi-php/commit/a592b01dec40e5b5a6d88e21bc6bdc85973c741a)) +* **api:** api update ([321e302](https://github.com/onlyfansapi/onlyfansapi-php/commit/321e30286c5efe04dcdeff3ed05f44ea5e062a0c)) +* **api:** api update ([42fc2bb](https://github.com/onlyfansapi/onlyfansapi-php/commit/42fc2bbe2222e32343c8c5d37cf7b0f2869aa6b8)) +* **api:** api update ([d1494f6](https://github.com/onlyfansapi/onlyfansapi-php/commit/d1494f69402115a9b1442f4b2176a1e004e99ea6)) +* **api:** api update ([88c2852](https://github.com/onlyfansapi/onlyfansapi-php/commit/88c2852879b03d27ceef9a4c1e60839639ddfec8)) +* **api:** api update ([ab4f7c9](https://github.com/onlyfansapi/onlyfansapi-php/commit/ab4f7c96633d17c0faf0b750c3320aae01623e0c)) +* **api:** api update ([509b643](https://github.com/onlyfansapi/onlyfansapi-php/commit/509b643d97404e7d05c331df2d079472e814acaa)) +* **api:** api update ([50dc093](https://github.com/onlyfansapi/onlyfansapi-php/commit/50dc0935f4dd372dbace5caa21e36d2f85cadc2c)) +* **api:** api update ([8f416b9](https://github.com/onlyfansapi/onlyfansapi-php/commit/8f416b9bd3e7566bc669d8e9122967b0b36de383)) +* **api:** api update ([4edd87e](https://github.com/onlyfansapi/onlyfansapi-php/commit/4edd87e75d1b6e35cf9254145db0e2f262bca93c)) +* **api:** api update ([02c7518](https://github.com/onlyfansapi/onlyfansapi-php/commit/02c7518ec14f5868171160820372b1d5845c5920)) +* **api:** api update ([622c186](https://github.com/onlyfansapi/onlyfansapi-php/commit/622c186ed54d9abc05695d54c274097d4b9f4238)) +* **api:** api update ([8d6d088](https://github.com/onlyfansapi/onlyfansapi-php/commit/8d6d088dbaf7e08d97a7170b9a6ffc115aceb0c5)) +* **api:** api update ([7d1b31b](https://github.com/onlyfansapi/onlyfansapi-php/commit/7d1b31bc792dc7aecd6e62b6dfbcd77d7a33773b)) +* **api:** api update ([83a6511](https://github.com/onlyfansapi/onlyfansapi-php/commit/83a651119f5d55a15228c3d741c6ebf79d3e0359)) +* **api:** api update ([abf585e](https://github.com/onlyfansapi/onlyfansapi-php/commit/abf585e37f7bffdb0cdb9c688456d7bd4a0c6689)) +* **api:** api update ([9b0b7b0](https://github.com/onlyfansapi/onlyfansapi-php/commit/9b0b7b0b3d4372df0a7375a14d6862b1bfad6ee3)) +* **api:** api update ([aa7542f](https://github.com/onlyfansapi/onlyfansapi-php/commit/aa7542f7a03057cfef5a44cd14d47c99aa1ff644)) +* **api:** api update ([5cda4df](https://github.com/onlyfansapi/onlyfansapi-php/commit/5cda4df3332856944967edce81b5e5c11c58fc75)) +* **api:** api update ([d0ba057](https://github.com/onlyfansapi/onlyfansapi-php/commit/d0ba0578aae69a3765ce4f77aae6ee194be0ca4c)) +* **api:** api update ([df6b350](https://github.com/onlyfansapi/onlyfansapi-php/commit/df6b350cb9735678d361f97bb3fd078be605c6cd)) +* **api:** api update ([b2cae90](https://github.com/onlyfansapi/onlyfansapi-php/commit/b2cae90f3efc9c3656c38732870d27126b4521cc)) +* **api:** api update ([fc8995f](https://github.com/onlyfansapi/onlyfansapi-php/commit/fc8995fc637a3c95aa1ad77a3868e864ccc95543)) +* **api:** api update ([d151489](https://github.com/onlyfansapi/onlyfansapi-php/commit/d15148976bf50d331ce34a983ff72f52f119cabc)) +* **api:** api update ([3b1d09c](https://github.com/onlyfansapi/onlyfansapi-php/commit/3b1d09c2cd6c88886dfe193831a4963f8e66896c)) +* **api:** api update ([9b3e791](https://github.com/onlyfansapi/onlyfansapi-php/commit/9b3e791374ee71191e9ef674f0f3c64b76cce003)) +* **api:** api update ([c4fbab6](https://github.com/onlyfansapi/onlyfansapi-php/commit/c4fbab615f81360e60b2fb4c66bdce2ac1a94970)) +* **api:** api update ([0f0d67c](https://github.com/onlyfansapi/onlyfansapi-php/commit/0f0d67c06cea567a023b1d8531c9e01af6df82e8)) +* **api:** api update ([66163a6](https://github.com/onlyfansapi/onlyfansapi-php/commit/66163a6c7f9ae3860a1990e76752487ad8086c49)) +* **api:** api update ([d016d26](https://github.com/onlyfansapi/onlyfansapi-php/commit/d016d26b516c610bd4ce7fadb710f1c9a655f171)) +* **api:** api update ([de53aff](https://github.com/onlyfansapi/onlyfansapi-php/commit/de53aff347fc0ac42d74df5d742453349f07a338)) +* **api:** api update ([411b946](https://github.com/onlyfansapi/onlyfansapi-php/commit/411b94600cb1b57f1a82e50fd7ae7b6b23eacadc)) +* **api:** api update ([6274863](https://github.com/onlyfansapi/onlyfansapi-php/commit/6274863a01d8f196d7161adb081950f8fb6a4cf2)) +* **api:** api update ([413b8c1](https://github.com/onlyfansapi/onlyfansapi-php/commit/413b8c184c72d4839268efcef0b36140f52be3ce)) +* **api:** api update ([17830d7](https://github.com/onlyfansapi/onlyfansapi-php/commit/17830d7f13f67aa3456198cf87eee4a99ac7adcd)) +* **api:** api update ([d5abe7f](https://github.com/onlyfansapi/onlyfansapi-php/commit/d5abe7fb186a1eb5e11aa97524514b5320b4b066)) +* **api:** api update ([8c42ee6](https://github.com/onlyfansapi/onlyfansapi-php/commit/8c42ee64c4e82dd2893bd408b25a211760f1113d)) +* **api:** api update ([089f32a](https://github.com/onlyfansapi/onlyfansapi-php/commit/089f32a50b050a188236a80363fb918eb75c48ab)) +* **api:** api update ([5ebb20b](https://github.com/onlyfansapi/onlyfansapi-php/commit/5ebb20be8adb36f4457e71d97d6cb47de24e5d9f)) +* **api:** api update ([3349342](https://github.com/onlyfansapi/onlyfansapi-php/commit/334934272f9a77f31aeaa8d548fc99b61a93f3a8)) +* **api:** api update ([3614d93](https://github.com/onlyfansapi/onlyfansapi-php/commit/3614d93baa388d8908cc8cad2160daf382d0692d)) +* **api:** api update ([c7900af](https://github.com/onlyfansapi/onlyfansapi-php/commit/c7900afc8be139d1204c5af45a6cf2239d03d512)) +* **api:** api update ([d14348f](https://github.com/onlyfansapi/onlyfansapi-php/commit/d14348f5024c0fcf482889f6cca6091dd9d50221)) +* **api:** api update ([7854d50](https://github.com/onlyfansapi/onlyfansapi-php/commit/7854d50822d1850e8362b0f2f89e71b45ad98f9b)) +* **api:** api update ([8f2de97](https://github.com/onlyfansapi/onlyfansapi-php/commit/8f2de97025328d9c9e5106ebf41e6d3b00cc4c07)) +* **api:** api update ([e4222da](https://github.com/onlyfansapi/onlyfansapi-php/commit/e4222dafa844e85800a60a5113c925e58ef50090)) +* **api:** api update ([241af94](https://github.com/onlyfansapi/onlyfansapi-php/commit/241af94cde44cb7954b2a99b91bef32fc1c969ad)) +* **api:** api update ([5a89776](https://github.com/onlyfansapi/onlyfansapi-php/commit/5a8977693529bca2803a66586bffe38ba8763453)) +* **api:** api update ([ea0d119](https://github.com/onlyfansapi/onlyfansapi-php/commit/ea0d1195bcb5930ff82a4528c11d6c7b7521cb6c)) +* **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)) +* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([d01d9da](https://github.com/onlyfansapi/onlyfansapi-php/commit/d01d9da90dd3588c632b6122ba15d2695eb2b475)) + + +### Chores + +* **internal:** codegen related update ([c39ce46](https://github.com/onlyfansapi/onlyfansapi-php/commit/c39ce46046aeb093413ff873d8d62b8f4f9d19e6)) + ## 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