File tree 9 files changed +19
-22
lines changed
resources/v1/resources/internal/resources/applications/client
9 files changed +19
-22
lines changed Original file line number Diff line number Diff line change @@ -6629,9 +6629,7 @@ This endpoint fetches the pod template hash to deployment version map for a spec
6629
6629
<dd >
6630
6630
6631
6631
``` typescript
6632
- await client .v1 .internal .applications .getPodTemplateHashToDeploymentVersion (" id" , {
6633
- podTemplateHashes: " podTemplateHashes" ,
6634
- });
6632
+ await client .v1 .internal .applications .getPodTemplateHashToDeploymentVersion (" id" );
6635
6633
```
6636
6634
6637
6635
</dd >
Original file line number Diff line number Diff line change @@ -41,18 +41,19 @@ export class Applications {
41
41
* @throws {@link TrueFoundry.BadRequestError }
42
42
*
43
43
* @example
44
- * await client.v1.internal.applications.getPodTemplateHashToDeploymentVersion("id", {
45
- * podTemplateHashes: "podTemplateHashes"
46
- * })
44
+ * await client.v1.internal.applications.getPodTemplateHashToDeploymentVersion("id")
47
45
*/
48
46
public async getPodTemplateHashToDeploymentVersion (
49
47
id : string ,
50
- request : TrueFoundry . v1 . internal . ApplicationsGetPodTemplateHashToDeploymentVersionRequest ,
48
+ request : TrueFoundry . v1 . internal . ApplicationsGetPodTemplateHashToDeploymentVersionRequest = { } ,
51
49
requestOptions ?: Applications . RequestOptions ,
52
50
) : Promise < Record < string , number > > {
53
51
const { podTemplateHashes } = request ;
54
52
const _queryParams : Record < string , string | string [ ] | object | object [ ] | null > = { } ;
55
- _queryParams [ "podTemplateHashes" ] = podTemplateHashes ;
53
+ if ( podTemplateHashes != null ) {
54
+ _queryParams [ "podTemplateHashes" ] = podTemplateHashes ;
55
+ }
56
+
56
57
const _response = await ( this . _options . fetcher ?? core . fetcher ) ( {
57
58
url : urlJoin (
58
59
( await core . Supplier . get ( this . _options . baseUrl ) ) ??
Original file line number Diff line number Diff line change 4
4
5
5
/**
6
6
* @example
7
- * {
8
- * podTemplateHashes: "podTemplateHashes"
9
- * }
7
+ * {}
10
8
*/
11
9
export interface ApplicationsGetPodTemplateHashToDeploymentVersionRequest {
12
10
/**
13
11
* Pod Template Hashes (comma separated for multiple)
14
12
*/
15
- podTemplateHashes : string ;
13
+ podTemplateHashes ? : string ;
16
14
}
Original file line number Diff line number Diff line change 5
5
import * as TrueFoundry from "../index" ;
6
6
7
7
export interface ApplicationDebugInfo {
8
- id : string ;
8
+ id ? : string ;
9
9
applicationId : string ;
10
10
application ?: TrueFoundry . Application ;
11
11
debugInfo : Record < string , unknown > ;
Original file line number Diff line number Diff line change 4
4
5
5
export interface GetAutoProvisioningStateResponse {
6
6
/** State of auto-provisioning for the cluster. */
7
- state : Record < string , unknown > ;
7
+ state ? : Record < string , unknown > ;
8
8
}
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export interface Recommendation {
6
6
id ?: string ;
7
7
clusterId ?: string ;
8
8
applicationId ?: string ;
9
- deploymentId : string ;
10
- applicationVersion : number ;
9
+ deploymentId ? : string ;
10
+ applicationVersion ? : number ;
11
11
recommendationData : Record < string , unknown > ;
12
12
recommendationType : string ;
13
13
appliedDeploymentId ?: string ;
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ export interface Secret {
10
10
name : string ;
11
11
secretGroupId : string ;
12
12
value : string ;
13
- createdBySubject : TrueFoundry . Subject ;
13
+ createdBySubject ? : TrueFoundry . Subject ;
14
14
createdAt ?: string ;
15
15
updatedAt ?: string ;
16
- secretVersions : TrueFoundry . SecretVersion [ ] ;
16
+ secretVersions ? : TrueFoundry . SecretVersion [ ] ;
17
17
activeDeploymentsCount ?: number ;
18
18
createdBy ?: string ;
19
19
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export interface Session {
12
12
subjectPatName ?: string ;
13
13
email ?: string ;
14
14
subjectType : TrueFoundry . SessionSubjectType ;
15
- tenantName : string ;
15
+ tenantName ? : string ;
16
16
roles : string [ ] ;
17
17
teams : string [ ] ;
18
18
metadata ?: TrueFoundry . UserMetadata ;
Original file line number Diff line number Diff line change @@ -1310,9 +1310,9 @@ ejs@^3.1.10:
1310
1310
jake "^10.8.5"
1311
1311
1312
1312
electron-to-chromium@^1.5.73 :
1313
- version "1.5.140 "
1314
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.140 .tgz#91d9279fe72963f22c5784cc7f3461b5fed34786 "
1315
- integrity sha512-o82Rj+ONp4Ip7Cl1r7lrqx/pXhbp/lh9DpKcMNscFJdh8ebyRofnc7Sh01B4jx403RI0oqTBvlZ7OBIZLMr2+Q ==
1313
+ version "1.5.141 "
1314
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.141 .tgz#11776289d95385ca26d8cf95f31692ee58ee3a06 "
1315
+ integrity sha512-qS+qH9oqVYc1ooubTiB9l904WVyM6qNYxtOEEGReoZXw3xlqeYdFr5GclNzbkAufWgwWLEPoDi3d9MoRwwIjGw ==
1316
1316
1317
1317
emittery@^0.13.1 :
1318
1318
version "0.13.1"
You can’t perform that action at this time.
0 commit comments