@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,97 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4";
5
- import { remap as remap$ } from "../lib/primitives.js";
6
- import { safeParse } from "../lib/schemas.js";
7
- /** @internal */
8
- export const AzureCredentialsManagedIdentity$inboundSchema = z.object({
9
- client_id: z.string(),
10
- identity_endpoint: z.string(),
11
- identity_header: z.string(),
12
- type: z.literal("managedIdentity"),
13
- }).transform((v) => {
14
- return remap$(v, {
15
- "client_id": "clientId",
16
- "identity_endpoint": "identityEndpoint",
17
- "identity_header": "identityHeader",
18
- });
19
- });
20
- export function azureCredentialsManagedIdentityFromJSON(jsonString) {
21
- return safeParse(jsonString, (x) => AzureCredentialsManagedIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsManagedIdentity' from JSON`);
22
- }
23
- /** @internal */
24
- export const AzureCredentialsWorkloadIdentity$inboundSchema = z.object({
25
- authority_host: z.string(),
26
- client_id: z.string(),
27
- federated_token_file: z.string(),
28
- tenant_id: z.string(),
29
- type: z.literal("workloadIdentity"),
30
- }).transform((v) => {
31
- return remap$(v, {
32
- "authority_host": "authorityHost",
33
- "client_id": "clientId",
34
- "federated_token_file": "federatedTokenFile",
35
- "tenant_id": "tenantId",
36
- });
37
- });
38
- export function azureCredentialsWorkloadIdentityFromJSON(jsonString) {
39
- return safeParse(jsonString, (x) => AzureCredentialsWorkloadIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsWorkloadIdentity' from JSON`);
40
- }
41
- /** @internal */
42
- export const AzureCredentialsVMManagedIdentity$inboundSchema = z.object({
43
- client_id: z.string(),
44
- identity_endpoint: z.nullable(z.string()).optional(),
45
- type: z.literal("vmManagedIdentity"),
46
- }).transform((v) => {
47
- return remap$(v, {
48
- "client_id": "clientId",
49
- "identity_endpoint": "identityEndpoint",
50
- });
51
- });
52
- export function azureCredentialsVMManagedIdentityFromJSON(jsonString) {
53
- return safeParse(jsonString, (x) => AzureCredentialsVMManagedIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsVMManagedIdentity' from JSON`);
54
- }
55
- /** @internal */
56
- export const AzureCredentialsScopedAccessTokens$inboundSchema = z.object({
57
- tokens: z.record(z.string(), z.string()),
58
- type: z.literal("scopedAccessTokens"),
59
- });
60
- export function azureCredentialsScopedAccessTokensFromJSON(jsonString) {
61
- return safeParse(jsonString, (x) => AzureCredentialsScopedAccessTokens$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsScopedAccessTokens' from JSON`);
62
- }
63
- /** @internal */
64
- export const AzureCredentialsAccessToken$inboundSchema = z.object({
65
- token: z.string(),
66
- type: z.literal("accessToken"),
67
- });
68
- export function azureCredentialsAccessTokenFromJSON(jsonString) {
69
- return safeParse(jsonString, (x) => AzureCredentialsAccessToken$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsAccessToken' from JSON`);
70
- }
71
- /** @internal */
72
- export const AzureCredentialsServicePrincipal$inboundSchema = z.object({
73
- client_id: z.string(),
74
- client_secret: z.string(),
75
- type: z.literal("servicePrincipal"),
76
- }).transform((v) => {
77
- return remap$(v, {
78
- "client_id": "clientId",
79
- "client_secret": "clientSecret",
80
- });
81
- });
82
- export function azureCredentialsServicePrincipalFromJSON(jsonString) {
83
- return safeParse(jsonString, (x) => AzureCredentialsServicePrincipal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentialsServicePrincipal' from JSON`);
84
- }
85
- /** @internal */
86
- export const AzureCredentials$inboundSchema = z.union([
87
- z.lazy(() => AzureCredentialsServicePrincipal$inboundSchema),
88
- z.lazy(() => AzureCredentialsAccessToken$inboundSchema),
89
- z.lazy(() => AzureCredentialsScopedAccessTokens$inboundSchema),
90
- z.lazy(() => AzureCredentialsVMManagedIdentity$inboundSchema),
91
- z.lazy(() => AzureCredentialsWorkloadIdentity$inboundSchema),
92
- z.lazy(() => AzureCredentialsManagedIdentity$inboundSchema),
93
- ]);
94
- export function azureCredentialsFromJSON(jsonString) {
95
- return safeParse(jsonString, (x) => AzureCredentials$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureCredentials' from JSON`);
96
- }
97
- //# sourceMappingURL=azurecredentials.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azurecredentials.js","sourceRoot":"","sources":["../../src/models/azurecredentials.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AA0H9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,eAAe,EAAE,CA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AAE,CAAC,+CAA+C,CAAC;IAC7D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;IAC5D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6CAA6C,CAAC;CAC5D,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -1,21 +0,0 @@
1
- import * as z from "zod/v4";
2
- import { Result as SafeParseResult } from "../types/fp.js";
3
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
- /**
5
- * Service endpoint overrides for testing Azure services
6
- */
7
- export type AzureServiceOverrides = {
8
- /**
9
- * Override endpoints for specific Azure services
10
- *
11
- * @remarks
12
- * Key is the service name (e.g., "management", "storage", "containerApps"), value is the base URL
13
- */
14
- endpoints: {
15
- [k: string]: string;
16
- };
17
- };
18
- /** @internal */
19
- export declare const AzureServiceOverrides$inboundSchema: z.ZodType<AzureServiceOverrides, unknown>;
20
- export declare function azureServiceOverridesFromJSON(jsonString: string): SafeParseResult<AzureServiceOverrides, SDKValidationError>;
21
- //# sourceMappingURL=azureserviceoverrides.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureserviceoverrides.d.ts","sourceRoot":"","sources":["../../src/models/azureserviceoverrides.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;OAKG;IACH,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,OAAO,CAGP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,13 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4";
5
- import { safeParse } from "../lib/schemas.js";
6
- /** @internal */
7
- export const AzureServiceOverrides$inboundSchema = z.object({
8
- endpoints: z.record(z.string(), z.string()),
9
- });
10
- export function azureServiceOverridesFromJSON(jsonString) {
11
- return safeParse(jsonString, (x) => AzureServiceOverrides$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AzureServiceOverrides' from JSON`);
12
- }
13
- //# sourceMappingURL=azureserviceoverrides.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureserviceoverrides.js","sourceRoot":"","sources":["../../src/models/azureserviceoverrides.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAiB9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,284 +0,0 @@
1
- import * as z from "zod/v4";
2
- import { ClosedEnum } from "../types/enums.js";
3
- import { Result as SafeParseResult } from "../types/fp.js";
4
- import { AwsCredentials } from "./awscredentials.js";
5
- import { AwsServiceOverrides } from "./awsserviceoverrides.js";
6
- import { AzureCredentials } from "./azurecredentials.js";
7
- import { AzureServiceOverrides } from "./azureserviceoverrides.js";
8
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
- import { GcpCredentials } from "./gcpcredentials.js";
10
- import { GcpServiceOverrides } from "./gcpserviceoverrides.js";
11
- import { KubernetesClientConfig } from "./kubernetesclientconfig.js";
12
- export declare const PlatformLocal: {
13
- readonly Local: "local";
14
- };
15
- export type PlatformLocal = ClosedEnum<typeof PlatformLocal>;
16
- export type ClientConfigLocal = {
17
- platform: PlatformLocal;
18
- /**
19
- * State directory for local resources and deployment state
20
- */
21
- stateDirectory: string;
22
- };
23
- export type Cloud = {};
24
- export declare const PlatformKubernetesCloud: {
25
- readonly KubernetesCloud: "kubernetesCloud";
26
- };
27
- export type PlatformKubernetesCloud = ClosedEnum<typeof PlatformKubernetesCloud>;
28
- export type ClientConfigKubernetesCloud = {
29
- cloud: Cloud;
30
- /**
31
- * Configuration mode for Kubernetes access
32
- */
33
- kubernetes: KubernetesClientConfig;
34
- platform: PlatformKubernetesCloud;
35
- };
36
- export declare const ClientConfigPlatformKubernetes3: {
37
- readonly Kubernetes: "kubernetes";
38
- };
39
- export type ClientConfigPlatformKubernetes3 = ClosedEnum<typeof ClientConfigPlatformKubernetes3>;
40
- /**
41
- * Manual configuration with explicit values
42
- */
43
- export type ClientConfigManual = {
44
- /**
45
- * Additional headers to include in requests
46
- */
47
- additionalHeaders: {
48
- [k: string]: string;
49
- };
50
- /**
51
- * The cluster certificate authority data (base64 encoded)
52
- */
53
- certificateAuthorityData?: string | null | undefined;
54
- /**
55
- * Client certificate data (base64 encoded) for mutual TLS
56
- */
57
- clientCertificateData?: string | null | undefined;
58
- /**
59
- * Client key data (base64 encoded) for mutual TLS
60
- */
61
- clientKeyData?: string | null | undefined;
62
- /**
63
- * Skip TLS verification (insecure)
64
- */
65
- insecureSkipTlsVerify?: boolean | null | undefined;
66
- mode: "manual";
67
- /**
68
- * The namespace to operate in
69
- */
70
- namespace?: string | null | undefined;
71
- /**
72
- * Password for basic authentication
73
- */
74
- password?: string | null | undefined;
75
- /**
76
- * The Kubernetes cluster server URL
77
- */
78
- serverUrl: string;
79
- /**
80
- * Bearer token for authentication
81
- */
82
- token?: string | null | undefined;
83
- /**
84
- * Username for basic authentication
85
- */
86
- username?: string | null | undefined;
87
- platform: ClientConfigPlatformKubernetes3;
88
- };
89
- export declare const ClientConfigPlatformKubernetes2: {
90
- readonly Kubernetes: "kubernetes";
91
- };
92
- export type ClientConfigPlatformKubernetes2 = ClosedEnum<typeof ClientConfigPlatformKubernetes2>;
93
- /**
94
- * Use kubeconfig file for configuration
95
- */
96
- export type ClientConfigKubeconfig = {
97
- /**
98
- * Additional headers to include in requests
99
- */
100
- additionalHeaders?: {
101
- [k: string]: string;
102
- } | null | undefined;
103
- /**
104
- * Cluster name to use (optional, defaults to context's cluster)
105
- */
106
- cluster?: string | null | undefined;
107
- /**
108
- * Context name to use (optional, defaults to current-context)
109
- */
110
- context?: string | null | undefined;
111
- /**
112
- * Path to kubeconfig file (optional, defaults to standard locations)
113
- */
114
- kubeconfigPath?: string | null | undefined;
115
- mode: "kubeconfig";
116
- /**
117
- * The namespace to operate in
118
- */
119
- namespace?: string | null | undefined;
120
- /**
121
- * User name to use (optional, defaults to context's user)
122
- */
123
- user?: string | null | undefined;
124
- platform: ClientConfigPlatformKubernetes2;
125
- };
126
- export declare const ClientConfigPlatformKubernetes1: {
127
- readonly Kubernetes: "kubernetes";
128
- };
129
- export type ClientConfigPlatformKubernetes1 = ClosedEnum<typeof ClientConfigPlatformKubernetes1>;
130
- /**
131
- * Use in-cluster configuration (service account tokens, etc.)
132
- */
133
- export type ClientConfigInCluster = {
134
- /**
135
- * Additional headers to include in requests
136
- */
137
- additionalHeaders?: {
138
- [k: string]: string;
139
- } | null | undefined;
140
- mode: "inCluster";
141
- /**
142
- * The namespace to operate in
143
- */
144
- namespace?: string | null | undefined;
145
- platform: ClientConfigPlatformKubernetes1;
146
- };
147
- /**
148
- * Configuration mode for Kubernetes access
149
- */
150
- export type ClientConfigUnion1 = ClientConfigInCluster | ClientConfigKubeconfig | ClientConfigManual;
151
- export declare const ClientConfigPlatformAzure: {
152
- readonly Azure: "azure";
153
- };
154
- export type ClientConfigPlatformAzure = ClosedEnum<typeof ClientConfigPlatformAzure>;
155
- /**
156
- * Azure client configuration
157
- */
158
- export type ClientConfigAzure = {
159
- /**
160
- * Represents Azure authentication credentials
161
- */
162
- credentials: AzureCredentials;
163
- /**
164
- * Azure region for resources.
165
- */
166
- region?: string | null | undefined;
167
- serviceOverrides?: AzureServiceOverrides | null | undefined;
168
- /**
169
- * The Azure Subscription ID where resources will be deployed.
170
- */
171
- subscriptionId: string;
172
- /**
173
- * The customer's Azure Tenant ID.
174
- */
175
- tenantId: string;
176
- platform: ClientConfigPlatformAzure;
177
- };
178
- export declare const ClientConfigPlatformGcp: {
179
- readonly Gcp: "gcp";
180
- };
181
- export type ClientConfigPlatformGcp = ClosedEnum<typeof ClientConfigPlatformGcp>;
182
- /**
183
- * GCP client configuration
184
- */
185
- export type ClientConfigGcp = {
186
- /**
187
- * Authentication options for talking to GCP APIs.
188
- */
189
- credentials: GcpCredentials;
190
- /**
191
- * The GCP Project ID.
192
- */
193
- projectId: string;
194
- /**
195
- * The GCP project number (numeric). Resolved at runtime via Resource Manager API.
196
- *
197
- * @remarks
198
- * Used in IAM condition expressions where resource.name uses project number.
199
- */
200
- projectNumber?: string | null | undefined;
201
- /**
202
- * The GCP region for resources.
203
- */
204
- region: string;
205
- serviceOverrides?: GcpServiceOverrides | null | undefined;
206
- platform: ClientConfigPlatformGcp;
207
- };
208
- export declare const ClientConfigPlatformAws: {
209
- readonly Aws: "aws";
210
- };
211
- export type ClientConfigPlatformAws = ClosedEnum<typeof ClientConfigPlatformAws>;
212
- /**
213
- * AWS client configuration
214
- */
215
- export type ClientConfigAws = {
216
- /**
217
- * The AWS Account ID.
218
- */
219
- accountId: string;
220
- /**
221
- * Supported AWS authentication methods
222
- */
223
- credentials: AwsCredentials;
224
- /**
225
- * The AWS region.
226
- */
227
- region: string;
228
- serviceOverrides?: AwsServiceOverrides | null | undefined;
229
- platform: ClientConfigPlatformAws;
230
- };
231
- /**
232
- * Configuration for different cloud platform clients
233
- */
234
- export type ClientConfigUnion = ClientConfigAws | ClientConfigGcp | ClientConfigAzure | ClientConfigKubernetesCloud | ClientConfigLocal | ClientConfigInCluster | ClientConfigKubeconfig | ClientConfigManual;
235
- /** @internal */
236
- export declare const PlatformLocal$inboundSchema: z.ZodEnum<typeof PlatformLocal>;
237
- /** @internal */
238
- export declare const ClientConfigLocal$inboundSchema: z.ZodType<ClientConfigLocal, unknown>;
239
- export declare function clientConfigLocalFromJSON(jsonString: string): SafeParseResult<ClientConfigLocal, SDKValidationError>;
240
- /** @internal */
241
- export declare const Cloud$inboundSchema: z.ZodType<Cloud, unknown>;
242
- export declare function cloudFromJSON(jsonString: string): SafeParseResult<Cloud, SDKValidationError>;
243
- /** @internal */
244
- export declare const PlatformKubernetesCloud$inboundSchema: z.ZodEnum<typeof PlatformKubernetesCloud>;
245
- /** @internal */
246
- export declare const ClientConfigKubernetesCloud$inboundSchema: z.ZodType<ClientConfigKubernetesCloud, unknown>;
247
- export declare function clientConfigKubernetesCloudFromJSON(jsonString: string): SafeParseResult<ClientConfigKubernetesCloud, SDKValidationError>;
248
- /** @internal */
249
- export declare const ClientConfigPlatformKubernetes3$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformKubernetes3>;
250
- /** @internal */
251
- export declare const ClientConfigManual$inboundSchema: z.ZodType<ClientConfigManual, unknown>;
252
- export declare function clientConfigManualFromJSON(jsonString: string): SafeParseResult<ClientConfigManual, SDKValidationError>;
253
- /** @internal */
254
- export declare const ClientConfigPlatformKubernetes2$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformKubernetes2>;
255
- /** @internal */
256
- export declare const ClientConfigKubeconfig$inboundSchema: z.ZodType<ClientConfigKubeconfig, unknown>;
257
- export declare function clientConfigKubeconfigFromJSON(jsonString: string): SafeParseResult<ClientConfigKubeconfig, SDKValidationError>;
258
- /** @internal */
259
- export declare const ClientConfigPlatformKubernetes1$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformKubernetes1>;
260
- /** @internal */
261
- export declare const ClientConfigInCluster$inboundSchema: z.ZodType<ClientConfigInCluster, unknown>;
262
- export declare function clientConfigInClusterFromJSON(jsonString: string): SafeParseResult<ClientConfigInCluster, SDKValidationError>;
263
- /** @internal */
264
- export declare const ClientConfigUnion1$inboundSchema: z.ZodType<ClientConfigUnion1, unknown>;
265
- export declare function clientConfigUnion1FromJSON(jsonString: string): SafeParseResult<ClientConfigUnion1, SDKValidationError>;
266
- /** @internal */
267
- export declare const ClientConfigPlatformAzure$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformAzure>;
268
- /** @internal */
269
- export declare const ClientConfigAzure$inboundSchema: z.ZodType<ClientConfigAzure, unknown>;
270
- export declare function clientConfigAzureFromJSON(jsonString: string): SafeParseResult<ClientConfigAzure, SDKValidationError>;
271
- /** @internal */
272
- export declare const ClientConfigPlatformGcp$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformGcp>;
273
- /** @internal */
274
- export declare const ClientConfigGcp$inboundSchema: z.ZodType<ClientConfigGcp, unknown>;
275
- export declare function clientConfigGcpFromJSON(jsonString: string): SafeParseResult<ClientConfigGcp, SDKValidationError>;
276
- /** @internal */
277
- export declare const ClientConfigPlatformAws$inboundSchema: z.ZodEnum<typeof ClientConfigPlatformAws>;
278
- /** @internal */
279
- export declare const ClientConfigAws$inboundSchema: z.ZodType<ClientConfigAws, unknown>;
280
- export declare function clientConfigAwsFromJSON(jsonString: string): SafeParseResult<ClientConfigAws, SDKValidationError>;
281
- /** @internal */
282
- export declare const ClientConfigUnion$inboundSchema: z.ZodType<ClientConfigUnion, unknown>;
283
- export declare function clientConfigUnionFromJSON(jsonString: string): SafeParseResult<ClientConfigUnion, SDKValidationError>;
284
- //# sourceMappingURL=clientconfigunion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clientconfigunion.d.ts","sourceRoot":"","sources":["../../src/models/clientconfigunion.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,aAAa;;CAEhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,aAAa,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,EAAE,CAAC;AAEvB,eAAO,MAAM,uBAAuB;;CAE1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAA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CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,OAAO,CAQP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,OAAO,uBAAuB,CACG,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,OAAO,CAOP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD;AAED,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,OAAO,CAYP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -1,201 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4";
5
- import { remap as remap$ } from "../lib/primitives.js";
6
- import { safeParse } from "../lib/schemas.js";
7
- import { AwsCredentials$inboundSchema, } from "./awscredentials.js";
8
- import { AwsServiceOverrides$inboundSchema, } from "./awsserviceoverrides.js";
9
- import { AzureCredentials$inboundSchema, } from "./azurecredentials.js";
10
- import { AzureServiceOverrides$inboundSchema, } from "./azureserviceoverrides.js";
11
- import { GcpCredentials$inboundSchema, } from "./gcpcredentials.js";
12
- import { GcpServiceOverrides$inboundSchema, } from "./gcpserviceoverrides.js";
13
- import { KubernetesClientConfig$inboundSchema, } from "./kubernetesclientconfig.js";
14
- export const PlatformLocal = {
15
- Local: "local",
16
- };
17
- export const PlatformKubernetesCloud = {
18
- KubernetesCloud: "kubernetesCloud",
19
- };
20
- export const ClientConfigPlatformKubernetes3 = {
21
- Kubernetes: "kubernetes",
22
- };
23
- export const ClientConfigPlatformKubernetes2 = {
24
- Kubernetes: "kubernetes",
25
- };
26
- export const ClientConfigPlatformKubernetes1 = {
27
- Kubernetes: "kubernetes",
28
- };
29
- export const ClientConfigPlatformAzure = {
30
- Azure: "azure",
31
- };
32
- export const ClientConfigPlatformGcp = {
33
- Gcp: "gcp",
34
- };
35
- export const ClientConfigPlatformAws = {
36
- Aws: "aws",
37
- };
38
- /** @internal */
39
- export const PlatformLocal$inboundSchema = z
40
- .enum(PlatformLocal);
41
- /** @internal */
42
- export const ClientConfigLocal$inboundSchema = z.object({
43
- platform: PlatformLocal$inboundSchema,
44
- state_directory: z.string(),
45
- }).transform((v) => {
46
- return remap$(v, {
47
- "state_directory": "stateDirectory",
48
- });
49
- });
50
- export function clientConfigLocalFromJSON(jsonString) {
51
- return safeParse(jsonString, (x) => ClientConfigLocal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigLocal' from JSON`);
52
- }
53
- /** @internal */
54
- export const Cloud$inboundSchema = z.object({});
55
- export function cloudFromJSON(jsonString) {
56
- return safeParse(jsonString, (x) => Cloud$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Cloud' from JSON`);
57
- }
58
- /** @internal */
59
- export const PlatformKubernetesCloud$inboundSchema = z.enum(PlatformKubernetesCloud);
60
- /** @internal */
61
- export const ClientConfigKubernetesCloud$inboundSchema = z.object({
62
- cloud: z.lazy(() => Cloud$inboundSchema),
63
- kubernetes: KubernetesClientConfig$inboundSchema,
64
- platform: PlatformKubernetesCloud$inboundSchema,
65
- });
66
- export function clientConfigKubernetesCloudFromJSON(jsonString) {
67
- return safeParse(jsonString, (x) => ClientConfigKubernetesCloud$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigKubernetesCloud' from JSON`);
68
- }
69
- /** @internal */
70
- export const ClientConfigPlatformKubernetes3$inboundSchema = z.enum(ClientConfigPlatformKubernetes3);
71
- /** @internal */
72
- export const ClientConfigManual$inboundSchema = z.object({
73
- additional_headers: z.record(z.string(), z.string()),
74
- certificate_authority_data: z.nullable(z.string()).optional(),
75
- client_certificate_data: z.nullable(z.string()).optional(),
76
- client_key_data: z.nullable(z.string()).optional(),
77
- insecure_skip_tls_verify: z.nullable(z.boolean()).optional(),
78
- mode: z.literal("manual"),
79
- namespace: z.nullable(z.string()).optional(),
80
- password: z.nullable(z.string()).optional(),
81
- server_url: z.string(),
82
- token: z.nullable(z.string()).optional(),
83
- username: z.nullable(z.string()).optional(),
84
- platform: ClientConfigPlatformKubernetes3$inboundSchema,
85
- }).transform((v) => {
86
- return remap$(v, {
87
- "additional_headers": "additionalHeaders",
88
- "certificate_authority_data": "certificateAuthorityData",
89
- "client_certificate_data": "clientCertificateData",
90
- "client_key_data": "clientKeyData",
91
- "insecure_skip_tls_verify": "insecureSkipTlsVerify",
92
- "server_url": "serverUrl",
93
- });
94
- });
95
- export function clientConfigManualFromJSON(jsonString) {
96
- return safeParse(jsonString, (x) => ClientConfigManual$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigManual' from JSON`);
97
- }
98
- /** @internal */
99
- export const ClientConfigPlatformKubernetes2$inboundSchema = z.enum(ClientConfigPlatformKubernetes2);
100
- /** @internal */
101
- export const ClientConfigKubeconfig$inboundSchema = z.object({
102
- additional_headers: z.nullable(z.record(z.string(), z.string())).optional(),
103
- cluster: z.nullable(z.string()).optional(),
104
- context: z.nullable(z.string()).optional(),
105
- kubeconfig_path: z.nullable(z.string()).optional(),
106
- mode: z.literal("kubeconfig"),
107
- namespace: z.nullable(z.string()).optional(),
108
- user: z.nullable(z.string()).optional(),
109
- platform: ClientConfigPlatformKubernetes2$inboundSchema,
110
- }).transform((v) => {
111
- return remap$(v, {
112
- "additional_headers": "additionalHeaders",
113
- "kubeconfig_path": "kubeconfigPath",
114
- });
115
- });
116
- export function clientConfigKubeconfigFromJSON(jsonString) {
117
- return safeParse(jsonString, (x) => ClientConfigKubeconfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigKubeconfig' from JSON`);
118
- }
119
- /** @internal */
120
- export const ClientConfigPlatformKubernetes1$inboundSchema = z.enum(ClientConfigPlatformKubernetes1);
121
- /** @internal */
122
- export const ClientConfigInCluster$inboundSchema = z.object({
123
- additional_headers: z.nullable(z.record(z.string(), z.string())).optional(),
124
- mode: z.literal("inCluster"),
125
- namespace: z.nullable(z.string()).optional(),
126
- platform: ClientConfigPlatformKubernetes1$inboundSchema,
127
- }).transform((v) => {
128
- return remap$(v, {
129
- "additional_headers": "additionalHeaders",
130
- });
131
- });
132
- export function clientConfigInClusterFromJSON(jsonString) {
133
- return safeParse(jsonString, (x) => ClientConfigInCluster$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigInCluster' from JSON`);
134
- }
135
- /** @internal */
136
- export const ClientConfigUnion1$inboundSchema = z.union([
137
- z.lazy(() => ClientConfigInCluster$inboundSchema),
138
- z.lazy(() => ClientConfigKubeconfig$inboundSchema),
139
- z.lazy(() => ClientConfigManual$inboundSchema),
140
- ]);
141
- export function clientConfigUnion1FromJSON(jsonString) {
142
- return safeParse(jsonString, (x) => ClientConfigUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigUnion1' from JSON`);
143
- }
144
- /** @internal */
145
- export const ClientConfigPlatformAzure$inboundSchema = z.enum(ClientConfigPlatformAzure);
146
- /** @internal */
147
- export const ClientConfigAzure$inboundSchema = z.object({
148
- credentials: AzureCredentials$inboundSchema,
149
- region: z.nullable(z.string()).optional(),
150
- serviceOverrides: z.nullable(AzureServiceOverrides$inboundSchema).optional(),
151
- subscriptionId: z.string(),
152
- tenantId: z.string(),
153
- platform: ClientConfigPlatformAzure$inboundSchema,
154
- });
155
- export function clientConfigAzureFromJSON(jsonString) {
156
- return safeParse(jsonString, (x) => ClientConfigAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigAzure' from JSON`);
157
- }
158
- /** @internal */
159
- export const ClientConfigPlatformGcp$inboundSchema = z.enum(ClientConfigPlatformGcp);
160
- /** @internal */
161
- export const ClientConfigGcp$inboundSchema = z.object({
162
- credentials: GcpCredentials$inboundSchema,
163
- projectId: z.string(),
164
- projectNumber: z.nullable(z.string()).optional(),
165
- region: z.string(),
166
- serviceOverrides: z.nullable(GcpServiceOverrides$inboundSchema).optional(),
167
- platform: ClientConfigPlatformGcp$inboundSchema,
168
- });
169
- export function clientConfigGcpFromJSON(jsonString) {
170
- return safeParse(jsonString, (x) => ClientConfigGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigGcp' from JSON`);
171
- }
172
- /** @internal */
173
- export const ClientConfigPlatformAws$inboundSchema = z.enum(ClientConfigPlatformAws);
174
- /** @internal */
175
- export const ClientConfigAws$inboundSchema = z.object({
176
- accountId: z.string(),
177
- credentials: AwsCredentials$inboundSchema,
178
- region: z.string(),
179
- serviceOverrides: z.nullable(AwsServiceOverrides$inboundSchema).optional(),
180
- platform: ClientConfigPlatformAws$inboundSchema,
181
- });
182
- export function clientConfigAwsFromJSON(jsonString) {
183
- return safeParse(jsonString, (x) => ClientConfigAws$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigAws' from JSON`);
184
- }
185
- /** @internal */
186
- export const ClientConfigUnion$inboundSchema = z.union([
187
- z.lazy(() => ClientConfigAws$inboundSchema),
188
- z.lazy(() => ClientConfigGcp$inboundSchema),
189
- z.lazy(() => ClientConfigAzure$inboundSchema),
190
- z.lazy(() => ClientConfigKubernetesCloud$inboundSchema),
191
- z.lazy(() => ClientConfigLocal$inboundSchema),
192
- z.union([
193
- z.lazy(() => ClientConfigInCluster$inboundSchema),
194
- z.lazy(() => ClientConfigKubeconfig$inboundSchema),
195
- z.lazy(() => ClientConfigManual$inboundSchema),
196
- ]),
197
- ]);
198
- export function clientConfigUnionFromJSON(jsonString) {
199
- return safeParse(jsonString, (x) => ClientConfigUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientConfigUnion' from JSON`);
200
- }
201
- //# sourceMappingURL=clientconfigunion.js.map