Skip to content

Commit ef7dfdd

Browse files
feat(api): api update
1 parent 36e8f69 commit ef7dfdd

12 files changed

Lines changed: 46 additions & 46 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: 266
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-0bfdc049d3b644f857cc8aaf50d485a0ecf7d2615d07c5141a47bcb2ca53c501.yml
3-
openapi_spec_hash: 734b97d3d08575c824bc06df2a9c87e7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-ad938f500376cbcae3299507132eab0c74bdb34628abb43b9be1c74bf72b9772.yml
3+
openapi_spec_hash: da475361c28b843ddd1b45bbea333762
44
config_hash: 91d6546a82dc433b7ba1747dbe1ce4a6

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('quae');
50+
$result = $this->client->accounts->disconnect('nobis');
5151

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

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-
'id',
40+
'et',
4141
account: 'acct_XXXXXXXXXXXXXXX'
4242
);
4343

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

5555
$result = $this->client->engagement->messages->getMessageBuyers(
56-
'id',
56+
'et',
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-
'maiores',
40+
'nihil',
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-
'maiores',
57+
'nihil',
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-
'maiores',
74+
'nihil',
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-
'maiores',
91+
'nihil',
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-
'sed',
45+
'impedit',
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-
'sed',
62+
'impedit',
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-
'sed',
81+
'impedit',
8282
account: 'acct_XXXXXXXXXXXXXXX'
8383
);
8484

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

9696
$result = $this->client->posts->comments->list(
97-
'sed',
97+
'impedit',
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/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: 6)
82+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12)
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: 6)
104+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 12)
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: 6)
82+
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12)
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: 6)
104+
->enableOrUpdateAutomaticPosting('acct_XXXXXXXXXXXXXXX', period: 12)
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('omnis');
120+
$result = $this->client->smartLinks->listClicks('rerum');
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('commodi');
133+
$result = $this->client->smartLinks->listConversions('facilis');
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('voluptas');
146+
$result = $this->client->smartLinks->listFans('ducimus');
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('impedit');
159+
$result = $this->client->smartLinks->listSpenders('nam');
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('omnis');
172+
$result = $this->client->smartLinks->retrieveCohortArps('eaque');
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('dolor');
185+
$result = $this->client->smartLinks->retrieveStats('impedit');
186186

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

tests/Services/Stories/HighlightsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function testAddStory(): void
193193
}
194194

195195
$result = $this->client->stories->highlights->addStory(
196-
'quis',
196+
'maxime',
197197
account: 'acct_XXXXXXXXXXXXXXX',
198198
highlightID: 1234567890,
199199
storyID: 2345678901,
@@ -211,7 +211,7 @@ public function testAddStoryWithOptionalParams(): void
211211
}
212212

213213
$result = $this->client->stories->highlights->addStory(
214-
'quis',
214+
'maxime',
215215
account: 'acct_XXXXXXXXXXXXXXX',
216216
highlightID: 1234567890,
217217
storyID: 2345678901,
@@ -229,7 +229,7 @@ public function testRemoveStory(): void
229229
}
230230

231231
$result = $this->client->stories->highlights->removeStory(
232-
'quis',
232+
'maxime',
233233
account: 'acct_XXXXXXXXXXXXXXX',
234234
highlightID: 1234567890
235235
);
@@ -246,7 +246,7 @@ public function testRemoveStoryWithOptionalParams(): void
246246
}
247247

248248
$result = $this->client->stories->highlights->removeStory(
249-
'quis',
249+
'maxime',
250250
account: 'acct_XXXXXXXXXXXXXXX',
251251
highlightID: 1234567890
252252
);

tests/Services/TrackingLinksTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testRetrieve(): void
7575
}
7676

7777
$result = $this->client->trackingLinks->retrieve(
78-
'consequuntur',
78+
'et',
7979
account: 'acct_XXXXXXXXXXXXXXX'
8080
);
8181

@@ -91,7 +91,7 @@ public function testRetrieveWithOptionalParams(): void
9191
}
9292

9393
$result = $this->client->trackingLinks->retrieve(
94-
'consequuntur',
94+
'et',
9595
account: 'acct_XXXXXXXXXXXXXXX'
9696
);
9797

@@ -120,7 +120,7 @@ public function testDelete(): void
120120
}
121121

122122
$result = $this->client->trackingLinks->delete(
123-
'consequuntur',
123+
'et',
124124
account: 'acct_XXXXXXXXXXXXXXX'
125125
);
126126

@@ -136,7 +136,7 @@ public function testDeleteWithOptionalParams(): void
136136
}
137137

138138
$result = $this->client->trackingLinks->delete(
139-
'consequuntur',
139+
'et',
140140
account: 'acct_XXXXXXXXXXXXXXX'
141141
);
142142

@@ -187,7 +187,7 @@ public function testGetStats(): void
187187
}
188188

189189
$result = $this->client->trackingLinks->getStats(
190-
'cupiditate',
190+
'voluptatem',
191191
account: 'acct_XXXXXXXXXXXXXXX'
192192
);
193193

@@ -203,7 +203,7 @@ public function testGetStatsWithOptionalParams(): void
203203
}
204204

205205
$result = $this->client->trackingLinks->getStats(
206-
'cupiditate',
206+
'voluptatem',
207207
account: 'acct_XXXXXXXXXXXXXXX',
208208
dateEnd: '2026-01-31T23:59:59Z',
209209
dateStart: '2026-01-01T00:00:00Z',

0 commit comments

Comments
 (0)