File tree Expand file tree Collapse file tree 8 files changed +15
-18
lines changed
Expand file tree Collapse file tree 8 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 14
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-4fd8477b6ac821ae7ed8be9f2bf0995788a1b89009bf771bff6868f3a62c0c50 .yml
3- openapi_spec_hash : 43ec44a0c44eacf31a71a5f00cd28a83
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-5005d23980f589ea52eb1678ed620336b7c1172e3b1493a5c819c6b00f22203e .yml
3+ openapi_spec_hash : 2a29f55c69490ab4d0ee5eb32727ab46
44config_hash : 66be21d9e622533a4b22a18501a02005
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { RequestOptions } from '../internal/request-options';
66
77export class BuildTargetOutputs extends APIResource {
88 /**
9- * TODO
9+ * Download the output of a build target
1010 */
1111 retrieve (
1212 query : BuildTargetOutputRetrieveParams ,
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ import { path } from '../internal/utils/path';
88
99export class Builds extends APIResource {
1010 /**
11- * TODO
11+ * Create a new build
1212 */
1313 create ( body : BuildCreateParams , options ?: RequestOptions ) : APIPromise < BuildObject > {
1414 return this . _client . post ( '/v0/builds' , { body, ...options } ) ;
1515 }
1616
1717 /**
18- * TODO
18+ * Retrieve a build by ID
1919 */
2020 retrieve ( buildID : string , options ?: RequestOptions ) : APIPromise < BuildObject > {
2121 return this . _client . get ( path `/v0/builds/${ buildID } ` , options ) ;
2222 }
2323
2424 /**
25- * TODO
25+ * List builds for a project
2626 */
2727 list ( query : BuildListParams , options ?: RequestOptions ) : APIPromise < BuildListResponse > {
2828 return this . _client . get ( '/v0/builds' , { query, ...options } ) ;
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ import { path } from '../internal/utils/path';
77
88export class Orgs extends APIResource {
99 /**
10- * TODO
10+ * Retrieve an organization by name
1111 */
1212 retrieve ( orgName : string , options ?: RequestOptions ) : APIPromise < OrgRetrieveResponse > {
1313 return this . _client . get ( path `/v0/orgs/${ orgName } ` , options ) ;
1414 }
1515
1616 /**
17- * TODO
17+ * List organizations the user has access to
1818 */
1919 list ( options ?: RequestOptions ) : APIPromise < OrgListResponse > {
2020 return this . _client . get ( '/v0/orgs' , options ) ;
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import { path } from '../../internal/utils/path';
88
99export class Branches extends APIResource {
1010 /**
11- * TODO
11+ * Create a new branch for a project
1212 */
1313 create ( project : string , body : BranchCreateParams , options ?: RequestOptions ) : APIPromise < ProjectBranch > {
1414 return this . _client . post ( path `/v0/projects/${ project } /branches` , { body, ...options } ) ;
1515 }
1616
1717 /**
18- * TODO
18+ * Retrieve a project branch
1919 */
2020 retrieve (
2121 branch : string ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { path } from '../../internal/utils/path';
77
88export class Configs extends APIResource {
99 /**
10- * TODO
10+ * Retrieve configuration files for a project
1111 */
1212 retrieve (
1313 project : string ,
@@ -18,7 +18,7 @@ export class Configs extends APIResource {
1818 }
1919
2020 /**
21- * TODO
21+ * Generate configuration suggestions based on an OpenAPI spec
2222 */
2323 guess ( project : string , body : ConfigGuessParams , options ?: RequestOptions ) : APIPromise < ConfigGuessResponse > {
2424 return this . _client . post ( path `/v0/projects/${ project } /configs/guess` , { body, ...options } ) ;
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ export class Projects extends APIResource {
2323 snippets : SnippetsAPI . Snippets = new SnippetsAPI . Snippets ( this . _client ) ;
2424
2525 /**
26- * TODO
26+ * Retrieve a project by name
2727 */
2828 retrieve ( projectName : string , options ?: RequestOptions ) : APIPromise < ProjectRetrieveResponse > {
2929 return this . _client . get ( path `/v0/projects/${ projectName } ` , options ) ;
3030 }
3131
3232 /**
33- * TODO
33+ * Update a project's properties
3434 */
3535 update (
3636 projectName : string ,
@@ -41,7 +41,7 @@ export class Projects extends APIResource {
4141 }
4242
4343 /**
44- * TODO
44+ * List projects in an organization
4545 */
4646 list ( query : ProjectListParams , options ?: RequestOptions ) : APIPromise < ProjectListResponse > {
4747 return this . _client . get ( '/v0/projects' , { query, ...options } ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ import { RequestOptions } from '../../internal/request-options';
66import { path } from '../../internal/utils/path' ;
77
88export class Snippets extends APIResource {
9- /**
10- * TODO
11- */
129 createRequest (
1310 projectName : string ,
1411 body : SnippetCreateRequestParams ,
You can’t perform that action at this time.
0 commit comments