sandbox0 0.9.0 → 0.9.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/README.md +31 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +1 -6
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +0 -15
- package/dist/apispec/src/apis/TemplatesApi.d.ts +15 -1
- package/dist/apispec/src/apis/TemplatesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/TemplatesApi.js +40 -1
- package/dist/apispec/src/models/ExecutionSessionSpec.d.ts +0 -7
- package/dist/apispec/src/models/ExecutionSessionSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ExecutionSessionSpec.js +0 -3
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +1 -9
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityEvent.js +1 -5
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts +0 -7
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.js +0 -5
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +0 -8
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +0 -4
- package/dist/apispec/src/models/SandboxTemplateStatus.d.ts +7 -0
- package/dist/apispec/src/models/SandboxTemplateStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateStatus.js +3 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts +12 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxVolume.js +4 -0
- package/dist/apispec/src/models/TemplateCreationStatus.d.ts +99 -0
- package/dist/apispec/src/models/TemplateCreationStatus.d.ts.map +1 -0
- package/dist/apispec/src/models/TemplateCreationStatus.js +75 -0
- package/dist/apispec/src/models/TemplateFromSandboxCreateRequest.d.ts +46 -0
- package/dist/apispec/src/models/TemplateFromSandboxCreateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/TemplateFromSandboxCreateRequest.js +50 -0
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts +55 -0
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts.map +1 -0
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.js +48 -0
- package/dist/apispec/src/models/index.d.ts +3 -4
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +3 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -39
- package/dist/errors.d.ts +18 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +28 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models.d.ts +18 -16
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +7 -59
- package/dist/resources/templates.d.ts +5 -1
- package/dist/resources/templates.d.ts.map +1 -1
- package/dist/resources/templates.js +50 -3
- package/dist/template_helpers.d.ts +2 -1
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +7 -0
- package/dist/wait.d.ts +4 -0
- package/dist/wait.d.ts.map +1 -0
- package/dist/wait.js +52 -0
- package/package.json +1 -1
- package/dist/apispec/src/models/ExecutionSessionScopeSpec.d.ts +0 -48
- package/dist/apispec/src/models/ExecutionSessionScopeSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/ExecutionSessionScopeSpec.js +0 -51
- package/dist/apispec/src/models/SandboxAuditExecutionScope.d.ts +0 -54
- package/dist/apispec/src/models/SandboxAuditExecutionScope.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxAuditExecutionScope.js +0 -56
- package/dist/apispec/src/models/SandboxAuditExecutionScopeAttribution.d.ts +0 -25
- package/dist/apispec/src/models/SandboxAuditExecutionScopeAttribution.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxAuditExecutionScopeAttribution.js +0 -42
- package/dist/apispec/src/models/SandboxObservabilityEffectiveEventQuery.d.ts +0 -60
- package/dist/apispec/src/models/SandboxObservabilityEffectiveEventQuery.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxObservabilityEffectiveEventQuery.js +0 -52
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sandbox0 API
|
|
5
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
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 { SandboxAuditExecutionScopeAttributionFromJSON, SandboxAuditExecutionScopeAttributionToJSON, } from './SandboxAuditExecutionScopeAttribution.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SandboxAuditExecutionScope interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSandboxAuditExecutionScope(value) {
|
|
19
|
-
if (!('namespace' in value) || value['namespace'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('kind' in value) || value['kind'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('attribution' in value) || value['attribution'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function SandboxAuditExecutionScopeFromJSON(json) {
|
|
30
|
-
return SandboxAuditExecutionScopeFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function SandboxAuditExecutionScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'namespace': json['namespace'],
|
|
38
|
-
'kind': json['kind'],
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'attribution': SandboxAuditExecutionScopeAttributionFromJSON(json['attribution']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function SandboxAuditExecutionScopeToJSON(json) {
|
|
44
|
-
return SandboxAuditExecutionScopeToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function SandboxAuditExecutionScopeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'namespace': value['namespace'],
|
|
52
|
-
'kind': value['kind'],
|
|
53
|
-
'id': value['id'],
|
|
54
|
-
'attribution': SandboxAuditExecutionScopeAttributionToJSON(value['attribution']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sandbox0 API
|
|
3
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const SandboxAuditExecutionScopeAttribution: {
|
|
17
|
-
readonly ProcessEnvironment: "process_environment";
|
|
18
|
-
};
|
|
19
|
-
export type SandboxAuditExecutionScopeAttribution = typeof SandboxAuditExecutionScopeAttribution[keyof typeof SandboxAuditExecutionScopeAttribution];
|
|
20
|
-
export declare function instanceOfSandboxAuditExecutionScopeAttribution(value: any): boolean;
|
|
21
|
-
export declare function SandboxAuditExecutionScopeAttributionFromJSON(json: any): SandboxAuditExecutionScopeAttribution;
|
|
22
|
-
export declare function SandboxAuditExecutionScopeAttributionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditExecutionScopeAttribution;
|
|
23
|
-
export declare function SandboxAuditExecutionScopeAttributionToJSON(value?: SandboxAuditExecutionScopeAttribution | null): any;
|
|
24
|
-
export declare function SandboxAuditExecutionScopeAttributionToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxAuditExecutionScopeAttribution;
|
|
25
|
-
//# sourceMappingURL=SandboxAuditExecutionScopeAttribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxAuditExecutionScopeAttribution.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditExecutionScopeAttribution.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,qCAAqC;;CAExC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASnF;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAEjJ;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,GAAG,GAAG,CAErH;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAEhJ"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sandbox0 API
|
|
5
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
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
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const SandboxAuditExecutionScopeAttribution = {
|
|
19
|
-
ProcessEnvironment: 'process_environment'
|
|
20
|
-
};
|
|
21
|
-
export function instanceOfSandboxAuditExecutionScopeAttribution(value) {
|
|
22
|
-
for (const key in SandboxAuditExecutionScopeAttribution) {
|
|
23
|
-
if (Object.prototype.hasOwnProperty.call(SandboxAuditExecutionScopeAttribution, key)) {
|
|
24
|
-
if (SandboxAuditExecutionScopeAttribution[key] === value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
export function SandboxAuditExecutionScopeAttributionFromJSON(json) {
|
|
32
|
-
return SandboxAuditExecutionScopeAttributionFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function SandboxAuditExecutionScopeAttributionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
export function SandboxAuditExecutionScopeAttributionToJSON(value) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
export function SandboxAuditExecutionScopeAttributionToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sandbox0 API
|
|
3
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
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 { SandboxAuditExecutionScopeAttribution } from './SandboxAuditExecutionScopeAttribution.js';
|
|
13
|
-
/**
|
|
14
|
-
* Normalized schema ceiling and execution-scope filters applied by the
|
|
15
|
-
* server. This metadata is returned even when no events match.
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SandboxObservabilityEffectiveEventQuery
|
|
19
|
-
*/
|
|
20
|
-
export interface SandboxObservabilityEffectiveEventQuery {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof SandboxObservabilityEffectiveEventQuery
|
|
25
|
-
*/
|
|
26
|
-
maxSchemaVersion: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof SandboxObservabilityEffectiveEventQuery
|
|
31
|
-
*/
|
|
32
|
-
executionScopeNamespace?: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof SandboxObservabilityEffectiveEventQuery
|
|
37
|
-
*/
|
|
38
|
-
executionScopeKind?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof SandboxObservabilityEffectiveEventQuery
|
|
43
|
-
*/
|
|
44
|
-
executionScopeId?: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {SandboxAuditExecutionScopeAttribution}
|
|
48
|
-
* @memberof SandboxObservabilityEffectiveEventQuery
|
|
49
|
-
*/
|
|
50
|
-
executionScopeAttribution?: SandboxAuditExecutionScopeAttribution;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the SandboxObservabilityEffectiveEventQuery interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfSandboxObservabilityEffectiveEventQuery(value: object): value is SandboxObservabilityEffectiveEventQuery;
|
|
56
|
-
export declare function SandboxObservabilityEffectiveEventQueryFromJSON(json: any): SandboxObservabilityEffectiveEventQuery;
|
|
57
|
-
export declare function SandboxObservabilityEffectiveEventQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityEffectiveEventQuery;
|
|
58
|
-
export declare function SandboxObservabilityEffectiveEventQueryToJSON(json: any): SandboxObservabilityEffectiveEventQuery;
|
|
59
|
-
export declare function SandboxObservabilityEffectiveEventQueryToJSONTyped(value?: SandboxObservabilityEffectiveEventQuery | null, ignoreDiscriminator?: boolean): any;
|
|
60
|
-
//# sourceMappingURL=SandboxObservabilityEffectiveEventQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxObservabilityEffectiveEventQuery.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEffectiveEventQuery.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;;;GAMG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,qCAAqC,CAAC;CACrE;AAID;;GAEG;AACH,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uCAAuC,CAGjI;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAElH;AAED,wBAAgB,oDAAoD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uCAAuC,CAYrJ;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAEhH;AAED,wBAAgB,kDAAkD,CAAC,KAAK,CAAC,EAAE,uCAAuC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapK"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sandbox0 API
|
|
5
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
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 { SandboxAuditExecutionScopeAttributionFromJSON, SandboxAuditExecutionScopeAttributionToJSON, } from './SandboxAuditExecutionScopeAttribution.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SandboxObservabilityEffectiveEventQuery interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSandboxObservabilityEffectiveEventQuery(value) {
|
|
19
|
-
if (!('maxSchemaVersion' in value) || value['maxSchemaVersion'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function SandboxObservabilityEffectiveEventQueryFromJSON(json) {
|
|
24
|
-
return SandboxObservabilityEffectiveEventQueryFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function SandboxObservabilityEffectiveEventQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'maxSchemaVersion': json['max_schema_version'],
|
|
32
|
-
'executionScopeNamespace': json['execution_scope_namespace'] == null ? undefined : json['execution_scope_namespace'],
|
|
33
|
-
'executionScopeKind': json['execution_scope_kind'] == null ? undefined : json['execution_scope_kind'],
|
|
34
|
-
'executionScopeId': json['execution_scope_id'] == null ? undefined : json['execution_scope_id'],
|
|
35
|
-
'executionScopeAttribution': json['execution_scope_attribution'] == null ? undefined : SandboxAuditExecutionScopeAttributionFromJSON(json['execution_scope_attribution']),
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export function SandboxObservabilityEffectiveEventQueryToJSON(json) {
|
|
39
|
-
return SandboxObservabilityEffectiveEventQueryToJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
export function SandboxObservabilityEffectiveEventQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'max_schema_version': value['maxSchemaVersion'],
|
|
47
|
-
'execution_scope_namespace': value['executionScopeNamespace'],
|
|
48
|
-
'execution_scope_kind': value['executionScopeKind'],
|
|
49
|
-
'execution_scope_id': value['executionScopeId'],
|
|
50
|
-
'execution_scope_attribution': SandboxAuditExecutionScopeAttributionToJSON(value['executionScopeAttribution']),
|
|
51
|
-
};
|
|
52
|
-
}
|