@alienplatform/platform-api 1.14.1 → 2.0.2
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.
- package/FUNCTIONS.md +1 -1
- package/README.md +26 -12
- package/esm/funcs/commandsComplete.d.ts +16 -0
- package/esm/funcs/commandsComplete.d.ts.map +1 -0
- package/esm/funcs/commandsComplete.js +92 -0
- package/esm/funcs/commandsComplete.js.map +1 -0
- package/esm/funcs/commandsCreate.js +2 -2
- package/esm/funcs/commandsCreate.js.map +1 -1
- package/esm/funcs/commandsDispatch.d.ts +16 -0
- package/esm/funcs/commandsDispatch.d.ts.map +1 -0
- package/esm/funcs/commandsDispatch.js +92 -0
- package/esm/funcs/commandsDispatch.js.map +1 -0
- package/esm/funcs/commandsIncrementAttempt.d.ts +16 -0
- package/esm/funcs/commandsIncrementAttempt.d.ts.map +1 -0
- package/esm/funcs/commandsIncrementAttempt.js +89 -0
- package/esm/funcs/commandsIncrementAttempt.js.map +1 -0
- package/esm/funcs/commandsResolveTarget.d.ts +16 -0
- package/esm/funcs/commandsResolveTarget.d.ts.map +1 -0
- package/esm/funcs/commandsResolveTarget.js +85 -0
- package/esm/funcs/commandsResolveTarget.js.map +1 -0
- package/esm/funcs/deploymentsGetInputs.d.ts +16 -0
- package/esm/funcs/deploymentsGetInputs.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetInputs.js +89 -0
- package/esm/funcs/deploymentsGetInputs.js.map +1 -0
- package/esm/funcs/deploymentsPinRelease.d.ts +1 -1
- package/esm/funcs/deploymentsPinRelease.js +1 -1
- package/esm/funcs/deploymentsUpdateEnvironmentVariables.js +2 -2
- package/esm/funcs/deploymentsUpdateEnvironmentVariables.js.map +1 -1
- package/esm/funcs/deploymentsUpdateInputs.d.ts +16 -0
- package/esm/funcs/deploymentsUpdateInputs.d.ts.map +1 -0
- package/esm/funcs/deploymentsUpdateInputs.js +92 -0
- package/esm/funcs/deploymentsUpdateInputs.js.map +1 -0
- package/esm/funcs/syncContext.d.ts +16 -0
- package/esm/funcs/syncContext.d.ts.map +1 -0
- package/esm/funcs/syncContext.js +86 -0
- package/esm/funcs/syncContext.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/command.d.ts +37 -3
- package/esm/models/command.d.ts.map +1 -1
- package/esm/models/command.js +21 -1
- package/esm/models/command.js.map +1 -1
- package/esm/models/commandlistitemresponse.d.ts +37 -3
- package/esm/models/commandlistitemresponse.d.ts.map +1 -1
- package/esm/models/commandlistitemresponse.js +20 -1
- package/esm/models/commandlistitemresponse.js.map +1 -1
- package/esm/models/completecommandrequest.d.ts +49 -0
- package/esm/models/completecommandrequest.d.ts.map +1 -0
- package/esm/models/completecommandrequest.js +25 -0
- package/esm/models/completecommandrequest.js.map +1 -0
- package/esm/models/completecommandresponse.d.ts +13 -0
- package/esm/models/completecommandresponse.d.ts.map +1 -0
- package/esm/models/completecommandresponse.js +13 -0
- package/esm/models/completecommandresponse.js.map +1 -0
- package/esm/models/createcommandrequest.d.ts +5 -0
- package/esm/models/createcommandrequest.d.ts.map +1 -1
- package/esm/models/createcommandrequest.js +1 -0
- package/esm/models/createcommandrequest.js.map +1 -1
- package/esm/models/createcommandresponse.d.ts +51 -0
- package/esm/models/createcommandresponse.d.ts.map +1 -1
- package/esm/models/createcommandresponse.js +29 -0
- package/esm/models/createcommandresponse.js.map +1 -1
- package/esm/models/deployment.d.ts +10 -8
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +1 -0
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +10 -8
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +1 -0
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +7 -3
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +1 -0
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentinputsresponse.d.ts +267 -0
- package/esm/models/deploymentinputsresponse.d.ts.map +1 -0
- package/esm/models/deploymentinputsresponse.js +190 -0
- package/esm/models/deploymentinputsresponse.js.map +1 -0
- package/esm/models/dispatchcommandrequest.d.ts +15 -0
- package/esm/models/dispatchcommandrequest.d.ts.map +1 -0
- package/esm/models/dispatchcommandrequest.js +12 -0
- package/esm/models/dispatchcommandrequest.js.map +1 -0
- package/esm/models/dispatchcommandresponse.d.ts +13 -0
- package/esm/models/dispatchcommandresponse.d.ts.map +1 -0
- package/esm/models/dispatchcommandresponse.js +13 -0
- package/esm/models/dispatchcommandresponse.js.map +1 -0
- package/esm/models/event.d.ts +77 -4
- package/esm/models/event.d.ts.map +1 -1
- package/esm/models/event.js +52 -0
- package/esm/models/event.js.map +1 -1
- package/esm/models/incrementcommandattemptresponse.d.ts +13 -0
- package/esm/models/incrementcommandattemptresponse.d.ts.map +1 -0
- package/esm/models/incrementcommandattemptresponse.js +13 -0
- package/esm/models/incrementcommandattemptresponse.js.map +1 -0
- package/esm/models/index.d.ts +12 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +12 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/machinesinventoryitem.d.ts +3 -0
- package/esm/models/machinesinventoryitem.d.ts.map +1 -1
- package/esm/models/machinesinventoryitem.js +3 -0
- package/esm/models/machinesinventoryitem.js.map +1 -1
- package/esm/models/machineslocaloverrideobservation.d.ts +24 -0
- package/esm/models/machineslocaloverrideobservation.d.ts.map +1 -0
- package/esm/models/machineslocaloverrideobservation.js +27 -0
- package/esm/models/machineslocaloverrideobservation.js.map +1 -0
- package/esm/models/operations/completecommand.d.ts +23 -0
- package/esm/models/operations/completecommand.d.ts.map +1 -0
- package/esm/models/operations/completecommand.js +21 -0
- package/esm/models/operations/completecommand.js.map +1 -0
- package/esm/models/operations/createproject.d.ts +69 -0
- package/esm/models/operations/createproject.d.ts.map +1 -1
- package/esm/models/operations/createproject.js +36 -0
- package/esm/models/operations/createproject.js.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.d.ts +69 -0
- package/esm/models/operations/createprojectfromtemplate.d.ts.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.js +34 -0
- package/esm/models/operations/createprojectfromtemplate.js.map +1 -1
- package/esm/models/operations/dispatchcommand.d.ts +23 -0
- package/esm/models/operations/dispatchcommand.d.ts.map +1 -0
- package/esm/models/operations/dispatchcommand.js +21 -0
- package/esm/models/operations/dispatchcommand.js.map +1 -0
- package/esm/models/operations/getdeploymentinputs.d.ts +20 -0
- package/esm/models/operations/getdeploymentinputs.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentinputs.js +13 -0
- package/esm/models/operations/getdeploymentinputs.js.map +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/incrementcommandattempt.d.ts +20 -0
- package/esm/models/operations/incrementcommandattempt.d.ts.map +1 -0
- package/esm/models/operations/incrementcommandattempt.js +13 -0
- package/esm/models/operations/incrementcommandattempt.js.map +1 -0
- package/esm/models/operations/index.d.ts +7 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +7 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/resolvecommandtarget.d.ts +25 -0
- package/esm/models/operations/resolvecommandtarget.d.ts.map +1 -0
- package/esm/models/operations/resolvecommandtarget.js +14 -0
- package/esm/models/operations/resolvecommandtarget.js.map +1 -0
- package/esm/models/operations/synccontext.d.ts +18 -0
- package/esm/models/operations/synccontext.d.ts.map +1 -0
- package/esm/models/operations/synccontext.js +19 -0
- package/esm/models/operations/synccontext.js.map +1 -0
- package/esm/models/operations/updatedeploymentinputs.d.ts +23 -0
- package/esm/models/operations/updatedeploymentinputs.d.ts.map +1 -0
- package/esm/models/operations/updatedeploymentinputs.js +21 -0
- package/esm/models/operations/updatedeploymentinputs.js.map +1 -0
- package/esm/models/package.d.ts +66 -3
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js +30 -0
- package/esm/models/package.js.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +10 -4
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +1 -0
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/prepareddeploymentstack.d.ts +1 -4
- package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
- package/esm/models/prepareddeploymentstack.js.map +1 -1
- package/esm/models/project.d.ts +34 -0
- package/esm/models/project.d.ts.map +1 -1
- package/esm/models/project.js +17 -0
- package/esm/models/project.js.map +1 -1
- package/esm/models/projectlistitemresponse.d.ts +34 -0
- package/esm/models/projectlistitemresponse.d.ts.map +1 -1
- package/esm/models/projectlistitemresponse.js +18 -0
- package/esm/models/projectlistitemresponse.js.map +1 -1
- package/esm/models/resolvedcommandtarget.d.ts +82 -0
- package/esm/models/resolvedcommandtarget.d.ts.map +1 -0
- package/esm/models/resolvedcommandtarget.js +48 -0
- package/esm/models/resolvedcommandtarget.js.map +1 -0
- package/esm/models/stackinputvaluerequest.d.ts +5 -0
- package/esm/models/stackinputvaluerequest.d.ts.map +1 -1
- package/esm/models/stackinputvaluerequest.js +6 -0
- package/esm/models/stackinputvaluerequest.js.map +1 -1
- package/esm/models/syncacquireresponse.d.ts +13 -10479
- package/esm/models/syncacquireresponse.d.ts.map +1 -1
- package/esm/models/syncacquireresponse.js +3 -7114
- package/esm/models/syncacquireresponse.js.map +1 -1
- package/esm/models/syncacquireresponsedeployment.d.ts +10467 -0
- package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -0
- package/esm/models/syncacquireresponsedeployment.js +7455 -0
- package/esm/models/syncacquireresponsedeployment.js.map +1 -0
- package/esm/models/synccontextrequest.d.ts +17 -0
- package/esm/models/synccontextrequest.d.ts.map +1 -0
- package/esm/models/synccontextrequest.js +13 -0
- package/esm/models/synccontextrequest.js.map +1 -0
- package/esm/models/synclistresponse.d.ts +10 -8
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +1 -0
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +13 -16
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +1 -0
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +17 -24
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +1 -0
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/updatedeploymentinputsrequest.d.ts +19 -0
- package/esm/models/updatedeploymentinputsrequest.d.ts.map +1 -0
- package/esm/models/updatedeploymentinputsrequest.js +15 -0
- package/esm/models/updatedeploymentinputsrequest.js.map +1 -0
- package/esm/models/updatedeploymentinputsresponse.d.ts +268 -0
- package/esm/models/updatedeploymentinputsresponse.d.ts.map +1 -0
- package/esm/models/updatedeploymentinputsresponse.js +191 -0
- package/esm/models/updatedeploymentinputsresponse.js.map +1 -0
- package/esm/models/updateproject.d.ts +35 -0
- package/esm/models/updateproject.d.ts.map +1 -1
- package/esm/models/updateproject.js +17 -0
- package/esm/models/updateproject.js.map +1 -1
- package/esm/sdk/apikeys.d.ts +4 -4
- package/esm/sdk/apikeys.d.ts.map +1 -1
- package/esm/sdk/apikeys.js +6 -6
- package/esm/sdk/commands.d.ts +18 -2
- package/esm/sdk/commands.d.ts.map +1 -1
- package/esm/sdk/commands.js +31 -3
- package/esm/sdk/commands.js.map +1 -1
- package/esm/sdk/debugsessions.d.ts +4 -4
- package/esm/sdk/debugsessions.d.ts.map +1 -1
- package/esm/sdk/debugsessions.js +6 -6
- package/esm/sdk/debugsessions.js.map +1 -1
- package/esm/sdk/deploymentgroups.d.ts +8 -8
- package/esm/sdk/deploymentgroups.d.ts.map +1 -1
- package/esm/sdk/deploymentgroups.js +12 -12
- package/esm/sdk/deploymentgroups.js.map +1 -1
- package/esm/sdk/deployments.d.ts +9 -1
- package/esm/sdk/deployments.d.ts.map +1 -1
- package/esm/sdk/deployments.js +15 -1
- package/esm/sdk/deployments.js.map +1 -1
- package/esm/sdk/machines.d.ts +1 -1
- package/esm/sdk/machines.d.ts.map +1 -1
- package/esm/sdk/machines.js +3 -3
- package/esm/sdk/machines.js.map +1 -1
- package/esm/sdk/managers.d.ts +4 -4
- package/esm/sdk/managers.d.ts.map +1 -1
- package/esm/sdk/managers.js +6 -6
- package/esm/sdk/managers.js.map +1 -1
- package/esm/sdk/projects.d.ts +4 -4
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +6 -6
- package/esm/sdk/sync.d.ts +4 -0
- package/esm/sdk/sync.d.ts.map +1 -1
- package/esm/sdk/sync.js +7 -0
- package/esm/sdk/sync.js.map +1 -1
- package/esm/sdk/workspaces.d.ts +8 -8
- package/esm/sdk/workspaces.d.ts.map +1 -1
- package/esm/sdk/workspaces.js +12 -12
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/commandsComplete.ts +182 -0
- package/src/funcs/commandsCreate.ts +3 -3
- package/src/funcs/commandsDispatch.ts +182 -0
- package/src/funcs/commandsIncrementAttempt.ts +180 -0
- package/src/funcs/commandsResolveTarget.ts +175 -0
- package/src/funcs/deploymentsGetInputs.ts +180 -0
- package/src/funcs/deploymentsPinRelease.ts +1 -1
- package/src/funcs/deploymentsUpdateEnvironmentVariables.ts +2 -2
- package/src/funcs/deploymentsUpdateInputs.ts +183 -0
- package/src/funcs/syncContext.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/models/command.ts +57 -3
- package/src/models/commandlistitemresponse.ts +61 -3
- package/src/models/completecommandrequest.ts +72 -0
- package/src/models/completecommandresponse.ts +33 -0
- package/src/models/createcommandrequest.ts +6 -0
- package/src/models/createcommandresponse.ts +82 -0
- package/src/models/deployment.ts +11 -8
- package/src/models/deploymentdetailresponse.ts +11 -8
- package/src/models/deploymentinfo.ts +8 -3
- package/src/models/deploymentinputsresponse.ts +575 -0
- package/src/models/dispatchcommandrequest.ts +33 -0
- package/src/models/dispatchcommandresponse.ts +33 -0
- package/src/models/event.ts +143 -4
- package/src/models/incrementcommandattemptresponse.ts +33 -0
- package/src/models/index.ts +12 -0
- package/src/models/machinesinventoryitem.ts +8 -0
- package/src/models/machineslocaloverrideobservation.ts +58 -0
- package/src/models/operations/completecommand.ts +49 -0
- package/src/models/operations/createproject.ts +85 -0
- package/src/models/operations/createprojectfromtemplate.ts +93 -0
- package/src/models/operations/dispatchcommand.ts +49 -0
- package/src/models/operations/getdeploymentinputs.ts +39 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +2 -0
- package/src/models/operations/incrementcommandattempt.ts +41 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/resolvecommandtarget.ts +47 -0
- package/src/models/operations/synccontext.ts +42 -0
- package/src/models/operations/updatedeploymentinputs.ts +55 -0
- package/src/models/package.ts +83 -3
- package/src/models/persistimporteddeploymentrequest.ts +11 -4
- package/src/models/prepareddeploymentstack.ts +1 -4
- package/src/models/project.ts +39 -0
- package/src/models/projectlistitemresponse.ts +42 -0
- package/src/models/resolvedcommandtarget.ts +132 -0
- package/src/models/stackinputvaluerequest.ts +17 -0
- package/src/models/syncacquireresponse.ts +18 -26459
- package/src/models/syncacquireresponsedeployment.ts +28585 -0
- package/src/models/synccontextrequest.ts +36 -0
- package/src/models/synclistresponse.ts +11 -8
- package/src/models/syncreconcilerequest.ts +14 -16
- package/src/models/syncreconcileresponse.ts +18 -24
- package/src/models/updatedeploymentinputsrequest.ts +41 -0
- package/src/models/updatedeploymentinputsresponse.ts +608 -0
- package/src/models/updateproject.ts +42 -0
- package/src/sdk/apikeys.ts +10 -10
- package/src/sdk/commands.ts +65 -5
- package/src/sdk/debugsessions.ts +8 -8
- package/src/sdk/deploymentgroups.ts +20 -20
- package/src/sdk/deployments.ts +31 -1
- package/src/sdk/machines.ts +8 -8
- package/src/sdk/managers.ts +10 -10
- package/src/sdk/projects.ts +10 -10
- package/src/sdk/sync.ts +15 -0
- package/src/sdk/workspaces.ts +20 -20
- package/tsconfig.json +1 -0
package/src/models/event.ts
CHANGED
|
@@ -20,7 +20,40 @@ export type DataDeploymentDeletionRequested = {
|
|
|
20
20
|
type: "DeploymentDeletionRequested";
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Type of authenticated principal that requested an event.
|
|
25
|
+
*/
|
|
26
|
+
export const EventKind2 = {
|
|
27
|
+
User: "user",
|
|
28
|
+
ServiceAccount: "serviceAccount",
|
|
29
|
+
} as const;
|
|
30
|
+
/**
|
|
31
|
+
* Type of authenticated principal that requested an event.
|
|
32
|
+
*/
|
|
33
|
+
export type EventKind2 = ClosedEnum<typeof EventKind2>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Authenticated principal that requested a deployment intent event.
|
|
37
|
+
*/
|
|
38
|
+
export type Actor2 = {
|
|
39
|
+
/**
|
|
40
|
+
* User email when the principal is a user.
|
|
41
|
+
*/
|
|
42
|
+
email?: string | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Stable user or service-account identifier.
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Type of authenticated principal that requested an event.
|
|
49
|
+
*/
|
|
50
|
+
kind: EventKind2;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export type ActorUnion2 = Actor2 | any;
|
|
54
|
+
|
|
23
55
|
export type DataDeploymentEnvironmentUpdated = {
|
|
56
|
+
actor?: Actor2 | any | null | undefined;
|
|
24
57
|
/**
|
|
25
58
|
* Names of the environment variables that changed (added, removed, or modified)
|
|
26
59
|
*/
|
|
@@ -72,6 +105,38 @@ export type DataDeploymentRedeployRequested = {
|
|
|
72
105
|
type: "DeploymentRedeployRequested";
|
|
73
106
|
};
|
|
74
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Type of authenticated principal that requested an event.
|
|
110
|
+
*/
|
|
111
|
+
export const EventKind1 = {
|
|
112
|
+
User: "user",
|
|
113
|
+
ServiceAccount: "serviceAccount",
|
|
114
|
+
} as const;
|
|
115
|
+
/**
|
|
116
|
+
* Type of authenticated principal that requested an event.
|
|
117
|
+
*/
|
|
118
|
+
export type EventKind1 = ClosedEnum<typeof EventKind1>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Authenticated principal that requested a deployment intent event.
|
|
122
|
+
*/
|
|
123
|
+
export type Actor1 = {
|
|
124
|
+
/**
|
|
125
|
+
* User email when the principal is a user.
|
|
126
|
+
*/
|
|
127
|
+
email?: string | null | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Stable user or service-account identifier.
|
|
130
|
+
*/
|
|
131
|
+
id: string;
|
|
132
|
+
/**
|
|
133
|
+
* Type of authenticated principal that requested an event.
|
|
134
|
+
*/
|
|
135
|
+
kind: EventKind1;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export type ActorUnion1 = Actor1 | any;
|
|
139
|
+
|
|
75
140
|
/**
|
|
76
141
|
* Canonical error container that provides a structured way to represent errors
|
|
77
142
|
*
|
|
@@ -161,6 +226,7 @@ export type PreviousError = {
|
|
|
161
226
|
export type PreviousErrorUnion = PreviousError | any;
|
|
162
227
|
|
|
163
228
|
export type DataDeploymentRetryRequested = {
|
|
229
|
+
actor?: Actor1 | any | null | undefined;
|
|
164
230
|
/**
|
|
165
231
|
* ID of the release that the failed attempt was targeting, if known
|
|
166
232
|
*/
|
|
@@ -706,10 +772,7 @@ export type EventControllerPlatformEnum = ClosedEnum<
|
|
|
706
772
|
export type EventControllerPlatformUnion = EventControllerPlatformEnum | any;
|
|
707
773
|
|
|
708
774
|
/**
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
* @remarks
|
|
712
|
-
* This can eventually replace the enum-based ResourceRef for full extensibility.
|
|
775
|
+
* Reference to a resource by its stable id and resource type.
|
|
713
776
|
*/
|
|
714
777
|
export type EventDependency = {
|
|
715
778
|
id: string;
|
|
@@ -1372,11 +1435,49 @@ export function dataDeploymentDeletionRequestedFromJSON(
|
|
|
1372
1435
|
);
|
|
1373
1436
|
}
|
|
1374
1437
|
|
|
1438
|
+
/** @internal */
|
|
1439
|
+
export const EventKind2$inboundSchema: z.ZodEnum<typeof EventKind2> = z.enum(
|
|
1440
|
+
EventKind2,
|
|
1441
|
+
);
|
|
1442
|
+
|
|
1443
|
+
/** @internal */
|
|
1444
|
+
export const Actor2$inboundSchema: z.ZodType<Actor2, unknown> = z.object({
|
|
1445
|
+
email: z.nullable(z.string()).optional(),
|
|
1446
|
+
id: z.string(),
|
|
1447
|
+
kind: EventKind2$inboundSchema,
|
|
1448
|
+
});
|
|
1449
|
+
|
|
1450
|
+
export function actor2FromJSON(
|
|
1451
|
+
jsonString: string,
|
|
1452
|
+
): SafeParseResult<Actor2, SDKValidationError> {
|
|
1453
|
+
return safeParse(
|
|
1454
|
+
jsonString,
|
|
1455
|
+
(x) => Actor2$inboundSchema.parse(JSON.parse(x)),
|
|
1456
|
+
`Failed to parse 'Actor2' from JSON`,
|
|
1457
|
+
);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/** @internal */
|
|
1461
|
+
export const ActorUnion2$inboundSchema: z.ZodType<ActorUnion2, unknown> = z
|
|
1462
|
+
.union([z.lazy(() => Actor2$inboundSchema), z.any()]);
|
|
1463
|
+
|
|
1464
|
+
export function actorUnion2FromJSON(
|
|
1465
|
+
jsonString: string,
|
|
1466
|
+
): SafeParseResult<ActorUnion2, SDKValidationError> {
|
|
1467
|
+
return safeParse(
|
|
1468
|
+
jsonString,
|
|
1469
|
+
(x) => ActorUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
1470
|
+
`Failed to parse 'ActorUnion2' from JSON`,
|
|
1471
|
+
);
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1375
1474
|
/** @internal */
|
|
1376
1475
|
export const DataDeploymentEnvironmentUpdated$inboundSchema: z.ZodType<
|
|
1377
1476
|
DataDeploymentEnvironmentUpdated,
|
|
1378
1477
|
unknown
|
|
1379
1478
|
> = z.object({
|
|
1479
|
+
actor: z.nullable(z.union([z.lazy(() => Actor2$inboundSchema), z.any()]))
|
|
1480
|
+
.optional(),
|
|
1380
1481
|
changedKeys: z.array(z.string()),
|
|
1381
1482
|
deploymentId: z.string(),
|
|
1382
1483
|
type: z.literal("DeploymentEnvironmentUpdated"),
|
|
@@ -1453,6 +1554,42 @@ export function dataDeploymentRedeployRequestedFromJSON(
|
|
|
1453
1554
|
);
|
|
1454
1555
|
}
|
|
1455
1556
|
|
|
1557
|
+
/** @internal */
|
|
1558
|
+
export const EventKind1$inboundSchema: z.ZodEnum<typeof EventKind1> = z.enum(
|
|
1559
|
+
EventKind1,
|
|
1560
|
+
);
|
|
1561
|
+
|
|
1562
|
+
/** @internal */
|
|
1563
|
+
export const Actor1$inboundSchema: z.ZodType<Actor1, unknown> = z.object({
|
|
1564
|
+
email: z.nullable(z.string()).optional(),
|
|
1565
|
+
id: z.string(),
|
|
1566
|
+
kind: EventKind1$inboundSchema,
|
|
1567
|
+
});
|
|
1568
|
+
|
|
1569
|
+
export function actor1FromJSON(
|
|
1570
|
+
jsonString: string,
|
|
1571
|
+
): SafeParseResult<Actor1, SDKValidationError> {
|
|
1572
|
+
return safeParse(
|
|
1573
|
+
jsonString,
|
|
1574
|
+
(x) => Actor1$inboundSchema.parse(JSON.parse(x)),
|
|
1575
|
+
`Failed to parse 'Actor1' from JSON`,
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/** @internal */
|
|
1580
|
+
export const ActorUnion1$inboundSchema: z.ZodType<ActorUnion1, unknown> = z
|
|
1581
|
+
.union([z.lazy(() => Actor1$inboundSchema), z.any()]);
|
|
1582
|
+
|
|
1583
|
+
export function actorUnion1FromJSON(
|
|
1584
|
+
jsonString: string,
|
|
1585
|
+
): SafeParseResult<ActorUnion1, SDKValidationError> {
|
|
1586
|
+
return safeParse(
|
|
1587
|
+
jsonString,
|
|
1588
|
+
(x) => ActorUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
1589
|
+
`Failed to parse 'ActorUnion1' from JSON`,
|
|
1590
|
+
);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1456
1593
|
/** @internal */
|
|
1457
1594
|
export const PreviousError$inboundSchema: z.ZodType<PreviousError, unknown> = z
|
|
1458
1595
|
.object({
|
|
@@ -1497,6 +1634,8 @@ export const DataDeploymentRetryRequested$inboundSchema: z.ZodType<
|
|
|
1497
1634
|
DataDeploymentRetryRequested,
|
|
1498
1635
|
unknown
|
|
1499
1636
|
> = z.object({
|
|
1637
|
+
actor: z.nullable(z.union([z.lazy(() => Actor1$inboundSchema), z.any()]))
|
|
1638
|
+
.optional(),
|
|
1500
1639
|
attemptedReleaseId: z.nullable(z.string()).optional(),
|
|
1501
1640
|
deploymentId: z.string(),
|
|
1502
1641
|
previousError: z.nullable(
|
|
@@ -0,0 +1,33 @@
|
|
|
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 IncrementCommandAttemptResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* The attempt number after the increment
|
|
13
|
+
*/
|
|
14
|
+
attempt: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const IncrementCommandAttemptResponse$inboundSchema: z.ZodType<
|
|
19
|
+
IncrementCommandAttemptResponse,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
attempt: z.int(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function incrementCommandAttemptResponseFromJSON(
|
|
26
|
+
jsonString: string,
|
|
27
|
+
): SafeParseResult<IncrementCommandAttemptResponse, SDKValidationError> {
|
|
28
|
+
return safeParse(
|
|
29
|
+
jsonString,
|
|
30
|
+
(x) => IncrementCommandAttemptResponse$inboundSchema.parse(JSON.parse(x)),
|
|
31
|
+
`Failed to parse 'IncrementCommandAttemptResponse' from JSON`,
|
|
32
|
+
);
|
|
33
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -17,6 +17,8 @@ export * from "./commanddeploymentgroupinfo.js";
|
|
|
17
17
|
export * from "./commanddeploymentinfo.js";
|
|
18
18
|
export * from "./commandlistitemresponse.js";
|
|
19
19
|
export * from "./commandprojectinfo.js";
|
|
20
|
+
export * from "./completecommandrequest.js";
|
|
21
|
+
export * from "./completecommandresponse.js";
|
|
20
22
|
export * from "./createapikeyrequest.js";
|
|
21
23
|
export * from "./createapikeyresponse.js";
|
|
22
24
|
export * from "./createcommandrequest.js";
|
|
@@ -50,6 +52,7 @@ export * from "./deploymentgrouprole.js";
|
|
|
50
52
|
export * from "./deploymentgroupscope.js";
|
|
51
53
|
export * from "./deploymentinfo.js";
|
|
52
54
|
export * from "./deploymentinfosetupconfig.js";
|
|
55
|
+
export * from "./deploymentinputsresponse.js";
|
|
53
56
|
export * from "./deploymentlinksetupresponse.js";
|
|
54
57
|
export * from "./deploymentlistitemresponse.js";
|
|
55
58
|
export * from "./deploymentportalaccentcolor.js";
|
|
@@ -67,6 +70,8 @@ export * from "./deploymentsetupmethod.js";
|
|
|
67
70
|
export * from "./deploymentsetuppolicy.js";
|
|
68
71
|
export * from "./deploymentsetupstacksettingspolicy.js";
|
|
69
72
|
export * from "./deploymentstats.js";
|
|
73
|
+
export * from "./dispatchcommandrequest.js";
|
|
74
|
+
export * from "./dispatchcommandresponse.js";
|
|
70
75
|
export * from "./domainendpoint.js";
|
|
71
76
|
export * from "./domainendpointkind.js";
|
|
72
77
|
export * from "./domainendpointowner.js";
|
|
@@ -93,6 +98,7 @@ export * from "./importdeploymentrequest.js";
|
|
|
93
98
|
export * from "./importedresource.js";
|
|
94
99
|
export * from "./importsource.js";
|
|
95
100
|
export * from "./importsourcekind.js";
|
|
101
|
+
export * from "./incrementcommandattemptresponse.js";
|
|
96
102
|
export * from "./kubernetesbaseplatform.js";
|
|
97
103
|
export * from "./kubernetesclustersource.js";
|
|
98
104
|
export * from "./listcommanddeploymentsresponse.js";
|
|
@@ -103,6 +109,7 @@ export * from "./machinescapacitymetric.js";
|
|
|
103
109
|
export * from "./machinesdrainblocker.js";
|
|
104
110
|
export * from "./machinesinventoryitem.js";
|
|
105
111
|
export * from "./machinesjointokensummary.js";
|
|
112
|
+
export * from "./machineslocaloverrideobservation.js";
|
|
106
113
|
export * from "./manager.js";
|
|
107
114
|
export * from "./managerdeployment.js";
|
|
108
115
|
export * from "./managerdomainbindingresponse.js";
|
|
@@ -140,6 +147,7 @@ export * from "./releaselistitemresponse.js";
|
|
|
140
147
|
export * from "./removemachinesmachineresponse.js";
|
|
141
148
|
export * from "./renderoperatormanifestrequest.js";
|
|
142
149
|
export * from "./renderoperatormanifestresponse.js";
|
|
150
|
+
export * from "./resolvedcommandtarget.js";
|
|
143
151
|
export * from "./resolvedstackinputsummary.js";
|
|
144
152
|
export * from "./resolvemanagergcpoauthproviderrequest.js";
|
|
145
153
|
export * from "./resolvemanagergcpoauthproviderresponse.js";
|
|
@@ -165,6 +173,8 @@ export * from "./subjectscope.js";
|
|
|
165
173
|
export * from "./supportedcloudregions.js";
|
|
166
174
|
export * from "./syncacquirerequest.js";
|
|
167
175
|
export * from "./syncacquireresponse.js";
|
|
176
|
+
export * from "./syncacquireresponsedeployment.js";
|
|
177
|
+
export * from "./synccontextrequest.js";
|
|
168
178
|
export * from "./synclistrequest.js";
|
|
169
179
|
export * from "./synclistresponse.js";
|
|
170
180
|
export * from "./syncreconcilerequest.js";
|
|
@@ -175,6 +185,8 @@ export * from "./updatecommandrequest.js";
|
|
|
175
185
|
export * from "./updatedebugsessionrequest.js";
|
|
176
186
|
export * from "./updatedeploymentenvironmentvariablesrequest.js";
|
|
177
187
|
export * from "./updatedeploymentgrouprequest.js";
|
|
188
|
+
export * from "./updatedeploymentinputsrequest.js";
|
|
189
|
+
export * from "./updatedeploymentinputsresponse.js";
|
|
178
190
|
export * from "./updatedeploymentsetuppolicy.js";
|
|
179
191
|
export * from "./updatemanagerdomainbinding.js";
|
|
180
192
|
export * from "./updatemanagerrequest.js";
|
|
@@ -14,6 +14,10 @@ import {
|
|
|
14
14
|
MachinesDrainBlocker,
|
|
15
15
|
MachinesDrainBlocker$inboundSchema,
|
|
16
16
|
} from "./machinesdrainblocker.js";
|
|
17
|
+
import {
|
|
18
|
+
MachinesLocalOverrideObservation,
|
|
19
|
+
MachinesLocalOverrideObservation$inboundSchema,
|
|
20
|
+
} from "./machineslocaloverrideobservation.js";
|
|
17
21
|
|
|
18
22
|
export type Storage = {
|
|
19
23
|
allocated: number;
|
|
@@ -38,6 +42,8 @@ export type MachinesInventoryItem = {
|
|
|
38
42
|
overlayIp?: string | null | undefined;
|
|
39
43
|
lastHeartbeat: string;
|
|
40
44
|
horizondVersion?: string | null | undefined;
|
|
45
|
+
localOverrides: Array<MachinesLocalOverrideObservation>;
|
|
46
|
+
localOverridesObservedAt?: string | null | undefined;
|
|
41
47
|
replicaCount: number;
|
|
42
48
|
};
|
|
43
49
|
|
|
@@ -79,6 +85,8 @@ export const MachinesInventoryItem$inboundSchema: z.ZodType<
|
|
|
79
85
|
overlayIp: z.nullable(z.string()).optional(),
|
|
80
86
|
lastHeartbeat: z.string(),
|
|
81
87
|
horizondVersion: z.nullable(z.string()).optional(),
|
|
88
|
+
localOverrides: z.array(MachinesLocalOverrideObservation$inboundSchema),
|
|
89
|
+
localOverridesObservedAt: z.nullable(z.string()).optional(),
|
|
82
90
|
replicaCount: z.int(),
|
|
83
91
|
});
|
|
84
92
|
|
|
@@ -0,0 +1,58 @@
|
|
|
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 MachinesLocalOverrideObservation = {
|
|
11
|
+
activeDigest?: string | null | undefined;
|
|
12
|
+
actor?: string | null | undefined;
|
|
13
|
+
baseAssignmentHash: string;
|
|
14
|
+
baseDigest?: string | null | undefined;
|
|
15
|
+
candidateDigest?: string | null | undefined;
|
|
16
|
+
createdAt?: string | null | undefined;
|
|
17
|
+
failureCategory?: string | null | undefined;
|
|
18
|
+
fallbackDigest?: string | null | undefined;
|
|
19
|
+
forcedStop?: boolean | null | undefined;
|
|
20
|
+
healthySince?: string | null | undefined;
|
|
21
|
+
incidentId?: string | null | undefined;
|
|
22
|
+
lifecycle: string;
|
|
23
|
+
phaseStartedAt?: string | null | undefined;
|
|
24
|
+
replicaId: string;
|
|
25
|
+
workloadName: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const MachinesLocalOverrideObservation$inboundSchema: z.ZodType<
|
|
30
|
+
MachinesLocalOverrideObservation,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
activeDigest: z.nullable(z.string()).optional(),
|
|
34
|
+
actor: z.nullable(z.string()).optional(),
|
|
35
|
+
baseAssignmentHash: z.string(),
|
|
36
|
+
baseDigest: z.nullable(z.string()).optional(),
|
|
37
|
+
candidateDigest: z.nullable(z.string()).optional(),
|
|
38
|
+
createdAt: z.nullable(z.string()).optional(),
|
|
39
|
+
failureCategory: z.nullable(z.string()).optional(),
|
|
40
|
+
fallbackDigest: z.nullable(z.string()).optional(),
|
|
41
|
+
forcedStop: z.nullable(z.boolean()).optional(),
|
|
42
|
+
healthySince: z.nullable(z.string()).optional(),
|
|
43
|
+
incidentId: z.nullable(z.string()).optional(),
|
|
44
|
+
lifecycle: z.string(),
|
|
45
|
+
phaseStartedAt: z.nullable(z.string()).optional(),
|
|
46
|
+
replicaId: z.string(),
|
|
47
|
+
workloadName: z.string(),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function machinesLocalOverrideObservationFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<MachinesLocalOverrideObservation, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => MachinesLocalOverrideObservation$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'MachinesLocalOverrideObservation' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type CompleteCommandRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the command.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
workspace?: string | undefined;
|
|
18
|
+
completeCommandRequest?: models.CompleteCommandRequest | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type CompleteCommandRequest$Outbound = {
|
|
23
|
+
id: string;
|
|
24
|
+
workspace?: string | undefined;
|
|
25
|
+
CompleteCommandRequest?: models.CompleteCommandRequest$Outbound | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const CompleteCommandRequest$outboundSchema: z.ZodType<
|
|
30
|
+
CompleteCommandRequest$Outbound,
|
|
31
|
+
CompleteCommandRequest
|
|
32
|
+
> = z.object({
|
|
33
|
+
id: z.string(),
|
|
34
|
+
workspace: z.string().optional(),
|
|
35
|
+
completeCommandRequest: models.CompleteCommandRequest$outboundSchema
|
|
36
|
+
.optional(),
|
|
37
|
+
}).transform((v) => {
|
|
38
|
+
return remap$(v, {
|
|
39
|
+
completeCommandRequest: "CompleteCommandRequest",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function completeCommandRequestToJSON(
|
|
44
|
+
completeCommandRequest: CompleteCommandRequest,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
CompleteCommandRequest$outboundSchema.parse(completeCommandRequest),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -37,10 +37,45 @@ export type GitRepositoryRequest = {
|
|
|
37
37
|
repo: string;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Target OS and architecture for compiled binaries.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
*
|
|
45
|
+
* Used as keys in package output maps (CLI binaries, Terraform providers, etc.)
|
|
46
|
+
* and for cross-compilation target selection during builds.
|
|
47
|
+
*/
|
|
48
|
+
export const CreateProjectBinaryTargetRequest = {
|
|
49
|
+
WindowsX64: "windows-x64",
|
|
50
|
+
LinuxX64: "linux-x64",
|
|
51
|
+
LinuxArm64: "linux-arm64",
|
|
52
|
+
DarwinArm64: "darwin-arm64",
|
|
53
|
+
} as const;
|
|
54
|
+
/**
|
|
55
|
+
* Target OS and architecture for compiled binaries.
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
*
|
|
59
|
+
* Used as keys in package output maps (CLI binaries, Terraform providers, etc.)
|
|
60
|
+
* and for cross-compilation target selection during builds.
|
|
61
|
+
*/
|
|
62
|
+
export type CreateProjectBinaryTargetRequest = ClosedEnum<
|
|
63
|
+
typeof CreateProjectBinaryTargetRequest
|
|
64
|
+
>;
|
|
65
|
+
|
|
40
66
|
/**
|
|
41
67
|
* CLI package configuration. If null, CLI packages will not be generated.
|
|
42
68
|
*/
|
|
43
69
|
export type CreateProjectCliRequest = {
|
|
70
|
+
/**
|
|
71
|
+
* Binary targets required by this package's setup consumer.
|
|
72
|
+
*
|
|
73
|
+
* @remarks
|
|
74
|
+
*
|
|
75
|
+
* Older package rows omit this field and retain the historical all-target
|
|
76
|
+
* behavior. Callers creating new packages should state their target set.
|
|
77
|
+
*/
|
|
78
|
+
binaryTargets?: Array<CreateProjectBinaryTargetRequest> | undefined;
|
|
44
79
|
/**
|
|
45
80
|
* Human-friendly display name for help banners and about text
|
|
46
81
|
*/
|
|
@@ -249,10 +284,45 @@ export type CreateProjectDeploymentPortalAppearance = {
|
|
|
249
284
|
density: models.DeploymentPortalDensity;
|
|
250
285
|
};
|
|
251
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Target OS and architecture for compiled binaries.
|
|
289
|
+
*
|
|
290
|
+
* @remarks
|
|
291
|
+
*
|
|
292
|
+
* Used as keys in package output maps (CLI binaries, Terraform providers, etc.)
|
|
293
|
+
* and for cross-compilation target selection during builds.
|
|
294
|
+
*/
|
|
295
|
+
export const CreateProjectBinaryTargetResponse = {
|
|
296
|
+
WindowsX64: "windows-x64",
|
|
297
|
+
LinuxX64: "linux-x64",
|
|
298
|
+
LinuxArm64: "linux-arm64",
|
|
299
|
+
DarwinArm64: "darwin-arm64",
|
|
300
|
+
} as const;
|
|
301
|
+
/**
|
|
302
|
+
* Target OS and architecture for compiled binaries.
|
|
303
|
+
*
|
|
304
|
+
* @remarks
|
|
305
|
+
*
|
|
306
|
+
* Used as keys in package output maps (CLI binaries, Terraform providers, etc.)
|
|
307
|
+
* and for cross-compilation target selection during builds.
|
|
308
|
+
*/
|
|
309
|
+
export type CreateProjectBinaryTargetResponse = ClosedEnum<
|
|
310
|
+
typeof CreateProjectBinaryTargetResponse
|
|
311
|
+
>;
|
|
312
|
+
|
|
252
313
|
/**
|
|
253
314
|
* CLI package configuration. If null, CLI packages will not be generated.
|
|
254
315
|
*/
|
|
255
316
|
export type CreateProjectCliResponse = {
|
|
317
|
+
/**
|
|
318
|
+
* Binary targets required by this package's setup consumer.
|
|
319
|
+
*
|
|
320
|
+
* @remarks
|
|
321
|
+
*
|
|
322
|
+
* Older package rows omit this field and retain the historical all-target
|
|
323
|
+
* behavior. Callers creating new packages should state their target set.
|
|
324
|
+
*/
|
|
325
|
+
binaryTargets?: Array<CreateProjectBinaryTargetResponse> | undefined;
|
|
256
326
|
/**
|
|
257
327
|
* Human-friendly display name for help banners and about text
|
|
258
328
|
*/
|
|
@@ -486,8 +556,14 @@ export function gitRepositoryRequestToJSON(
|
|
|
486
556
|
);
|
|
487
557
|
}
|
|
488
558
|
|
|
559
|
+
/** @internal */
|
|
560
|
+
export const CreateProjectBinaryTargetRequest$outboundSchema: z.ZodEnum<
|
|
561
|
+
typeof CreateProjectBinaryTargetRequest
|
|
562
|
+
> = z.enum(CreateProjectBinaryTargetRequest);
|
|
563
|
+
|
|
489
564
|
/** @internal */
|
|
490
565
|
export type CreateProjectCliRequest$Outbound = {
|
|
566
|
+
binaryTargets?: Array<string> | undefined;
|
|
491
567
|
displayName: string;
|
|
492
568
|
name: string;
|
|
493
569
|
enabled: boolean;
|
|
@@ -498,6 +574,8 @@ export const CreateProjectCliRequest$outboundSchema: z.ZodType<
|
|
|
498
574
|
CreateProjectCliRequest$Outbound,
|
|
499
575
|
CreateProjectCliRequest
|
|
500
576
|
> = z.object({
|
|
577
|
+
binaryTargets: z.array(CreateProjectBinaryTargetRequest$outboundSchema)
|
|
578
|
+
.optional(),
|
|
501
579
|
displayName: z.string(),
|
|
502
580
|
name: z.string(),
|
|
503
581
|
enabled: z.boolean(),
|
|
@@ -779,11 +857,18 @@ export function createProjectDeploymentPortalAppearanceFromJSON(
|
|
|
779
857
|
);
|
|
780
858
|
}
|
|
781
859
|
|
|
860
|
+
/** @internal */
|
|
861
|
+
export const CreateProjectBinaryTargetResponse$inboundSchema: z.ZodEnum<
|
|
862
|
+
typeof CreateProjectBinaryTargetResponse
|
|
863
|
+
> = z.enum(CreateProjectBinaryTargetResponse);
|
|
864
|
+
|
|
782
865
|
/** @internal */
|
|
783
866
|
export const CreateProjectCliResponse$inboundSchema: z.ZodType<
|
|
784
867
|
CreateProjectCliResponse,
|
|
785
868
|
unknown
|
|
786
869
|
> = z.object({
|
|
870
|
+
binaryTargets: z.array(CreateProjectBinaryTargetResponse$inboundSchema)
|
|
871
|
+
.optional(),
|
|
787
872
|
displayName: z.string(),
|
|
788
873
|
name: z.string(),
|
|
789
874
|
enabled: z.boolean(),
|