sandbox0 0.4.4 → 0.5.1
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/dist/apispec/src/apis/QuotasApi.d.ts +53 -0
- package/dist/apispec/src/apis/QuotasApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/QuotasApi.js +124 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +4 -15
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +2 -12
- package/dist/apispec/src/apis/index.d.ts +1 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -1
- package/dist/apispec/src/models/ClaimResponse.d.ts +3 -2
- package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimResponse.js +3 -2
- package/dist/apispec/src/models/EgressAuthRolloutMode.d.ts +2 -2
- package/dist/apispec/src/models/EgressAuthRolloutMode.js +2 -2
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +33 -0
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/PutTeamQuotaRequest.js +43 -0
- package/dist/apispec/src/models/QuotaDimension.d.ts +31 -0
- package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -0
- package/dist/apispec/src/models/QuotaDimension.js +48 -0
- package/dist/apispec/src/models/Sandbox.d.ts +3 -2
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -2
- package/dist/apispec/src/models/SandboxAppService.d.ts +1 -1
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +2 -2
- package/dist/apispec/src/models/SandboxConfig.d.ts +1 -1
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +30 -0
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxLifecycleStatus.js +47 -0
- package/dist/apispec/src/models/SandboxStatus.d.ts +3 -2
- package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxStatus.js +3 -2
- package/dist/apispec/src/models/SandboxSummary.d.ts +3 -13
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +3 -12
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +1 -1
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.js +46 -0
- package/dist/apispec/src/models/TeamQuota.d.ts +46 -0
- package/dist/apispec/src/models/TeamQuota.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamQuota.js +50 -0
- package/dist/apispec/src/models/index.d.ts +5 -44
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +5 -44
- package/dist/apispec_compat.d.ts +44 -273
- package/dist/apispec_compat.d.ts.map +1 -1
- package/dist/client.d.ts +0 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +0 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
- package/dist/apispec/src/apis/FunctionsApi.d.ts +0 -186
- package/dist/apispec/src/apis/FunctionsApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/FunctionsApi.js +0 -516
- package/dist/apispec/src/models/Function.d.ts +0 -100
- package/dist/apispec/src/models/Function.d.ts.map +0 -1
- package/dist/apispec/src/models/Function.js +0 -82
- package/dist/apispec/src/models/FunctionAlias.d.ts +0 -63
- package/dist/apispec/src/models/FunctionAlias.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionAlias.js +0 -61
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +0 -33
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +0 -43
- package/dist/apispec/src/models/FunctionAutoscaling.d.ts +0 -51
- package/dist/apispec/src/models/FunctionAutoscaling.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionAutoscaling.js +0 -55
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts +0 -47
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionCreateRequest.js +0 -49
- package/dist/apispec/src/models/FunctionEnvRef.d.ts +0 -39
- package/dist/apispec/src/models/FunctionEnvRef.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionEnvRef.js +0 -47
- package/dist/apispec/src/models/FunctionRecord.d.ts +0 -112
- package/dist/apispec/src/models/FunctionRecord.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRecord.js +0 -90
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts +0 -51
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRestoreMount.js +0 -51
- package/dist/apispec/src/models/FunctionRevision.d.ts +0 -135
- package/dist/apispec/src/models/FunctionRevision.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevision.js +0 -91
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +0 -40
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +0 -46
- package/dist/apispec/src/models/FunctionRevisionInputSourceType.d.ts +0 -26
- package/dist/apispec/src/models/FunctionRevisionInputSourceType.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionInputSourceType.js +0 -43
- package/dist/apispec/src/models/FunctionRevisionMount.d.ts +0 -66
- package/dist/apispec/src/models/FunctionRevisionMount.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionMount.js +0 -61
- package/dist/apispec/src/models/FunctionRevisionMountSource.d.ts +0 -72
- package/dist/apispec/src/models/FunctionRevisionMountSource.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionMountSource.js +0 -61
- package/dist/apispec/src/models/FunctionRevisionSourceType.d.ts +0 -27
- package/dist/apispec/src/models/FunctionRevisionSourceType.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionSourceType.js +0 -44
- package/dist/apispec/src/models/FunctionRevisionSpec.d.ts +0 -61
- package/dist/apispec/src/models/FunctionRevisionSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionSpec.js +0 -57
- package/dist/apispec/src/models/FunctionRuntimeEvent.d.ts +0 -107
- package/dist/apispec/src/models/FunctionRuntimeEvent.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeEvent.js +0 -81
- package/dist/apispec/src/models/FunctionRuntimeInstance.d.ts +0 -131
- package/dist/apispec/src/models/FunctionRuntimeInstance.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeInstance.js +0 -93
- package/dist/apispec/src/models/FunctionRuntimeInstanceState.d.ts +0 -28
- package/dist/apispec/src/models/FunctionRuntimeInstanceState.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeInstanceState.js +0 -45
- package/dist/apispec/src/models/FunctionRuntimePhase.d.ts +0 -31
- package/dist/apispec/src/models/FunctionRuntimePhase.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimePhase.js +0 -48
- package/dist/apispec/src/models/FunctionRuntimeReadinessState.d.ts +0 -28
- package/dist/apispec/src/models/FunctionRuntimeReadinessState.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeReadinessState.js +0 -45
- package/dist/apispec/src/models/FunctionRuntimeState.d.ts +0 -27
- package/dist/apispec/src/models/FunctionRuntimeState.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeState.js +0 -44
- package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts +0 -123
- package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeStatus.js +0 -89
- package/dist/apispec/src/models/FunctionSandboxServiceSource.d.ts +0 -39
- package/dist/apispec/src/models/FunctionSandboxServiceSource.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionSandboxServiceSource.js +0 -47
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts +0 -69
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionSourceRequest.js +0 -54
- package/dist/apispec/src/models/FunctionStaticAsset.d.ts +0 -45
- package/dist/apispec/src/models/FunctionStaticAsset.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionStaticAsset.js +0 -49
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +0 -46
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionUpdateRequest.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +0 -48
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +0 -54
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +0 -48
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.js +0 -44
- package/dist/resources/functions.d.ts +0 -44
- package/dist/resources/functions.d.ts.map +0 -1
- package/dist/resources/functions.js +0 -158
|
@@ -1,43 +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 FunctionRevisionInputSourceType = {
|
|
19
|
-
SandboxService: 'sandbox_service',
|
|
20
|
-
RevisionSpec: 'revision_spec'
|
|
21
|
-
};
|
|
22
|
-
export function instanceOfFunctionRevisionInputSourceType(value) {
|
|
23
|
-
for (const key in FunctionRevisionInputSourceType) {
|
|
24
|
-
if (Object.prototype.hasOwnProperty.call(FunctionRevisionInputSourceType, key)) {
|
|
25
|
-
if (FunctionRevisionInputSourceType[key] === value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
export function FunctionRevisionInputSourceTypeFromJSON(json) {
|
|
33
|
-
return FunctionRevisionInputSourceTypeFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function FunctionRevisionInputSourceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
export function FunctionRevisionInputSourceTypeToJSON(value) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
export function FunctionRevisionInputSourceTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
@@ -1,66 +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 { FunctionRevisionMountSource } from './FunctionRevisionMountSource.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FunctionRevisionMount
|
|
17
|
-
*/
|
|
18
|
-
export interface FunctionRevisionMount {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FunctionRevisionMount
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof FunctionRevisionMount
|
|
29
|
-
*/
|
|
30
|
-
mountPoint: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof FunctionRevisionMount
|
|
35
|
-
*/
|
|
36
|
-
mode?: FunctionRevisionMountModeEnum;
|
|
37
|
-
/**
|
|
38
|
-
* Optional materialization policy such as fork_per_runtime for future artifact/volume flows.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof FunctionRevisionMount
|
|
41
|
-
*/
|
|
42
|
-
materialization?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {FunctionRevisionMountSource}
|
|
46
|
-
* @memberof FunctionRevisionMount
|
|
47
|
-
*/
|
|
48
|
-
source: FunctionRevisionMountSource;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @export
|
|
52
|
-
*/
|
|
53
|
-
export declare const FunctionRevisionMountModeEnum: {
|
|
54
|
-
readonly ReadOnly: "read_only";
|
|
55
|
-
readonly ReadWrite: "read_write";
|
|
56
|
-
};
|
|
57
|
-
export type FunctionRevisionMountModeEnum = typeof FunctionRevisionMountModeEnum[keyof typeof FunctionRevisionMountModeEnum];
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the FunctionRevisionMount interface.
|
|
60
|
-
*/
|
|
61
|
-
export declare function instanceOfFunctionRevisionMount(value: object): value is FunctionRevisionMount;
|
|
62
|
-
export declare function FunctionRevisionMountFromJSON(json: any): FunctionRevisionMount;
|
|
63
|
-
export declare function FunctionRevisionMountFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionMount;
|
|
64
|
-
export declare function FunctionRevisionMountToJSON(json: any): FunctionRevisionMount;
|
|
65
|
-
export declare function FunctionRevisionMountToJSONTyped(value?: FunctionRevisionMount | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
-
//# sourceMappingURL=FunctionRevisionMount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionMount.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionMount.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,6BAA6B,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,2BAA2B,CAAC;CACvC;AAGD;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahI"}
|
|
@@ -1,61 +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 { FunctionRevisionMountSourceFromJSON, FunctionRevisionMountSourceToJSON, } from './FunctionRevisionMountSource.js';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const FunctionRevisionMountModeEnum = {
|
|
19
|
-
ReadOnly: 'read_only',
|
|
20
|
-
ReadWrite: 'read_write'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the FunctionRevisionMount interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfFunctionRevisionMount(value) {
|
|
26
|
-
if (!('mountPoint' in value) || value['mountPoint'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
export function FunctionRevisionMountFromJSON(json) {
|
|
33
|
-
return FunctionRevisionMountFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function FunctionRevisionMountFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
-
'mountPoint': json['mount_point'],
|
|
42
|
-
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
43
|
-
'materialization': json['materialization'] == null ? undefined : json['materialization'],
|
|
44
|
-
'source': FunctionRevisionMountSourceFromJSON(json['source']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function FunctionRevisionMountToJSON(json) {
|
|
48
|
-
return FunctionRevisionMountToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
export function FunctionRevisionMountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'name': value['name'],
|
|
56
|
-
'mount_point': value['mountPoint'],
|
|
57
|
-
'mode': value['mode'],
|
|
58
|
-
'materialization': value['materialization'],
|
|
59
|
-
'source': FunctionRevisionMountSourceToJSON(value['source']),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,72 +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
|
-
* @interface FunctionRevisionMountSource
|
|
16
|
-
*/
|
|
17
|
-
export interface FunctionRevisionMountSource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FunctionRevisionMountSource
|
|
22
|
-
*/
|
|
23
|
-
type: FunctionRevisionMountSourceTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Prepared SandboxVolume ID available to the runtime claim path.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionRevisionMountSource
|
|
28
|
-
*/
|
|
29
|
-
sandboxvolumeId?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Source SandboxVolume captured by a sandbox-service publish.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FunctionRevisionMountSource
|
|
34
|
-
*/
|
|
35
|
-
sourceSandboxvolumeId?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Immutable snapshot used to materialize this mount.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof FunctionRevisionMountSource
|
|
40
|
-
*/
|
|
41
|
-
snapshotId?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Future first-class Function artifact ID.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof FunctionRevisionMountSource
|
|
46
|
-
*/
|
|
47
|
-
artifactId?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Content digest for artifact-backed sources.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof FunctionRevisionMountSource
|
|
52
|
-
*/
|
|
53
|
-
digest?: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const FunctionRevisionMountSourceTypeEnum: {
|
|
59
|
-
readonly SandboxVolume: "sandbox_volume";
|
|
60
|
-
readonly Artifact: "artifact";
|
|
61
|
-
readonly VolumeSnapshot: "volume_snapshot";
|
|
62
|
-
};
|
|
63
|
-
export type FunctionRevisionMountSourceTypeEnum = typeof FunctionRevisionMountSourceTypeEnum[keyof typeof FunctionRevisionMountSourceTypeEnum];
|
|
64
|
-
/**
|
|
65
|
-
* Check if a given object implements the FunctionRevisionMountSource interface.
|
|
66
|
-
*/
|
|
67
|
-
export declare function instanceOfFunctionRevisionMountSource(value: object): value is FunctionRevisionMountSource;
|
|
68
|
-
export declare function FunctionRevisionMountSourceFromJSON(json: any): FunctionRevisionMountSource;
|
|
69
|
-
export declare function FunctionRevisionMountSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionMountSource;
|
|
70
|
-
export declare function FunctionRevisionMountSourceToJSON(json: any): FunctionRevisionMountSource;
|
|
71
|
-
export declare function FunctionRevisionMountSourceToJSONTyped(value?: FunctionRevisionMountSource | null, ignoreDiscriminator?: boolean): any;
|
|
72
|
-
//# sourceMappingURL=FunctionRevisionMountSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionMountSource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionMountSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,IAAI,EAAE,mCAAmC,CAAC;IAC1C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAa7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5I"}
|
|
@@ -1,61 +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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const FunctionRevisionMountSourceTypeEnum = {
|
|
18
|
-
SandboxVolume: 'sandbox_volume',
|
|
19
|
-
Artifact: 'artifact',
|
|
20
|
-
VolumeSnapshot: 'volume_snapshot'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the FunctionRevisionMountSource interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfFunctionRevisionMountSource(value) {
|
|
26
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function FunctionRevisionMountSourceFromJSON(json) {
|
|
31
|
-
return FunctionRevisionMountSourceFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function FunctionRevisionMountSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'type': json['type'],
|
|
39
|
-
'sandboxvolumeId': json['sandboxvolume_id'] == null ? undefined : json['sandboxvolume_id'],
|
|
40
|
-
'sourceSandboxvolumeId': json['source_sandboxvolume_id'] == null ? undefined : json['source_sandboxvolume_id'],
|
|
41
|
-
'snapshotId': json['snapshot_id'] == null ? undefined : json['snapshot_id'],
|
|
42
|
-
'artifactId': json['artifact_id'] == null ? undefined : json['artifact_id'],
|
|
43
|
-
'digest': json['digest'] == null ? undefined : json['digest'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export function FunctionRevisionMountSourceToJSON(json) {
|
|
47
|
-
return FunctionRevisionMountSourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function FunctionRevisionMountSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'type': value['type'],
|
|
55
|
-
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
56
|
-
'source_sandboxvolume_id': value['sourceSandboxvolumeId'],
|
|
57
|
-
'snapshot_id': value['snapshotId'],
|
|
58
|
-
'artifact_id': value['artifactId'],
|
|
59
|
-
'digest': value['digest'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,27 +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 FunctionRevisionSourceType: {
|
|
17
|
-
readonly SandboxService: "sandbox_service";
|
|
18
|
-
readonly RevisionSpec: "revision_spec";
|
|
19
|
-
readonly Artifact: "artifact";
|
|
20
|
-
};
|
|
21
|
-
export type FunctionRevisionSourceType = typeof FunctionRevisionSourceType[keyof typeof FunctionRevisionSourceType];
|
|
22
|
-
export declare function instanceOfFunctionRevisionSourceType(value: any): boolean;
|
|
23
|
-
export declare function FunctionRevisionSourceTypeFromJSON(json: any): FunctionRevisionSourceType;
|
|
24
|
-
export declare function FunctionRevisionSourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionSourceType;
|
|
25
|
-
export declare function FunctionRevisionSourceTypeToJSON(value?: FunctionRevisionSourceType | null): any;
|
|
26
|
-
export declare function FunctionRevisionSourceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): FunctionRevisionSourceType;
|
|
27
|
-
//# sourceMappingURL=FunctionRevisionSourceType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionSourceType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionSourceType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASxE;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAE3H;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,GAAG,GAAG,CAE/F;AAED,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAE1H"}
|
|
@@ -1,44 +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 FunctionRevisionSourceType = {
|
|
19
|
-
SandboxService: 'sandbox_service',
|
|
20
|
-
RevisionSpec: 'revision_spec',
|
|
21
|
-
Artifact: 'artifact'
|
|
22
|
-
};
|
|
23
|
-
export function instanceOfFunctionRevisionSourceType(value) {
|
|
24
|
-
for (const key in FunctionRevisionSourceType) {
|
|
25
|
-
if (Object.prototype.hasOwnProperty.call(FunctionRevisionSourceType, key)) {
|
|
26
|
-
if (FunctionRevisionSourceType[key] === value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
export function FunctionRevisionSourceTypeFromJSON(json) {
|
|
34
|
-
return FunctionRevisionSourceTypeFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function FunctionRevisionSourceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
export function FunctionRevisionSourceTypeToJSON(value) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
export function FunctionRevisionSourceTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
@@ -1,61 +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 { SandboxAppService } from './SandboxAppService.js';
|
|
13
|
-
import type { FunctionRevisionMount } from './FunctionRevisionMount.js';
|
|
14
|
-
import type { FunctionEnvRef } from './FunctionEnvRef.js';
|
|
15
|
-
import type { FunctionStaticAsset } from './FunctionStaticAsset.js';
|
|
16
|
-
/**
|
|
17
|
-
* Immutable execution contract used by Function Gateway to serve a revision.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface FunctionRevisionSpec
|
|
20
|
-
*/
|
|
21
|
-
export interface FunctionRevisionSpec {
|
|
22
|
-
/**
|
|
23
|
-
* SandboxTemplate ID used to claim runtime sandboxes for this revision.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof FunctionRevisionSpec
|
|
26
|
-
*/
|
|
27
|
-
templateId: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {SandboxAppService}
|
|
31
|
-
* @memberof FunctionRevisionSpec
|
|
32
|
-
*/
|
|
33
|
-
runtimeService: SandboxAppService;
|
|
34
|
-
/**
|
|
35
|
-
* Volume or artifact mounts attached when runtime sandboxes are claimed.
|
|
36
|
-
* @type {Array<FunctionRevisionMount>}
|
|
37
|
-
* @memberof FunctionRevisionSpec
|
|
38
|
-
*/
|
|
39
|
-
mounts?: Array<FunctionRevisionMount>;
|
|
40
|
-
/**
|
|
41
|
-
* Static asset artifacts associated with the revision for future direct serving paths.
|
|
42
|
-
* @type {Array<FunctionStaticAsset>}
|
|
43
|
-
* @memberof FunctionRevisionSpec
|
|
44
|
-
*/
|
|
45
|
-
staticAssets?: Array<FunctionStaticAsset>;
|
|
46
|
-
/**
|
|
47
|
-
* Environment references resolved by future deployment flows.
|
|
48
|
-
* @type {Array<FunctionEnvRef>}
|
|
49
|
-
* @memberof FunctionRevisionSpec
|
|
50
|
-
*/
|
|
51
|
-
envRefs?: Array<FunctionEnvRef>;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the FunctionRevisionSpec interface.
|
|
55
|
-
*/
|
|
56
|
-
export declare function instanceOfFunctionRevisionSpec(value: object): value is FunctionRevisionSpec;
|
|
57
|
-
export declare function FunctionRevisionSpecFromJSON(json: any): FunctionRevisionSpec;
|
|
58
|
-
export declare function FunctionRevisionSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionSpec;
|
|
59
|
-
export declare function FunctionRevisionSpecToJSON(json: any): FunctionRevisionSpec;
|
|
60
|
-
export declare function FunctionRevisionSpecToJSONTyped(value?: FunctionRevisionSpec | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
-
//# sourceMappingURL=FunctionRevisionSpec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAC1C;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa9H"}
|
|
@@ -1,57 +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 { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
15
|
-
import { FunctionRevisionMountFromJSON, FunctionRevisionMountToJSON, } from './FunctionRevisionMount.js';
|
|
16
|
-
import { FunctionEnvRefFromJSON, FunctionEnvRefToJSON, } from './FunctionEnvRef.js';
|
|
17
|
-
import { FunctionStaticAssetFromJSON, FunctionStaticAssetToJSON, } from './FunctionStaticAsset.js';
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the FunctionRevisionSpec interface.
|
|
20
|
-
*/
|
|
21
|
-
export function instanceOfFunctionRevisionSpec(value) {
|
|
22
|
-
if (!('templateId' in value) || value['templateId'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('runtimeService' in value) || value['runtimeService'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
export function FunctionRevisionSpecFromJSON(json) {
|
|
29
|
-
return FunctionRevisionSpecFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
export function FunctionRevisionSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'templateId': json['template_id'],
|
|
37
|
-
'runtimeService': SandboxAppServiceFromJSON(json['runtime_service']),
|
|
38
|
-
'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(FunctionRevisionMountFromJSON)),
|
|
39
|
-
'staticAssets': json['static_assets'] == null ? undefined : (json['static_assets'].map(FunctionStaticAssetFromJSON)),
|
|
40
|
-
'envRefs': json['env_refs'] == null ? undefined : (json['env_refs'].map(FunctionEnvRefFromJSON)),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function FunctionRevisionSpecToJSON(json) {
|
|
44
|
-
return FunctionRevisionSpecToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function FunctionRevisionSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'template_id': value['templateId'],
|
|
52
|
-
'runtime_service': SandboxAppServiceToJSON(value['runtimeService']),
|
|
53
|
-
'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(FunctionRevisionMountToJSON)),
|
|
54
|
-
'static_assets': value['staticAssets'] == null ? undefined : (value['staticAssets'].map(FunctionStaticAssetToJSON)),
|
|
55
|
-
'env_refs': value['envRefs'] == null ? undefined : (value['envRefs'].map(FunctionEnvRefToJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,107 +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 { FunctionRuntimePhase } from './FunctionRuntimePhase.js';
|
|
13
|
-
import type { FunctionRuntimeReadinessState } from './FunctionRuntimeReadinessState.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FunctionRuntimeEvent
|
|
18
|
-
*/
|
|
19
|
-
export interface FunctionRuntimeEvent {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof FunctionRuntimeEvent
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FunctionRuntimeEvent
|
|
30
|
-
*/
|
|
31
|
-
teamId: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FunctionRuntimeEvent
|
|
36
|
-
*/
|
|
37
|
-
functionId: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FunctionRuntimeEvent
|
|
42
|
-
*/
|
|
43
|
-
revisionId: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof FunctionRuntimeEvent
|
|
48
|
-
*/
|
|
49
|
-
runtimeInstanceId?: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof FunctionRuntimeEvent
|
|
54
|
-
*/
|
|
55
|
-
runtimeSandboxId?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof FunctionRuntimeEvent
|
|
60
|
-
*/
|
|
61
|
-
runtimeContextId?: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {FunctionRuntimePhase}
|
|
65
|
-
* @memberof FunctionRuntimeEvent
|
|
66
|
-
*/
|
|
67
|
-
phase: FunctionRuntimePhase;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {FunctionRuntimeReadinessState}
|
|
71
|
-
* @memberof FunctionRuntimeEvent
|
|
72
|
-
*/
|
|
73
|
-
readinessState: FunctionRuntimeReadinessState;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof FunctionRuntimeEvent
|
|
78
|
-
*/
|
|
79
|
-
reason?: string;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof FunctionRuntimeEvent
|
|
84
|
-
*/
|
|
85
|
-
message?: string;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof FunctionRuntimeEvent
|
|
90
|
-
*/
|
|
91
|
-
startupDurationMs?: number;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {Date}
|
|
95
|
-
* @memberof FunctionRuntimeEvent
|
|
96
|
-
*/
|
|
97
|
-
createdAt: Date;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Check if a given object implements the FunctionRuntimeEvent interface.
|
|
101
|
-
*/
|
|
102
|
-
export declare function instanceOfFunctionRuntimeEvent(value: object): value is FunctionRuntimeEvent;
|
|
103
|
-
export declare function FunctionRuntimeEventFromJSON(json: any): FunctionRuntimeEvent;
|
|
104
|
-
export declare function FunctionRuntimeEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeEvent;
|
|
105
|
-
export declare function FunctionRuntimeEventToJSON(json: any): FunctionRuntimeEvent;
|
|
106
|
-
export declare function FunctionRuntimeEventToJSONTyped(value?: FunctionRuntimeEvent | null, ignoreDiscriminator?: boolean): any;
|
|
107
|
-
//# sourceMappingURL=FunctionRuntimeEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRuntimeEvent.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeEvent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAS3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAoB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqB9H"}
|