sandbox0 0.4.1 → 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/FilesApi.d.ts +16 -1
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +47 -1
- 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 -14
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +2 -11
- 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/MCPProtocolRule.d.ts +34 -0
- package/dist/apispec/src/models/MCPProtocolRule.d.ts.map +1 -0
- package/dist/apispec/src/models/MCPProtocolRule.js +42 -0
- package/dist/apispec/src/models/MCPToolPolicy.d.ts +39 -0
- package/dist/apispec/src/models/MCPToolPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/MCPToolPolicy.js +43 -0
- package/dist/apispec/src/models/NetworkEgressPolicy.d.ts +9 -0
- package/dist/apispec/src/models/NetworkEgressPolicy.d.ts.map +1 -1
- package/dist/apispec/src/models/NetworkEgressPolicy.js +3 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts +74 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts.map +1 -0
- package/dist/apispec/src/models/ProtocolRule.js +60 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts +25 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts.map +1 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.js +42 -0
- 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 +3 -3
- 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/SandboxPowerState.d.ts +2 -2
- package/dist/apispec/src/models/SandboxPowerState.js +2 -2
- 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 -12
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +3 -11
- 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/SuccessVolumeFileArchiveImportResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.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/VolumeFileArchiveImportResponse.d.ts +51 -0
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +55 -0
- package/dist/apispec/src/models/index.d.ts +11 -30
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +11 -30
- package/dist/apispec_compat.d.ts +79 -165
- 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/dist/resources/volumes.d.ts +2 -1
- package/dist/resources/volumes.d.ts.map +1 -1
- package/dist/resources/volumes.js +9 -0
- package/package.json +1 -1
- package/dist/apispec/src/apis/FunctionsApi.d.ts +0 -184
- package/dist/apispec/src/apis/FunctionsApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/FunctionsApi.js +0 -514
- package/dist/apispec/src/models/Function.d.ts +0 -93
- package/dist/apispec/src/models/Function.d.ts.map +0 -1
- package/dist/apispec/src/models/Function.js +0 -77
- 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/FunctionCreateRequest.d.ts +0 -40
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionCreateRequest.js +0 -46
- package/dist/apispec/src/models/FunctionRecord.d.ts +0 -105
- package/dist/apispec/src/models/FunctionRecord.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRecord.js +0 -85
- 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 -113
- package/dist/apispec/src/models/FunctionRevision.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevision.js +0 -87
- 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/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 -70
- package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeStatus.js +0 -62
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts +0 -39
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionSourceRequest.js +0 -47
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +0 -39
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionUpdateRequest.js +0 -43
- 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 -39
- package/dist/resources/functions.d.ts.map +0 -1
- package/dist/resources/functions.js +0 -128
|
@@ -1,51 +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 FunctionRestoreMount interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfFunctionRestoreMount(value) {
|
|
18
|
-
if (!('sandboxvolumeId' in value) || value['sandboxvolumeId'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('mountPoint' in value) || value['mountPoint'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function FunctionRestoreMountFromJSON(json) {
|
|
25
|
-
return FunctionRestoreMountFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function FunctionRestoreMountFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'sandboxvolumeId': json['sandboxvolume_id'],
|
|
33
|
-
'sourceSandboxvolumeId': json['source_sandboxvolume_id'] == null ? undefined : json['source_sandboxvolume_id'],
|
|
34
|
-
'snapshotId': json['snapshot_id'] == null ? undefined : json['snapshot_id'],
|
|
35
|
-
'mountPoint': json['mount_point'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export function FunctionRestoreMountToJSON(json) {
|
|
39
|
-
return FunctionRestoreMountToJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
export function FunctionRestoreMountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
47
|
-
'source_sandboxvolume_id': value['sourceSandboxvolumeId'],
|
|
48
|
-
'snapshot_id': value['snapshotId'],
|
|
49
|
-
'mount_point': value['mountPoint'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,113 +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 { FunctionRestoreMount } from './FunctionRestoreMount.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FunctionRevision
|
|
18
|
-
*/
|
|
19
|
-
export interface FunctionRevision {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof FunctionRevision
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FunctionRevision
|
|
30
|
-
*/
|
|
31
|
-
functionId: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FunctionRevision
|
|
36
|
-
*/
|
|
37
|
-
teamId: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof FunctionRevision
|
|
42
|
-
*/
|
|
43
|
-
revisionNumber: number;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof FunctionRevision
|
|
48
|
-
*/
|
|
49
|
-
sourceSandboxId: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof FunctionRevision
|
|
54
|
-
*/
|
|
55
|
-
sourceServiceId: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof FunctionRevision
|
|
60
|
-
*/
|
|
61
|
-
sourceTemplateId: string;
|
|
62
|
-
/**
|
|
63
|
-
* SandboxVolume mounts captured from the source sandbox and reused when the function runtime sandbox is restored.
|
|
64
|
-
* @type {Array<FunctionRestoreMount>}
|
|
65
|
-
* @memberof FunctionRevision
|
|
66
|
-
*/
|
|
67
|
-
restoreMounts?: Array<FunctionRestoreMount>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {SandboxAppService}
|
|
71
|
-
* @memberof FunctionRevision
|
|
72
|
-
*/
|
|
73
|
-
serviceSnapshot: SandboxAppService;
|
|
74
|
-
/**
|
|
75
|
-
* Current restored runtime sandbox, when the source sandbox no longer exists.
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof FunctionRevision
|
|
78
|
-
*/
|
|
79
|
-
runtimeSandboxId?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Current runtime process context inside the restored runtime sandbox.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof FunctionRevision
|
|
84
|
-
*/
|
|
85
|
-
runtimeContextId?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Last time the restored runtime sandbox mapping was updated.
|
|
88
|
-
* @type {Date}
|
|
89
|
-
* @memberof FunctionRevision
|
|
90
|
-
*/
|
|
91
|
-
runtimeUpdatedAt?: Date;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof FunctionRevision
|
|
96
|
-
*/
|
|
97
|
-
createdBy?: string;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Date}
|
|
101
|
-
* @memberof FunctionRevision
|
|
102
|
-
*/
|
|
103
|
-
createdAt: Date;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Check if a given object implements the FunctionRevision interface.
|
|
107
|
-
*/
|
|
108
|
-
export declare function instanceOfFunctionRevision(value: object): value is FunctionRevision;
|
|
109
|
-
export declare function FunctionRevisionFromJSON(json: any): FunctionRevision;
|
|
110
|
-
export declare function FunctionRevisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevision;
|
|
111
|
-
export declare function FunctionRevisionToJSON(json: any): FunctionRevision;
|
|
112
|
-
export declare function FunctionRevisionToJSONTyped(value?: FunctionRevision | null, ignoreDiscriminator?: boolean): any;
|
|
113
|
-
//# sourceMappingURL=FunctionRevision.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevision.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevision.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,eAAe,EAAE,iBAAiB,CAAC;IACnC;;;;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAWnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAqBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBtH"}
|
|
@@ -1,87 +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 { FunctionRestoreMountFromJSON, FunctionRestoreMountToJSON, } from './FunctionRestoreMount.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the FunctionRevision interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfFunctionRevision(value) {
|
|
20
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('functionId' in value) || value['functionId'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('sourceSandboxId' in value) || value['sourceSandboxId'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('sourceServiceId' in value) || value['sourceServiceId'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('sourceTemplateId' in value) || value['sourceTemplateId'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('serviceSnapshot' in value) || value['serviceSnapshot'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
export function FunctionRevisionFromJSON(json) {
|
|
41
|
-
return FunctionRevisionFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
export function FunctionRevisionFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'id': json['id'],
|
|
49
|
-
'functionId': json['function_id'],
|
|
50
|
-
'teamId': json['team_id'],
|
|
51
|
-
'revisionNumber': json['revision_number'],
|
|
52
|
-
'sourceSandboxId': json['source_sandbox_id'],
|
|
53
|
-
'sourceServiceId': json['source_service_id'],
|
|
54
|
-
'sourceTemplateId': json['source_template_id'],
|
|
55
|
-
'restoreMounts': json['restore_mounts'] == null ? undefined : (json['restore_mounts'].map(FunctionRestoreMountFromJSON)),
|
|
56
|
-
'serviceSnapshot': SandboxAppServiceFromJSON(json['service_snapshot']),
|
|
57
|
-
'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
|
|
58
|
-
'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
|
|
59
|
-
'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
|
|
60
|
-
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
61
|
-
'createdAt': (new Date(json['created_at'])),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
export function FunctionRevisionToJSON(json) {
|
|
65
|
-
return FunctionRevisionToJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
export function FunctionRevisionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': value['id'],
|
|
73
|
-
'function_id': value['functionId'],
|
|
74
|
-
'team_id': value['teamId'],
|
|
75
|
-
'revision_number': value['revisionNumber'],
|
|
76
|
-
'source_sandbox_id': value['sourceSandboxId'],
|
|
77
|
-
'source_service_id': value['sourceServiceId'],
|
|
78
|
-
'source_template_id': value['sourceTemplateId'],
|
|
79
|
-
'restore_mounts': value['restoreMounts'] == null ? undefined : (value['restoreMounts'].map(FunctionRestoreMountToJSON)),
|
|
80
|
-
'service_snapshot': SandboxAppServiceToJSON(value['serviceSnapshot']),
|
|
81
|
-
'runtime_sandbox_id': value['runtimeSandboxId'],
|
|
82
|
-
'runtime_context_id': value['runtimeContextId'],
|
|
83
|
-
'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
|
|
84
|
-
'created_by': value['createdBy'],
|
|
85
|
-
'created_at': value['createdAt'].toISOString(),
|
|
86
|
-
};
|
|
87
|
-
}
|
|
@@ -1,40 +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 { FunctionSourceRequest } from './FunctionSourceRequest.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FunctionRevisionCreateRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface FunctionRevisionCreateRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FunctionSourceRequest}
|
|
22
|
-
* @memberof FunctionRevisionCreateRequest
|
|
23
|
-
*/
|
|
24
|
-
source: FunctionSourceRequest;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to move the production alias to the new revision.
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof FunctionRevisionCreateRequest
|
|
29
|
-
*/
|
|
30
|
-
promote?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the FunctionRevisionCreateRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfFunctionRevisionCreateRequest(value: object): value is FunctionRevisionCreateRequest;
|
|
36
|
-
export declare function FunctionRevisionCreateRequestFromJSON(json: any): FunctionRevisionCreateRequest;
|
|
37
|
-
export declare function FunctionRevisionCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionCreateRequest;
|
|
38
|
-
export declare function FunctionRevisionCreateRequestToJSON(json: any): FunctionRevisionCreateRequest;
|
|
39
|
-
export declare function FunctionRevisionCreateRequestToJSONTyped(value?: FunctionRevisionCreateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=FunctionRevisionCreateRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionCreateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionCreateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CASjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhJ"}
|
|
@@ -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 { FunctionSourceRequestFromJSON, FunctionSourceRequestToJSON, } from './FunctionSourceRequest.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the FunctionRevisionCreateRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfFunctionRevisionCreateRequest(value) {
|
|
19
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function FunctionRevisionCreateRequestFromJSON(json) {
|
|
24
|
-
return FunctionRevisionCreateRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function FunctionRevisionCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'source': FunctionSourceRequestFromJSON(json['source']),
|
|
32
|
-
'promote': json['promote'] == null ? undefined : json['promote'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function FunctionRevisionCreateRequestToJSON(json) {
|
|
36
|
-
return FunctionRevisionCreateRequestToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function FunctionRevisionCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'source': FunctionSourceRequestToJSON(value['source']),
|
|
44
|
-
'promote': value['promote'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -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 FunctionRuntimeState: {
|
|
17
|
-
readonly Disabled: "disabled";
|
|
18
|
-
readonly Idle: "idle";
|
|
19
|
-
readonly Active: "active";
|
|
20
|
-
};
|
|
21
|
-
export type FunctionRuntimeState = typeof FunctionRuntimeState[keyof typeof FunctionRuntimeState];
|
|
22
|
-
export declare function instanceOfFunctionRuntimeState(value: any): boolean;
|
|
23
|
-
export declare function FunctionRuntimeStateFromJSON(json: any): FunctionRuntimeState;
|
|
24
|
-
export declare function FunctionRuntimeStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeState;
|
|
25
|
-
export declare function FunctionRuntimeStateToJSON(value?: FunctionRuntimeState | null): any;
|
|
26
|
-
export declare function FunctionRuntimeStateToJSONTyped(value: any, ignoreDiscriminator: boolean): FunctionRuntimeState;
|
|
27
|
-
//# sourceMappingURL=FunctionRuntimeState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRuntimeState.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASlE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE9G"}
|
|
@@ -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 FunctionRuntimeState = {
|
|
19
|
-
Disabled: 'disabled',
|
|
20
|
-
Idle: 'idle',
|
|
21
|
-
Active: 'active'
|
|
22
|
-
};
|
|
23
|
-
export function instanceOfFunctionRuntimeState(value) {
|
|
24
|
-
for (const key in FunctionRuntimeState) {
|
|
25
|
-
if (Object.prototype.hasOwnProperty.call(FunctionRuntimeState, key)) {
|
|
26
|
-
if (FunctionRuntimeState[key] === value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
export function FunctionRuntimeStateFromJSON(json) {
|
|
34
|
-
return FunctionRuntimeStateFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function FunctionRuntimeStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
export function FunctionRuntimeStateToJSON(value) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
export function FunctionRuntimeStateToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
@@ -1,70 +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 { FunctionRuntimeState } from './FunctionRuntimeState.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FunctionRuntimeStatus
|
|
17
|
-
*/
|
|
18
|
-
export interface FunctionRuntimeStatus {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FunctionRuntimeStatus
|
|
23
|
-
*/
|
|
24
|
-
functionId: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof FunctionRuntimeStatus
|
|
29
|
-
*/
|
|
30
|
-
revisionId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof FunctionRuntimeStatus
|
|
35
|
-
*/
|
|
36
|
-
revisionNumber: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {FunctionRuntimeState}
|
|
40
|
-
* @memberof FunctionRuntimeStatus
|
|
41
|
-
*/
|
|
42
|
-
state: FunctionRuntimeState;
|
|
43
|
-
/**
|
|
44
|
-
* Current restored runtime sandbox, if one exists.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof FunctionRuntimeStatus
|
|
47
|
-
*/
|
|
48
|
-
runtimeSandboxId?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Current runtime process context, if one exists.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof FunctionRuntimeStatus
|
|
53
|
-
*/
|
|
54
|
-
runtimeContextId?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Last time the runtime mapping was updated.
|
|
57
|
-
* @type {Date}
|
|
58
|
-
* @memberof FunctionRuntimeStatus
|
|
59
|
-
*/
|
|
60
|
-
runtimeUpdatedAt?: Date;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the FunctionRuntimeStatus interface.
|
|
64
|
-
*/
|
|
65
|
-
export declare function instanceOfFunctionRuntimeStatus(value: object): value is FunctionRuntimeStatus;
|
|
66
|
-
export declare function FunctionRuntimeStatusFromJSON(json: any): FunctionRuntimeStatus;
|
|
67
|
-
export declare function FunctionRuntimeStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeStatus;
|
|
68
|
-
export declare function FunctionRuntimeStatusToJSON(json: any): FunctionRuntimeStatus;
|
|
69
|
-
export declare function FunctionRuntimeStatusToJSONTyped(value?: FunctionRuntimeStatus | null, ignoreDiscriminator?: boolean): any;
|
|
70
|
-
//# 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;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,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAcjH;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,CAehI"}
|
|
@@ -1,62 +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 { FunctionRuntimeStateFromJSON, FunctionRuntimeStateToJSON, } from './FunctionRuntimeState.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the FunctionRuntimeStatus interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfFunctionRuntimeStatus(value) {
|
|
19
|
-
if (!('functionId' in value) || value['functionId'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('revisionId' in value) || value['revisionId'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function FunctionRuntimeStatusFromJSON(json) {
|
|
30
|
-
return FunctionRuntimeStatusFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function FunctionRuntimeStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'functionId': json['function_id'],
|
|
38
|
-
'revisionId': json['revision_id'],
|
|
39
|
-
'revisionNumber': json['revision_number'],
|
|
40
|
-
'state': FunctionRuntimeStateFromJSON(json['state']),
|
|
41
|
-
'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
|
|
42
|
-
'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
|
|
43
|
-
'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export function FunctionRuntimeStatusToJSON(json) {
|
|
47
|
-
return FunctionRuntimeStatusToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function FunctionRuntimeStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'function_id': value['functionId'],
|
|
55
|
-
'revision_id': value['revisionId'],
|
|
56
|
-
'revision_number': value['revisionNumber'],
|
|
57
|
-
'state': FunctionRuntimeStateToJSON(value['state']),
|
|
58
|
-
'runtime_sandbox_id': value['runtimeSandboxId'],
|
|
59
|
-
'runtime_context_id': value['runtimeContextId'],
|
|
60
|
-
'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -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 FunctionSourceRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface FunctionSourceRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FunctionSourceRequest
|
|
22
|
-
*/
|
|
23
|
-
sandboxId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionSourceRequest
|
|
28
|
-
*/
|
|
29
|
-
serviceId: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the FunctionSourceRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfFunctionSourceRequest(value: object): value is FunctionSourceRequest;
|
|
35
|
-
export declare function FunctionSourceRequestFromJSON(json: any): FunctionSourceRequest;
|
|
36
|
-
export declare function FunctionSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionSourceRequest;
|
|
37
|
-
export declare function FunctionSourceRequestToJSON(json: any): FunctionSourceRequest;
|
|
38
|
-
export declare function FunctionSourceRequestToJSONTyped(value?: FunctionSourceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
-
//# 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;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;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,CASjH;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,CAUhI"}
|
|
@@ -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 FunctionSourceRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfFunctionSourceRequest(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 FunctionSourceRequestFromJSON(json) {
|
|
25
|
-
return FunctionSourceRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function FunctionSourceRequestFromJSONTyped(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 FunctionSourceRequestToJSON(json) {
|
|
37
|
-
return FunctionSourceRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function FunctionSourceRequestToJSONTyped(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
|
-
}
|