@alienplatform/manager-api 3.3.32 → 3.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +2 -5
  2. package/esm/funcs/{credentialsMintCredentials.d.ts → deploymentsSetQuotaWarningOverrides.d.ts} +5 -2
  3. package/esm/funcs/deploymentsSetQuotaWarningOverrides.d.ts.map +1 -0
  4. package/esm/funcs/{credentialsMintCredentials.js → deploymentsSetQuotaWarningOverrides.js} +30 -14
  5. package/esm/funcs/deploymentsSetQuotaWarningOverrides.js.map +1 -0
  6. package/esm/lib/config.d.ts +2 -2
  7. package/esm/lib/config.js +2 -2
  8. package/esm/models/containerresourceselection.d.ts +8 -0
  9. package/esm/models/containerresourceselection.d.ts.map +1 -1
  10. package/esm/models/containerresourceselection.js +2 -0
  11. package/esm/models/containerresourceselection.js.map +1 -1
  12. package/esm/models/index.d.ts +2 -12
  13. package/esm/models/index.d.ts.map +1 -1
  14. package/esm/models/index.js +2 -12
  15. package/esm/models/index.js.map +1 -1
  16. package/esm/models/operations/index.d.ts +1 -0
  17. package/esm/models/operations/index.d.ts.map +1 -1
  18. package/esm/models/operations/index.js +1 -0
  19. package/esm/models/operations/index.js.map +1 -1
  20. package/esm/models/operations/setquotawarningoverrides.d.ts +18 -0
  21. package/esm/models/operations/setquotawarningoverrides.d.ts.map +1 -0
  22. package/esm/models/operations/setquotawarningoverrides.js +19 -0
  23. package/esm/models/operations/setquotawarningoverrides.js.map +1 -0
  24. package/esm/models/setquotawarningoverridesrequest.d.ts +15 -0
  25. package/esm/models/setquotawarningoverridesrequest.d.ts.map +1 -0
  26. package/esm/models/setquotawarningoverridesrequest.js +12 -0
  27. package/esm/models/setquotawarningoverridesrequest.js.map +1 -0
  28. package/esm/models/setupmanagement.d.ts +18 -0
  29. package/esm/models/setupmanagement.d.ts.map +1 -0
  30. package/esm/models/setupmanagement.js +16 -0
  31. package/esm/models/setupmanagement.js.map +1 -0
  32. package/esm/models/stacksettings.d.ts +15 -0
  33. package/esm/models/stacksettings.d.ts.map +1 -1
  34. package/esm/models/stacksettings.js +5 -0
  35. package/esm/models/stacksettings.js.map +1 -1
  36. package/esm/sdk/deployments.d.ts +4 -0
  37. package/esm/sdk/deployments.d.ts.map +1 -1
  38. package/esm/sdk/deployments.js +7 -0
  39. package/esm/sdk/deployments.js.map +1 -1
  40. package/esm/sdk/sdk.d.ts +0 -3
  41. package/esm/sdk/sdk.d.ts.map +1 -1
  42. package/esm/sdk/sdk.js +0 -4
  43. package/esm/sdk/sdk.js.map +1 -1
  44. package/examples/package-lock.json +1 -1
  45. package/jsr.json +1 -1
  46. package/package.json +3 -3
  47. package/src/funcs/{credentialsMintCredentials.ts → deploymentsSetQuotaWarningOverrides.ts} +43 -18
  48. package/src/lib/config.ts +2 -2
  49. package/src/models/containerresourceselection.ts +10 -0
  50. package/src/models/index.ts +2 -12
  51. package/src/models/operations/index.ts +1 -0
  52. package/src/models/operations/setquotawarningoverrides.ts +46 -0
  53. package/src/models/setquotawarningoverridesrequest.ts +35 -0
  54. package/src/models/setupmanagement.ts +25 -0
  55. package/src/models/stacksettings.ts +23 -0
  56. package/src/sdk/deployments.ts +17 -0
  57. package/src/sdk/sdk.ts +0 -6
  58. package/esm/funcs/credentialsMintCredentials.d.ts.map +0 -1
  59. package/esm/funcs/credentialsMintCredentials.js.map +0 -1
  60. package/esm/models/awscredentials.d.ts +0 -121
  61. package/esm/models/awscredentials.d.ts.map +0 -1
  62. package/esm/models/awscredentials.js +0 -93
  63. package/esm/models/awscredentials.js.map +0 -1
  64. package/esm/models/awsserviceoverrides.d.ts +0 -21
  65. package/esm/models/awsserviceoverrides.d.ts.map +0 -1
  66. package/esm/models/awsserviceoverrides.js +0 -13
  67. package/esm/models/awsserviceoverrides.js.map +0 -1
  68. package/esm/models/awswebidentityconfig.d.ts +0 -28
  69. package/esm/models/awswebidentityconfig.d.ts.map +0 -1
  70. package/esm/models/awswebidentityconfig.js +0 -16
  71. package/esm/models/awswebidentityconfig.js.map +0 -1
  72. package/esm/models/azurecredentials.d.ts +0 -132
  73. package/esm/models/azurecredentials.d.ts.map +0 -1
  74. package/esm/models/azurecredentials.js +0 -97
  75. package/esm/models/azurecredentials.js.map +0 -1
  76. package/esm/models/azureserviceoverrides.d.ts +0 -21
  77. package/esm/models/azureserviceoverrides.d.ts.map +0 -1
  78. package/esm/models/azureserviceoverrides.js +0 -13
  79. package/esm/models/azureserviceoverrides.js.map +0 -1
  80. package/esm/models/clientconfigunion.d.ts +0 -284
  81. package/esm/models/clientconfigunion.d.ts.map +0 -1
  82. package/esm/models/clientconfigunion.js +0 -201
  83. package/esm/models/clientconfigunion.js.map +0 -1
  84. package/esm/models/gcpcredentials.d.ts +0 -138
  85. package/esm/models/gcpcredentials.d.ts.map +0 -1
  86. package/esm/models/gcpcredentials.js +0 -107
  87. package/esm/models/gcpcredentials.js.map +0 -1
  88. package/esm/models/gcpimpersonationconfig.d.ts +0 -42
  89. package/esm/models/gcpimpersonationconfig.d.ts.map +0 -1
  90. package/esm/models/gcpimpersonationconfig.js +0 -18
  91. package/esm/models/gcpimpersonationconfig.js.map +0 -1
  92. package/esm/models/gcpserviceoverrides.d.ts +0 -21
  93. package/esm/models/gcpserviceoverrides.d.ts.map +0 -1
  94. package/esm/models/gcpserviceoverrides.js +0 -13
  95. package/esm/models/gcpserviceoverrides.js.map +0 -1
  96. package/esm/models/kubernetesclientconfig.d.ts +0 -116
  97. package/esm/models/kubernetesclientconfig.d.ts.map +0 -1
  98. package/esm/models/kubernetesclientconfig.js +0 -73
  99. package/esm/models/kubernetesclientconfig.js.map +0 -1
  100. package/esm/models/mintcredentialsrequest.d.ts +0 -49
  101. package/esm/models/mintcredentialsrequest.d.ts.map +0 -1
  102. package/esm/models/mintcredentialsrequest.js +0 -15
  103. package/esm/models/mintcredentialsrequest.js.map +0 -1
  104. package/esm/models/mintcredentialsresponse.d.ts +0 -37
  105. package/esm/models/mintcredentialsresponse.d.ts.map +0 -1
  106. package/esm/models/mintcredentialsresponse.js +0 -16
  107. package/esm/models/mintcredentialsresponse.js.map +0 -1
  108. package/esm/sdk/credentials.d.ts +0 -6
  109. package/esm/sdk/credentials.d.ts.map +0 -1
  110. package/esm/sdk/credentials.js +0 -12
  111. package/esm/sdk/credentials.js.map +0 -1
  112. package/src/models/awscredentials.ts +0 -281
  113. package/src/models/awsserviceoverrides.ts +0 -39
  114. package/src/models/awswebidentityconfig.ts +0 -51
  115. package/src/models/azurecredentials.ts +0 -295
  116. package/src/models/azureserviceoverrides.ts +0 -39
  117. package/src/models/clientconfigunion.ts +0 -602
  118. package/src/models/gcpcredentials.ts +0 -335
  119. package/src/models/gcpimpersonationconfig.ts +0 -67
  120. package/src/models/gcpserviceoverrides.ts +0 -39
  121. package/src/models/kubernetesclientconfig.ts +0 -220
  122. package/src/models/mintcredentialsrequest.ts +0 -70
  123. package/src/models/mintcredentialsresponse.ts +0 -62
  124. package/src/sdk/credentials.ts +0 -21
@@ -1,70 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
-
7
- /**
8
- * Request body for `POST /v1/credentials/mint`.
9
- *
10
- * @remarks
11
- *
12
- * `deny_unknown_fields` so clients cannot smuggle in resolver internals
13
- * (platform, stack state, etc.) — the server derives everything from the
14
- * authenticated deployment.
15
- */
16
- export type MintCredentialsRequest = {
17
- /**
18
- * Service-account binding to impersonate on the target platform.
19
- */
20
- bindingName: string;
21
- /**
22
- * Deployment to mint credentials for. The caller's bearer token must be
23
- *
24
- * @remarks
25
- * this deployment's token (or a workspace-admin token).
26
- */
27
- deploymentId: string;
28
- /**
29
- * Requested lifetime in seconds. Clamped to
30
- *
31
- * @remarks
32
- * `[MIN_DURATION_SECONDS, MAX_DURATION_SECONDS]`; defaults to
33
- * `DEFAULT_DURATION_SECONDS` when omitted.
34
- */
35
- durationSeconds?: number | null | undefined;
36
- /**
37
- * Current-release compute resource requesting the credentials. The
38
- *
39
- * @remarks
40
- * resource must depend on `bindingName` as a service-account resource.
41
- */
42
- resourceId: string;
43
- };
44
-
45
- /** @internal */
46
- export type MintCredentialsRequest$Outbound = {
47
- bindingName: string;
48
- deploymentId: string;
49
- durationSeconds?: number | null | undefined;
50
- resourceId: string;
51
- };
52
-
53
- /** @internal */
54
- export const MintCredentialsRequest$outboundSchema: z.ZodType<
55
- MintCredentialsRequest$Outbound,
56
- MintCredentialsRequest
57
- > = z.object({
58
- bindingName: z.string(),
59
- deploymentId: z.string(),
60
- durationSeconds: z.nullable(z.int()).optional(),
61
- resourceId: z.string(),
62
- });
63
-
64
- export function mintCredentialsRequestToJSON(
65
- mintCredentialsRequest: MintCredentialsRequest,
66
- ): string {
67
- return JSON.stringify(
68
- MintCredentialsRequest$outboundSchema.parse(mintCredentialsRequest),
69
- );
70
- }
@@ -1,62 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { safeParse } from "../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../types/fp.js";
8
- import {
9
- ClientConfigUnion,
10
- ClientConfigUnion$inboundSchema,
11
- } from "./clientconfigunion.js";
12
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
13
-
14
- /**
15
- * Response body for `POST /v1/credentials/mint`.
16
- */
17
- export type MintCredentialsResponse = {
18
- /**
19
- * Configuration for different cloud platform clients
20
- */
21
- clientConfig: ClientConfigUnion;
22
- /**
23
- * Credential expiry as an RFC3339 timestamp (now + clamped duration).
24
- *
25
- * @remarks
26
- *
27
- * This is server-computed (`now + clamped duration`), not read back from
28
- * the provider — for lazily-resolved configs (e.g. GCP, where the
29
- * resolver doesn't always round-trip an authoritative expiry) it is
30
- * nominal rather than provider truth. Treat it as a refresh hint: fetch
31
- * new credentials at or before this time, don't rely on it to prove the
32
- * underlying credential is still valid at that exact instant.
33
- */
34
- expiresAt: string;
35
- /**
36
- * Human-readable identity the credentials act as (role ARN, SA email,
37
- *
38
- * @remarks
39
- * managed-identity client id, or `platform:account` for the local path).
40
- */
41
- principal: string;
42
- };
43
-
44
- /** @internal */
45
- export const MintCredentialsResponse$inboundSchema: z.ZodType<
46
- MintCredentialsResponse,
47
- unknown
48
- > = z.object({
49
- clientConfig: ClientConfigUnion$inboundSchema,
50
- expiresAt: z.string(),
51
- principal: z.string(),
52
- });
53
-
54
- export function mintCredentialsResponseFromJSON(
55
- jsonString: string,
56
- ): SafeParseResult<MintCredentialsResponse, SDKValidationError> {
57
- return safeParse(
58
- jsonString,
59
- (x) => MintCredentialsResponse$inboundSchema.parse(JSON.parse(x)),
60
- `Failed to parse 'MintCredentialsResponse' from JSON`,
61
- );
62
- }
@@ -1,21 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { credentialsMintCredentials } from "../funcs/credentialsMintCredentials.js";
6
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
- import * as models from "../models/index.js";
8
- import { unwrapAsync } from "../types/fp.js";
9
-
10
- export class Credentials extends ClientSDK {
11
- async mintCredentials(
12
- request: models.MintCredentialsRequest,
13
- options?: RequestOptions,
14
- ): Promise<models.MintCredentialsResponse> {
15
- return unwrapAsync(credentialsMintCredentials(
16
- this,
17
- request,
18
- options,
19
- ));
20
- }
21
- }