Skip to content

Commit 7fc97e3

Browse files
feat(api): api update
1 parent 9ea05de commit 7fc97e3

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: 265
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-664ad434b9b4a88114f5f15b2aabcae9086c972fdbba878d585aade843aa0b0b.yml
3-
openapi_spec_hash: 6eac51372e7e59c79f7b88771542bc1e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-cd410c8d2420626ba2a6fae9c77ff5cc15006015a1dbe93b7a1406826d91eb1d.yml
3+
openapi_spec_hash: a476e19b411572cc5fee1fa461d9e9ca
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('libero');
50+
$result = $this->client->accounts->disconnect('sunt');
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-
'facilis',
40+
'voluptatem',
4141
account: 'acct_XXXXXXXXXXXXXXX'
4242
);
4343

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

5555
$result = $this->client->engagement->messages->getMessageBuyers(
56-
'facilis',
56+
'voluptatem',
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-
'voluptatem',
40+
'aut',
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-
'voluptatem',
57+
'aut',
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-
'voluptatem',
74+
'aut',
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-
'voluptatem',
91+
'aut',
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-
'dolores',
45+
'possimus',
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-
'dolores',
62+
'possimus',
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-
'dolores',
81+
'possimus',
8282
account: 'acct_XXXXXXXXXXXXXXX'
8383
);
8484

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

9696
$result = $this->client->posts->comments->list(
97-
'dolores',
97+
'possimus',
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: 12)
82+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6)
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: 12)
104+
->enableOrUpdateAutomaticMessaging('acct_XXXXXXXXXXXXXXX', period: 6)
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: 12)
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: 12)
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('ipsum');
120+
$result = $this->client->smartLinks->listClicks('unde');
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('omnis');
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('fugiat');
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('quidem');
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('praesentium');
172+
$result = $this->client->smartLinks->retrieveCohortArps('cupiditate');
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('ex');
185+
$result = $this->client->smartLinks->retrieveStats('eum');
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-
'quibusdam',
196+
'qui',
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-
'quibusdam',
214+
'qui',
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-
'quibusdam',
232+
'qui',
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-
'quibusdam',
249+
'qui',
250250
account: 'acct_XXXXXXXXXXXXXXX',
251251
highlightID: 1234567890
252252
);

0 commit comments

Comments
 (0)