Skip to content

Commit d90adcf

Browse files
feat(api): api update
1 parent 7e04d3d commit d90adcf

14 files changed

Lines changed: 50 additions & 50 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 265
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-7bbc566a667d002998f62a2ead5d071d3803200182459c19b174753d4d951df7.yml
3-
openapi_spec_hash: 252d524c2fdbe68efba24e778a099f21
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-846e2b6fbe85ba8ec5298948062fa7f4779763b23c7c25bbffd63db7753b99e5.yml
3+
openapi_spec_hash: eb91e0e9a3fd8fdd9f173f0d9525b96c
44
config_hash: 397c91e15c0024f8b5bbed9b82c2348c

tests/Services/AccountsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testDisconnect(): void
4747
$this->markTestSkipped('Mock server tests are disabled');
4848
}
4949

50-
$result = $this->client->accounts->disconnect('sed');
50+
$result = $this->client->accounts->disconnect('eos');
5151

5252
// @phpstan-ignore-next-line method.alreadyNarrowedType
5353
$this->assertIsArray($result);

tests/Services/ClientSessionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testCreateWithOptionalParams(): void
5353
$result = $this->client->clientSessions->create(
5454
displayName: 'STRLCxGLVC Agency / Model: Stella',
5555
clientReferenceID: 'my_crm_model_12345',
56-
proxyCountry: 'uk',
56+
proxyCountry: 'gb',
5757
);
5858

5959
// @phpstan-ignore-next-line method.alreadyNarrowedType

tests/Services/Engagement/MessagesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testGetMessageBuyers(): void
3737
}
3838

3939
$result = $this->client->engagement->messages->getMessageBuyers(
40-
'cum',
40+
'amet',
4141
account: 'acct_XXXXXXXXXXXXXXX'
4242
);
4343

@@ -53,7 +53,7 @@ public function testGetMessageBuyersWithOptionalParams(): void
5353
}
5454

5555
$result = $this->client->engagement->messages->getMessageBuyers(
56-
'cum',
56+
'amet',
5757
account: 'acct_XXXXXXXXXXXXXXX',
5858
limit: 10,
5959
marker: 0,

tests/Services/Media/Vault/Lists/MediaTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testAdd(): void
3737
}
3838

3939
$result = $this->client->media->vault->lists->media->add(
40-
'porro',
40+
'rerum',
4141
account: 'acct_XXXXXXXXXXXXXXX',
4242
mediaIDs: ['string']
4343
);
@@ -54,7 +54,7 @@ public function testAddWithOptionalParams(): void
5454
}
5555

5656
$result = $this->client->media->vault->lists->media->add(
57-
'porro',
57+
'rerum',
5858
account: 'acct_XXXXXXXXXXXXXXX',
5959
mediaIDs: ['string']
6060
);
@@ -71,7 +71,7 @@ public function testRemove(): void
7171
}
7272

7373
$result = $this->client->media->vault->lists->media->remove(
74-
'porro',
74+
'rerum',
7575
account: 'acct_XXXXXXXXXXXXXXX',
7676
mediaIDs: ['string']
7777
);
@@ -88,7 +88,7 @@ public function testRemoveWithOptionalParams(): void
8888
}
8989

9090
$result = $this->client->media->vault->lists->media->remove(
91-
'porro',
91+
'rerum',
9292
account: 'acct_XXXXXXXXXXXXXXX',
9393
mediaIDs: ['string']
9494
);

tests/Services/Posts/CommentsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testCreate(): void
4242
}
4343

4444
$result = $this->client->posts->comments->create(
45-
'et',
45+
'eveniet',
4646
account: 'acct_XXXXXXXXXXXXXXX',
4747
text: 'This is a comment.'
4848
);
@@ -59,7 +59,7 @@ public function testCreateWithOptionalParams(): void
5959
}
6060

6161
$result = $this->client->posts->comments->create(
62-
'et',
62+
'eveniet',
6363
account: 'acct_XXXXXXXXXXXXXXX',
6464
text: 'This is a comment.',
6565
answerTo: 123,
@@ -78,7 +78,7 @@ public function testList(): void
7878
}
7979

8080
$result = $this->client->posts->comments->list(
81-
'et',
81+
'eveniet',
8282
account: 'acct_XXXXXXXXXXXXXXX'
8383
);
8484

@@ -94,11 +94,11 @@ public function testListWithOptionalParams(): void
9494
}
9595

9696
$result = $this->client->posts->comments->list(
97-
'et',
97+
'eveniet',
9898
account: 'acct_XXXXXXXXXXXXXXX',
9999
limit: 10,
100100
offset: 0,
101-
sort: 'desc'
101+
sort: 'desc',
102102
);
103103

104104
// @phpstan-ignore-next-line method.alreadyNarrowedType

tests/Services/QueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testListWithOptionalParams(): void
6161
publishDateStart: '2025-01-01',
6262
timezone: 'Europe/Prague',
6363
limit: 20,
64-
type: ['chat'],
64+
type: ['post'],
6565
);
6666

6767
// @phpstan-ignore-next-line method.alreadyNarrowedType

tests/Services/SavedForLater/Messages/SettingsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticMessaging(): void
7979
->savedForLater
8080
->messages
8181
->settings
82-
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24)
82+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48)
8383
;
8484

8585
// @phpstan-ignore-next-line method.alreadyNarrowedType
@@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticMessagingWithOptionalParams(): void
101101
->savedForLater
102102
->messages
103103
->settings
104-
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 24)
104+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 48)
105105
;
106106

107107
// @phpstan-ignore-next-line method.alreadyNarrowedType

tests/Services/SavedForLater/Posts/SettingsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testEnableOrUpdateAutomaticPosting(): void
7979
->savedForLater
8080
->posts
8181
->settings
82-
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24)
82+
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48)
8383
;
8484

8585
// @phpstan-ignore-next-line method.alreadyNarrowedType
@@ -101,7 +101,7 @@ public function testEnableOrUpdateAutomaticPostingWithOptionalParams(): void
101101
->savedForLater
102102
->posts
103103
->settings
104-
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 24)
104+
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 48)
105105
;
106106

107107
// @phpstan-ignore-next-line method.alreadyNarrowedType

tests/Services/SmartLinksTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function testListClicks(): void
117117
$this->markTestSkipped('Mock server tests are disabled');
118118
}
119119

120-
$result = $this->client->smartLinks->listClicks('est');
120+
$result = $this->client->smartLinks->listClicks('voluptatibus');
121121

122122
// @phpstan-ignore-next-line method.alreadyNarrowedType
123123
$this->assertInstanceOf(SmartLinkListClicksResponse::class, $result);
@@ -130,7 +130,7 @@ public function testListConversions(): void
130130
$this->markTestSkipped('Mock server tests are disabled');
131131
}
132132

133-
$result = $this->client->smartLinks->listConversions('reiciendis');
133+
$result = $this->client->smartLinks->listConversions('molestiae');
134134

135135
// @phpstan-ignore-next-line method.alreadyNarrowedType
136136
$this->assertInstanceOf(SmartLinkListConversionsResponse::class, $result);
@@ -143,7 +143,7 @@ public function testListFans(): void
143143
$this->markTestSkipped('Mock server tests are disabled');
144144
}
145145

146-
$result = $this->client->smartLinks->listFans('fugit');
146+
$result = $this->client->smartLinks->listFans('quas');
147147

148148
// @phpstan-ignore-next-line method.alreadyNarrowedType
149149
$this->assertInstanceOf(SmartLinkListFansResponse::class, $result);
@@ -156,7 +156,7 @@ public function testListSpenders(): void
156156
$this->markTestSkipped('Mock server tests are disabled');
157157
}
158158

159-
$result = $this->client->smartLinks->listSpenders('eos');
159+
$result = $this->client->smartLinks->listSpenders('cupiditate');
160160

161161
// @phpstan-ignore-next-line method.alreadyNarrowedType
162162
$this->assertInstanceOf(SmartLinkListSpendersResponse::class, $result);
@@ -169,7 +169,7 @@ public function testRetrieveCohortArps(): void
169169
$this->markTestSkipped('Mock server tests are disabled');
170170
}
171171

172-
$result = $this->client->smartLinks->retrieveCohortArps('temporibus');
172+
$result = $this->client->smartLinks->retrieveCohortArps('similique');
173173

174174
// @phpstan-ignore-next-line method.alreadyNarrowedType
175175
$this->assertNull($result);
@@ -182,7 +182,7 @@ public function testRetrieveStats(): void
182182
$this->markTestSkipped('Mock server tests are disabled');
183183
}
184184

185-
$result = $this->client->smartLinks->retrieveStats('alias');
185+
$result = $this->client->smartLinks->retrieveStats('unde');
186186

187187
// @phpstan-ignore-next-line method.alreadyNarrowedType
188188
$this->assertInstanceOf(SmartLinkGetStatsResponse::class, $result);

0 commit comments

Comments
 (0)