@alienplatform/manager-api 3.3.31 → 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 (169) 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/agentsyncrequest.d.ts +3 -0
  9. package/esm/models/agentsyncrequest.d.ts.map +1 -1
  10. package/esm/models/agentsyncrequest.js +2 -0
  11. package/esm/models/agentsyncrequest.js.map +1 -1
  12. package/esm/models/computesettings.d.ts +10 -0
  13. package/esm/models/computesettings.d.ts.map +1 -1
  14. package/esm/models/computesettings.js +5 -0
  15. package/esm/models/computesettings.js.map +1 -1
  16. package/esm/models/containerresourceselection.d.ts +36 -0
  17. package/esm/models/containerresourceselection.d.ts.map +1 -0
  18. package/esm/models/containerresourceselection.js +24 -0
  19. package/esm/models/containerresourceselection.js.map +1 -0
  20. package/esm/models/custompluginoperationsconfig.d.ts +46 -0
  21. package/esm/models/custompluginoperationsconfig.d.ts.map +1 -0
  22. package/esm/models/custompluginoperationsconfig.js +19 -0
  23. package/esm/models/custompluginoperationsconfig.js.map +1 -0
  24. package/esm/models/index.d.ts +9 -12
  25. package/esm/models/index.d.ts.map +1 -1
  26. package/esm/models/index.js +9 -12
  27. package/esm/models/index.js.map +1 -1
  28. package/esm/models/operationapprovaldecision.d.ts +16 -0
  29. package/esm/models/operationapprovaldecision.d.ts.map +1 -0
  30. package/esm/models/operationapprovaldecision.js +14 -0
  31. package/esm/models/operationapprovaldecision.js.map +1 -0
  32. package/esm/models/operationapprovalunion.d.ts +36 -0
  33. package/esm/models/operationapprovalunion.d.ts.map +1 -0
  34. package/esm/models/operationapprovalunion.js +22 -0
  35. package/esm/models/operationapprovalunion.js.map +1 -0
  36. package/esm/models/operations/index.d.ts +1 -0
  37. package/esm/models/operations/index.d.ts.map +1 -1
  38. package/esm/models/operations/index.js +1 -0
  39. package/esm/models/operations/index.js.map +1 -1
  40. package/esm/models/operations/setquotawarningoverrides.d.ts +18 -0
  41. package/esm/models/operations/setquotawarningoverrides.d.ts.map +1 -0
  42. package/esm/models/operations/setquotawarningoverrides.js +19 -0
  43. package/esm/models/operations/setquotawarningoverrides.js.map +1 -0
  44. package/esm/models/operationsbundledownload.d.ts +9 -0
  45. package/esm/models/operationsbundledownload.d.ts.map +1 -1
  46. package/esm/models/operationsbundledownload.js +1 -0
  47. package/esm/models/operationsbundledownload.js.map +1 -1
  48. package/esm/models/operationsconfig.d.ts +29 -0
  49. package/esm/models/operationsconfig.d.ts.map +1 -0
  50. package/esm/models/operationsconfig.js +16 -0
  51. package/esm/models/operationsconfig.js.map +1 -0
  52. package/esm/models/operationsettingvalueunion.d.ts +62 -0
  53. package/esm/models/operationsettingvalueunion.d.ts.map +1 -0
  54. package/esm/models/operationsettingvalueunion.js +36 -0
  55. package/esm/models/operationsettingvalueunion.js.map +1 -0
  56. package/esm/models/pluginoperationsconfig.d.ts +36 -0
  57. package/esm/models/pluginoperationsconfig.d.ts.map +1 -0
  58. package/esm/models/pluginoperationsconfig.js +17 -0
  59. package/esm/models/pluginoperationsconfig.js.map +1 -0
  60. package/esm/models/setquotawarningoverridesrequest.d.ts +15 -0
  61. package/esm/models/setquotawarningoverridesrequest.d.ts.map +1 -0
  62. package/esm/models/setquotawarningoverridesrequest.js +12 -0
  63. package/esm/models/setquotawarningoverridesrequest.js.map +1 -0
  64. package/esm/models/setupmanagement.d.ts +18 -0
  65. package/esm/models/setupmanagement.d.ts.map +1 -0
  66. package/esm/models/setupmanagement.js +16 -0
  67. package/esm/models/setupmanagement.js.map +1 -0
  68. package/esm/models/stacksettings.d.ts +15 -0
  69. package/esm/models/stacksettings.d.ts.map +1 -1
  70. package/esm/models/stacksettings.js +5 -0
  71. package/esm/models/stacksettings.js.map +1 -1
  72. package/esm/sdk/deployments.d.ts +4 -0
  73. package/esm/sdk/deployments.d.ts.map +1 -1
  74. package/esm/sdk/deployments.js +7 -0
  75. package/esm/sdk/deployments.js.map +1 -1
  76. package/esm/sdk/sdk.d.ts +0 -3
  77. package/esm/sdk/sdk.d.ts.map +1 -1
  78. package/esm/sdk/sdk.js +0 -4
  79. package/esm/sdk/sdk.js.map +1 -1
  80. package/examples/package-lock.json +1 -1
  81. package/jsr.json +1 -1
  82. package/package.json +1 -1
  83. package/src/funcs/{credentialsMintCredentials.ts → deploymentsSetQuotaWarningOverrides.ts} +43 -18
  84. package/src/lib/config.ts +2 -2
  85. package/src/models/agentsyncrequest.ts +8 -0
  86. package/src/models/computesettings.ts +15 -0
  87. package/src/models/containerresourceselection.ts +72 -0
  88. package/src/models/custompluginoperationsconfig.ts +71 -0
  89. package/src/models/index.ts +9 -12
  90. package/src/models/operationapprovaldecision.ts +25 -0
  91. package/src/models/operationapprovalunion.ts +78 -0
  92. package/src/models/operations/index.ts +1 -0
  93. package/src/models/operations/setquotawarningoverrides.ts +46 -0
  94. package/src/models/operationsbundledownload.ts +8 -0
  95. package/src/models/operationsconfig.ts +53 -0
  96. package/src/models/operationsettingvalueunion.ts +136 -0
  97. package/src/models/pluginoperationsconfig.ts +57 -0
  98. package/src/models/setquotawarningoverridesrequest.ts +35 -0
  99. package/src/models/setupmanagement.ts +25 -0
  100. package/src/models/stacksettings.ts +23 -0
  101. package/src/sdk/deployments.ts +17 -0
  102. package/src/sdk/sdk.ts +0 -6
  103. package/esm/funcs/credentialsMintCredentials.d.ts.map +0 -1
  104. package/esm/funcs/credentialsMintCredentials.js.map +0 -1
  105. package/esm/models/awscredentials.d.ts +0 -121
  106. package/esm/models/awscredentials.d.ts.map +0 -1
  107. package/esm/models/awscredentials.js +0 -93
  108. package/esm/models/awscredentials.js.map +0 -1
  109. package/esm/models/awsserviceoverrides.d.ts +0 -21
  110. package/esm/models/awsserviceoverrides.d.ts.map +0 -1
  111. package/esm/models/awsserviceoverrides.js +0 -13
  112. package/esm/models/awsserviceoverrides.js.map +0 -1
  113. package/esm/models/awswebidentityconfig.d.ts +0 -28
  114. package/esm/models/awswebidentityconfig.d.ts.map +0 -1
  115. package/esm/models/awswebidentityconfig.js +0 -16
  116. package/esm/models/awswebidentityconfig.js.map +0 -1
  117. package/esm/models/azurecredentials.d.ts +0 -132
  118. package/esm/models/azurecredentials.d.ts.map +0 -1
  119. package/esm/models/azurecredentials.js +0 -97
  120. package/esm/models/azurecredentials.js.map +0 -1
  121. package/esm/models/azureserviceoverrides.d.ts +0 -21
  122. package/esm/models/azureserviceoverrides.d.ts.map +0 -1
  123. package/esm/models/azureserviceoverrides.js +0 -13
  124. package/esm/models/azureserviceoverrides.js.map +0 -1
  125. package/esm/models/clientconfigunion.d.ts +0 -284
  126. package/esm/models/clientconfigunion.d.ts.map +0 -1
  127. package/esm/models/clientconfigunion.js +0 -201
  128. package/esm/models/clientconfigunion.js.map +0 -1
  129. package/esm/models/gcpcredentials.d.ts +0 -138
  130. package/esm/models/gcpcredentials.d.ts.map +0 -1
  131. package/esm/models/gcpcredentials.js +0 -107
  132. package/esm/models/gcpcredentials.js.map +0 -1
  133. package/esm/models/gcpimpersonationconfig.d.ts +0 -42
  134. package/esm/models/gcpimpersonationconfig.d.ts.map +0 -1
  135. package/esm/models/gcpimpersonationconfig.js +0 -18
  136. package/esm/models/gcpimpersonationconfig.js.map +0 -1
  137. package/esm/models/gcpserviceoverrides.d.ts +0 -21
  138. package/esm/models/gcpserviceoverrides.d.ts.map +0 -1
  139. package/esm/models/gcpserviceoverrides.js +0 -13
  140. package/esm/models/gcpserviceoverrides.js.map +0 -1
  141. package/esm/models/kubernetesclientconfig.d.ts +0 -116
  142. package/esm/models/kubernetesclientconfig.d.ts.map +0 -1
  143. package/esm/models/kubernetesclientconfig.js +0 -73
  144. package/esm/models/kubernetesclientconfig.js.map +0 -1
  145. package/esm/models/mintcredentialsrequest.d.ts +0 -49
  146. package/esm/models/mintcredentialsrequest.d.ts.map +0 -1
  147. package/esm/models/mintcredentialsrequest.js +0 -15
  148. package/esm/models/mintcredentialsrequest.js.map +0 -1
  149. package/esm/models/mintcredentialsresponse.d.ts +0 -37
  150. package/esm/models/mintcredentialsresponse.d.ts.map +0 -1
  151. package/esm/models/mintcredentialsresponse.js +0 -16
  152. package/esm/models/mintcredentialsresponse.js.map +0 -1
  153. package/esm/sdk/credentials.d.ts +0 -6
  154. package/esm/sdk/credentials.d.ts.map +0 -1
  155. package/esm/sdk/credentials.js +0 -12
  156. package/esm/sdk/credentials.js.map +0 -1
  157. package/src/models/awscredentials.ts +0 -281
  158. package/src/models/awsserviceoverrides.ts +0 -39
  159. package/src/models/awswebidentityconfig.ts +0 -51
  160. package/src/models/azurecredentials.ts +0 -295
  161. package/src/models/azureserviceoverrides.ts +0 -39
  162. package/src/models/clientconfigunion.ts +0 -602
  163. package/src/models/gcpcredentials.ts +0 -335
  164. package/src/models/gcpimpersonationconfig.ts +0 -67
  165. package/src/models/gcpserviceoverrides.ts +0 -39
  166. package/src/models/kubernetesclientconfig.ts +0 -220
  167. package/src/models/mintcredentialsrequest.ts +0 -70
  168. package/src/models/mintcredentialsresponse.ts +0 -62
  169. package/src/sdk/credentials.ts +0 -21
@@ -1,295 +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 { remap as remap$ } from "../lib/primitives.js";
7
- import { safeParse } from "../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../types/fp.js";
9
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
10
-
11
- /**
12
- * Azure Managed Identity (Container Apps / App Service)
13
- *
14
- * @remarks
15
- * Uses IDENTITY_ENDPOINT + IDENTITY_HEADER injected by the platform
16
- */
17
- export type AzureCredentialsManagedIdentity = {
18
- /**
19
- * The client ID of the user-assigned managed identity
20
- */
21
- clientId: string;
22
- /**
23
- * The identity endpoint URL (from IDENTITY_ENDPOINT env var)
24
- */
25
- identityEndpoint: string;
26
- /**
27
- * The identity header secret (from IDENTITY_HEADER env var)
28
- */
29
- identityHeader: string;
30
- type: "managedIdentity";
31
- };
32
-
33
- /**
34
- * Azure AD Workload Identity (federated identity)
35
- */
36
- export type AzureCredentialsWorkloadIdentity = {
37
- /**
38
- * The authority host URL
39
- */
40
- authorityHost: string;
41
- /**
42
- * The client ID of the managed identity or application
43
- */
44
- clientId: string;
45
- /**
46
- * Path to the federated token file
47
- */
48
- federatedTokenFile: string;
49
- /**
50
- * The tenant ID for authentication
51
- */
52
- tenantId: string;
53
- type: "workloadIdentity";
54
- };
55
-
56
- /**
57
- * Azure VM IMDS managed identity.
58
- */
59
- export type AzureCredentialsVMManagedIdentity = {
60
- /**
61
- * The client ID of the user-assigned managed identity
62
- */
63
- clientId: string;
64
- /**
65
- * Optional IMDS endpoint override
66
- */
67
- identityEndpoint?: string | null | undefined;
68
- type: "vmManagedIdentity";
69
- };
70
-
71
- /**
72
- * Short-lived bearer tokens keyed by their exact Azure OAuth scope.
73
- *
74
- * @remarks
75
- *
76
- * This is the only Azure credential form returned by the credential mint
77
- * endpoint. It contains no refreshable source credential and must not be
78
- * used for a scope that is absent from the map.
79
- */
80
- export type AzureCredentialsScopedAccessTokens = {
81
- /**
82
- * Exact scope-to-token map. Minted configs include only the Azure
83
- *
84
- * @remarks
85
- * management, storage, Key Vault, and Service Bus scopes used by
86
- * Alien bindings.
87
- */
88
- tokens: { [k: string]: string };
89
- type: "scopedAccessTokens";
90
- };
91
-
92
- /**
93
- * Direct access token
94
- */
95
- export type AzureCredentialsAccessToken = {
96
- /**
97
- * The bearer token to use for authentication
98
- */
99
- token: string;
100
- type: "accessToken";
101
- };
102
-
103
- /**
104
- * Service principal with client secret
105
- */
106
- export type AzureCredentialsServicePrincipal = {
107
- /**
108
- * The client ID (application ID)
109
- */
110
- clientId: string;
111
- /**
112
- * The client secret
113
- */
114
- clientSecret: string;
115
- type: "servicePrincipal";
116
- };
117
-
118
- /**
119
- * Represents Azure authentication credentials
120
- */
121
- export type AzureCredentials =
122
- | AzureCredentialsServicePrincipal
123
- | AzureCredentialsAccessToken
124
- | AzureCredentialsScopedAccessTokens
125
- | AzureCredentialsVMManagedIdentity
126
- | AzureCredentialsWorkloadIdentity
127
- | AzureCredentialsManagedIdentity;
128
-
129
- /** @internal */
130
- export const AzureCredentialsManagedIdentity$inboundSchema: z.ZodType<
131
- AzureCredentialsManagedIdentity,
132
- unknown
133
- > = z.object({
134
- client_id: z.string(),
135
- identity_endpoint: z.string(),
136
- identity_header: z.string(),
137
- type: z.literal("managedIdentity"),
138
- }).transform((v) => {
139
- return remap$(v, {
140
- "client_id": "clientId",
141
- "identity_endpoint": "identityEndpoint",
142
- "identity_header": "identityHeader",
143
- });
144
- });
145
-
146
- export function azureCredentialsManagedIdentityFromJSON(
147
- jsonString: string,
148
- ): SafeParseResult<AzureCredentialsManagedIdentity, SDKValidationError> {
149
- return safeParse(
150
- jsonString,
151
- (x) => AzureCredentialsManagedIdentity$inboundSchema.parse(JSON.parse(x)),
152
- `Failed to parse 'AzureCredentialsManagedIdentity' from JSON`,
153
- );
154
- }
155
-
156
- /** @internal */
157
- export const AzureCredentialsWorkloadIdentity$inboundSchema: z.ZodType<
158
- AzureCredentialsWorkloadIdentity,
159
- unknown
160
- > = z.object({
161
- authority_host: z.string(),
162
- client_id: z.string(),
163
- federated_token_file: z.string(),
164
- tenant_id: z.string(),
165
- type: z.literal("workloadIdentity"),
166
- }).transform((v) => {
167
- return remap$(v, {
168
- "authority_host": "authorityHost",
169
- "client_id": "clientId",
170
- "federated_token_file": "federatedTokenFile",
171
- "tenant_id": "tenantId",
172
- });
173
- });
174
-
175
- export function azureCredentialsWorkloadIdentityFromJSON(
176
- jsonString: string,
177
- ): SafeParseResult<AzureCredentialsWorkloadIdentity, SDKValidationError> {
178
- return safeParse(
179
- jsonString,
180
- (x) => AzureCredentialsWorkloadIdentity$inboundSchema.parse(JSON.parse(x)),
181
- `Failed to parse 'AzureCredentialsWorkloadIdentity' from JSON`,
182
- );
183
- }
184
-
185
- /** @internal */
186
- export const AzureCredentialsVMManagedIdentity$inboundSchema: z.ZodType<
187
- AzureCredentialsVMManagedIdentity,
188
- unknown
189
- > = z.object({
190
- client_id: z.string(),
191
- identity_endpoint: z.nullable(z.string()).optional(),
192
- type: z.literal("vmManagedIdentity"),
193
- }).transform((v) => {
194
- return remap$(v, {
195
- "client_id": "clientId",
196
- "identity_endpoint": "identityEndpoint",
197
- });
198
- });
199
-
200
- export function azureCredentialsVMManagedIdentityFromJSON(
201
- jsonString: string,
202
- ): SafeParseResult<AzureCredentialsVMManagedIdentity, SDKValidationError> {
203
- return safeParse(
204
- jsonString,
205
- (x) => AzureCredentialsVMManagedIdentity$inboundSchema.parse(JSON.parse(x)),
206
- `Failed to parse 'AzureCredentialsVMManagedIdentity' from JSON`,
207
- );
208
- }
209
-
210
- /** @internal */
211
- export const AzureCredentialsScopedAccessTokens$inboundSchema: z.ZodType<
212
- AzureCredentialsScopedAccessTokens,
213
- unknown
214
- > = z.object({
215
- tokens: z.record(z.string(), z.string()),
216
- type: z.literal("scopedAccessTokens"),
217
- });
218
-
219
- export function azureCredentialsScopedAccessTokensFromJSON(
220
- jsonString: string,
221
- ): SafeParseResult<AzureCredentialsScopedAccessTokens, SDKValidationError> {
222
- return safeParse(
223
- jsonString,
224
- (x) =>
225
- AzureCredentialsScopedAccessTokens$inboundSchema.parse(JSON.parse(x)),
226
- `Failed to parse 'AzureCredentialsScopedAccessTokens' from JSON`,
227
- );
228
- }
229
-
230
- /** @internal */
231
- export const AzureCredentialsAccessToken$inboundSchema: z.ZodType<
232
- AzureCredentialsAccessToken,
233
- unknown
234
- > = z.object({
235
- token: z.string(),
236
- type: z.literal("accessToken"),
237
- });
238
-
239
- export function azureCredentialsAccessTokenFromJSON(
240
- jsonString: string,
241
- ): SafeParseResult<AzureCredentialsAccessToken, SDKValidationError> {
242
- return safeParse(
243
- jsonString,
244
- (x) => AzureCredentialsAccessToken$inboundSchema.parse(JSON.parse(x)),
245
- `Failed to parse 'AzureCredentialsAccessToken' from JSON`,
246
- );
247
- }
248
-
249
- /** @internal */
250
- export const AzureCredentialsServicePrincipal$inboundSchema: z.ZodType<
251
- AzureCredentialsServicePrincipal,
252
- unknown
253
- > = z.object({
254
- client_id: z.string(),
255
- client_secret: z.string(),
256
- type: z.literal("servicePrincipal"),
257
- }).transform((v) => {
258
- return remap$(v, {
259
- "client_id": "clientId",
260
- "client_secret": "clientSecret",
261
- });
262
- });
263
-
264
- export function azureCredentialsServicePrincipalFromJSON(
265
- jsonString: string,
266
- ): SafeParseResult<AzureCredentialsServicePrincipal, SDKValidationError> {
267
- return safeParse(
268
- jsonString,
269
- (x) => AzureCredentialsServicePrincipal$inboundSchema.parse(JSON.parse(x)),
270
- `Failed to parse 'AzureCredentialsServicePrincipal' from JSON`,
271
- );
272
- }
273
-
274
- /** @internal */
275
- export const AzureCredentials$inboundSchema: z.ZodType<
276
- AzureCredentials,
277
- unknown
278
- > = z.union([
279
- z.lazy(() => AzureCredentialsServicePrincipal$inboundSchema),
280
- z.lazy(() => AzureCredentialsAccessToken$inboundSchema),
281
- z.lazy(() => AzureCredentialsScopedAccessTokens$inboundSchema),
282
- z.lazy(() => AzureCredentialsVMManagedIdentity$inboundSchema),
283
- z.lazy(() => AzureCredentialsWorkloadIdentity$inboundSchema),
284
- z.lazy(() => AzureCredentialsManagedIdentity$inboundSchema),
285
- ]);
286
-
287
- export function azureCredentialsFromJSON(
288
- jsonString: string,
289
- ): SafeParseResult<AzureCredentials, SDKValidationError> {
290
- return safeParse(
291
- jsonString,
292
- (x) => AzureCredentials$inboundSchema.parse(JSON.parse(x)),
293
- `Failed to parse 'AzureCredentials' from JSON`,
294
- );
295
- }
@@ -1,39 +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 { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
-
10
- /**
11
- * Service endpoint overrides for testing Azure services
12
- */
13
- export type AzureServiceOverrides = {
14
- /**
15
- * Override endpoints for specific Azure services
16
- *
17
- * @remarks
18
- * Key is the service name (e.g., "management", "storage", "containerApps"), value is the base URL
19
- */
20
- endpoints: { [k: string]: string };
21
- };
22
-
23
- /** @internal */
24
- export const AzureServiceOverrides$inboundSchema: z.ZodType<
25
- AzureServiceOverrides,
26
- unknown
27
- > = z.object({
28
- endpoints: z.record(z.string(), z.string()),
29
- });
30
-
31
- export function azureServiceOverridesFromJSON(
32
- jsonString: string,
33
- ): SafeParseResult<AzureServiceOverrides, SDKValidationError> {
34
- return safeParse(
35
- jsonString,
36
- (x) => AzureServiceOverrides$inboundSchema.parse(JSON.parse(x)),
37
- `Failed to parse 'AzureServiceOverrides' from JSON`,
38
- );
39
- }