Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6114dbf
feat(api): manual updates
stainless-app[bot] May 25, 2026
2ef90f9
feat(api): api update
stainless-app[bot] May 25, 2026
f3ef756
feat(api): api update
stainless-app[bot] May 25, 2026
8f5f056
codegen metadata
stainless-app[bot] May 25, 2026
9c5eb58
codegen metadata
stainless-app[bot] May 25, 2026
7c0a271
codegen metadata
stainless-app[bot] May 25, 2026
58b3827
codegen metadata
stainless-app[bot] May 25, 2026
6a4d30a
codegen metadata
stainless-app[bot] May 25, 2026
486d47f
feat(api): api update
stainless-app[bot] May 25, 2026
8666666
feat(api): api update
stainless-app[bot] May 25, 2026
5ab05cc
feat(api): api update
stainless-app[bot] May 25, 2026
1ea639f
feat(api): api update
stainless-app[bot] May 25, 2026
c2a1181
feat(api): api update
stainless-app[bot] May 26, 2026
8f7eca1
feat(api): api update
stainless-app[bot] May 26, 2026
9ac0e9f
feat(api): api update
stainless-app[bot] May 26, 2026
bd033bc
feat(api): api update
stainless-app[bot] May 26, 2026
3bcbd2e
feat(api): api update
stainless-app[bot] May 27, 2026
88d64e0
feat(api): api update
stainless-app[bot] May 27, 2026
94c9d7a
feat(api): api update
stainless-app[bot] May 27, 2026
9ff9772
feat(api): api update
stainless-app[bot] May 27, 2026
1f084c6
feat(api): api update
stainless-app[bot] May 27, 2026
0a0f76c
feat(api): api update
stainless-app[bot] May 27, 2026
b4af2b4
feat(api): api update
stainless-app[bot] May 28, 2026
150fbfa
feat(api): api update
stainless-app[bot] May 29, 2026
9edc1aa
feat(api): api update
stainless-app[bot] Jun 1, 2026
c7f9d31
feat(api): api update
stainless-app[bot] Jun 2, 2026
3465acb
feat(api): api update
stainless-app[bot] Jun 2, 2026
347d1c0
feat(api): api update
stainless-app[bot] Jun 3, 2026
e3ff810
feat(api): api update
stainless-app[bot] Jun 4, 2026
2ee574d
feat(api): api update
stainless-app[bot] Jun 4, 2026
75cb872
feat(api): api update
stainless-app[bot] Jun 4, 2026
220694c
feat(api): api update
stainless-app[bot] Jun 5, 2026
2666e0b
feat(api): api update
stainless-app[bot] Jun 5, 2026
8e1f537
feat(api): api update
stainless-app[bot] Jun 5, 2026
864aec8
codegen metadata
stainless-app[bot] Jun 5, 2026
ee92ab9
codegen metadata
stainless-app[bot] Jun 5, 2026
0f088f5
feat(api): api update
stainless-app[bot] Jun 5, 2026
a4a09a6
feat(api): api update
stainless-app[bot] Jun 5, 2026
77b0151
feat(api): api update
stainless-app[bot] Jun 6, 2026
6fdab28
feat(api): api update
stainless-app[bot] Jun 8, 2026
1d2e5c8
feat(api): api update
stainless-app[bot] Jun 9, 2026
14a80f6
feat(api): api update
stainless-app[bot] Jun 9, 2026
6c6d5e6
feat(api): api update
stainless-app[bot] Jun 9, 2026
19acccf
feat(api): api update
stainless-app[bot] Jun 9, 2026
c6a50ce
feat(api): api update
stainless-app[bot] Jun 11, 2026
90dd8e0
feat(api): api update
stainless-app[bot] Jun 11, 2026
71d4210
feat(api): api update
stainless-app[bot] Jun 11, 2026
9b2b115
feat(api): api update
stainless-app[bot] Jun 11, 2026
4280617
feat(api): api update
stainless-app[bot] Jun 12, 2026
b8e24d1
feat(api): api update
stainless-app[bot] Jun 12, 2026
25c90af
feat(api): api update
stainless-app[bot] Jun 12, 2026
aac1edf
feat(api): api update
stainless-app[bot] Jun 12, 2026
64a0147
feat(api): api update
stainless-app[bot] Jun 12, 2026
a1cb6f0
feat(api): api update
stainless-app[bot] Jun 12, 2026
8816948
feat(api): api update
stainless-app[bot] Jun 12, 2026
62f2237
release: 0.3.0
stainless-app[bot] Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.3.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 266
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ad938f500376cbcae3299507132eab0c74bdb34628abb43b9be1c74bf72b9772.yml
openapi_spec_hash: da475361c28b843ddd1b45bbea333762
config_hash: 91d6546a82dc433b7ba1747dbe1ce4a6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bdf0ec6c222e345e512af7c9c9ddc55c0fa72d3860a8c8be3e747667c8c31a81.yml
openapi_spec_hash: af3728e576ac859886d59cc48d3a513d
config_hash: 397c91e15c0024f8b5bbed9b82c2348c
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
# Changelog

## 0.3.0 (2026-06-12)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/onlyfansapi/onlyfansapi-php/compare/v0.2.0...v0.3.0)

### Features

* **api:** api update ([8816948](https://github.com/onlyfansapi/onlyfansapi-php/commit/881694852a614ed09c77ad922cacfa46dee98e36))
* **api:** api update ([a1cb6f0](https://github.com/onlyfansapi/onlyfansapi-php/commit/a1cb6f001508c421e91ca0c01087f4e2ffbcedeb))
* **api:** api update ([64a0147](https://github.com/onlyfansapi/onlyfansapi-php/commit/64a01471553792208a2e1d71b8f0a1a5b912e79e))
* **api:** api update ([aac1edf](https://github.com/onlyfansapi/onlyfansapi-php/commit/aac1edf29a337f9eadff734230a30276d1152825))
* **api:** api update ([25c90af](https://github.com/onlyfansapi/onlyfansapi-php/commit/25c90afc6bdfcee343e6c1823612ba24b31a5a3c))
* **api:** api update ([b8e24d1](https://github.com/onlyfansapi/onlyfansapi-php/commit/b8e24d103b3bac9a421fe448ed681feb7d893313))
* **api:** api update ([4280617](https://github.com/onlyfansapi/onlyfansapi-php/commit/428061742e3ddd2355a3c8b03ed4d1d7a04be836))
* **api:** api update ([9b2b115](https://github.com/onlyfansapi/onlyfansapi-php/commit/9b2b115d02535e2542f2164eed9b2cc259ddc2a5))
* **api:** api update ([71d4210](https://github.com/onlyfansapi/onlyfansapi-php/commit/71d4210a6cac23be4d7529548e2f0fc1e2023971))
* **api:** api update ([90dd8e0](https://github.com/onlyfansapi/onlyfansapi-php/commit/90dd8e01337f27a326fc2602614cc19c5ce3db0a))
* **api:** api update ([c6a50ce](https://github.com/onlyfansapi/onlyfansapi-php/commit/c6a50cefc4e7841499c092446deb1ee26b274d25))
* **api:** api update ([19acccf](https://github.com/onlyfansapi/onlyfansapi-php/commit/19acccf39ac8c0ebf3ecc73c132b61266c26ebc4))
* **api:** api update ([6c6d5e6](https://github.com/onlyfansapi/onlyfansapi-php/commit/6c6d5e61c3ec8a8da79936e1a8b01fbcf7b0df69))
* **api:** api update ([14a80f6](https://github.com/onlyfansapi/onlyfansapi-php/commit/14a80f6188eaaec670403e0aeb6b581b0b0e5d6f))
* **api:** api update ([1d2e5c8](https://github.com/onlyfansapi/onlyfansapi-php/commit/1d2e5c84c3c5d191f22bd07eb5c7fc6bb90aae11))
* **api:** api update ([6fdab28](https://github.com/onlyfansapi/onlyfansapi-php/commit/6fdab283d9e34a0ebbd0c16f8bd279b8e359e258))
* **api:** api update ([77b0151](https://github.com/onlyfansapi/onlyfansapi-php/commit/77b0151c0213f328df0f0aac7fd44bf5bf9c2f70))
* **api:** api update ([a4a09a6](https://github.com/onlyfansapi/onlyfansapi-php/commit/a4a09a64f6dc27355e543ad3953e636a28e8fdf9))
* **api:** api update ([0f088f5](https://github.com/onlyfansapi/onlyfansapi-php/commit/0f088f513642c5529a783199dd64f2ce8c8e4230))
* **api:** api update ([8e1f537](https://github.com/onlyfansapi/onlyfansapi-php/commit/8e1f5379384bdf367d9cfc2c03602508f94f6336))
* **api:** api update ([2666e0b](https://github.com/onlyfansapi/onlyfansapi-php/commit/2666e0be7997782696ec390d69ab3f050cf52489))
* **api:** api update ([220694c](https://github.com/onlyfansapi/onlyfansapi-php/commit/220694c485a0161bee8d450cd84015ecf8708b5c))
* **api:** api update ([75cb872](https://github.com/onlyfansapi/onlyfansapi-php/commit/75cb87233d33df903f3def9ecdf55d127944b3ed))
* **api:** api update ([2ee574d](https://github.com/onlyfansapi/onlyfansapi-php/commit/2ee574d033d7c8bb9abdfd7c3d81821c00cb4d2e))
* **api:** api update ([e3ff810](https://github.com/onlyfansapi/onlyfansapi-php/commit/e3ff8106fdcde19729265f1b1d5ff04337979b07))
* **api:** api update ([347d1c0](https://github.com/onlyfansapi/onlyfansapi-php/commit/347d1c065fcf3ad0e1f8986d3cb8a1e1e65ea4ea))
* **api:** api update ([3465acb](https://github.com/onlyfansapi/onlyfansapi-php/commit/3465acbd130e62466671d2b3e370bbecd67535f9))
* **api:** api update ([c7f9d31](https://github.com/onlyfansapi/onlyfansapi-php/commit/c7f9d3185f39dfae7081e07312e8773705807bd1))
* **api:** api update ([9edc1aa](https://github.com/onlyfansapi/onlyfansapi-php/commit/9edc1aa34aced890ec942b554c78fb241cd647f8))
* **api:** api update ([150fbfa](https://github.com/onlyfansapi/onlyfansapi-php/commit/150fbfa30008ab18d1dc527a787aff9f64705c39))
* **api:** api update ([b4af2b4](https://github.com/onlyfansapi/onlyfansapi-php/commit/b4af2b45a3e6605f103c614616e4ec6e14bafe56))
* **api:** api update ([0a0f76c](https://github.com/onlyfansapi/onlyfansapi-php/commit/0a0f76c7046fcc166854cf9887b4797a02475f7f))
* **api:** api update ([1f084c6](https://github.com/onlyfansapi/onlyfansapi-php/commit/1f084c62cbce1fbb85ca5d4e2bd4ebd7a39d5faa))
* **api:** api update ([9ff9772](https://github.com/onlyfansapi/onlyfansapi-php/commit/9ff977248256672f77bdc2b5ae9121b99b9a43bc))
* **api:** api update ([94c9d7a](https://github.com/onlyfansapi/onlyfansapi-php/commit/94c9d7ae48ac6603a0ae107adaa73b5cfc25253d))
* **api:** api update ([88d64e0](https://github.com/onlyfansapi/onlyfansapi-php/commit/88d64e0d7bc382250803223a0a119b97cf917d11))
* **api:** api update ([3bcbd2e](https://github.com/onlyfansapi/onlyfansapi-php/commit/3bcbd2e1e77f15472f81aa10191d842f1840c703))
* **api:** api update ([bd033bc](https://github.com/onlyfansapi/onlyfansapi-php/commit/bd033bceb8f8d5e383044483302f73ada1b05aa3))
* **api:** api update ([9ac0e9f](https://github.com/onlyfansapi/onlyfansapi-php/commit/9ac0e9fda55c719f635d291c5f60d7e5d719f1f8))
* **api:** api update ([8f7eca1](https://github.com/onlyfansapi/onlyfansapi-php/commit/8f7eca166f19e68ff8d7ba553041c2e17e054aed))
* **api:** api update ([c2a1181](https://github.com/onlyfansapi/onlyfansapi-php/commit/c2a1181639de5c1dca15ebbddb9ce5643631cbe1))
* **api:** api update ([1ea639f](https://github.com/onlyfansapi/onlyfansapi-php/commit/1ea639f4b9dbfaa3e8829e3ff58abc9a1831abaa))
* **api:** api update ([5ab05cc](https://github.com/onlyfansapi/onlyfansapi-php/commit/5ab05cc6e21349df94ab5cbcb6e1f5378cfdcbb9))
* **api:** api update ([8666666](https://github.com/onlyfansapi/onlyfansapi-php/commit/86666661d840fb5c1d425fb6ab31410064df75ae))
* **api:** api update ([486d47f](https://github.com/onlyfansapi/onlyfansapi-php/commit/486d47f26ce0d855bf9c3a6b79dbe201cc432e8d))
* **api:** api update ([f3ef756](https://github.com/onlyfansapi/onlyfansapi-php/commit/f3ef75633a53b82c200b7ae77412aef940ee5bb1))
* **api:** api update ([2ef90f9](https://github.com/onlyfansapi/onlyfansapi-php/commit/2ef90f96597eca193e34f4d811894ea3c77b67d2))
* **api:** manual updates ([6114dbf](https://github.com/onlyfansapi/onlyfansapi-php/commit/6114dbf2f78d56582016ea45f52666e0d26302bf))

## 0.2.0 (2026-05-25)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/onlyfansapi/onlyfansapi-php/compare/v0.1.0...v0.2.0)
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Parameters with a default value must be set by name.
```php
<?php

use Onlyfansapi\Client;
use OnlyFansAPI\Client;

$client = new Client(apiKey: getenv('ONLYFANSAPI_API_KEY') ?: 'My API Key');

Expand All @@ -56,14 +56,14 @@ However, builders are also provided `(new Dog)->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
<?php

use Onlyfansapi\Core\Exceptions\APIConnectionException;
use Onlyfansapi\Core\Exceptions\RateLimitException;
use Onlyfansapi\Core\Exceptions\APIStatusException;
use OnlyFansAPI\Core\Exceptions\APIConnectionException;
use OnlyFansAPI\Core\Exceptions\RateLimitException;
use OnlyFansAPI\Core\Exceptions\APIStatusException;

try {
$whoami = $client->whoami->retrieve();
Expand Down Expand Up @@ -105,7 +105,7 @@ You can use the `maxRetries` option to configure or disable this:
```php
<?php

use Onlyfansapi\Client;
use OnlyFansAPI\Client;

// Configure the default for all requests:
$client = new Client(requestOptions: ['maxRetries' => 0]);
Expand All @@ -121,7 +121,7 @@ Request parameters that correspond to file uploads can be passed as a resource r
```php
<?php

use Onlyfansapi\Core\FileParam;
use OnlyFansAPI\Core\FileParam;

// Pass a string with filename and content type:
$contents = file_get_contents('/path/to/file');
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"src/Version.php"
],
"psr-4": {
"Onlyfansapi\\": "src/"
"OnlyFansAPI\\": "src/"
}
},
"autoload-dev": {
Expand Down
12 changes: 6 additions & 6 deletions src/Accounts/AccountListParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts;
namespace OnlyFansAPI\Accounts;

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 connected OnlyFans accounts.
*
* @see Onlyfansapi\Services\AccountsService::list()
* @see OnlyFansAPI\Services\AccountsService::list()
*
* @phpstan-type AccountListParamsShape = array{
* onlyfansEmail?: string|null,
Expand Down
12 changes: 6 additions & 6 deletions src/Accounts/AccountListResponseItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts;
namespace OnlyFansAPI\Accounts;

use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\Concerns\SdkModel;
use Onlyfansapi\Core\Contracts\BaseModel;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;
use OnlyFansAPI\Core\Attributes\Optional;
use OnlyFansAPI\Core\Concerns\SdkModel;
use OnlyFansAPI\Core\Contracts\BaseModel;

/**
* @phpstan-import-type OnlyfansUserDataShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData
* @phpstan-import-type OnlyfansUserDataShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData
*
* @phpstan-type AccountListResponseItemShape = array{
* id?: string|null,
Expand Down
28 changes: 14 additions & 14 deletions src/Accounts/AccountListResponseItem/OnlyfansUserData.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem;
namespace OnlyFansAPI\Accounts\AccountListResponseItem;

use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\AvatarThumbs;
use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HasNewTicketReplies;
use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderSize;
use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderThumbs;
use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload;
use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\Concerns\SdkModel;
use Onlyfansapi\Core\Contracts\BaseModel;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\AvatarThumbs;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HasNewTicketReplies;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderSize;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderThumbs;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload;
use OnlyFansAPI\Core\Attributes\Optional;
use OnlyFansAPI\Core\Concerns\SdkModel;
use OnlyFansAPI\Core\Contracts\BaseModel;

/**
* @phpstan-import-type AvatarThumbsShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\AvatarThumbs
* @phpstan-import-type HasNewTicketRepliesShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HasNewTicketReplies
* @phpstan-import-type HeaderSizeShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderSize
* @phpstan-import-type HeaderThumbsShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderThumbs
* @phpstan-import-type UploadShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload
* @phpstan-import-type AvatarThumbsShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\AvatarThumbs
* @phpstan-import-type HasNewTicketRepliesShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HasNewTicketReplies
* @phpstan-import-type HeaderSizeShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderSize
* @phpstan-import-type HeaderThumbsShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\HeaderThumbs
* @phpstan-import-type UploadShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload
*
* @phpstan-type OnlyfansUserDataShape = array{
* id?: int|null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;

use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;

use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\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{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;

use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;

use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\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}
Expand Down
12 changes: 6 additions & 6 deletions src/Accounts/AccountListResponseItem/OnlyfansUserData/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData;

use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs;
use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\Concerns\SdkModel;
use Onlyfansapi\Core\Contracts\BaseModel;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs;
use OnlyFansAPI\Core\Attributes\Optional;
use OnlyFansAPI\Core\Concerns\SdkModel;
use OnlyFansAPI\Core\Contracts\BaseModel;

/**
* @phpstan-import-type GeoUploadArgsShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs
* @phpstan-import-type GeoUploadArgsShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs
*
* @phpstan-type UploadShape = array{
* geoUploadArgs?: null|GeoUploadArgs|GeoUploadArgsShape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload;

use Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs\Additional;
use Onlyfansapi\Core\Attributes\Optional;
use Onlyfansapi\Core\Concerns\SdkModel;
use Onlyfansapi\Core\Contracts\BaseModel;
use OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs\Additional;
use OnlyFansAPI\Core\Attributes\Optional;
use OnlyFansAPI\Core\Concerns\SdkModel;
use OnlyFansAPI\Core\Contracts\BaseModel;

/**
* @phpstan-import-type AdditionalShape from \Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs\Additional
* @phpstan-import-type AdditionalShape from \OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs\Additional
*
* @phpstan-type GeoUploadArgsShape = array{
* additional?: null|Additional|AdditionalShape,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Onlyfansapi\Accounts\AccountListResponseItem\OnlyfansUserData\Upload\GeoUploadArgs;
namespace OnlyFansAPI\Accounts\AccountListResponseItem\OnlyfansUserData\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}
Expand Down
16 changes: 8 additions & 8 deletions src/Analytics/Financial/FinancialGetForecastParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

declare(strict_types=1);

namespace Onlyfansapi\Analytics\Financial;
namespace OnlyFansAPI\Analytics\Financial;

use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Metric;
use Onlyfansapi\Analytics\Financial\FinancialGetForecastParams\Model;
use Onlyfansapi\Core\Attributes\Required;
use Onlyfansapi\Core\Concerns\SdkModel;
use Onlyfansapi\Core\Concerns\SdkParams;
use Onlyfansapi\Core\Contracts\BaseModel;
use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Metric;
use OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams\Model;
use OnlyFansAPI\Core\Attributes\Required;
use OnlyFansAPI\Core\Concerns\SdkModel;
use OnlyFansAPI\Core\Concerns\SdkParams;
use OnlyFansAPI\Core\Contracts\BaseModel;

/**
* Generate revenue or churn forecasts using statistical models (Moving Average, Linear Regression, ARIMA, SARIMA).
*
* @see Onlyfansapi\Services\Analytics\FinancialService::getForecast()
* @see OnlyFansAPI\Services\Analytics\FinancialService::getForecast()
*
* @phpstan-type FinancialGetForecastParamsShape = array{
* accountIDs: list<string>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastParams;
namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams;

/**
* The metric to forecast.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Onlyfansapi\Analytics\Financial\FinancialGetForecastParams;
namespace OnlyFansAPI\Analytics\Financial\FinancialGetForecastParams;

/**
* The forecasting model to use.
Expand Down
Loading