Skip to content

Commit 2ee574d

Browse files
feat(api): api update
1 parent e3ff810 commit 2ee574d

13 files changed

Lines changed: 48 additions & 48 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-c457858fdd0d57f8f4b687cbcf6b65e5b1cf86f7cefe0d3635cd484a401fd23b.yml
3-
openapi_spec_hash: f5f234adf7d7358ec8fb70bfb1e07aa5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-53b36aaa9725d64141e250734aabae8661a7c89e51dfe432dfa75bcfdb9dcb45.yml
3+
openapi_spec_hash: 3a472c76c2e292198869edf6e24266a9
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('quisquam');
50+
$result = $this->client->accounts->disconnect('quia');
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: 'us',
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-
'quo',
40+
'eum',
4141
account: 'acct_XXXXXXXXXXXXXXX'
4242
);
4343

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

5555
$result = $this->client->engagement->messages->getMessageBuyers(
56-
'quo',
56+
'eum',
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-
'quia',
40+
'ex',
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-
'quia',
57+
'ex',
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-
'quia',
74+
'ex',
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-
'quia',
91+
'ex',
9292
account: 'acct_XXXXXXXXXXXXXXX',
9393
mediaIDs: ['string']
9494
);

tests/Services/Posts/CommentsTest.php

Lines changed: 4 additions & 4 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-
'nobis',
45+
'molestiae',
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-
'nobis',
62+
'molestiae',
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-
'nobis',
81+
'molestiae',
8282
account: 'acct_XXXXXXXXXXXXXXX'
8383
);
8484

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

9696
$result = $this->client->posts->comments->list(
97-
'nobis',
97+
'molestiae',
9898
account: 'acct_XXXXXXXXXXXXXXX',
9999
limit: 10,
100100
offset: 0,

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: 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: 24)
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('fugiat');
120+
$result = $this->client->smartLinks->listClicks('enim');
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('voluptatem');
133+
$result = $this->client->smartLinks->listConversions('quos');
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('quia');
146+
$result = $this->client->smartLinks->listFans('qui');
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('sit');
159+
$result = $this->client->smartLinks->listSpenders('in');
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('laudantium');
172+
$result = $this->client->smartLinks->retrieveCohortArps('quam');
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('similique');
185+
$result = $this->client->smartLinks->retrieveStats('non');
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-
'sunt',
196+
'nulla',
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-
'sunt',
214+
'nulla',
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-
'sunt',
232+
'nulla',
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-
'sunt',
249+
'nulla',
250250
account: 'acct_XXXXXXXXXXXXXXX',
251251
highlightID: 1234567890
252252
);

0 commit comments

Comments
 (0)