sandbox0 0.3.4 → 0.3.6
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/FunctionsApi.d.ts +87 -0
- package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/FunctionsApi.js +231 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +28 -1
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +76 -1
- 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/CredentialProjectionType.d.ts +1 -0
- package/dist/apispec/src/models/CredentialProjectionType.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialProjectionType.js +2 -1
- package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts +1 -0
- package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialSourceResolverKind.js +2 -1
- package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts +7 -0
- package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialSourceWriteSpec.js +3 -0
- package/dist/apispec/src/models/EgressAuthProtocol.d.ts +1 -0
- package/dist/apispec/src/models/EgressAuthProtocol.d.ts.map +1 -1
- package/dist/apispec/src/models/EgressAuthProtocol.js +1 -0
- package/dist/apispec/src/models/EgressCredentialRule.d.ts +7 -0
- package/dist/apispec/src/models/EgressCredentialRule.d.ts.map +1 -1
- package/dist/apispec/src/models/EgressCredentialRule.js +3 -0
- package/dist/apispec/src/models/Function.d.ts +81 -0
- package/dist/apispec/src/models/Function.d.ts.map +1 -0
- package/dist/apispec/src/models/Function.js +71 -0
- package/dist/apispec/src/models/FunctionAlias.d.ts +63 -0
- package/dist/apispec/src/models/FunctionAlias.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionAlias.js +61 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +33 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +43 -0
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts +40 -0
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionCreateRequest.js +46 -0
- package/dist/apispec/src/models/FunctionRecord.d.ts +93 -0
- package/dist/apispec/src/models/FunctionRecord.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRecord.js +79 -0
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts +39 -0
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRestoreMount.js +47 -0
- package/dist/apispec/src/models/FunctionRevision.d.ts +113 -0
- package/dist/apispec/src/models/FunctionRevision.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRevision.js +87 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +40 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +46 -0
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts +39 -0
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionSourceRequest.js +47 -0
- package/dist/apispec/src/models/HTTPMatch.d.ts +58 -0
- package/dist/apispec/src/models/HTTPMatch.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPMatch.js +50 -0
- package/dist/apispec/src/models/HTTPValueMatch.d.ts +45 -0
- package/dist/apispec/src/models/HTTPValueMatch.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPValueMatch.js +47 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts +7 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ProjectionSpec.js +3 -0
- package/dist/apispec/src/models/SSHProxyProjection.d.ts +45 -0
- package/dist/apispec/src/models/SSHProxyProjection.d.ts.map +1 -0
- package/dist/apispec/src/models/SSHProxyProjection.js +45 -0
- package/dist/apispec/src/models/Sandbox.d.ts +14 -0
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +6 -0
- package/dist/apispec/src/models/SandboxAppService.d.ts +66 -0
- package/dist/apispec/src/models/SandboxAppService.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppService.js +60 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts +33 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.js +41 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts +40 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.js +46 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +84 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.js +64 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +68 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.js +59 -0
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts +78 -0
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceView.js +66 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxConfig.js +3 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts +34 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.js +44 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts +39 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.js +45 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +48 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +54 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +48 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.js +48 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts +2 -2
- package/dist/apispec/src/models/WarmProcessSpec.js +2 -2
- package/dist/apispec/src/models/index.d.ts +34 -6
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +34 -6
- package/dist/apispec_compat.d.ts +1535 -1
- package/dist/apispec_compat.d.ts.map +1 -1
- package/dist/apispec_compat.js +10 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/functions.d.ts +31 -0
- package/dist/resources/functions.d.ts.map +1 -0
- package/dist/resources/functions.js +79 -0
- package/package.json +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +0 -53
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +0 -112
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts +0 -79
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts.map +0 -1
- package/dist/apispec/src/models/ObservabilityLogRecord.js +0 -55
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts +0 -103
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts.map +0 -1
- package/dist/apispec/src/models/ObservabilityTraceSpan.js +0 -63
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.js +0 -42
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.js +0 -42
- package/dist/resources/observability.d.ts +0 -16
- package/dist/resources/observability.d.ts.map +0 -1
- package/dist/resources/observability.js +0 -30
|
@@ -0,0 +1,79 @@
|
|
|
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 FunctionRecord interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFunctionRecord(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('domainLabel' in value) || value['domainLabel'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('host' in value) || value['host'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function FunctionRecordFromJSON(json) {
|
|
39
|
+
return FunctionRecordFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function FunctionRecordFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'teamId': json['team_id'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'slug': json['slug'],
|
|
50
|
+
'domainLabel': json['domain_label'],
|
|
51
|
+
'activeRevisionId': json['active_revision_id'] == null ? undefined : json['active_revision_id'],
|
|
52
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
53
|
+
'createdAt': (new Date(json['created_at'])),
|
|
54
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
55
|
+
'host': json['host'],
|
|
56
|
+
'url': json['url'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export function FunctionRecordToJSON(json) {
|
|
60
|
+
return FunctionRecordToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
export function FunctionRecordToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'team_id': value['teamId'],
|
|
69
|
+
'name': value['name'],
|
|
70
|
+
'slug': value['slug'],
|
|
71
|
+
'domain_label': value['domainLabel'],
|
|
72
|
+
'active_revision_id': value['activeRevisionId'],
|
|
73
|
+
'created_by': value['createdBy'],
|
|
74
|
+
'created_at': value['createdAt'].toISOString(),
|
|
75
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
76
|
+
'host': value['host'],
|
|
77
|
+
'url': value['url'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FunctionRestoreMount
|
|
22
|
+
*/
|
|
23
|
+
sandboxvolumeId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FunctionRestoreMount
|
|
28
|
+
*/
|
|
29
|
+
mountPoint: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FunctionRestoreMount interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFunctionRestoreMount(value: object): value is FunctionRestoreMount;
|
|
35
|
+
export declare function FunctionRestoreMountFromJSON(json: any): FunctionRestoreMount;
|
|
36
|
+
export declare function FunctionRestoreMountFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRestoreMount;
|
|
37
|
+
export declare function FunctionRestoreMountToJSON(json: any): FunctionRestoreMount;
|
|
38
|
+
export declare function FunctionRestoreMountToJSONTyped(value?: FunctionRestoreMount | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=FunctionRestoreMount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,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,CAS/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,CAU9H"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
'mountPoint': json['mount_point'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function FunctionRestoreMountToJSON(json) {
|
|
37
|
+
return FunctionRestoreMountToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function FunctionRestoreMountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
45
|
+
'mount_point': value['mountPoint'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { HTTPValueMatch } from './HTTPValueMatch.js';
|
|
13
|
+
/**
|
|
14
|
+
* Request-level matcher for HTTP-family egress credential rules.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HTTPMatch
|
|
17
|
+
*/
|
|
18
|
+
export interface HTTPMatch {
|
|
19
|
+
/**
|
|
20
|
+
* HTTP methods matched case-insensitively after uppercasing.
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof HTTPMatch
|
|
23
|
+
*/
|
|
24
|
+
methods?: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Exact URL path matches.
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof HTTPMatch
|
|
29
|
+
*/
|
|
30
|
+
paths?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* URL path prefix matches.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof HTTPMatch
|
|
35
|
+
*/
|
|
36
|
+
pathPrefixes?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Decoded query parameter matchers.
|
|
39
|
+
* @type {Array<HTTPValueMatch>}
|
|
40
|
+
* @memberof HTTPMatch
|
|
41
|
+
*/
|
|
42
|
+
query?: Array<HTTPValueMatch>;
|
|
43
|
+
/**
|
|
44
|
+
* HTTP request header matchers.
|
|
45
|
+
* @type {Array<HTTPValueMatch>}
|
|
46
|
+
* @memberof HTTPMatch
|
|
47
|
+
*/
|
|
48
|
+
headers?: Array<HTTPValueMatch>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the HTTPMatch interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfHTTPMatch(value: object): value is HTTPMatch;
|
|
54
|
+
export declare function HTTPMatchFromJSON(json: any): HTTPMatch;
|
|
55
|
+
export declare function HTTPMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPMatch;
|
|
56
|
+
export declare function HTTPMatchToJSON(json: any): HTTPMatch;
|
|
57
|
+
export declare function HTTPMatchToJSONTyped(value?: HTTPMatch | null, ignoreDiscriminator?: boolean): any;
|
|
58
|
+
//# sourceMappingURL=HTTPMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPMatch.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPMatch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAErE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAYzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAaxG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { HTTPValueMatchFromJSON, HTTPValueMatchToJSON, } from './HTTPValueMatch.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the HTTPMatch interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfHTTPMatch(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function HTTPMatchFromJSON(json) {
|
|
22
|
+
return HTTPMatchFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function HTTPMatchFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'methods': json['methods'] == null ? undefined : json['methods'],
|
|
30
|
+
'paths': json['paths'] == null ? undefined : json['paths'],
|
|
31
|
+
'pathPrefixes': json['pathPrefixes'] == null ? undefined : json['pathPrefixes'],
|
|
32
|
+
'query': json['query'] == null ? undefined : (json['query'].map(HTTPValueMatchFromJSON)),
|
|
33
|
+
'headers': json['headers'] == null ? undefined : (json['headers'].map(HTTPValueMatchFromJSON)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function HTTPMatchToJSON(json) {
|
|
37
|
+
return HTTPMatchToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function HTTPMatchToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'methods': value['methods'],
|
|
45
|
+
'paths': value['paths'],
|
|
46
|
+
'pathPrefixes': value['pathPrefixes'],
|
|
47
|
+
'query': value['query'] == null ? undefined : (value['query'].map(HTTPValueMatchToJSON)),
|
|
48
|
+
'headers': value['headers'] == null ? undefined : (value['headers'].map(HTTPValueMatchToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|