@alienplatform/manager-api 3.3.30 → 3.3.31

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 (131) hide show
  1. package/esm/funcs/commandsStoreCommandPayload.d.ts +2 -2
  2. package/esm/funcs/commandsStoreCommandPayload.d.ts.map +1 -1
  3. package/esm/funcs/commandsStoreCommandPayload.js +8 -4
  4. package/esm/funcs/commandsStoreCommandPayload.js.map +1 -1
  5. package/esm/funcs/commandsSubmitResponse.d.ts +2 -2
  6. package/esm/funcs/commandsSubmitResponse.d.ts.map +1 -1
  7. package/esm/funcs/commandsSubmitResponse.js +8 -4
  8. package/esm/funcs/commandsSubmitResponse.js.map +1 -1
  9. package/esm/funcs/commandsUploadComplete.d.ts +1 -2
  10. package/esm/funcs/commandsUploadComplete.d.ts.map +1 -1
  11. package/esm/funcs/commandsUploadComplete.js +8 -4
  12. package/esm/funcs/commandsUploadComplete.js.map +1 -1
  13. package/esm/funcs/deploymentsDeleteDeployment.d.ts +1 -2
  14. package/esm/funcs/deploymentsDeleteDeployment.d.ts.map +1 -1
  15. package/esm/funcs/deploymentsDeleteDeployment.js +8 -4
  16. package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
  17. package/esm/funcs/deploymentsImportDeploymentStatus.d.ts +1 -2
  18. package/esm/funcs/deploymentsImportDeploymentStatus.d.ts.map +1 -1
  19. package/esm/funcs/deploymentsImportDeploymentStatus.js +8 -4
  20. package/esm/funcs/deploymentsImportDeploymentStatus.js.map +1 -1
  21. package/esm/funcs/deploymentsSetDeploymentChannel.d.ts +1 -2
  22. package/esm/funcs/deploymentsSetDeploymentChannel.d.ts.map +1 -1
  23. package/esm/funcs/deploymentsSetDeploymentChannel.js +8 -4
  24. package/esm/funcs/deploymentsSetDeploymentChannel.js.map +1 -1
  25. package/esm/funcs/deploymentsSetDeploymentPin.d.ts +1 -2
  26. package/esm/funcs/deploymentsSetDeploymentPin.d.ts.map +1 -1
  27. package/esm/funcs/deploymentsSetDeploymentPin.js +8 -4
  28. package/esm/funcs/deploymentsSetDeploymentPin.js.map +1 -1
  29. package/esm/funcs/deploymentsSignDeploymentBundle.d.ts +1 -2
  30. package/esm/funcs/deploymentsSignDeploymentBundle.d.ts.map +1 -1
  31. package/esm/funcs/deploymentsSignDeploymentBundle.js +8 -4
  32. package/esm/funcs/deploymentsSignDeploymentBundle.js.map +1 -1
  33. package/esm/funcs/releasesPromoteManagerRelease.d.ts +1 -2
  34. package/esm/funcs/releasesPromoteManagerRelease.d.ts.map +1 -1
  35. package/esm/funcs/releasesPromoteManagerRelease.js +8 -4
  36. package/esm/funcs/releasesPromoteManagerRelease.js.map +1 -1
  37. package/esm/lib/config.d.ts +2 -2
  38. package/esm/lib/config.js +2 -2
  39. package/esm/models/acquireresponse.d.ts +8 -0
  40. package/esm/models/acquireresponse.d.ts.map +1 -1
  41. package/esm/models/acquireresponse.js +2 -0
  42. package/esm/models/acquireresponse.js.map +1 -1
  43. package/esm/models/bindingvalueoptionstringunion.d.ts +39 -0
  44. package/esm/models/bindingvalueoptionstringunion.d.ts.map +1 -0
  45. package/esm/models/bindingvalueoptionstringunion.js +39 -0
  46. package/esm/models/bindingvalueoptionstringunion.js.map +1 -0
  47. package/esm/models/bindingvaluestringunion.d.ts +39 -0
  48. package/esm/models/bindingvaluestringunion.d.ts.map +1 -0
  49. package/esm/models/bindingvaluestringunion.js +39 -0
  50. package/esm/models/bindingvaluestringunion.js.map +1 -0
  51. package/esm/models/bindingvalueu16union.d.ts +39 -0
  52. package/esm/models/bindingvalueu16union.d.ts.map +1 -0
  53. package/esm/models/bindingvalueu16union.js +31 -0
  54. package/esm/models/bindingvalueu16union.js.map +1 -0
  55. package/esm/models/bindingvalueu8union.d.ts +39 -0
  56. package/esm/models/bindingvalueu8union.d.ts.map +1 -0
  57. package/esm/models/bindingvalueu8union.js +31 -0
  58. package/esm/models/bindingvalueu8union.js.map +1 -0
  59. package/esm/models/bindingvaluevecstringunion.d.ts +39 -0
  60. package/esm/models/bindingvaluevecstringunion.d.ts.map +1 -0
  61. package/esm/models/bindingvaluevecstringunion.js +39 -0
  62. package/esm/models/bindingvaluevecstringunion.js.map +1 -0
  63. package/esm/models/deploymentacquireunavailablereason.d.ts +32 -0
  64. package/esm/models/deploymentacquireunavailablereason.d.ts.map +1 -0
  65. package/esm/models/deploymentacquireunavailablereason.js +25 -0
  66. package/esm/models/deploymentacquireunavailablereason.js.map +1 -0
  67. package/esm/models/externalbindingunion.d.ts +1414 -0
  68. package/esm/models/externalbindingunion.d.ts.map +1 -0
  69. package/esm/models/externalbindingunion.js +1075 -0
  70. package/esm/models/externalbindingunion.js.map +1 -0
  71. package/esm/models/externalpostgressslmode.d.ts +28 -0
  72. package/esm/models/externalpostgressslmode.d.ts.map +1 -0
  73. package/esm/models/externalpostgressslmode.js +21 -0
  74. package/esm/models/externalpostgressslmode.js.map +1 -0
  75. package/esm/models/index.d.ts +10 -0
  76. package/esm/models/index.d.ts.map +1 -1
  77. package/esm/models/index.js +10 -0
  78. package/esm/models/index.js.map +1 -1
  79. package/esm/models/secretreference.d.ts +22 -0
  80. package/esm/models/secretreference.d.ts.map +1 -0
  81. package/esm/models/secretreference.js +22 -0
  82. package/esm/models/secretreference.js.map +1 -0
  83. package/esm/models/stacksettings.d.ts +7 -27
  84. package/esm/models/stacksettings.d.ts.map +1 -1
  85. package/esm/models/stacksettings.js +3 -14
  86. package/esm/models/stacksettings.js.map +1 -1
  87. package/esm/models/unacquireddeployment.d.ts +24 -0
  88. package/esm/models/unacquireddeployment.d.ts.map +1 -0
  89. package/esm/models/unacquireddeployment.js +16 -0
  90. package/esm/models/unacquireddeployment.js.map +1 -0
  91. package/esm/sdk/commands.d.ts +3 -3
  92. package/esm/sdk/commands.d.ts.map +1 -1
  93. package/esm/sdk/commands.js +6 -6
  94. package/esm/sdk/commands.js.map +1 -1
  95. package/esm/sdk/deployments.d.ts +5 -5
  96. package/esm/sdk/deployments.d.ts.map +1 -1
  97. package/esm/sdk/deployments.js +10 -10
  98. package/esm/sdk/deployments.js.map +1 -1
  99. package/esm/sdk/releases.d.ts +1 -1
  100. package/esm/sdk/releases.d.ts.map +1 -1
  101. package/esm/sdk/releases.js +2 -2
  102. package/esm/sdk/releases.js.map +1 -1
  103. package/examples/package-lock.json +1 -1
  104. package/jsr.json +1 -1
  105. package/package.json +3 -3
  106. package/src/funcs/commandsStoreCommandPayload.ts +13 -4
  107. package/src/funcs/commandsSubmitResponse.ts +13 -4
  108. package/src/funcs/commandsUploadComplete.ts +12 -4
  109. package/src/funcs/deploymentsDeleteDeployment.ts +12 -4
  110. package/src/funcs/deploymentsImportDeploymentStatus.ts +12 -4
  111. package/src/funcs/deploymentsSetDeploymentChannel.ts +12 -4
  112. package/src/funcs/deploymentsSetDeploymentPin.ts +12 -4
  113. package/src/funcs/deploymentsSignDeploymentBundle.ts +12 -4
  114. package/src/funcs/releasesPromoteManagerRelease.ts +12 -4
  115. package/src/lib/config.ts +2 -2
  116. package/src/models/acquireresponse.ts +12 -0
  117. package/src/models/bindingvalueoptionstringunion.ts +116 -0
  118. package/src/models/bindingvaluestringunion.ts +111 -0
  119. package/src/models/bindingvalueu16union.ts +101 -0
  120. package/src/models/bindingvalueu8union.ts +97 -0
  121. package/src/models/bindingvaluevecstringunion.ts +114 -0
  122. package/src/models/deploymentacquireunavailablereason.ts +41 -0
  123. package/src/models/externalbindingunion.ts +3068 -0
  124. package/src/models/externalpostgressslmode.ts +39 -0
  125. package/src/models/index.ts +10 -0
  126. package/src/models/secretreference.ts +54 -0
  127. package/src/models/stacksettings.ts +17 -55
  128. package/src/models/unacquireddeployment.ts +51 -0
  129. package/src/sdk/commands.ts +12 -6
  130. package/src/sdk/deployments.ts +20 -10
  131. package/src/sdk/releases.ts +4 -2
@@ -0,0 +1,39 @@
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
+
8
+ /**
9
+ * TLS policy for an operator-provided / BYO Postgres database.
10
+ *
11
+ * @remarks
12
+ *
13
+ * Unlike libpq's ambiguous `prefer` mode, both choices map exactly to the
14
+ * connection settings exposed by every supported SDK.
15
+ */
16
+ export const ExternalPostgresSslMode = {
17
+ VerifyFull: "verify-full",
18
+ Disable: "disable",
19
+ } as const;
20
+ /**
21
+ * TLS policy for an operator-provided / BYO Postgres database.
22
+ *
23
+ * @remarks
24
+ *
25
+ * Unlike libpq's ambiguous `prefer` mode, both choices map exactly to the
26
+ * connection settings exposed by every supported SDK.
27
+ */
28
+ export type ExternalPostgresSslMode = ClosedEnum<
29
+ typeof ExternalPostgresSslMode
30
+ >;
31
+
32
+ /** @internal */
33
+ export const ExternalPostgresSslMode$inboundSchema: z.ZodEnum<
34
+ typeof ExternalPostgresSslMode
35
+ > = z.enum(ExternalPostgresSslMode);
36
+ /** @internal */
37
+ export const ExternalPostgresSslMode$outboundSchema: z.ZodEnum<
38
+ typeof ExternalPostgresSslMode
39
+ > = ExternalPostgresSslMode$inboundSchema;
@@ -39,6 +39,11 @@ export * from "./azurestorageaccountendpoints.js";
39
39
  export * from "./azurestorageaccountheartbeatdata.js";
40
40
  export * from "./baseresource.js";
41
41
  export * from "./baseresourceoutputs.js";
42
+ export * from "./bindingvalueoptionstringunion.js";
43
+ export * from "./bindingvaluestringunion.js";
44
+ export * from "./bindingvalueu16union.js";
45
+ export * from "./bindingvalueu8union.js";
46
+ export * from "./bindingvaluevecstringunion.js";
42
47
  export * from "./bodyspec.js";
43
48
  export * from "./buildheartbeatdata.js";
44
49
  export * from "./buildheartbeatstatus.js";
@@ -85,6 +90,7 @@ export * from "./daemonheartbeatdata.js";
85
90
  export * from "./deletedeploymentaction.js";
86
91
  export * from "./deletedeploymentrequest.js";
87
92
  export * from "./deletedeploymentresponse.js";
93
+ export * from "./deploymentacquireunavailablereason.js";
88
94
  export * from "./deploymentgroupminimal.js";
89
95
  export * from "./deploymentgroupresponse.js";
90
96
  export * from "./deploymentinforesponse.js";
@@ -101,6 +107,8 @@ export * from "./environmentvariable.js";
101
107
  export * from "./environmentvariabletype.js";
102
108
  export * from "./executionclaim.js";
103
109
  export * from "./exposeprotocol.js";
110
+ export * from "./externalbindingunion.js";
111
+ export * from "./externalpostgressslmode.js";
104
112
  export * from "./failuredomainselection.js";
105
113
  export * from "./gcpcloudkmskeyheartbeatdata.js";
106
114
  export * from "./gcpcredentials.js";
@@ -256,6 +264,7 @@ export * from "./responsehandling.js";
256
264
  export * from "./sandboxheartbeatdata.js";
257
265
  export * from "./sandboxheartbeatstatus.js";
258
266
  export * from "./scopeinfo.js";
267
+ export * from "./secretreference.js";
259
268
  export * from "./security.js";
260
269
  export * from "./serviceaccountheartbeatdata.js";
261
270
  export * from "./serviceaccountheartbeatstatus.js";
@@ -283,6 +292,7 @@ export * from "./telemetrymode.js";
283
292
  export * from "./tokenresponse.js";
284
293
  export * from "./tooldownload.js";
285
294
  export * from "./tracecontext.js";
295
+ export * from "./unacquireddeployment.js";
286
296
  export * from "./updatesmode.js";
287
297
  export * from "./uploadcompleterequest.js";
288
298
  export * from "./uploadcompleteresponse.js";
@@ -0,0 +1,54 @@
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
+ * Reference to a Kubernetes Secret
12
+ */
13
+ export type SecretReference = {
14
+ key: string;
15
+ name: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const SecretReference$inboundSchema: z.ZodType<
20
+ SecretReference,
21
+ unknown
22
+ > = z.object({
23
+ key: z.string(),
24
+ name: z.string(),
25
+ });
26
+ /** @internal */
27
+ export type SecretReference$Outbound = {
28
+ key: string;
29
+ name: string;
30
+ };
31
+
32
+ /** @internal */
33
+ export const SecretReference$outboundSchema: z.ZodType<
34
+ SecretReference$Outbound,
35
+ SecretReference
36
+ > = z.object({
37
+ key: z.string(),
38
+ name: z.string(),
39
+ });
40
+
41
+ export function secretReferenceToJSON(
42
+ secretReference: SecretReference,
43
+ ): string {
44
+ return JSON.stringify(SecretReference$outboundSchema.parse(secretReference));
45
+ }
46
+ export function secretReferenceFromJSON(
47
+ jsonString: string,
48
+ ): SafeParseResult<SecretReference, SDKValidationError> {
49
+ return safeParse(
50
+ jsonString,
51
+ (x) => SecretReference$inboundSchema.parse(JSON.parse(x)),
52
+ `Failed to parse 'SecretReference' from JSON`,
53
+ );
54
+ }
@@ -28,6 +28,12 @@ import {
28
28
  EndpointAccess$outboundSchema,
29
29
  } from "./endpointaccess.js";
30
30
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
31
+ import {
32
+ ExternalBindingUnion,
33
+ ExternalBindingUnion$inboundSchema,
34
+ ExternalBindingUnion$Outbound,
35
+ ExternalBindingUnion$outboundSchema,
36
+ } from "./externalbindingunion.js";
31
37
  import {
32
38
  HeartbeatsMode,
33
39
  HeartbeatsMode$inboundSchema,
@@ -56,16 +62,6 @@ import {
56
62
  UpdatesMode$outboundSchema,
57
63
  } from "./updatesmode.js";
58
64
 
59
- /**
60
- * External bindings for pre-existing infrastructure.
61
- *
62
- * @remarks
63
- * Allows using existing resources (MinIO, Redis, shared Container Apps
64
- * Environment, etc.) instead of having Alien provision them.
65
- * Required for Kubernetes platform, optional for cloud platforms.
66
- */
67
- export type ExternalBindings = {};
68
-
69
65
  /**
70
66
  * User-customizable deployment settings specified at deploy time.
71
67
  *
@@ -89,15 +85,7 @@ export type StackSettings = {
89
85
  * Reachability of the deployment's public endpoints, fixed at setup.
90
86
  */
91
87
  endpointAccess?: EndpointAccess | undefined;
92
- /**
93
- * External bindings for pre-existing infrastructure.
94
- *
95
- * @remarks
96
- * Allows using existing resources (MinIO, Redis, shared Container Apps
97
- * Environment, etc.) instead of having Alien provision them.
98
- * Required for Kubernetes platform, optional for cloud platforms.
99
- */
100
- externalBindings?: ExternalBindings | null | undefined;
88
+ externalBindings?: { [k: string]: ExternalBindingUnion } | null | undefined;
101
89
  /**
102
90
  * How heartbeat health checks are handled.
103
91
  */
@@ -124,37 +112,6 @@ export type StackSettings = {
124
112
  updates?: UpdatesMode | undefined;
125
113
  };
126
114
 
127
- /** @internal */
128
- export const ExternalBindings$inboundSchema: z.ZodType<
129
- ExternalBindings,
130
- unknown
131
- > = z.object({});
132
- /** @internal */
133
- export type ExternalBindings$Outbound = {};
134
-
135
- /** @internal */
136
- export const ExternalBindings$outboundSchema: z.ZodType<
137
- ExternalBindings$Outbound,
138
- ExternalBindings
139
- > = z.object({});
140
-
141
- export function externalBindingsToJSON(
142
- externalBindings: ExternalBindings,
143
- ): string {
144
- return JSON.stringify(
145
- ExternalBindings$outboundSchema.parse(externalBindings),
146
- );
147
- }
148
- export function externalBindingsFromJSON(
149
- jsonString: string,
150
- ): SafeParseResult<ExternalBindings, SDKValidationError> {
151
- return safeParse(
152
- jsonString,
153
- (x) => ExternalBindings$inboundSchema.parse(JSON.parse(x)),
154
- `Failed to parse 'ExternalBindings' from JSON`,
155
- );
156
- }
157
-
158
115
  /** @internal */
159
116
  export const StackSettings$inboundSchema: z.ZodType<StackSettings, unknown> = z
160
117
  .object({
@@ -162,8 +119,9 @@ export const StackSettings$inboundSchema: z.ZodType<StackSettings, unknown> = z
162
119
  deploymentModel: DeploymentModel$inboundSchema.optional(),
163
120
  domains: z.nullable(DomainSettings$inboundSchema).optional(),
164
121
  endpointAccess: EndpointAccess$inboundSchema.optional(),
165
- externalBindings: z.nullable(z.lazy(() => ExternalBindings$inboundSchema))
166
- .optional(),
122
+ externalBindings: z.nullable(
123
+ z.record(z.string(), ExternalBindingUnion$inboundSchema),
124
+ ).optional(),
167
125
  heartbeats: HeartbeatsMode$inboundSchema.optional(),
168
126
  kubernetes: z.nullable(KubernetesSettings$inboundSchema).optional(),
169
127
  network: z.nullable(NetworkSettings$inboundSchema).optional(),
@@ -179,7 +137,10 @@ export type StackSettings$Outbound = {
179
137
  deploymentModel?: string | undefined;
180
138
  domains?: DomainSettings$Outbound | null | undefined;
181
139
  endpointAccess?: string | undefined;
182
- externalBindings?: ExternalBindings$Outbound | null | undefined;
140
+ externalBindings?:
141
+ | { [k: string]: ExternalBindingUnion$Outbound }
142
+ | null
143
+ | undefined;
183
144
  heartbeats?: string | undefined;
184
145
  kubernetes?: KubernetesSettings$Outbound | null | undefined;
185
146
  network?: NetworkSettings$Outbound | null | undefined;
@@ -197,8 +158,9 @@ export const StackSettings$outboundSchema: z.ZodType<
197
158
  deploymentModel: DeploymentModel$outboundSchema.optional(),
198
159
  domains: z.nullable(DomainSettings$outboundSchema).optional(),
199
160
  endpointAccess: EndpointAccess$outboundSchema.optional(),
200
- externalBindings: z.nullable(z.lazy(() => ExternalBindings$outboundSchema))
201
- .optional(),
161
+ externalBindings: z.nullable(
162
+ z.record(z.string(), ExternalBindingUnion$outboundSchema),
163
+ ).optional(),
202
164
  heartbeats: HeartbeatsMode$outboundSchema.optional(),
203
165
  kubernetes: z.nullable(KubernetesSettings$outboundSchema).optional(),
204
166
  network: z.nullable(NetworkSettings$outboundSchema).optional(),
@@ -0,0 +1,51 @@
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
+ DeploymentAcquireUnavailableReason,
10
+ DeploymentAcquireUnavailableReason$inboundSchema,
11
+ } from "./deploymentacquireunavailablereason.js";
12
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
13
+
14
+ /**
15
+ * Atomic outcome for one explicitly requested deployment that was not acquired.
16
+ */
17
+ export type UnacquiredDeployment = {
18
+ deploymentId: string;
19
+ /**
20
+ * Why an explicitly requested deployment was not acquired.
21
+ *
22
+ * @remarks
23
+ *
24
+ * These reasons are intentionally bounded and do not identify the session
25
+ * that owns a competing lease.
26
+ */
27
+ reason: DeploymentAcquireUnavailableReason;
28
+ retryAfter?: Date | null | undefined;
29
+ };
30
+
31
+ /** @internal */
32
+ export const UnacquiredDeployment$inboundSchema: z.ZodType<
33
+ UnacquiredDeployment,
34
+ unknown
35
+ > = z.object({
36
+ deploymentId: z.string(),
37
+ reason: DeploymentAcquireUnavailableReason$inboundSchema,
38
+ retryAfter: z.nullable(
39
+ z.iso.datetime({ offset: true }).transform(v => new Date(v)),
40
+ ).optional(),
41
+ });
42
+
43
+ export function unacquiredDeploymentFromJSON(
44
+ jsonString: string,
45
+ ): SafeParseResult<UnacquiredDeployment, SDKValidationError> {
46
+ return safeParse(
47
+ jsonString,
48
+ (x) => UnacquiredDeployment$inboundSchema.parse(JSON.parse(x)),
49
+ `Failed to parse 'UnacquiredDeployment' from JSON`,
50
+ );
51
+ }
@@ -68,12 +68,14 @@ export class Commands extends ClientSDK {
68
68
  * migrating payload data. Does not validate command existence or state.
69
69
  */
70
70
  async storeCommandPayload(
71
- request: operations.StoreCommandPayloadRequest,
71
+ commandId: string,
72
+ storePayloadRequest: models.StorePayloadRequest,
72
73
  options?: RequestOptions,
73
74
  ): Promise<void> {
74
75
  return unwrapAsync(commandsStoreCommandPayload(
75
76
  this,
76
- request,
77
+ commandId,
78
+ storePayloadRequest,
77
79
  options,
78
80
  ));
79
81
  }
@@ -82,12 +84,14 @@ export class Commands extends ClientSDK {
82
84
  * Submit response from deployment
83
85
  */
84
86
  async submitResponse(
85
- request: operations.SubmitResponseRequest,
87
+ commandId: string,
88
+ commandResponse: models.CommandResponse,
86
89
  options?: RequestOptions,
87
90
  ): Promise<void> {
88
91
  return unwrapAsync(commandsSubmitResponse(
89
92
  this,
90
- request,
93
+ commandId,
94
+ commandResponse,
91
95
  options,
92
96
  ));
93
97
  }
@@ -96,12 +100,14 @@ export class Commands extends ClientSDK {
96
100
  * Mark upload as complete
97
101
  */
98
102
  async uploadComplete(
99
- request: operations.UploadCompleteRequest,
103
+ commandId: string,
104
+ uploadCompleteRequest: models.UploadCompleteRequest,
100
105
  options?: RequestOptions,
101
106
  ): Promise<models.UploadCompleteResponse> {
102
107
  return unwrapAsync(commandsUploadComplete(
103
108
  this,
104
- request,
109
+ commandId,
110
+ uploadCompleteRequest,
105
111
  options,
106
112
  ));
107
113
  }
@@ -68,12 +68,14 @@ export class Deployments extends ClientSDK {
68
68
  }
69
69
 
70
70
  async signDeploymentBundle(
71
- request: operations.SignDeploymentBundleRequest,
71
+ id: string,
72
+ bundleSignatureRequest: models.BundleSignatureRequest,
72
73
  options?: RequestOptions,
73
74
  ): Promise<models.BundleSignatureResponse> {
74
75
  return unwrapAsync(deploymentsSignDeploymentBundle(
75
76
  this,
76
- request,
77
+ id,
78
+ bundleSignatureRequest,
77
79
  options,
78
80
  ));
79
81
  }
@@ -90,23 +92,27 @@ export class Deployments extends ClientSDK {
90
92
  }
91
93
 
92
94
  async setDeploymentChannel(
93
- request: operations.SetDeploymentChannelRequest,
95
+ id: string,
96
+ setDeploymentChannelRequest: models.SetDeploymentChannelRequest,
94
97
  options?: RequestOptions,
95
98
  ): Promise<models.DeploymentRoutingResponse> {
96
99
  return unwrapAsync(deploymentsSetDeploymentChannel(
97
100
  this,
98
- request,
101
+ id,
102
+ setDeploymentChannelRequest,
99
103
  options,
100
104
  ));
101
105
  }
102
106
 
103
107
  async deleteDeployment(
104
- request: operations.DeleteDeploymentRequest,
108
+ id: string,
109
+ deleteDeploymentRequest: models.DeleteDeploymentRequest,
105
110
  options?: RequestOptions,
106
111
  ): Promise<models.DeleteDeploymentResponse> {
107
112
  return unwrapAsync(deploymentsDeleteDeployment(
108
113
  this,
109
- request,
114
+ id,
115
+ deleteDeploymentRequest,
110
116
  options,
111
117
  ));
112
118
  }
@@ -134,12 +140,14 @@ export class Deployments extends ClientSDK {
134
140
  }
135
141
 
136
142
  async setDeploymentPin(
137
- request: operations.SetDeploymentPinRequest,
143
+ id: string,
144
+ setDeploymentPinRequest: models.SetDeploymentPinRequest,
138
145
  options?: RequestOptions,
139
146
  ): Promise<models.DeploymentRoutingResponse> {
140
147
  return unwrapAsync(deploymentsSetDeploymentPin(
141
148
  this,
142
- request,
149
+ id,
150
+ setDeploymentPinRequest,
143
151
  options,
144
152
  ));
145
153
  }
@@ -178,12 +186,14 @@ export class Deployments extends ClientSDK {
178
186
  }
179
187
 
180
188
  async importDeploymentStatus(
181
- request: operations.ImportDeploymentStatusRequest,
189
+ id: string,
190
+ statusReport: models.StatusReport,
182
191
  options?: RequestOptions,
183
192
  ): Promise<models.StatusReportResponse> {
184
193
  return unwrapAsync(deploymentsImportDeploymentStatus(
185
194
  this,
186
- request,
195
+ id,
196
+ statusReport,
187
197
  options,
188
198
  ));
189
199
  }
@@ -93,12 +93,14 @@ export class Releases extends ClientSDK {
93
93
  }
94
94
 
95
95
  async promoteManagerRelease(
96
- request: operations.PromoteManagerReleaseRequest,
96
+ id: string,
97
+ promoteReleaseRequest: models.PromoteReleaseRequest,
97
98
  options?: RequestOptions,
98
99
  ): Promise<models.ReleaseChannelResponse> {
99
100
  return unwrapAsync(releasesPromoteManagerRelease(
100
101
  this,
101
- request,
102
+ id,
103
+ promoteReleaseRequest,
102
104
  options,
103
105
  ));
104
106
  }