@orchestraworks/cli 0.5.2 → 0.5.4
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/README.md +1 -1
- package/dist/cli/api/compute-provider-check.d.ts +29 -0
- package/dist/cli/api/compute-provider-check.js +207 -0
- package/dist/cli/api/tail.d.ts +66 -0
- package/dist/cli/api/tail.js +564 -0
- package/dist/cli/main.d.ts +5 -1
- package/dist/cli/main.js +22 -0
- package/dist/constructs/agent.d.ts +10 -0
- package/dist/constructs/agent.js +39 -4
- package/dist/constructs/environment.d.ts +29 -1
- package/dist/constructs/environment.js +28 -1
- package/dist/constructs/skill.d.ts +6 -1
- package/dist/constructs/skill.js +21 -2
- package/dist/engine/reconcile.js +15 -1
- package/dist/generated/cli-commands.json +1646 -198
- package/dist/generated/cli-dispatch.js +9 -0
- package/dist/generated/managed-skills.d.ts +2 -0
- package/dist/generated/managed-skills.js +18 -0
- package/dist/index.d.ts +1 -1
- package/docs/REFERENCE.md +21 -1
- package/node_modules/@orchestraworks/client/dist/apis/OrganizationInvitationsApi.d.ts +29 -0
- package/node_modules/@orchestraworks/client/dist/apis/OrganizationInvitationsApi.js +96 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationInvitationsApi.d.ts +29 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationInvitationsApi.js +96 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/ComputeProvider.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.js +5 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.js +5 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHook.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHook.js +45 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHooks.d.ts +39 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHooks.js +44 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHooksRequest.d.ts +39 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentHooksRequest.js +44 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentProvisionSpec.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentProvisionSpecRequest.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentSnapshot.d.ts +19 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentSnapshot.js +7 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Machine.d.ts +7 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Machine.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationAuthPolicy.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.d.ts +14 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.js +8 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Principal.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Principal.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateEnvironmentRequest.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateEnvironmentRequest.js +5 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.js +2 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/User.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/User.js +4 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/index.d.ts +3 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/index.js +3 -0
- package/node_modules/@orchestraworks/client/dist/models/ComputeProvider.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.js +5 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Environment.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/models/Environment.js +5 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHook.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHook.js +52 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHooks.d.ts +39 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHooks.js +51 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHooksRequest.d.ts +39 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentHooksRequest.js +51 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentProvisionSpec.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentProvisionSpecRequest.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentSnapshot.d.ts +19 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentSnapshot.js +7 -0
- package/node_modules/@orchestraworks/client/dist/models/Machine.d.ts +7 -1
- package/node_modules/@orchestraworks/client/dist/models/Machine.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/OrganizationAuthPolicy.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.d.ts +14 -1
- package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.js +8 -1
- package/node_modules/@orchestraworks/client/dist/models/Principal.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/Principal.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateEnvironmentRequest.d.ts +13 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateEnvironmentRequest.js +5 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.d.ts +2 -1
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.js +2 -1
- package/node_modules/@orchestraworks/client/dist/models/User.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/User.js +4 -0
- package/node_modules/@orchestraworks/client/dist/models/index.d.ts +3 -0
- package/node_modules/@orchestraworks/client/dist/models/index.js +3 -0
- package/node_modules/@orchestraworks/client/package.json +1 -1
- package/package.json +4 -4
- package/skills/orchestra/SKILL.md +167 -42
- package/skills/orchestra-fdk/SKILL.md +112 -545
- package/skills/orchestra-fdk/references/authoring.md +29 -2
- package/skills/orchestra-fdk/references/environment.md +295 -41
- package/skills/orchestra-fdk/references/integrations/analytics.md +18 -0
- package/skills/orchestra-fdk/references/integrations/ci-cd.md +20 -0
- package/skills/orchestra-fdk/references/integrations/cloud.md +19 -0
- package/skills/orchestra-fdk/references/integrations/code-repo.md +76 -0
- package/skills/orchestra-fdk/references/integrations/databases.md +22 -0
- package/skills/orchestra-fdk/references/integrations/dependencies.md +29 -0
- package/skills/orchestra-fdk/references/integrations/design.md +18 -0
- package/skills/orchestra-fdk/references/integrations/feature-flags.md +19 -0
- package/skills/orchestra-fdk/references/integrations/incident.md +29 -0
- package/skills/orchestra-fdk/references/integrations/issue-tracker.md +65 -0
- package/skills/orchestra-fdk/references/integrations/knowledge-base.md +43 -0
- package/skills/orchestra-fdk/references/integrations/messaging.md +38 -0
- package/skills/orchestra-fdk/references/integrations/observability.md +36 -0
- package/skills/orchestra-fdk/references/integrations/secrets-managers.md +25 -0
- package/skills/orchestra-fdk/references/integrations/support-desk.md +31 -0
- package/skills/orchestra-fdk/references/phases/0-start.md +62 -0
- package/skills/orchestra-fdk/references/phases/1-discover.md +111 -0
- package/skills/orchestra-fdk/references/phases/2-plan.md +157 -0
- package/skills/orchestra-fdk/references/phases/3-connect.md +99 -0
- package/skills/orchestra-fdk/references/phases/4-build.md +159 -0
- package/skills/orchestra-fdk/references/phases/5-prove.md +107 -0
- package/skills/orchestra-fdk/references/phases/6-handover.md +42 -0
- package/skills/orchestra-fdk/references/troubleshooting.md +128 -0
- package/templates/bug-fix/agents/bugfix.md +1 -1
- package/templates/bug-fix/main.ts +1 -1
- package/templates/engineering-team/README.md +45 -181
- package/templates/engineering-team/agents/engineer-agent.md +10 -7
- package/templates/engineering-team/agents/manager-agent.md +23 -120
- package/templates/engineering-team/inputs.json +1 -3
- package/templates/engineering-team/lib/environment.ts +10 -90
- package/templates/engineering-team/lib/inputs.ts +5 -97
- package/templates/engineering-team/main.ts +22 -69
- package/templates/todo-factory/agents/bugfix.md +1 -1
- package/templates/todo-factory/main.ts +1 -1
- package/templates/engineering-team/agents/engineer-bare.md +0 -22
- package/templates/engineering-team/onboarding/create-score-metrics.sh +0 -33
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Orchestra platform API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the EnvironmentHook interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfEnvironmentHook(value) {
|
|
18
|
+
if (!('script' in value) || value['script'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function EnvironmentHookFromJSON(json) {
|
|
23
|
+
return EnvironmentHookFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function EnvironmentHookFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'script': json['script'],
|
|
31
|
+
'timeoutSeconds': json['timeoutSeconds'] == null ? undefined : json['timeoutSeconds'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function EnvironmentHookToJSON(json) {
|
|
35
|
+
return EnvironmentHookToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function EnvironmentHookToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'script': value['script'],
|
|
43
|
+
'timeoutSeconds': value['timeoutSeconds'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestra platform API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { EnvironmentHook } from './EnvironmentHook';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EnvironmentHooks
|
|
17
|
+
*/
|
|
18
|
+
export interface EnvironmentHooks {
|
|
19
|
+
/**
|
|
20
|
+
* A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. Provisioned environments only. A machine keeps the value it was created with. provisionSpec.setup is the same script under its older name.
|
|
21
|
+
* @type {EnvironmentHook}
|
|
22
|
+
* @memberof EnvironmentHooks
|
|
23
|
+
*/
|
|
24
|
+
onStartMachine?: EnvironmentHook;
|
|
25
|
+
/**
|
|
26
|
+
* A script the worker runs once for each agent placement, after the agent's content is installed and before its first conversation starts: as the account the agent runs as, in workingDirectory, with the agent's environment and the egress edge's authority, so a rule binding a credential applies to it. bash -e on linux and macos, PowerShell on windows. A script that fails or runs past its bound fails the placement with on_start_agent_failed. A machine keeps the value it was created with.
|
|
27
|
+
* @type {EnvironmentHook}
|
|
28
|
+
* @memberof EnvironmentHooks
|
|
29
|
+
*/
|
|
30
|
+
onStartAgent?: EnvironmentHook;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the EnvironmentHooks interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfEnvironmentHooks(value: object): value is EnvironmentHooks;
|
|
36
|
+
export declare function EnvironmentHooksFromJSON(json: any): EnvironmentHooks;
|
|
37
|
+
export declare function EnvironmentHooksFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentHooks;
|
|
38
|
+
export declare function EnvironmentHooksToJSON(json: any): EnvironmentHooks;
|
|
39
|
+
export declare function EnvironmentHooksToJSONTyped(value?: EnvironmentHooks | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Orchestra platform API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { EnvironmentHookFromJSON, EnvironmentHookToJSON, } from './EnvironmentHook';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EnvironmentHooks interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEnvironmentHooks(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function EnvironmentHooksFromJSON(json) {
|
|
22
|
+
return EnvironmentHooksFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function EnvironmentHooksFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'onStartMachine': json['onStartMachine'] == null ? undefined : EnvironmentHookFromJSON(json['onStartMachine']),
|
|
30
|
+
'onStartAgent': json['onStartAgent'] == null ? undefined : EnvironmentHookFromJSON(json['onStartAgent']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function EnvironmentHooksToJSON(json) {
|
|
34
|
+
return EnvironmentHooksToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function EnvironmentHooksToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'onStartMachine': EnvironmentHookToJSON(value['onStartMachine']),
|
|
42
|
+
'onStartAgent': EnvironmentHookToJSON(value['onStartAgent']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestra platform API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { EnvironmentHook } from './EnvironmentHook';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EnvironmentHooksRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface EnvironmentHooksRequest {
|
|
19
|
+
/**
|
|
20
|
+
* A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. Provisioned environments only. A machine keeps the value it was created with. provisionSpec.setup is the same script under its older name. On an update, absent leaves the stored hook and null removes it.
|
|
21
|
+
* @type {EnvironmentHook}
|
|
22
|
+
* @memberof EnvironmentHooksRequest
|
|
23
|
+
*/
|
|
24
|
+
onStartMachine?: EnvironmentHook | null;
|
|
25
|
+
/**
|
|
26
|
+
* A script the worker runs once for each agent placement, after the agent's content is installed and before its first conversation starts: as the account the agent runs as, in workingDirectory, with the agent's environment and the egress edge's authority, so a rule binding a credential applies to it. bash -e on linux and macos, PowerShell on windows. A script that fails or runs past its bound fails the placement with on_start_agent_failed. A machine keeps the value it was created with. On an update, absent leaves the stored hook and null removes it.
|
|
27
|
+
* @type {EnvironmentHook}
|
|
28
|
+
* @memberof EnvironmentHooksRequest
|
|
29
|
+
*/
|
|
30
|
+
onStartAgent?: EnvironmentHook | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the EnvironmentHooksRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfEnvironmentHooksRequest(value: object): value is EnvironmentHooksRequest;
|
|
36
|
+
export declare function EnvironmentHooksRequestFromJSON(json: any): EnvironmentHooksRequest;
|
|
37
|
+
export declare function EnvironmentHooksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentHooksRequest;
|
|
38
|
+
export declare function EnvironmentHooksRequestToJSON(json: any): EnvironmentHooksRequest;
|
|
39
|
+
export declare function EnvironmentHooksRequestToJSONTyped(value?: EnvironmentHooksRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Orchestra platform API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { EnvironmentHookFromJSON, EnvironmentHookToJSON, } from './EnvironmentHook';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EnvironmentHooksRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEnvironmentHooksRequest(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function EnvironmentHooksRequestFromJSON(json) {
|
|
22
|
+
return EnvironmentHooksRequestFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function EnvironmentHooksRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'onStartMachine': json['onStartMachine'] == null ? undefined : EnvironmentHookFromJSON(json['onStartMachine']),
|
|
30
|
+
'onStartAgent': json['onStartAgent'] == null ? undefined : EnvironmentHookFromJSON(json['onStartAgent']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function EnvironmentHooksRequestToJSON(json) {
|
|
34
|
+
return EnvironmentHooksRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function EnvironmentHooksRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'onStartMachine': EnvironmentHookToJSON(value['onStartMachine']),
|
|
42
|
+
'onStartAgent': EnvironmentHookToJSON(value['onStartAgent']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -56,9 +56,10 @@ export interface EnvironmentProvisionSpec {
|
|
|
56
56
|
*/
|
|
57
57
|
command?: Array<string>;
|
|
58
58
|
/**
|
|
59
|
-
* A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. At most 64 KiB.
|
|
59
|
+
* Deprecated: use hooks.onStartMachine. A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. At most 64 KiB. A request may send it beside hooks.onStartMachine only when the two scripts are the same, and a read carries both.
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof EnvironmentProvisionSpec
|
|
62
|
+
* @deprecated
|
|
62
63
|
*/
|
|
63
64
|
setup?: string;
|
|
64
65
|
/**
|
package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentProvisionSpecRequest.d.ts
CHANGED
|
@@ -48,9 +48,10 @@ export interface EnvironmentProvisionSpecRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
command?: Array<string>;
|
|
50
50
|
/**
|
|
51
|
-
* A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. At most 64 KiB. On an update, absent leaves the stored value and an empty one clears it.
|
|
51
|
+
* Deprecated: use hooks.onStartMachine. A script run once as root on each new machine before it registers: bash on Linux, PowerShell on Windows. At most 64 KiB. A request may send it beside hooks.onStartMachine only when the two scripts are the same, and a read carries both. On an update, absent leaves the stored value and an empty one clears it.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof EnvironmentProvisionSpecRequest
|
|
54
|
+
* @deprecated
|
|
54
55
|
*/
|
|
55
56
|
setup?: string;
|
|
56
57
|
/**
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { EnvironmentIngressPolicy } from './EnvironmentIngressPolicy';
|
|
13
|
+
import type { EnvironmentHooks } from './EnvironmentHooks';
|
|
13
14
|
import type { EnvironmentVolumeMount } from './EnvironmentVolumeMount';
|
|
14
15
|
import type { EnvironmentEgressPolicy } from './EnvironmentEgressPolicy';
|
|
15
16
|
import type { EnvironmentDisk } from './EnvironmentDisk';
|
|
@@ -137,6 +138,24 @@ export interface EnvironmentSnapshot {
|
|
|
137
138
|
* @memberof EnvironmentSnapshot
|
|
138
139
|
*/
|
|
139
140
|
shutdownGracePeriodSeconds?: number;
|
|
141
|
+
/**
|
|
142
|
+
* Working directory captured at machine creation; absent means none was declared
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof EnvironmentSnapshot
|
|
145
|
+
*/
|
|
146
|
+
workingDirectory?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Hooks captured at machine creation; absent means none was declared
|
|
149
|
+
* @type {EnvironmentHooks}
|
|
150
|
+
* @memberof EnvironmentSnapshot
|
|
151
|
+
*/
|
|
152
|
+
hooks?: EnvironmentHooks;
|
|
153
|
+
/**
|
|
154
|
+
* Setup script bound captured at machine creation; absent means the deployment's
|
|
155
|
+
* @type {number}
|
|
156
|
+
* @memberof EnvironmentSnapshot
|
|
157
|
+
*/
|
|
158
|
+
setupTimeoutSeconds?: number;
|
|
140
159
|
}
|
|
141
160
|
/**
|
|
142
161
|
* @export
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { EnvironmentIngressPolicyFromJSON, EnvironmentIngressPolicyToJSON, } from './EnvironmentIngressPolicy';
|
|
15
|
+
import { EnvironmentHooksFromJSON, EnvironmentHooksToJSON, } from './EnvironmentHooks';
|
|
15
16
|
import { EnvironmentVolumeMountFromJSON, EnvironmentVolumeMountToJSON, } from './EnvironmentVolumeMount';
|
|
16
17
|
import { EnvironmentEgressPolicyFromJSON, EnvironmentEgressPolicyToJSON, } from './EnvironmentEgressPolicy';
|
|
17
18
|
import { EnvironmentDiskFromJSON, EnvironmentDiskToJSON, } from './EnvironmentDisk';
|
|
@@ -82,6 +83,9 @@ export function EnvironmentSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
83
|
'keepAliveWhenIdle': json['keepAliveWhenIdle'],
|
|
83
84
|
'ttl': json['ttl'] == null ? undefined : json['ttl'],
|
|
84
85
|
'shutdownGracePeriodSeconds': json['shutdownGracePeriodSeconds'] == null ? undefined : json['shutdownGracePeriodSeconds'],
|
|
86
|
+
'workingDirectory': json['workingDirectory'] == null ? undefined : json['workingDirectory'],
|
|
87
|
+
'hooks': json['hooks'] == null ? undefined : EnvironmentHooksFromJSON(json['hooks']),
|
|
88
|
+
'setupTimeoutSeconds': json['setupTimeoutSeconds'] == null ? undefined : json['setupTimeoutSeconds'],
|
|
85
89
|
};
|
|
86
90
|
}
|
|
87
91
|
export function EnvironmentSnapshotToJSON(json) {
|
|
@@ -111,5 +115,8 @@ export function EnvironmentSnapshotToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
111
115
|
'keepAliveWhenIdle': value['keepAliveWhenIdle'],
|
|
112
116
|
'ttl': value['ttl'],
|
|
113
117
|
'shutdownGracePeriodSeconds': value['shutdownGracePeriodSeconds'],
|
|
118
|
+
'workingDirectory': value['workingDirectory'],
|
|
119
|
+
'hooks': EnvironmentHooksToJSON(value['hooks']),
|
|
120
|
+
'setupTimeoutSeconds': value['setupTimeoutSeconds'],
|
|
114
121
|
};
|
|
115
122
|
}
|
|
@@ -43,11 +43,17 @@ export interface Machine {
|
|
|
43
43
|
*/
|
|
44
44
|
environmentId: string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* The internal registration key this machine launched on, for operators; computeProviderId names the compute provider
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof Machine
|
|
49
49
|
*/
|
|
50
50
|
computeProviderKey: string;
|
|
51
|
+
/**
|
|
52
|
+
* The compute provider this machine runs on: cprov_orchestra on hosted compute, or the self-hosted record whose Launcher runs it. Absent on a customer's own enrolled machine
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Machine
|
|
55
|
+
*/
|
|
56
|
+
computeProviderId?: string;
|
|
51
57
|
/**
|
|
52
58
|
* Compute-provider instance id
|
|
53
59
|
* @type {string}
|
|
@@ -97,6 +97,7 @@ export function MachineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
97
97
|
'organizationId': json['organizationId'],
|
|
98
98
|
'environmentId': json['environmentId'],
|
|
99
99
|
'computeProviderKey': json['computeProviderKey'],
|
|
100
|
+
'computeProviderId': json['computeProviderId'] == null ? undefined : json['computeProviderId'],
|
|
100
101
|
'computeProviderInstanceId': json['computeProviderInstanceId'] == null ? undefined : json['computeProviderInstanceId'],
|
|
101
102
|
'status': json['status'],
|
|
102
103
|
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
@@ -133,6 +134,7 @@ export function MachineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
133
134
|
'organizationId': value['organizationId'],
|
|
134
135
|
'environmentId': value['environmentId'],
|
|
135
136
|
'computeProviderKey': value['computeProviderKey'],
|
|
137
|
+
'computeProviderId': value['computeProviderId'],
|
|
136
138
|
'computeProviderInstanceId': value['computeProviderInstanceId'],
|
|
137
139
|
'status': value['status'],
|
|
138
140
|
'reason': value['reason'],
|
|
@@ -34,7 +34,7 @@ export interface OrganizationAuthPolicy {
|
|
|
34
34
|
*/
|
|
35
35
|
requiredMfa: boolean;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Email domains an invitation may address. Empty allows any domain. An invitation to an address outside them is refused when it is created and when it is accepted.
|
|
38
38
|
* @type {Set<string>}
|
|
39
39
|
* @memberof OrganizationAuthPolicy
|
|
40
40
|
*/
|
|
@@ -28,6 +28,12 @@ export interface OrganizationInvitation {
|
|
|
28
28
|
* @memberof OrganizationInvitation
|
|
29
29
|
*/
|
|
30
30
|
organizationId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Name of the organization the invitation is to, read when the invitation is read
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationInvitation
|
|
35
|
+
*/
|
|
36
|
+
organizationName: string;
|
|
31
37
|
/**
|
|
32
38
|
* Invited email address
|
|
33
39
|
* @type {string}
|
|
@@ -35,7 +41,7 @@ export interface OrganizationInvitation {
|
|
|
35
41
|
*/
|
|
36
42
|
email: string;
|
|
37
43
|
/**
|
|
38
|
-
* Invitation lifecycle status
|
|
44
|
+
* Invitation lifecycle status. A pending invitation whose expiry has passed reads `EXPIRED`.
|
|
39
45
|
* @type {OrganizationInvitationStatusEnum}
|
|
40
46
|
* @memberof OrganizationInvitation
|
|
41
47
|
*/
|
|
@@ -70,6 +76,12 @@ export interface OrganizationInvitation {
|
|
|
70
76
|
* @memberof OrganizationInvitation
|
|
71
77
|
*/
|
|
72
78
|
acceptedAt?: Date;
|
|
79
|
+
/**
|
|
80
|
+
* When the identity provider sent the invitation email. Absent when no new email went out.
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof OrganizationInvitation
|
|
83
|
+
*/
|
|
84
|
+
emailSentAt?: Date;
|
|
73
85
|
/**
|
|
74
86
|
* IAM role assignments referenced by this invitation (via `invitation_roles`), each with its optional project scope — the sole grant surface, carried to the membership minted at acceptance; a whole-list replacement on write
|
|
75
87
|
* @type {Array<RoleAssignment>}
|
|
@@ -105,6 +117,7 @@ export declare const OrganizationInvitationStatusEnum: {
|
|
|
105
117
|
readonly Accepted: "ACCEPTED";
|
|
106
118
|
readonly Expired: "EXPIRED";
|
|
107
119
|
readonly Revoked: "REVOKED";
|
|
120
|
+
readonly Declined: "DECLINED";
|
|
108
121
|
};
|
|
109
122
|
export type OrganizationInvitationStatusEnum = typeof OrganizationInvitationStatusEnum[keyof typeof OrganizationInvitationStatusEnum];
|
|
110
123
|
/**
|
|
@@ -19,7 +19,8 @@ export const OrganizationInvitationStatusEnum = {
|
|
|
19
19
|
Pending: 'PENDING',
|
|
20
20
|
Accepted: 'ACCEPTED',
|
|
21
21
|
Expired: 'EXPIRED',
|
|
22
|
-
Revoked: 'REVOKED'
|
|
22
|
+
Revoked: 'REVOKED',
|
|
23
|
+
Declined: 'DECLINED'
|
|
23
24
|
};
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the OrganizationInvitation interface.
|
|
@@ -29,6 +30,8 @@ export function instanceOfOrganizationInvitation(value) {
|
|
|
29
30
|
return false;
|
|
30
31
|
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
31
32
|
return false;
|
|
33
|
+
if (!('organizationName' in value) || value['organizationName'] === undefined)
|
|
34
|
+
return false;
|
|
32
35
|
if (!('email' in value) || value['email'] === undefined)
|
|
33
36
|
return false;
|
|
34
37
|
if (!('status' in value) || value['status'] === undefined)
|
|
@@ -55,6 +58,7 @@ export function OrganizationInvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
58
|
return {
|
|
56
59
|
'id': json['id'],
|
|
57
60
|
'organizationId': json['organizationId'],
|
|
61
|
+
'organizationName': json['organizationName'],
|
|
58
62
|
'email': json['email'],
|
|
59
63
|
'status': json['status'],
|
|
60
64
|
'invitedByUserId': json['invitedByUserId'] == null ? undefined : json['invitedByUserId'],
|
|
@@ -62,6 +66,7 @@ export function OrganizationInvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
66
|
'acceptedMembershipId': json['acceptedMembershipId'] == null ? undefined : json['acceptedMembershipId'],
|
|
63
67
|
'expiresAt': (new Date(json['expiresAt'])),
|
|
64
68
|
'acceptedAt': json['acceptedAt'] == null ? undefined : (new Date(json['acceptedAt'])),
|
|
69
|
+
'emailSentAt': json['emailSentAt'] == null ? undefined : (new Date(json['emailSentAt'])),
|
|
65
70
|
'roleAssignments': (json['roleAssignments'].map(RoleAssignmentFromJSON)),
|
|
66
71
|
'createdAt': (new Date(json['createdAt'])),
|
|
67
72
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -78,6 +83,7 @@ export function OrganizationInvitationToJSONTyped(value, ignoreDiscriminator = f
|
|
|
78
83
|
return {
|
|
79
84
|
'id': value['id'],
|
|
80
85
|
'organizationId': value['organizationId'],
|
|
86
|
+
'organizationName': value['organizationName'],
|
|
81
87
|
'email': value['email'],
|
|
82
88
|
'status': value['status'],
|
|
83
89
|
'invitedByUserId': value['invitedByUserId'],
|
|
@@ -85,6 +91,7 @@ export function OrganizationInvitationToJSONTyped(value, ignoreDiscriminator = f
|
|
|
85
91
|
'acceptedMembershipId': value['acceptedMembershipId'],
|
|
86
92
|
'expiresAt': value['expiresAt'].toISOString(),
|
|
87
93
|
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
|
|
94
|
+
'emailSentAt': value['emailSentAt'] == null ? value['emailSentAt'] : value['emailSentAt'].toISOString(),
|
|
88
95
|
'roleAssignments': (value['roleAssignments'].map(RoleAssignmentToJSON)),
|
|
89
96
|
'createdAt': value['createdAt'].toISOString(),
|
|
90
97
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
@@ -57,6 +57,12 @@ export interface Principal {
|
|
|
57
57
|
* @memberof Principal
|
|
58
58
|
*/
|
|
59
59
|
email?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the identity provider reported the user's email verified at their last sign-in, when the principal is a user
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof Principal
|
|
64
|
+
*/
|
|
65
|
+
emailVerified?: boolean;
|
|
60
66
|
/**
|
|
61
67
|
* Human-readable principal display name
|
|
62
68
|
* @type {string}
|
|
@@ -64,6 +64,7 @@ export function PrincipalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
64
|
'serviceAccountId': json['serviceAccountId'] == null ? undefined : json['serviceAccountId'],
|
|
65
65
|
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
66
66
|
'email': json['email'] == null ? undefined : json['email'],
|
|
67
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
67
68
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
68
69
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
69
70
|
'authenticationMethod': json['authenticationMethod'] == null ? undefined : json['authenticationMethod'],
|
|
@@ -85,6 +86,7 @@ export function PrincipalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
86
|
'serviceAccountId': value['serviceAccountId'],
|
|
86
87
|
'agentId': value['agentId'],
|
|
87
88
|
'email': value['email'],
|
|
89
|
+
'emailVerified': value['emailVerified'],
|
|
88
90
|
'displayName': value['displayName'],
|
|
89
91
|
'provider': value['provider'],
|
|
90
92
|
'authenticationMethod': value['authenticationMethod'],
|
|
@@ -13,6 +13,7 @@ import type { EnvironmentIngressPolicy } from './EnvironmentIngressPolicy';
|
|
|
13
13
|
import type { EnvironmentPlatformRequest } from './EnvironmentPlatformRequest';
|
|
14
14
|
import type { EnvironmentEgressPolicy } from './EnvironmentEgressPolicy';
|
|
15
15
|
import type { EnvironmentProvisionSpecRequest } from './EnvironmentProvisionSpecRequest';
|
|
16
|
+
import type { EnvironmentHooksRequest } from './EnvironmentHooksRequest';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
@@ -49,6 +50,18 @@ export interface UpdateEnvironmentRequest {
|
|
|
49
50
|
* @memberof UpdateEnvironmentRequest
|
|
50
51
|
*/
|
|
51
52
|
provisionSpec?: EnvironmentProvisionSpecRequest;
|
|
53
|
+
/**
|
|
54
|
+
* The absolute folder every conversation's agent starts in, on every kind: a path starting with / on linux and macos, and a drive or UNC path on windows, at most 1024 characters. A machine keeps the value it was created with. The worker creates the folder when it is missing, owned by the account the agent runs as, and an agent placement whose folder cannot be created or entered fails. Absent, the agent starts in the worker's own folder for its harness. On an update, absent leaves the stored value and an empty one clears it.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateEnvironmentRequest
|
|
57
|
+
*/
|
|
58
|
+
workingDirectory?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Scripts the worker runs at points of a machine's and an agent's life. onStartMachine and onStartAgent are built; onStartSession, onStopSession, onStopAgent and onStopMachine are reserved. On an update, an absent object or member leaves the stored hook.
|
|
61
|
+
* @type {EnvironmentHooksRequest}
|
|
62
|
+
* @memberof UpdateEnvironmentRequest
|
|
63
|
+
*/
|
|
64
|
+
hooks?: EnvironmentHooksRequest;
|
|
52
65
|
/**
|
|
53
66
|
* Labels: the customer's key-to-value tags; the platform reads no key. Merged into the stored labels as a JSON Merge Patch: absent leaves them, a key with a string sets it, a key with null removes it, and null removes them all
|
|
54
67
|
* @type {{ [key: string]: string | null; }}
|
|
@@ -15,6 +15,7 @@ import { EnvironmentIngressPolicyFromJSON, EnvironmentIngressPolicyToJSON, } fro
|
|
|
15
15
|
import { EnvironmentPlatformRequestFromJSON, EnvironmentPlatformRequestToJSON, } from './EnvironmentPlatformRequest';
|
|
16
16
|
import { EnvironmentEgressPolicyFromJSON, EnvironmentEgressPolicyToJSON, } from './EnvironmentEgressPolicy';
|
|
17
17
|
import { EnvironmentProvisionSpecRequestFromJSON, EnvironmentProvisionSpecRequestToJSON, } from './EnvironmentProvisionSpecRequest';
|
|
18
|
+
import { EnvironmentHooksRequestFromJSON, EnvironmentHooksRequestToJSON, } from './EnvironmentHooksRequest';
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the UpdateEnvironmentRequest interface.
|
|
20
21
|
*/
|
|
@@ -34,6 +35,8 @@ export function UpdateEnvironmentRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
35
|
'egressPolicy': json['egressPolicy'] == null ? undefined : EnvironmentEgressPolicyFromJSON(json['egressPolicy']),
|
|
35
36
|
'ingressPolicy': json['ingressPolicy'] == null ? undefined : EnvironmentIngressPolicyFromJSON(json['ingressPolicy']),
|
|
36
37
|
'provisionSpec': json['provisionSpec'] == null ? undefined : EnvironmentProvisionSpecRequestFromJSON(json['provisionSpec']),
|
|
38
|
+
'workingDirectory': json['workingDirectory'] == null ? undefined : json['workingDirectory'],
|
|
39
|
+
'hooks': json['hooks'] == null ? undefined : EnvironmentHooksRequestFromJSON(json['hooks']),
|
|
37
40
|
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
38
41
|
};
|
|
39
42
|
}
|
|
@@ -50,6 +53,8 @@ export function UpdateEnvironmentRequestToJSONTyped(value, ignoreDiscriminator =
|
|
|
50
53
|
'egressPolicy': EnvironmentEgressPolicyToJSON(value['egressPolicy']),
|
|
51
54
|
'ingressPolicy': EnvironmentIngressPolicyToJSON(value['ingressPolicy']),
|
|
52
55
|
'provisionSpec': EnvironmentProvisionSpecRequestToJSON(value['provisionSpec']),
|
|
56
|
+
'workingDirectory': value['workingDirectory'],
|
|
57
|
+
'hooks': EnvironmentHooksRequestToJSON(value['hooks']),
|
|
53
58
|
'labels': value['labels'],
|
|
54
59
|
};
|
|
55
60
|
}
|
package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface UpdateOrganizationInvitationRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
roleAssignments?: Array<RoleAssignment>;
|
|
31
31
|
/**
|
|
32
|
-
* Invitation expiration timestamp
|
|
32
|
+
* Invitation expiration timestamp, 1 to 30 days ahead
|
|
33
33
|
* @type {Date}
|
|
34
34
|
* @memberof UpdateOrganizationInvitationRequest
|
|
35
35
|
*/
|
|
@@ -51,6 +51,7 @@ export declare const UpdateOrganizationInvitationRequestStatusEnum: {
|
|
|
51
51
|
readonly Accepted: "ACCEPTED";
|
|
52
52
|
readonly Expired: "EXPIRED";
|
|
53
53
|
readonly Revoked: "REVOKED";
|
|
54
|
+
readonly Declined: "DECLINED";
|
|
54
55
|
};
|
|
55
56
|
export type UpdateOrganizationInvitationRequestStatusEnum = typeof UpdateOrganizationInvitationRequestStatusEnum[keyof typeof UpdateOrganizationInvitationRequestStatusEnum];
|
|
56
57
|
/**
|
package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.js
CHANGED
|
@@ -19,7 +19,8 @@ export const UpdateOrganizationInvitationRequestStatusEnum = {
|
|
|
19
19
|
Pending: 'PENDING',
|
|
20
20
|
Accepted: 'ACCEPTED',
|
|
21
21
|
Expired: 'EXPIRED',
|
|
22
|
-
Revoked: 'REVOKED'
|
|
22
|
+
Revoked: 'REVOKED',
|
|
23
|
+
Declined: 'DECLINED'
|
|
23
24
|
};
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the UpdateOrganizationInvitationRequest interface.
|
|
@@ -39,6 +39,12 @@ export interface User {
|
|
|
39
39
|
* @memberof User
|
|
40
40
|
*/
|
|
41
41
|
status: UserStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the identity provider reported this email address verified at the person's last sign-in. Server-owned; set by sign-in only.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof User
|
|
46
|
+
*/
|
|
47
|
+
emailVerified: boolean;
|
|
42
48
|
/**
|
|
43
49
|
* Labels: the customer's key-to-value tags; the platform reads no key
|
|
44
50
|
* @type {{ [key: string]: string; }}
|
|
@@ -28,6 +28,8 @@ export function instanceOfUser(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('status' in value) || value['status'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('emailVerified' in value) || value['emailVerified'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('labels' in value) || value['labels'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -48,6 +50,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
50
|
'email': json['email'],
|
|
49
51
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
50
52
|
'status': json['status'],
|
|
53
|
+
'emailVerified': json['emailVerified'],
|
|
51
54
|
'labels': json['labels'],
|
|
52
55
|
'createdAt': (new Date(json['createdAt'])),
|
|
53
56
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -65,6 +68,7 @@ export function UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
68
|
'email': value['email'],
|
|
66
69
|
'displayName': value['displayName'],
|
|
67
70
|
'status': value['status'],
|
|
71
|
+
'emailVerified': value['emailVerified'],
|
|
68
72
|
'labels': value['labels'],
|
|
69
73
|
'createdAt': value['createdAt'].toISOString(),
|
|
70
74
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
@@ -124,6 +124,9 @@ export * from './Environment';
|
|
|
124
124
|
export * from './EnvironmentDisk';
|
|
125
125
|
export * from './EnvironmentDiskMount';
|
|
126
126
|
export * from './EnvironmentEgressPolicy';
|
|
127
|
+
export * from './EnvironmentHook';
|
|
128
|
+
export * from './EnvironmentHooks';
|
|
129
|
+
export * from './EnvironmentHooksRequest';
|
|
127
130
|
export * from './EnvironmentIngressPolicy';
|
|
128
131
|
export * from './EnvironmentMount';
|
|
129
132
|
export * from './EnvironmentPlatform';
|
|
@@ -126,6 +126,9 @@ export * from './Environment';
|
|
|
126
126
|
export * from './EnvironmentDisk';
|
|
127
127
|
export * from './EnvironmentDiskMount';
|
|
128
128
|
export * from './EnvironmentEgressPolicy';
|
|
129
|
+
export * from './EnvironmentHook';
|
|
130
|
+
export * from './EnvironmentHooks';
|
|
131
|
+
export * from './EnvironmentHooksRequest';
|
|
129
132
|
export * from './EnvironmentIngressPolicy';
|
|
130
133
|
export * from './EnvironmentMount';
|
|
131
134
|
export * from './EnvironmentPlatform';
|
|
@@ -20,7 +20,7 @@ import type { ComputeProviderHealth } from './ComputeProviderHealth';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface ComputeProvider {
|
|
22
22
|
/**
|
|
23
|
-
* Compute provider id: a self-hosted record's TypeID, or
|
|
23
|
+
* Compute provider id: a self-hosted record's TypeID, or cprov_orchestra for the managed provider
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ComputeProvider
|
|
26
26
|
*/
|
|
@@ -32,7 +32,7 @@ export interface ComputeProvider {
|
|
|
32
32
|
*/
|
|
33
33
|
kind: ComputeProviderKindEnum;
|
|
34
34
|
/**
|
|
35
|
-
* A self-hosted record's slug, fixed at create
|
|
35
|
+
* A self-hosted record's slug, fixed at create, or orchestra for the managed provider
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof ComputeProvider
|
|
38
38
|
*/
|
|
@@ -92,7 +92,7 @@ export interface ComputeProvider {
|
|
|
92
92
|
*/
|
|
93
93
|
state?: ComputeProviderStateEnum;
|
|
94
94
|
/**
|
|
95
|
-
* The operating systems and architectures
|
|
95
|
+
* The operating systems and architectures the managed provider runs
|
|
96
96
|
* @type {Array<EnvironmentPlatform>}
|
|
97
97
|
* @memberof ComputeProvider
|
|
98
98
|
*/
|