@alienplatform/platform-api 1.10.3 → 1.10.5

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 (81) hide show
  1. package/README.md +4 -0
  2. package/esm/funcs/deploymentGroupsCreateFirstPartyDeploymentSession.d.ts +19 -0
  3. package/esm/funcs/deploymentGroupsCreateFirstPartyDeploymentSession.d.ts.map +1 -0
  4. package/esm/funcs/deploymentGroupsCreateFirstPartyDeploymentSession.js +92 -0
  5. package/esm/funcs/deploymentGroupsCreateFirstPartyDeploymentSession.js.map +1 -0
  6. package/esm/funcs/deploymentsSetFirstPartyDeploymentInputs.d.ts +15 -0
  7. package/esm/funcs/deploymentsSetFirstPartyDeploymentInputs.d.ts.map +1 -0
  8. package/esm/funcs/deploymentsSetFirstPartyDeploymentInputs.js +82 -0
  9. package/esm/funcs/deploymentsSetFirstPartyDeploymentInputs.js.map +1 -0
  10. package/esm/lib/config.d.ts +2 -2
  11. package/esm/lib/config.js +2 -2
  12. package/esm/models/createfirstpartydeploymentsessionresponse.d.ts +13 -0
  13. package/esm/models/createfirstpartydeploymentsessionresponse.d.ts.map +1 -0
  14. package/esm/models/createfirstpartydeploymentsessionresponse.js +13 -0
  15. package/esm/models/createfirstpartydeploymentsessionresponse.js.map +1 -0
  16. package/esm/models/deploymentinfo.d.ts +32 -0
  17. package/esm/models/deploymentinfo.d.ts.map +1 -1
  18. package/esm/models/deploymentinfo.js +12 -0
  19. package/esm/models/deploymentinfo.js.map +1 -1
  20. package/esm/models/index.d.ts +3 -0
  21. package/esm/models/index.d.ts.map +1 -1
  22. package/esm/models/index.js +3 -0
  23. package/esm/models/index.js.map +1 -1
  24. package/esm/models/operations/createfirstpartydeploymentsession.d.ts +20 -0
  25. package/esm/models/operations/createfirstpartydeploymentsession.d.ts.map +1 -0
  26. package/esm/models/operations/createfirstpartydeploymentsession.js +13 -0
  27. package/esm/models/operations/createfirstpartydeploymentsession.js.map +1 -0
  28. package/esm/models/operations/index.d.ts +1 -0
  29. package/esm/models/operations/index.d.ts.map +1 -1
  30. package/esm/models/operations/index.js +1 -0
  31. package/esm/models/operations/index.js.map +1 -1
  32. package/esm/models/package.d.ts +34 -2
  33. package/esm/models/package.d.ts.map +1 -1
  34. package/esm/models/package.js +14 -2
  35. package/esm/models/package.js.map +1 -1
  36. package/esm/models/setfirstpartydeploymentinputsrequest.d.ts +40 -0
  37. package/esm/models/setfirstpartydeploymentinputsrequest.d.ts.map +1 -0
  38. package/esm/models/setfirstpartydeploymentinputsrequest.js +28 -0
  39. package/esm/models/setfirstpartydeploymentinputsrequest.js.map +1 -0
  40. package/esm/models/setfirstpartydeploymentinputsresponse.d.ts +10 -0
  41. package/esm/models/setfirstpartydeploymentinputsresponse.d.ts.map +1 -0
  42. package/esm/models/setfirstpartydeploymentinputsresponse.js +13 -0
  43. package/esm/models/setfirstpartydeploymentinputsresponse.js.map +1 -0
  44. package/esm/models/syncacquirerequest.d.ts +5 -5
  45. package/esm/models/syncacquirerequest.d.ts.map +1 -1
  46. package/esm/models/syncacquirerequest.js +2 -2
  47. package/esm/models/syncacquirerequest.js.map +1 -1
  48. package/esm/models/syncacquireresponse.d.ts +4 -0
  49. package/esm/models/syncacquireresponse.d.ts.map +1 -1
  50. package/esm/models/syncacquireresponse.js +1 -0
  51. package/esm/models/syncacquireresponse.js.map +1 -1
  52. package/esm/sdk/deploymentgroups.d.ts +7 -0
  53. package/esm/sdk/deploymentgroups.d.ts.map +1 -1
  54. package/esm/sdk/deploymentgroups.js +10 -0
  55. package/esm/sdk/deploymentgroups.js.map +1 -1
  56. package/esm/sdk/deployments.d.ts +4 -0
  57. package/esm/sdk/deployments.d.ts.map +1 -1
  58. package/esm/sdk/deployments.js +7 -0
  59. package/esm/sdk/deployments.js.map +1 -1
  60. package/esm/sdk/resources.d.ts +0 -3
  61. package/esm/sdk/resources.d.ts.map +1 -1
  62. package/esm/sdk/resources.js +0 -3
  63. package/esm/sdk/resources.js.map +1 -1
  64. package/jsr.json +1 -1
  65. package/package.json +1 -1
  66. package/src/funcs/deploymentGroupsCreateFirstPartyDeploymentSession.ts +187 -0
  67. package/src/funcs/deploymentsSetFirstPartyDeploymentInputs.ts +171 -0
  68. package/src/lib/config.ts +2 -2
  69. package/src/models/createfirstpartydeploymentsessionresponse.ts +39 -0
  70. package/src/models/deploymentinfo.ts +53 -0
  71. package/src/models/index.ts +3 -0
  72. package/src/models/operations/createfirstpartydeploymentsession.ts +42 -0
  73. package/src/models/operations/index.ts +1 -0
  74. package/src/models/package.ts +57 -4
  75. package/src/models/setfirstpartydeploymentinputsrequest.ts +69 -0
  76. package/src/models/setfirstpartydeploymentinputsresponse.ts +31 -0
  77. package/src/models/syncacquirerequest.ts +6 -6
  78. package/src/models/syncacquireresponse.ts +5 -0
  79. package/src/sdk/deploymentgroups.ts +18 -0
  80. package/src/sdk/deployments.ts +15 -0
  81. package/src/sdk/resources.ts +0 -3
@@ -27,6 +27,7 @@ export * from "./createdeploymentgrouptokenresponse.js";
27
27
  export * from "./createdeploymentresponse.js";
28
28
  export * from "./createdeploymenttokenrequest.js";
29
29
  export * from "./createdeploymenttokenresponse.js";
30
+ export * from "./createfirstpartydeploymentsessionresponse.js";
30
31
  export * from "./createmanagerresponse.js";
31
32
  export * from "./createreleaserequest.js";
32
33
  export * from "./createsetupregistrationoperationrequest.js";
@@ -127,6 +128,8 @@ export * from "./role.js";
127
128
  export * from "./scope.js";
128
129
  export * from "./security.js";
129
130
  export * from "./serviceaccountsubject.js";
131
+ export * from "./setfirstpartydeploymentinputsrequest.js";
132
+ export * from "./setfirstpartydeploymentinputsresponse.js";
130
133
  export * from "./setupfingerprintinfo.js";
131
134
  export * from "./setupregistrationaction.js";
132
135
  export * from "./setupregistrationcloudformationtarget.js";
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+
7
+ export type CreateFirstPartyDeploymentSessionRequest = {
8
+ /**
9
+ * Unique identifier for the deployment group.
10
+ */
11
+ id: string;
12
+ /**
13
+ * Workspace name. Required for user/session/OAuth requests. Optional for API keys because API keys are workspace-scoped; if provided with an API key, it must match the key's workspace.
14
+ */
15
+ workspace?: string | undefined;
16
+ };
17
+
18
+ /** @internal */
19
+ export type CreateFirstPartyDeploymentSessionRequest$Outbound = {
20
+ id: string;
21
+ workspace?: string | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const CreateFirstPartyDeploymentSessionRequest$outboundSchema: z.ZodType<
26
+ CreateFirstPartyDeploymentSessionRequest$Outbound,
27
+ CreateFirstPartyDeploymentSessionRequest
28
+ > = z.object({
29
+ id: z.string(),
30
+ workspace: z.string().optional(),
31
+ });
32
+
33
+ export function createFirstPartyDeploymentSessionRequestToJSON(
34
+ createFirstPartyDeploymentSessionRequest:
35
+ CreateFirstPartyDeploymentSessionRequest,
36
+ ): string {
37
+ return JSON.stringify(
38
+ CreateFirstPartyDeploymentSessionRequest$outboundSchema.parse(
39
+ createFirstPartyDeploymentSessionRequest,
40
+ ),
41
+ );
42
+ }
@@ -14,6 +14,7 @@ export * from "./createdeploymentgrouptoken.js";
14
14
  export * from "./createdeploymenttoken.js";
15
15
  export * from "./createdomain.js";
16
16
  export * from "./createdomainendpoint.js";
17
+ export * from "./createfirstpartydeploymentsession.js";
17
18
  export * from "./createmanager.js";
18
19
  export * from "./createproject.js";
19
20
  export * from "./createprojectfromtemplate.js";
@@ -349,6 +349,32 @@ export type PackageBinaries = {
349
349
  url: string;
350
350
  };
351
351
 
352
+ /**
353
+ * Source provenance for a generated CLI package.
354
+ */
355
+ export type PackageBuildInfo = {
356
+ /**
357
+ * Alien source commit used to build the source CLI and agent binaries.
358
+ */
359
+ alienSha: string;
360
+ /**
361
+ * Horizon source commit used by platform private extensions, if applicable.
362
+ */
363
+ horizonSha: string;
364
+ /**
365
+ * Platform source commit used to build packages-builder and private extensions.
366
+ */
367
+ platformSha: string;
368
+ /**
369
+ * SHA256 checksum of the source companion agent binary shipped with the CLI package.
370
+ */
371
+ sourceAgentBinarySha256: string;
372
+ /**
373
+ * SHA256 checksum of the source deploy CLI binary before white-label config is appended.
374
+ */
375
+ sourceCliBinarySha256: string;
376
+ };
377
+
352
378
  export const OutputsTypeCli = {
353
379
  Cli: "cli",
354
380
  } as const;
@@ -362,6 +388,10 @@ export type OutputsCli = {
362
388
  * Binary information for each target platform
363
389
  */
364
390
  binaries: { [k: string]: PackageBinaries };
391
+ /**
392
+ * Source provenance for a generated CLI package.
393
+ */
394
+ buildInfo: PackageBuildInfo;
365
395
  type: OutputsTypeCli;
366
396
  };
367
397
 
@@ -369,10 +399,10 @@ export type OutputsCli = {
369
399
  * Package outputs (only when status is 'ready')
370
400
  */
371
401
  export type PackageOutputsUnion =
402
+ | OutputsCli
372
403
  | OutputsAgentImage
373
404
  | OutputsHelm
374
405
  | OutputsTerraform
375
- | OutputsCli
376
406
  | OutputsCloudformation
377
407
  | any;
378
408
 
@@ -426,10 +456,10 @@ export type Package = {
426
456
  * Package outputs (only when status is 'ready')
427
457
  */
428
458
  outputs?:
459
+ | OutputsCli
429
460
  | OutputsAgentImage
430
461
  | OutputsHelm
431
462
  | OutputsTerraform
432
- | OutputsCli
433
463
  | OutputsCloudformation
434
464
  | any
435
465
  | null
@@ -796,6 +826,28 @@ export function packageBinariesFromJSON(
796
826
  );
797
827
  }
798
828
 
829
+ /** @internal */
830
+ export const PackageBuildInfo$inboundSchema: z.ZodType<
831
+ PackageBuildInfo,
832
+ unknown
833
+ > = z.object({
834
+ alienSha: z.string(),
835
+ horizonSha: z.string(),
836
+ platformSha: z.string(),
837
+ sourceAgentBinarySha256: z.string(),
838
+ sourceCliBinarySha256: z.string(),
839
+ });
840
+
841
+ export function packageBuildInfoFromJSON(
842
+ jsonString: string,
843
+ ): SafeParseResult<PackageBuildInfo, SDKValidationError> {
844
+ return safeParse(
845
+ jsonString,
846
+ (x) => PackageBuildInfo$inboundSchema.parse(JSON.parse(x)),
847
+ `Failed to parse 'PackageBuildInfo' from JSON`,
848
+ );
849
+ }
850
+
799
851
  /** @internal */
800
852
  export const OutputsTypeCli$inboundSchema: z.ZodEnum<typeof OutputsTypeCli> = z
801
853
  .enum(OutputsTypeCli);
@@ -804,6 +856,7 @@ export const OutputsTypeCli$inboundSchema: z.ZodEnum<typeof OutputsTypeCli> = z
804
856
  export const OutputsCli$inboundSchema: z.ZodType<OutputsCli, unknown> = z
805
857
  .object({
806
858
  binaries: z.record(z.string(), z.lazy(() => PackageBinaries$inboundSchema)),
859
+ buildInfo: z.lazy(() => PackageBuildInfo$inboundSchema),
807
860
  type: OutputsTypeCli$inboundSchema,
808
861
  });
809
862
 
@@ -822,10 +875,10 @@ export const PackageOutputsUnion$inboundSchema: z.ZodType<
822
875
  PackageOutputsUnion,
823
876
  unknown
824
877
  > = z.union([
878
+ z.lazy(() => OutputsCli$inboundSchema),
825
879
  z.lazy(() => OutputsAgentImage$inboundSchema),
826
880
  z.lazy(() => OutputsHelm$inboundSchema),
827
881
  z.lazy(() => OutputsTerraform$inboundSchema),
828
- z.lazy(() => OutputsCli$inboundSchema),
829
882
  z.lazy(() => OutputsCloudformation$inboundSchema),
830
883
  z.any(),
831
884
  ]);
@@ -860,10 +913,10 @@ export const Package$inboundSchema: z.ZodType<Package, unknown> = z.object({
860
913
  ]),
861
914
  outputs: z.nullable(
862
915
  z.union([
916
+ z.lazy(() => OutputsCli$inboundSchema),
863
917
  z.lazy(() => OutputsAgentImage$inboundSchema),
864
918
  z.lazy(() => OutputsHelm$inboundSchema),
865
919
  z.lazy(() => OutputsTerraform$inboundSchema),
866
- z.lazy(() => OutputsCli$inboundSchema),
867
920
  z.lazy(() => OutputsCloudformation$inboundSchema),
868
921
  z.any(),
869
922
  ]),
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { ClosedEnum } from "../types/enums.js";
7
+ import {
8
+ StackInputValueRequest,
9
+ StackInputValueRequest$Outbound,
10
+ StackInputValueRequest$outboundSchema,
11
+ } from "./stackinputvaluerequest.js";
12
+
13
+ /**
14
+ * Represents the target cloud platform.
15
+ */
16
+ export const SetFirstPartyDeploymentInputsRequestPlatform = {
17
+ Aws: "aws",
18
+ Gcp: "gcp",
19
+ Azure: "azure",
20
+ Kubernetes: "kubernetes",
21
+ Local: "local",
22
+ Test: "test",
23
+ } as const;
24
+ /**
25
+ * Represents the target cloud platform.
26
+ */
27
+ export type SetFirstPartyDeploymentInputsRequestPlatform = ClosedEnum<
28
+ typeof SetFirstPartyDeploymentInputsRequestPlatform
29
+ >;
30
+
31
+ export type SetFirstPartyDeploymentInputsRequest = {
32
+ /**
33
+ * Represents the target cloud platform.
34
+ */
35
+ platform: SetFirstPartyDeploymentInputsRequestPlatform;
36
+ inputValues?: { [k: string]: StackInputValueRequest } | undefined;
37
+ };
38
+
39
+ /** @internal */
40
+ export const SetFirstPartyDeploymentInputsRequestPlatform$outboundSchema:
41
+ z.ZodEnum<typeof SetFirstPartyDeploymentInputsRequestPlatform> = z.enum(
42
+ SetFirstPartyDeploymentInputsRequestPlatform,
43
+ );
44
+
45
+ /** @internal */
46
+ export type SetFirstPartyDeploymentInputsRequest$Outbound = {
47
+ platform: string;
48
+ inputValues?: { [k: string]: StackInputValueRequest$Outbound } | undefined;
49
+ };
50
+
51
+ /** @internal */
52
+ export const SetFirstPartyDeploymentInputsRequest$outboundSchema: z.ZodType<
53
+ SetFirstPartyDeploymentInputsRequest$Outbound,
54
+ SetFirstPartyDeploymentInputsRequest
55
+ > = z.object({
56
+ platform: SetFirstPartyDeploymentInputsRequestPlatform$outboundSchema,
57
+ inputValues: z.record(z.string(), StackInputValueRequest$outboundSchema)
58
+ .optional(),
59
+ });
60
+
61
+ export function setFirstPartyDeploymentInputsRequestToJSON(
62
+ setFirstPartyDeploymentInputsRequest: SetFirstPartyDeploymentInputsRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ SetFirstPartyDeploymentInputsRequest$outboundSchema.parse(
66
+ setFirstPartyDeploymentInputsRequest,
67
+ ),
68
+ );
69
+ }
@@ -0,0 +1,31 @@
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
+ export type SetFirstPartyDeploymentInputsResponse = {
11
+ ok: boolean;
12
+ };
13
+
14
+ /** @internal */
15
+ export const SetFirstPartyDeploymentInputsResponse$inboundSchema: z.ZodType<
16
+ SetFirstPartyDeploymentInputsResponse,
17
+ unknown
18
+ > = z.object({
19
+ ok: z.boolean(),
20
+ });
21
+
22
+ export function setFirstPartyDeploymentInputsResponseFromJSON(
23
+ jsonString: string,
24
+ ): SafeParseResult<SetFirstPartyDeploymentInputsResponse, SDKValidationError> {
25
+ return safeParse(
26
+ jsonString,
27
+ (x) =>
28
+ SetFirstPartyDeploymentInputsResponse$inboundSchema.parse(JSON.parse(x)),
29
+ `Failed to parse 'SetFirstPartyDeploymentInputsResponse' from JSON`,
30
+ );
31
+ }
@@ -71,14 +71,14 @@ export const AcquireMode = {
71
71
  export type AcquireMode = ClosedEnum<typeof AcquireMode>;
72
72
 
73
73
  /**
74
- * Filter by deployment model from stackSettings.deploymentModel (Manager should use 'push')
74
+ * Filter by deployment model from stackSettings.deploymentModel.
75
75
  */
76
76
  export const SyncAcquireRequestDeploymentModel = {
77
77
  Push: "push",
78
78
  Pull: "pull",
79
79
  } as const;
80
80
  /**
81
- * Filter by deployment model from stackSettings.deploymentModel (Manager should use 'push')
81
+ * Filter by deployment model from stackSettings.deploymentModel.
82
82
  */
83
83
  export type SyncAcquireRequestDeploymentModel = ClosedEnum<
84
84
  typeof SyncAcquireRequestDeploymentModel
@@ -111,9 +111,9 @@ export type SyncAcquireRequest = {
111
111
  */
112
112
  acquireMode?: AcquireMode | undefined;
113
113
  /**
114
- * Filter by deployment model from stackSettings.deploymentModel (Manager should use 'push')
114
+ * Filter by deployment model from stackSettings.deploymentModel.
115
115
  */
116
- deploymentModel?: SyncAcquireRequestDeploymentModel | undefined;
116
+ deploymentModel: SyncAcquireRequestDeploymentModel;
117
117
  /**
118
118
  * Maximum number of deployments to acquire (default: 10)
119
119
  */
@@ -149,7 +149,7 @@ export type SyncAcquireRequest$Outbound = {
149
149
  platforms?: Array<string> | undefined;
150
150
  setupMethod?: string | undefined;
151
151
  acquireMode?: string | undefined;
152
- deploymentModel?: string | undefined;
152
+ deploymentModel: string;
153
153
  limit?: number | undefined;
154
154
  };
155
155
 
@@ -165,7 +165,7 @@ export const SyncAcquireRequest$outboundSchema: z.ZodType<
165
165
  platforms: z.array(SyncAcquireRequestPlatform$outboundSchema).optional(),
166
166
  setupMethod: DeploymentSetupMethod$outboundSchema.optional(),
167
167
  acquireMode: AcquireMode$outboundSchema.optional(),
168
- deploymentModel: SyncAcquireRequestDeploymentModel$outboundSchema.optional(),
168
+ deploymentModel: SyncAcquireRequestDeploymentModel$outboundSchema,
169
169
  limit: z.int().optional(),
170
170
  });
171
171
 
@@ -9031,6 +9031,10 @@ export type SyncAcquireResponseDeployment = {
9031
9031
  * Project ID the deployment belongs to
9032
9032
  */
9033
9033
  projectId: string;
9034
+ /**
9035
+ * Deployment group ID the deployment belongs to
9036
+ */
9037
+ deploymentGroupId: string;
9034
9038
  setupMethod?: DeploymentSetupMethod | undefined;
9035
9039
  /**
9036
9040
  * Current deployment state (includes releases)
@@ -23593,6 +23597,7 @@ export const SyncAcquireResponseDeployment$inboundSchema: z.ZodType<
23593
23597
  > = z.object({
23594
23598
  deploymentId: z.string(),
23595
23599
  projectId: z.string(),
23600
+ deploymentGroupId: z.string(),
23596
23601
  setupMethod: DeploymentSetupMethod$inboundSchema.optional(),
23597
23602
  current: z.lazy(() => SyncAcquireResponseCurrent$inboundSchema),
23598
23603
  config: z.lazy(() => SyncAcquireResponseConfig$inboundSchema),
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { deploymentGroupsCreateDeploymentGroup } from "../funcs/deploymentGroupsCreateDeploymentGroup.js";
6
6
  import { deploymentGroupsCreateDeploymentGroupToken } from "../funcs/deploymentGroupsCreateDeploymentGroupToken.js";
7
+ import { deploymentGroupsCreateFirstPartyDeploymentSession } from "../funcs/deploymentGroupsCreateFirstPartyDeploymentSession.js";
7
8
  import { deploymentGroupsDeleteDeploymentGroup } from "../funcs/deploymentGroupsDeleteDeploymentGroup.js";
8
9
  import { deploymentGroupsGetDeploymentGroup } from "../funcs/deploymentGroupsGetDeploymentGroup.js";
9
10
  import { deploymentGroupsListDeploymentGroups } from "../funcs/deploymentGroupsListDeploymentGroups.js";
@@ -100,4 +101,21 @@ export class DeploymentGroups extends ClientSDK {
100
101
  options,
101
102
  ));
102
103
  }
104
+
105
+ /**
106
+ * Create first-party deployment session
107
+ *
108
+ * @remarks
109
+ * Mints a short-lived deployment-group token with the recommended self-deploy policy for the authenticated developer.
110
+ */
111
+ async createFirstPartyDeploymentSession(
112
+ request: operations.CreateFirstPartyDeploymentSessionRequest,
113
+ options?: RequestOptions,
114
+ ): Promise<models.CreateFirstPartyDeploymentSessionResponse> {
115
+ return unwrapAsync(deploymentGroupsCreateFirstPartyDeploymentSession(
116
+ this,
117
+ request,
118
+ options,
119
+ ));
120
+ }
103
121
  }
@@ -17,6 +17,7 @@ import { deploymentsListFilterEnvironments } from "../funcs/deploymentsListFilte
17
17
  import { deploymentsPinRelease } from "../funcs/deploymentsPinRelease.js";
18
18
  import { deploymentsRedeploy } from "../funcs/deploymentsRedeploy.js";
19
19
  import { deploymentsRetry } from "../funcs/deploymentsRetry.js";
20
+ import { deploymentsSetFirstPartyDeploymentInputs } from "../funcs/deploymentsSetFirstPartyDeploymentInputs.js";
20
21
  import { deploymentsUpdateEnvironmentVariables } from "../funcs/deploymentsUpdateEnvironmentVariables.js";
21
22
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
22
23
  import * as models from "../models/index.js";
@@ -138,6 +139,20 @@ export class Deployments extends ClientSDK {
138
139
  ));
139
140
  }
140
141
 
142
+ /**
143
+ * Store operator-provided input values on a first-party deployment session token so CLI/local deploys apply them.
144
+ */
145
+ async setFirstPartyDeploymentInputs(
146
+ request?: models.SetFirstPartyDeploymentInputsRequest | undefined,
147
+ options?: RequestOptions,
148
+ ): Promise<models.SetFirstPartyDeploymentInputsResponse> {
149
+ return unwrapAsync(deploymentsSetFirstPartyDeploymentInputs(
150
+ this,
151
+ request,
152
+ options,
153
+ ));
154
+ }
155
+
141
156
  /**
142
157
  * Start a durable setup registration operation for CloudFormation, Terraform, or Helm.
143
158
  */
@@ -21,9 +21,6 @@ export class Resources extends ClientSDK {
21
21
  ));
22
22
  }
23
23
 
24
- /**
25
- * List distinct deployments that have commands, including deployment group info. Use for filter dropdowns in the dashboard.
26
- */
27
24
  async listDeployments(
28
25
  request: operations.ListResourceDeploymentsRequest,
29
26
  options?: RequestOptions,