sandbox0 0.4.4 → 0.5.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/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/SandboxAppServiceView.d.ts +6 -0
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxAppServiceView.js +2 -0
- 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,123 +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 { FunctionRuntimeEvent } from './FunctionRuntimeEvent.js';
|
|
13
|
-
import type { FunctionRuntimePhase } from './FunctionRuntimePhase.js';
|
|
14
|
-
import type { FunctionRuntimeInstance } from './FunctionRuntimeInstance.js';
|
|
15
|
-
import type { FunctionRuntimeReadinessState } from './FunctionRuntimeReadinessState.js';
|
|
16
|
-
import type { FunctionAutoscaling } from './FunctionAutoscaling.js';
|
|
17
|
-
import type { FunctionRuntimeState } from './FunctionRuntimeState.js';
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface FunctionRuntimeStatus
|
|
22
|
-
*/
|
|
23
|
-
export interface FunctionRuntimeStatus {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionRuntimeStatus
|
|
28
|
-
*/
|
|
29
|
-
functionId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FunctionRuntimeStatus
|
|
34
|
-
*/
|
|
35
|
-
revisionId: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof FunctionRuntimeStatus
|
|
40
|
-
*/
|
|
41
|
-
revisionNumber: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {FunctionRuntimeState}
|
|
45
|
-
* @memberof FunctionRuntimeStatus
|
|
46
|
-
*/
|
|
47
|
-
state: FunctionRuntimeState;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {FunctionRuntimePhase}
|
|
51
|
-
* @memberof FunctionRuntimeStatus
|
|
52
|
-
*/
|
|
53
|
-
phase: FunctionRuntimePhase;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {FunctionAutoscaling}
|
|
57
|
-
* @memberof FunctionRuntimeStatus
|
|
58
|
-
*/
|
|
59
|
-
autoscaling: FunctionAutoscaling;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {FunctionRuntimeReadinessState}
|
|
63
|
-
* @memberof FunctionRuntimeStatus
|
|
64
|
-
*/
|
|
65
|
-
readinessState: FunctionRuntimeReadinessState;
|
|
66
|
-
/**
|
|
67
|
-
* Compatibility summary for one current restored runtime sandbox, if one exists. Use instances for the full runtime pool.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof FunctionRuntimeStatus
|
|
70
|
-
*/
|
|
71
|
-
runtimeSandboxId?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Compatibility summary for one current runtime process context, if one exists. Use instances for the full runtime pool.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof FunctionRuntimeStatus
|
|
76
|
-
*/
|
|
77
|
-
runtimeContextId?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Last time the runtime mapping was updated.
|
|
80
|
-
* @type {Date}
|
|
81
|
-
* @memberof FunctionRuntimeStatus
|
|
82
|
-
*/
|
|
83
|
-
runtimeUpdatedAt?: Date;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof FunctionRuntimeStatus
|
|
88
|
-
*/
|
|
89
|
-
startupDurationMs?: number;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof FunctionRuntimeStatus
|
|
94
|
-
*/
|
|
95
|
-
lastError?: string;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {Date}
|
|
99
|
-
* @memberof FunctionRuntimeStatus
|
|
100
|
-
*/
|
|
101
|
-
lastErrorAt?: Date;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Array<FunctionRuntimeInstance>}
|
|
105
|
-
* @memberof FunctionRuntimeStatus
|
|
106
|
-
*/
|
|
107
|
-
instances?: Array<FunctionRuntimeInstance>;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {Array<FunctionRuntimeEvent>}
|
|
111
|
-
* @memberof FunctionRuntimeStatus
|
|
112
|
-
*/
|
|
113
|
-
recentEvents?: Array<FunctionRuntimeEvent>;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Check if a given object implements the FunctionRuntimeStatus interface.
|
|
117
|
-
*/
|
|
118
|
-
export declare function instanceOfFunctionRuntimeStatus(value: object): value is FunctionRuntimeStatus;
|
|
119
|
-
export declare function FunctionRuntimeStatusFromJSON(json: any): FunctionRuntimeStatus;
|
|
120
|
-
export declare function FunctionRuntimeStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeStatus;
|
|
121
|
-
export declare function FunctionRuntimeStatusToJSON(json: any): FunctionRuntimeStatus;
|
|
122
|
-
export declare function FunctionRuntimeStatusToJSONTyped(value?: FunctionRuntimeStatus | null, ignoreDiscriminator?: boolean): any;
|
|
123
|
-
//# sourceMappingURL=FunctionRuntimeStatus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRuntimeStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CAC9C;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAS7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAsBjH;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,CAuBhI"}
|
|
@@ -1,89 +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 { FunctionRuntimeEventFromJSON, FunctionRuntimeEventToJSON, } from './FunctionRuntimeEvent.js';
|
|
15
|
-
import { FunctionRuntimePhaseFromJSON, FunctionRuntimePhaseToJSON, } from './FunctionRuntimePhase.js';
|
|
16
|
-
import { FunctionRuntimeInstanceFromJSON, FunctionRuntimeInstanceToJSON, } from './FunctionRuntimeInstance.js';
|
|
17
|
-
import { FunctionRuntimeReadinessStateFromJSON, FunctionRuntimeReadinessStateToJSON, } from './FunctionRuntimeReadinessState.js';
|
|
18
|
-
import { FunctionAutoscalingFromJSON, FunctionAutoscalingToJSON, } from './FunctionAutoscaling.js';
|
|
19
|
-
import { FunctionRuntimeStateFromJSON, FunctionRuntimeStateToJSON, } from './FunctionRuntimeState.js';
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the FunctionRuntimeStatus interface.
|
|
22
|
-
*/
|
|
23
|
-
export function instanceOfFunctionRuntimeStatus(value) {
|
|
24
|
-
if (!('functionId' in value) || value['functionId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('revisionId' in value) || value['revisionId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('phase' in value) || value['phase'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('autoscaling' in value) || value['autoscaling'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('readinessState' in value) || value['readinessState'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
export function FunctionRuntimeStatusFromJSON(json) {
|
|
41
|
-
return FunctionRuntimeStatusFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
export function FunctionRuntimeStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'functionId': json['function_id'],
|
|
49
|
-
'revisionId': json['revision_id'],
|
|
50
|
-
'revisionNumber': json['revision_number'],
|
|
51
|
-
'state': FunctionRuntimeStateFromJSON(json['state']),
|
|
52
|
-
'phase': FunctionRuntimePhaseFromJSON(json['phase']),
|
|
53
|
-
'autoscaling': FunctionAutoscalingFromJSON(json['autoscaling']),
|
|
54
|
-
'readinessState': FunctionRuntimeReadinessStateFromJSON(json['readiness_state']),
|
|
55
|
-
'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
|
|
56
|
-
'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
|
|
57
|
-
'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
|
|
58
|
-
'startupDurationMs': json['startup_duration_ms'] == null ? undefined : json['startup_duration_ms'],
|
|
59
|
-
'lastError': json['last_error'] == null ? undefined : json['last_error'],
|
|
60
|
-
'lastErrorAt': json['last_error_at'] == null ? undefined : (new Date(json['last_error_at'])),
|
|
61
|
-
'instances': json['instances'] == null ? undefined : (json['instances'].map(FunctionRuntimeInstanceFromJSON)),
|
|
62
|
-
'recentEvents': json['recent_events'] == null ? undefined : (json['recent_events'].map(FunctionRuntimeEventFromJSON)),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
export function FunctionRuntimeStatusToJSON(json) {
|
|
66
|
-
return FunctionRuntimeStatusToJSONTyped(json, false);
|
|
67
|
-
}
|
|
68
|
-
export function FunctionRuntimeStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
'function_id': value['functionId'],
|
|
74
|
-
'revision_id': value['revisionId'],
|
|
75
|
-
'revision_number': value['revisionNumber'],
|
|
76
|
-
'state': FunctionRuntimeStateToJSON(value['state']),
|
|
77
|
-
'phase': FunctionRuntimePhaseToJSON(value['phase']),
|
|
78
|
-
'autoscaling': FunctionAutoscalingToJSON(value['autoscaling']),
|
|
79
|
-
'readiness_state': FunctionRuntimeReadinessStateToJSON(value['readinessState']),
|
|
80
|
-
'runtime_sandbox_id': value['runtimeSandboxId'],
|
|
81
|
-
'runtime_context_id': value['runtimeContextId'],
|
|
82
|
-
'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
|
|
83
|
-
'startup_duration_ms': value['startupDurationMs'],
|
|
84
|
-
'last_error': value['lastError'],
|
|
85
|
-
'last_error_at': value['lastErrorAt'] == null ? value['lastErrorAt'] : value['lastErrorAt'].toISOString(),
|
|
86
|
-
'instances': value['instances'] == null ? undefined : (value['instances'].map(FunctionRuntimeInstanceToJSON)),
|
|
87
|
-
'recent_events': value['recentEvents'] == null ? undefined : (value['recentEvents'].map(FunctionRuntimeEventToJSON)),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
@@ -1,39 +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 FunctionSandboxServiceSource
|
|
16
|
-
*/
|
|
17
|
-
export interface FunctionSandboxServiceSource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FunctionSandboxServiceSource
|
|
22
|
-
*/
|
|
23
|
-
sandboxId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionSandboxServiceSource
|
|
28
|
-
*/
|
|
29
|
-
serviceId: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the FunctionSandboxServiceSource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfFunctionSandboxServiceSource(value: object): value is FunctionSandboxServiceSource;
|
|
35
|
-
export declare function FunctionSandboxServiceSourceFromJSON(json: any): FunctionSandboxServiceSource;
|
|
36
|
-
export declare function FunctionSandboxServiceSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionSandboxServiceSource;
|
|
37
|
-
export declare function FunctionSandboxServiceSourceToJSON(json: any): FunctionSandboxServiceSource;
|
|
38
|
-
export declare function FunctionSandboxServiceSourceToJSONTyped(value?: FunctionSandboxServiceSource | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
-
//# sourceMappingURL=FunctionSandboxServiceSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionSandboxServiceSource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionSandboxServiceSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAI3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
|
|
@@ -1,47 +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
|
-
* Check if a given object implements the FunctionSandboxServiceSource interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfFunctionSandboxServiceSource(value) {
|
|
18
|
-
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('serviceId' in value) || value['serviceId'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function FunctionSandboxServiceSourceFromJSON(json) {
|
|
25
|
-
return FunctionSandboxServiceSourceFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function FunctionSandboxServiceSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'sandboxId': json['sandbox_id'],
|
|
33
|
-
'serviceId': json['service_id'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function FunctionSandboxServiceSourceToJSON(json) {
|
|
37
|
-
return FunctionSandboxServiceSourceToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function FunctionSandboxServiceSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'sandbox_id': value['sandboxId'],
|
|
45
|
-
'service_id': value['serviceId'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,69 +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 { FunctionRevisionSpec } from './FunctionRevisionSpec.js';
|
|
13
|
-
import type { FunctionSandboxServiceSource } from './FunctionSandboxServiceSource.js';
|
|
14
|
-
import type { FunctionRevisionInputSourceType } from './FunctionRevisionInputSourceType.js';
|
|
15
|
-
/**
|
|
16
|
-
* Source used to create a function revision. Omitting type with sandbox_id and service_id keeps the sandbox-service shortcut shape; internally it is compiled into an immutable FunctionRevisionSpec.
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface FunctionSourceRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface FunctionSourceRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {FunctionRevisionInputSourceType}
|
|
25
|
-
* @memberof FunctionSourceRequest
|
|
26
|
-
*/
|
|
27
|
-
type?: FunctionRevisionInputSourceType;
|
|
28
|
-
/**
|
|
29
|
-
* Compatibility shortcut for type=sandbox_service.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof FunctionSourceRequest
|
|
32
|
-
*/
|
|
33
|
-
sandboxId?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Compatibility shortcut for type=sandbox_service.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof FunctionSourceRequest
|
|
38
|
-
*/
|
|
39
|
-
serviceId?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {FunctionSandboxServiceSource}
|
|
43
|
-
* @memberof FunctionSourceRequest
|
|
44
|
-
*/
|
|
45
|
-
sandboxService?: FunctionSandboxServiceSource;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {FunctionRevisionSpec}
|
|
49
|
-
* @memberof FunctionSourceRequest
|
|
50
|
-
*/
|
|
51
|
-
revisionSpec?: FunctionRevisionSpec;
|
|
52
|
-
/**
|
|
53
|
-
* Optional non-execution metadata describing how the revision spec was produced.
|
|
54
|
-
* @type {{ [key: string]: any; }}
|
|
55
|
-
* @memberof FunctionSourceRequest
|
|
56
|
-
*/
|
|
57
|
-
provenance?: {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the FunctionSourceRequest interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfFunctionSourceRequest(value: object): value is FunctionSourceRequest;
|
|
65
|
-
export declare function FunctionSourceRequestFromJSON(json: any): FunctionSourceRequest;
|
|
66
|
-
export declare function FunctionSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionSourceRequest;
|
|
67
|
-
export declare function FunctionSourceRequestToJSON(json: any): FunctionSourceRequest;
|
|
68
|
-
export declare function FunctionSourceRequestToJSONTyped(value?: FunctionSourceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
-
//# sourceMappingURL=FunctionSourceRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionSourceRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionSourceRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAQzF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;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,CAchI"}
|
|
@@ -1,54 +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 { FunctionRevisionSpecFromJSON, FunctionRevisionSpecToJSON, } from './FunctionRevisionSpec.js';
|
|
15
|
-
import { FunctionSandboxServiceSourceFromJSON, FunctionSandboxServiceSourceToJSON, } from './FunctionSandboxServiceSource.js';
|
|
16
|
-
import { FunctionRevisionInputSourceTypeFromJSON, FunctionRevisionInputSourceTypeToJSON, } from './FunctionRevisionInputSourceType.js';
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the FunctionSourceRequest interface.
|
|
19
|
-
*/
|
|
20
|
-
export function instanceOfFunctionSourceRequest(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function FunctionSourceRequestFromJSON(json) {
|
|
24
|
-
return FunctionSourceRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function FunctionSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'type': json['type'] == null ? undefined : FunctionRevisionInputSourceTypeFromJSON(json['type']),
|
|
32
|
-
'sandboxId': json['sandbox_id'] == null ? undefined : json['sandbox_id'],
|
|
33
|
-
'serviceId': json['service_id'] == null ? undefined : json['service_id'],
|
|
34
|
-
'sandboxService': json['sandbox_service'] == null ? undefined : FunctionSandboxServiceSourceFromJSON(json['sandbox_service']),
|
|
35
|
-
'revisionSpec': json['revision_spec'] == null ? undefined : FunctionRevisionSpecFromJSON(json['revision_spec']),
|
|
36
|
-
'provenance': json['provenance'] == null ? undefined : json['provenance'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function FunctionSourceRequestToJSON(json) {
|
|
40
|
-
return FunctionSourceRequestToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
export function FunctionSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'type': FunctionRevisionInputSourceTypeToJSON(value['type']),
|
|
48
|
-
'sandbox_id': value['sandboxId'],
|
|
49
|
-
'service_id': value['serviceId'],
|
|
50
|
-
'sandbox_service': FunctionSandboxServiceSourceToJSON(value['sandboxService']),
|
|
51
|
-
'revision_spec': FunctionRevisionSpecToJSON(value['revisionSpec']),
|
|
52
|
-
'provenance': value['provenance'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,45 +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 FunctionStaticAsset
|
|
16
|
-
*/
|
|
17
|
-
export interface FunctionStaticAsset {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FunctionStaticAsset
|
|
22
|
-
*/
|
|
23
|
-
artifactId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionStaticAsset
|
|
28
|
-
*/
|
|
29
|
-
routePrefix: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FunctionStaticAsset
|
|
34
|
-
*/
|
|
35
|
-
digest?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the FunctionStaticAsset interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfFunctionStaticAsset(value: object): value is FunctionStaticAsset;
|
|
41
|
-
export declare function FunctionStaticAssetFromJSON(json: any): FunctionStaticAsset;
|
|
42
|
-
export declare function FunctionStaticAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionStaticAsset;
|
|
43
|
-
export declare function FunctionStaticAssetToJSON(json: any): FunctionStaticAsset;
|
|
44
|
-
export declare function FunctionStaticAssetToJSONTyped(value?: FunctionStaticAsset | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
-
//# sourceMappingURL=FunctionStaticAsset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionStaticAsset.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionStaticAsset.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAU7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5H"}
|
|
@@ -1,49 +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
|
-
* Check if a given object implements the FunctionStaticAsset interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfFunctionStaticAsset(value) {
|
|
18
|
-
if (!('artifactId' in value) || value['artifactId'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('routePrefix' in value) || value['routePrefix'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function FunctionStaticAssetFromJSON(json) {
|
|
25
|
-
return FunctionStaticAssetFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function FunctionStaticAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'artifactId': json['artifact_id'],
|
|
33
|
-
'routePrefix': json['route_prefix'],
|
|
34
|
-
'digest': json['digest'] == null ? undefined : json['digest'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function FunctionStaticAssetToJSON(json) {
|
|
38
|
-
return FunctionStaticAssetToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
export function FunctionStaticAssetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'artifact_id': value['artifactId'],
|
|
46
|
-
'route_prefix': value['routePrefix'],
|
|
47
|
-
'digest': value['digest'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
@@ -1,46 +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 { FunctionAutoscaling } from './FunctionAutoscaling.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FunctionUpdateRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface FunctionUpdateRequest {
|
|
19
|
-
/**
|
|
20
|
-
* Mutable function display name. Slug and domain label stay stable.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FunctionUpdateRequest
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the function host should serve traffic. Disabled functions do not restore runtime sandboxes.
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof FunctionUpdateRequest
|
|
29
|
-
*/
|
|
30
|
-
enabled?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {FunctionAutoscaling}
|
|
34
|
-
* @memberof FunctionUpdateRequest
|
|
35
|
-
*/
|
|
36
|
-
autoscaling?: FunctionAutoscaling;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the FunctionUpdateRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfFunctionUpdateRequest(value: object): value is FunctionUpdateRequest;
|
|
42
|
-
export declare function FunctionUpdateRequestFromJSON(json: any): FunctionUpdateRequest;
|
|
43
|
-
export declare function FunctionUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionUpdateRequest;
|
|
44
|
-
export declare function FunctionUpdateRequestToJSON(json: any): FunctionUpdateRequest;
|
|
45
|
-
export declare function FunctionUpdateRequestToJSONTyped(value?: FunctionUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
-
//# sourceMappingURL=FunctionUpdateRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;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,CAWhI"}
|
|
@@ -1,46 +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 { FunctionAutoscalingFromJSON, FunctionAutoscalingToJSON, } from './FunctionAutoscaling.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the FunctionUpdateRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfFunctionUpdateRequest(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function FunctionUpdateRequestFromJSON(json) {
|
|
22
|
-
return FunctionUpdateRequestFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function FunctionUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
31
|
-
'autoscaling': json['autoscaling'] == null ? undefined : FunctionAutoscalingFromJSON(json['autoscaling']),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function FunctionUpdateRequestToJSON(json) {
|
|
35
|
-
return FunctionUpdateRequestToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function FunctionUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'name': value['name'],
|
|
43
|
-
'enabled': value['enabled'],
|
|
44
|
-
'autoscaling': FunctionAutoscalingToJSON(value['autoscaling']),
|
|
45
|
-
};
|
|
46
|
-
}
|