Skip to content

Commit 17ea405

Browse files
feat(api): update via SDK Studio
1 parent f8bf6c3 commit 17ea405

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ffefc234d11c041cadab66fa6e7c379cebbd9422d38f2b1b1019e425ae19bbd8.yml
3-
openapi_spec_hash: aa04a371ff95b44847450d657ad0a920
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-3edc7a0eef4a0d4495782efbdb0d9b777a55aee058dab119f90de56019441326.yml
3+
openapi_spec_hash: dff0b1efa1c1614cf770ed8327cefab2
44
config_hash: f33cc77a9c01e879ad127194c897a988

src/resources/apps/invocations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Invocations extends APIResource {
2828
* @example
2929
* ```ts
3030
* const invocation = await client.apps.invocations.retrieve(
31-
* 'ckqwer3o20000jb9s7abcdef',
31+
* 'rr33xuugxj9h0bkf1rdt2bet',
3232
* );
3333
* ```
3434
*/

src/resources/browsers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Browsers extends APIResource {
1414
* @example
1515
* ```ts
1616
* const browser = await client.browsers.create({
17-
* invocation_id: 'ckqwer3o20000jb9s7abcdef',
17+
* invocation_id: 'rr33xuugxj9h0bkf1rdt2bet',
1818
* });
1919
* ```
2020
*/
@@ -28,7 +28,7 @@ export class Browsers extends APIResource {
2828
* @example
2929
* ```ts
3030
* const browser = await client.browsers.retrieve(
31-
* 'e5bf36fe-9247-4e2b-8b5a-2f594cc1c073',
31+
* 'htzv5orfit78e1m2biiifpbv',
3232
* );
3333
* ```
3434
*/
@@ -73,7 +73,7 @@ export class Browsers extends APIResource {
7373
* @example
7474
* ```ts
7575
* await client.browsers.deleteByID(
76-
* 'e5bf36fe-9247-4e2b-8b5a-2f594cc1c073',
76+
* 'htzv5orfit78e1m2biiifpbv',
7777
* );
7878
* ```
7979
*/

tests/api-resources/apps/invocations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('resource invocations', () => {
3636

3737
// skipped: tests are disabled for the time being
3838
test.skip('retrieve', async () => {
39-
const responsePromise = client.apps.invocations.retrieve('ckqwer3o20000jb9s7abcdef');
39+
const responsePromise = client.apps.invocations.retrieve('rr33xuugxj9h0bkf1rdt2bet');
4040
const rawResponse = await responsePromise.asResponse();
4141
expect(rawResponse).toBeInstanceOf(Response);
4242
const response = await responsePromise;

tests/api-resources/browsers.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const client = new Kernel({
1010
describe('resource browsers', () => {
1111
// skipped: tests are disabled for the time being
1212
test.skip('create: only required params', async () => {
13-
const responsePromise = client.browsers.create({ invocation_id: 'ckqwer3o20000jb9s7abcdef' });
13+
const responsePromise = client.browsers.create({ invocation_id: 'rr33xuugxj9h0bkf1rdt2bet' });
1414
const rawResponse = await responsePromise.asResponse();
1515
expect(rawResponse).toBeInstanceOf(Response);
1616
const response = await responsePromise;
@@ -23,14 +23,14 @@ describe('resource browsers', () => {
2323
// skipped: tests are disabled for the time being
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.browsers.create({
26-
invocation_id: 'ckqwer3o20000jb9s7abcdef',
27-
persistence: { id: 'my-shared-browser' },
26+
invocation_id: 'rr33xuugxj9h0bkf1rdt2bet',
27+
persistence: { id: 'my-awesome-browser-for-user-1234' },
2828
});
2929
});
3030

3131
// skipped: tests are disabled for the time being
3232
test.skip('retrieve', async () => {
33-
const responsePromise = client.browsers.retrieve('e5bf36fe-9247-4e2b-8b5a-2f594cc1c073');
33+
const responsePromise = client.browsers.retrieve('htzv5orfit78e1m2biiifpbv');
3434
const rawResponse = await responsePromise.asResponse();
3535
expect(rawResponse).toBeInstanceOf(Response);
3636
const response = await responsePromise;
@@ -71,7 +71,7 @@ describe('resource browsers', () => {
7171

7272
// skipped: tests are disabled for the time being
7373
test.skip('deleteByID', async () => {
74-
const responsePromise = client.browsers.deleteByID('e5bf36fe-9247-4e2b-8b5a-2f594cc1c073');
74+
const responsePromise = client.browsers.deleteByID('htzv5orfit78e1m2biiifpbv');
7575
const rawResponse = await responsePromise.asResponse();
7676
expect(rawResponse).toBeInstanceOf(Response);
7777
const response = await responsePromise;

0 commit comments

Comments
 (0)