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,112 +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 FunctionRecord
|
|
17
|
-
*/
|
|
18
|
-
export interface FunctionRecord {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FunctionRecord
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof FunctionRecord
|
|
29
|
-
*/
|
|
30
|
-
teamId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof FunctionRecord
|
|
35
|
-
*/
|
|
36
|
-
name: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof FunctionRecord
|
|
41
|
-
*/
|
|
42
|
-
slug: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof FunctionRecord
|
|
47
|
-
*/
|
|
48
|
-
domainLabel: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof FunctionRecord
|
|
53
|
-
*/
|
|
54
|
-
activeRevisionId?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @memberof FunctionRecord
|
|
59
|
-
*/
|
|
60
|
-
enabled: boolean;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {FunctionAutoscaling}
|
|
64
|
-
* @memberof FunctionRecord
|
|
65
|
-
*/
|
|
66
|
-
autoscaling: FunctionAutoscaling;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof FunctionRecord
|
|
71
|
-
*/
|
|
72
|
-
createdBy?: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {Date}
|
|
76
|
-
* @memberof FunctionRecord
|
|
77
|
-
*/
|
|
78
|
-
createdAt: Date;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {Date}
|
|
82
|
-
* @memberof FunctionRecord
|
|
83
|
-
*/
|
|
84
|
-
updatedAt: Date;
|
|
85
|
-
/**
|
|
86
|
-
* Set when the function has been soft-deleted. Deleted functions are hidden from normal list/get APIs and do not serve traffic.
|
|
87
|
-
* @type {Date}
|
|
88
|
-
* @memberof FunctionRecord
|
|
89
|
-
*/
|
|
90
|
-
deletedAt?: Date;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof FunctionRecord
|
|
95
|
-
*/
|
|
96
|
-
host: string;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof FunctionRecord
|
|
101
|
-
*/
|
|
102
|
-
url: string;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Check if a given object implements the FunctionRecord interface.
|
|
106
|
-
*/
|
|
107
|
-
export declare function instanceOfFunctionRecord(value: object): value is FunctionRecord;
|
|
108
|
-
export declare function FunctionRecordFromJSON(json: any): FunctionRecord;
|
|
109
|
-
export declare function FunctionRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRecord;
|
|
110
|
-
export declare function FunctionRecordToJSON(json: any): FunctionRecord;
|
|
111
|
-
export declare function FunctionRecordToJSONTyped(value?: FunctionRecord | null, ignoreDiscriminator?: boolean): any;
|
|
112
|
-
//# sourceMappingURL=FunctionRecord.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRecord.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRecord.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAa/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAqBnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBlH"}
|
|
@@ -1,90 +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 FunctionRecord interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfFunctionRecord(value) {
|
|
19
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('domainLabel' in value) || value['domainLabel'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('autoscaling' in value) || value['autoscaling'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('host' in value) || value['host'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('url' in value) || value['url'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
export function FunctionRecordFromJSON(json) {
|
|
44
|
-
return FunctionRecordFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function FunctionRecordFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'teamId': json['team_id'],
|
|
53
|
-
'name': json['name'],
|
|
54
|
-
'slug': json['slug'],
|
|
55
|
-
'domainLabel': json['domain_label'],
|
|
56
|
-
'activeRevisionId': json['active_revision_id'] == null ? undefined : json['active_revision_id'],
|
|
57
|
-
'enabled': json['enabled'],
|
|
58
|
-
'autoscaling': FunctionAutoscalingFromJSON(json['autoscaling']),
|
|
59
|
-
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
60
|
-
'createdAt': (new Date(json['created_at'])),
|
|
61
|
-
'updatedAt': (new Date(json['updated_at'])),
|
|
62
|
-
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
63
|
-
'host': json['host'],
|
|
64
|
-
'url': json['url'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
export function FunctionRecordToJSON(json) {
|
|
68
|
-
return FunctionRecordToJSONTyped(json, false);
|
|
69
|
-
}
|
|
70
|
-
export function FunctionRecordToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
'id': value['id'],
|
|
76
|
-
'team_id': value['teamId'],
|
|
77
|
-
'name': value['name'],
|
|
78
|
-
'slug': value['slug'],
|
|
79
|
-
'domain_label': value['domainLabel'],
|
|
80
|
-
'active_revision_id': value['activeRevisionId'],
|
|
81
|
-
'enabled': value['enabled'],
|
|
82
|
-
'autoscaling': FunctionAutoscalingToJSON(value['autoscaling']),
|
|
83
|
-
'created_by': value['createdBy'],
|
|
84
|
-
'created_at': value['createdAt'].toISOString(),
|
|
85
|
-
'updated_at': value['updatedAt'].toISOString(),
|
|
86
|
-
'deleted_at': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
87
|
-
'host': value['host'],
|
|
88
|
-
'url': value['url'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
@@ -1,51 +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 FunctionRestoreMount
|
|
16
|
-
*/
|
|
17
|
-
export interface FunctionRestoreMount {
|
|
18
|
-
/**
|
|
19
|
-
* Revision-owned SandboxVolume prepared when the function revision was published.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FunctionRestoreMount
|
|
22
|
-
*/
|
|
23
|
-
sandboxvolumeId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Source SandboxVolume captured when the function revision was published.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FunctionRestoreMount
|
|
28
|
-
*/
|
|
29
|
-
sourceSandboxvolumeId?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Immutable source volume snapshot captured for this function revision.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FunctionRestoreMount
|
|
34
|
-
*/
|
|
35
|
-
snapshotId?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof FunctionRestoreMount
|
|
40
|
-
*/
|
|
41
|
-
mountPoint: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the FunctionRestoreMount interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfFunctionRestoreMount(value: object): value is FunctionRestoreMount;
|
|
47
|
-
export declare function FunctionRestoreMountFromJSON(json: any): FunctionRestoreMount;
|
|
48
|
-
export declare function FunctionRestoreMountFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRestoreMount;
|
|
49
|
-
export declare function FunctionRestoreMountToJSON(json: any): FunctionRestoreMount;
|
|
50
|
-
export declare function FunctionRestoreMountToJSONTyped(value?: FunctionRestoreMount | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
-
//# sourceMappingURL=FunctionRestoreMount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRestoreMount.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRestoreMount.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;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,CAW/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,CAY9H"}
|
|
@@ -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,135 +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 { FunctionRevisionSourceType } from './FunctionRevisionSourceType.js';
|
|
13
|
-
import type { SandboxAppService } from './SandboxAppService.js';
|
|
14
|
-
import type { FunctionRestoreMount } from './FunctionRestoreMount.js';
|
|
15
|
-
import type { FunctionRevisionSpec } from './FunctionRevisionSpec.js';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface FunctionRevision
|
|
20
|
-
*/
|
|
21
|
-
export interface FunctionRevision {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof FunctionRevision
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof FunctionRevision
|
|
32
|
-
*/
|
|
33
|
-
functionId: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof FunctionRevision
|
|
38
|
-
*/
|
|
39
|
-
teamId: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof FunctionRevision
|
|
44
|
-
*/
|
|
45
|
-
revisionNumber: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {FunctionRevisionSourceType}
|
|
49
|
-
* @memberof FunctionRevision
|
|
50
|
-
*/
|
|
51
|
-
sourceType: FunctionRevisionSourceType;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {FunctionRevisionSpec}
|
|
55
|
-
* @memberof FunctionRevision
|
|
56
|
-
*/
|
|
57
|
-
revisionSpec: FunctionRevisionSpec;
|
|
58
|
-
/**
|
|
59
|
-
* Non-execution metadata describing how the revision spec was produced.
|
|
60
|
-
* @type {{ [key: string]: any; }}
|
|
61
|
-
* @memberof FunctionRevision
|
|
62
|
-
*/
|
|
63
|
-
provenance?: {
|
|
64
|
-
[key: string]: any;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Compatibility mirror for sandbox-service revisions.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof FunctionRevision
|
|
70
|
-
*/
|
|
71
|
-
sourceSandboxId?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Compatibility mirror for sandbox-service revisions.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof FunctionRevision
|
|
76
|
-
*/
|
|
77
|
-
sourceServiceId?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Compatibility mirror of revision_spec.template_id.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof FunctionRevision
|
|
82
|
-
*/
|
|
83
|
-
sourceTemplateId?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Compatibility mirror of revision_spec.mounts for prepared SandboxVolume mounts.
|
|
86
|
-
* @type {Array<FunctionRestoreMount>}
|
|
87
|
-
* @memberof FunctionRevision
|
|
88
|
-
*/
|
|
89
|
-
restoreMounts?: Array<FunctionRestoreMount>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {SandboxAppService}
|
|
93
|
-
* @memberof FunctionRevision
|
|
94
|
-
*/
|
|
95
|
-
serviceSnapshot?: SandboxAppService;
|
|
96
|
-
/**
|
|
97
|
-
* Current restored runtime sandbox serving the revision, if one exists.
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof FunctionRevision
|
|
100
|
-
*/
|
|
101
|
-
runtimeSandboxId?: string;
|
|
102
|
-
/**
|
|
103
|
-
* Current runtime process context inside the restored runtime sandbox.
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof FunctionRevision
|
|
106
|
-
*/
|
|
107
|
-
runtimeContextId?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Last time the restored runtime sandbox mapping was updated.
|
|
110
|
-
* @type {Date}
|
|
111
|
-
* @memberof FunctionRevision
|
|
112
|
-
*/
|
|
113
|
-
runtimeUpdatedAt?: Date;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof FunctionRevision
|
|
118
|
-
*/
|
|
119
|
-
createdBy?: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {Date}
|
|
123
|
-
* @memberof FunctionRevision
|
|
124
|
-
*/
|
|
125
|
-
createdAt: Date;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Check if a given object implements the FunctionRevision interface.
|
|
129
|
-
*/
|
|
130
|
-
export declare function instanceOfFunctionRevision(value: object): value is FunctionRevision;
|
|
131
|
-
export declare function FunctionRevisionFromJSON(json: any): FunctionRevision;
|
|
132
|
-
export declare function FunctionRevisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevision;
|
|
133
|
-
export declare function FunctionRevisionToJSON(json: any): FunctionRevision;
|
|
134
|
-
export declare function FunctionRevisionToJSONTyped(value?: FunctionRevision | null, ignoreDiscriminator?: boolean): any;
|
|
135
|
-
//# 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,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAO/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,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,UAAU,EAAE,0BAA0B,CAAC;IACvC;;;;OAIG;IACH,YAAY,EAAE,oBAAoB,CAAC;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC;;;;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;AAID;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CASnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAwBvG;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,CAyBtH"}
|
|
@@ -1,91 +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 { FunctionRevisionSourceTypeFromJSON, FunctionRevisionSourceTypeToJSON, } from './FunctionRevisionSourceType.js';
|
|
15
|
-
import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
16
|
-
import { FunctionRestoreMountFromJSON, FunctionRestoreMountToJSON, } from './FunctionRestoreMount.js';
|
|
17
|
-
import { FunctionRevisionSpecFromJSON, FunctionRevisionSpecToJSON, } from './FunctionRevisionSpec.js';
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the FunctionRevision interface.
|
|
20
|
-
*/
|
|
21
|
-
export function instanceOfFunctionRevision(value) {
|
|
22
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('functionId' in value) || value['functionId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('sourceType' in value) || value['sourceType'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('revisionSpec' in value) || value['revisionSpec'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
export function FunctionRevisionFromJSON(json) {
|
|
39
|
-
return FunctionRevisionFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
export function FunctionRevisionFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'id': json['id'],
|
|
47
|
-
'functionId': json['function_id'],
|
|
48
|
-
'teamId': json['team_id'],
|
|
49
|
-
'revisionNumber': json['revision_number'],
|
|
50
|
-
'sourceType': FunctionRevisionSourceTypeFromJSON(json['source_type']),
|
|
51
|
-
'revisionSpec': FunctionRevisionSpecFromJSON(json['revision_spec']),
|
|
52
|
-
'provenance': json['provenance'] == null ? undefined : json['provenance'],
|
|
53
|
-
'sourceSandboxId': json['source_sandbox_id'] == null ? undefined : json['source_sandbox_id'],
|
|
54
|
-
'sourceServiceId': json['source_service_id'] == null ? undefined : json['source_service_id'],
|
|
55
|
-
'sourceTemplateId': json['source_template_id'] == null ? undefined : json['source_template_id'],
|
|
56
|
-
'restoreMounts': json['restore_mounts'] == null ? undefined : (json['restore_mounts'].map(FunctionRestoreMountFromJSON)),
|
|
57
|
-
'serviceSnapshot': json['service_snapshot'] == null ? undefined : SandboxAppServiceFromJSON(json['service_snapshot']),
|
|
58
|
-
'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
|
|
59
|
-
'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
|
|
60
|
-
'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
|
|
61
|
-
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
62
|
-
'createdAt': (new Date(json['created_at'])),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
export function FunctionRevisionToJSON(json) {
|
|
66
|
-
return FunctionRevisionToJSONTyped(json, false);
|
|
67
|
-
}
|
|
68
|
-
export function FunctionRevisionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
'id': value['id'],
|
|
74
|
-
'function_id': value['functionId'],
|
|
75
|
-
'team_id': value['teamId'],
|
|
76
|
-
'revision_number': value['revisionNumber'],
|
|
77
|
-
'source_type': FunctionRevisionSourceTypeToJSON(value['sourceType']),
|
|
78
|
-
'revision_spec': FunctionRevisionSpecToJSON(value['revisionSpec']),
|
|
79
|
-
'provenance': value['provenance'],
|
|
80
|
-
'source_sandbox_id': value['sourceSandboxId'],
|
|
81
|
-
'source_service_id': value['sourceServiceId'],
|
|
82
|
-
'source_template_id': value['sourceTemplateId'],
|
|
83
|
-
'restore_mounts': value['restoreMounts'] == null ? undefined : (value['restoreMounts'].map(FunctionRestoreMountToJSON)),
|
|
84
|
-
'service_snapshot': SandboxAppServiceToJSON(value['serviceSnapshot']),
|
|
85
|
-
'runtime_sandbox_id': value['runtimeSandboxId'],
|
|
86
|
-
'runtime_context_id': value['runtimeContextId'],
|
|
87
|
-
'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
|
|
88
|
-
'created_by': value['createdBy'],
|
|
89
|
-
'created_at': value['createdAt'].toISOString(),
|
|
90
|
-
};
|
|
91
|
-
}
|
|
@@ -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,26 +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 FunctionRevisionInputSourceType: {
|
|
17
|
-
readonly SandboxService: "sandbox_service";
|
|
18
|
-
readonly RevisionSpec: "revision_spec";
|
|
19
|
-
};
|
|
20
|
-
export type FunctionRevisionInputSourceType = typeof FunctionRevisionInputSourceType[keyof typeof FunctionRevisionInputSourceType];
|
|
21
|
-
export declare function instanceOfFunctionRevisionInputSourceType(value: any): boolean;
|
|
22
|
-
export declare function FunctionRevisionInputSourceTypeFromJSON(json: any): FunctionRevisionInputSourceType;
|
|
23
|
-
export declare function FunctionRevisionInputSourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRevisionInputSourceType;
|
|
24
|
-
export declare function FunctionRevisionInputSourceTypeToJSON(value?: FunctionRevisionInputSourceType | null): any;
|
|
25
|
-
export declare function FunctionRevisionInputSourceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): FunctionRevisionInputSourceType;
|
|
26
|
-
//# sourceMappingURL=FunctionRevisionInputSourceType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionRevisionInputSourceType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRevisionInputSourceType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS7E;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAErI;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,GAAG,GAAG,CAEzG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAEpI"}
|