sandbox0 0.3.4 → 0.3.5
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/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -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/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/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/index.d.ts +4 -6
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +4 -6
- 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 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- 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
|
@@ -4,7 +4,6 @@ export * from './ContextsApi.js';
|
|
|
4
4
|
export * from './CredentialSourcesApi.js';
|
|
5
5
|
export * from './FilesApi.js';
|
|
6
6
|
export * from './HealthApi.js';
|
|
7
|
-
export * from './ObservabilityApi.js';
|
|
8
7
|
export * from './RegionsApi.js';
|
|
9
8
|
export * from './RegistryApi.js';
|
|
10
9
|
export * from './SandboxVolumesApi.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
@@ -6,7 +6,6 @@ export * from './ContextsApi.js';
|
|
|
6
6
|
export * from './CredentialSourcesApi.js';
|
|
7
7
|
export * from './FilesApi.js';
|
|
8
8
|
export * from './HealthApi.js';
|
|
9
|
-
export * from './ObservabilityApi.js';
|
|
10
9
|
export * from './RegionsApi.js';
|
|
11
10
|
export * from './RegistryApi.js';
|
|
12
11
|
export * from './SandboxVolumesApi.js';
|
|
@@ -17,6 +17,7 @@ export declare const CredentialProjectionType: {
|
|
|
17
17
|
readonly HttpHeaders: "http_headers";
|
|
18
18
|
readonly TlsClientCertificate: "tls_client_certificate";
|
|
19
19
|
readonly UsernamePassword: "username_password";
|
|
20
|
+
readonly SshProxy: "ssh_proxy";
|
|
20
21
|
};
|
|
21
22
|
export type CredentialProjectionType = typeof CredentialProjectionType[keyof typeof CredentialProjectionType];
|
|
22
23
|
export declare function instanceOfCredentialProjectionType(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialProjectionType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialProjectionType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"CredentialProjectionType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialProjectionType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;CAK3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
export const CredentialProjectionType = {
|
|
19
19
|
HttpHeaders: 'http_headers',
|
|
20
20
|
TlsClientCertificate: 'tls_client_certificate',
|
|
21
|
-
UsernamePassword: 'username_password'
|
|
21
|
+
UsernamePassword: 'username_password',
|
|
22
|
+
SshProxy: 'ssh_proxy'
|
|
22
23
|
};
|
|
23
24
|
export function instanceOfCredentialProjectionType(value) {
|
|
24
25
|
for (const key in CredentialProjectionType) {
|
|
@@ -17,6 +17,7 @@ export declare const CredentialSourceResolverKind: {
|
|
|
17
17
|
readonly StaticHeaders: "static_headers";
|
|
18
18
|
readonly StaticTlsClientCertificate: "static_tls_client_certificate";
|
|
19
19
|
readonly StaticUsernamePassword: "static_username_password";
|
|
20
|
+
readonly StaticSshPrivateKey: "static_ssh_private_key";
|
|
20
21
|
};
|
|
21
22
|
export type CredentialSourceResolverKind = typeof CredentialSourceResolverKind[keyof typeof CredentialSourceResolverKind];
|
|
22
23
|
export declare function instanceOfCredentialSourceResolverKind(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialSourceResolverKind.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialSourceResolverKind.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"CredentialSourceResolverKind.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialSourceResolverKind.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;CAK/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1E;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE/H;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,GAAG,CAEnG;AAED,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE9H"}
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
export const CredentialSourceResolverKind = {
|
|
19
19
|
StaticHeaders: 'static_headers',
|
|
20
20
|
StaticTlsClientCertificate: 'static_tls_client_certificate',
|
|
21
|
-
StaticUsernamePassword: 'static_username_password'
|
|
21
|
+
StaticUsernamePassword: 'static_username_password',
|
|
22
|
+
StaticSshPrivateKey: 'static_ssh_private_key'
|
|
22
23
|
};
|
|
23
24
|
export function instanceOfCredentialSourceResolverKind(value) {
|
|
24
25
|
for (const key in CredentialSourceResolverKind) {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { StaticUsernamePasswordSourceSpec } from './StaticUsernamePasswordSourceSpec.js';
|
|
13
|
+
import type { StaticSSHPrivateKeySourceSpec } from './StaticSSHPrivateKeySourceSpec.js';
|
|
13
14
|
import type { StaticHeadersSourceSpec } from './StaticHeadersSourceSpec.js';
|
|
14
15
|
import type { StaticTLSClientCertificateSourceSpec } from './StaticTLSClientCertificateSourceSpec.js';
|
|
15
16
|
/**
|
|
@@ -36,6 +37,12 @@ export interface CredentialSourceWriteSpec {
|
|
|
36
37
|
* @memberof CredentialSourceWriteSpec
|
|
37
38
|
*/
|
|
38
39
|
staticUsernamePassword?: StaticUsernamePasswordSourceSpec;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {StaticSSHPrivateKeySourceSpec}
|
|
43
|
+
* @memberof CredentialSourceWriteSpec
|
|
44
|
+
*/
|
|
45
|
+
staticSSHPrivateKey?: StaticSSHPrivateKeySourceSpec;
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the CredentialSourceWriteSpec interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialSourceWriteSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialSourceWriteSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAO3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAQnG;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,oCAAoC,CAAC;IAClE;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"CredentialSourceWriteSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CredentialSourceWriteSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAO3F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAQnG;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,oCAAoC,CAAC;IAClE;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,gCAAgC,CAAC;IAC1D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,6BAA6B,CAAC;CACvD;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAErG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAWzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYxI"}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { StaticUsernamePasswordSourceSpecFromJSON, StaticUsernamePasswordSourceSpecToJSON, } from './StaticUsernamePasswordSourceSpec.js';
|
|
15
|
+
import { StaticSSHPrivateKeySourceSpecFromJSON, StaticSSHPrivateKeySourceSpecToJSON, } from './StaticSSHPrivateKeySourceSpec.js';
|
|
15
16
|
import { StaticHeadersSourceSpecFromJSON, StaticHeadersSourceSpecToJSON, } from './StaticHeadersSourceSpec.js';
|
|
16
17
|
import { StaticTLSClientCertificateSourceSpecFromJSON, StaticTLSClientCertificateSourceSpecToJSON, } from './StaticTLSClientCertificateSourceSpec.js';
|
|
17
18
|
/**
|
|
@@ -31,6 +32,7 @@ export function CredentialSourceWriteSpecFromJSONTyped(json, ignoreDiscriminator
|
|
|
31
32
|
'staticHeaders': json['staticHeaders'] == null ? undefined : StaticHeadersSourceSpecFromJSON(json['staticHeaders']),
|
|
32
33
|
'staticTLSClientCertificate': json['staticTLSClientCertificate'] == null ? undefined : StaticTLSClientCertificateSourceSpecFromJSON(json['staticTLSClientCertificate']),
|
|
33
34
|
'staticUsernamePassword': json['staticUsernamePassword'] == null ? undefined : StaticUsernamePasswordSourceSpecFromJSON(json['staticUsernamePassword']),
|
|
35
|
+
'staticSSHPrivateKey': json['staticSSHPrivateKey'] == null ? undefined : StaticSSHPrivateKeySourceSpecFromJSON(json['staticSSHPrivateKey']),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function CredentialSourceWriteSpecToJSON(json) {
|
|
@@ -44,5 +46,6 @@ export function CredentialSourceWriteSpecToJSONTyped(value, ignoreDiscriminator
|
|
|
44
46
|
'staticHeaders': StaticHeadersSourceSpecToJSON(value['staticHeaders']),
|
|
45
47
|
'staticTLSClientCertificate': StaticTLSClientCertificateSourceSpecToJSON(value['staticTLSClientCertificate']),
|
|
46
48
|
'staticUsernamePassword': StaticUsernamePasswordSourceSpecToJSON(value['staticUsernamePassword']),
|
|
49
|
+
'staticSSHPrivateKey': StaticSSHPrivateKeySourceSpecToJSON(value['staticSSHPrivateKey']),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EgressAuthProtocol.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EgressAuthProtocol.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"EgressAuthProtocol.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EgressAuthProtocol.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;CASrB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAG5F,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAShE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAE3G;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,GAAG,GAAG,CAE/E;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAE1G"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { EgressAuthProtocol } from './EgressAuthProtocol.js';
|
|
13
|
+
import type { HTTPMatch } from './HTTPMatch.js';
|
|
13
14
|
import type { EgressAuthFailurePolicy } from './EgressAuthFailurePolicy.js';
|
|
14
15
|
import type { EgressAuthRolloutMode } from './EgressAuthRolloutMode.js';
|
|
15
16
|
import type { PortSpec } from './PortSpec.js';
|
|
@@ -70,6 +71,12 @@ export interface EgressCredentialRule {
|
|
|
70
71
|
* @memberof EgressCredentialRule
|
|
71
72
|
*/
|
|
72
73
|
ports?: Array<PortSpec>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {HTTPMatch}
|
|
77
|
+
* @memberof EgressCredentialRule
|
|
78
|
+
*/
|
|
79
|
+
httpMatch?: HTTPMatch;
|
|
73
80
|
}
|
|
74
81
|
/**
|
|
75
82
|
* Check if a given object implements the EgressCredentialRule interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EgressCredentialRule.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EgressCredentialRule.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"EgressCredentialRule.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EgressCredentialRule.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAID;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAG3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAgB/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,CAiB9H"}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { EgressAuthProtocolFromJSON, EgressAuthProtocolToJSON, } from './EgressAuthProtocol.js';
|
|
15
|
+
import { HTTPMatchFromJSON, HTTPMatchToJSON, } from './HTTPMatch.js';
|
|
15
16
|
import { EgressAuthFailurePolicyFromJSON, EgressAuthFailurePolicyToJSON, } from './EgressAuthFailurePolicy.js';
|
|
16
17
|
import { EgressAuthRolloutModeFromJSON, EgressAuthRolloutModeToJSON, } from './EgressAuthRolloutMode.js';
|
|
17
18
|
import { PortSpecFromJSON, PortSpecToJSON, } from './PortSpec.js';
|
|
@@ -40,6 +41,7 @@ export function EgressCredentialRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
'failurePolicy': json['failurePolicy'] == null ? undefined : EgressAuthFailurePolicyFromJSON(json['failurePolicy']),
|
|
41
42
|
'domains': json['domains'] == null ? undefined : json['domains'],
|
|
42
43
|
'ports': json['ports'] == null ? undefined : (json['ports'].map(PortSpecFromJSON)),
|
|
44
|
+
'httpMatch': json['httpMatch'] == null ? undefined : HTTPMatchFromJSON(json['httpMatch']),
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
export function EgressCredentialRuleToJSON(json) {
|
|
@@ -58,5 +60,6 @@ export function EgressCredentialRuleToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
58
60
|
'failurePolicy': EgressAuthFailurePolicyToJSON(value['failurePolicy']),
|
|
59
61
|
'domains': value['domains'],
|
|
60
62
|
'ports': value['ports'] == null ? undefined : (value['ports'].map(PortSpecToJSON)),
|
|
63
|
+
'httpMatch': HTTPMatchToJSON(value['httpMatch']),
|
|
61
64
|
};
|
|
62
65
|
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 HTTPValueMatch
|
|
16
|
+
*/
|
|
17
|
+
export interface HTTPValueMatch {
|
|
18
|
+
/**
|
|
19
|
+
* Header or query parameter name.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HTTPValueMatch
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Accepted values. Empty with present=true requires only presence.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof HTTPValueMatch
|
|
28
|
+
*/
|
|
29
|
+
values?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* When true and values is empty, only parameter/header presence is required.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof HTTPValueMatch
|
|
34
|
+
*/
|
|
35
|
+
present?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the HTTPValueMatch interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfHTTPValueMatch(value: object): value is HTTPValueMatch;
|
|
41
|
+
export declare function HTTPValueMatchFromJSON(json: any): HTTPValueMatch;
|
|
42
|
+
export declare function HTTPValueMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPValueMatch;
|
|
43
|
+
export declare function HTTPValueMatchToJSON(json: any): HTTPValueMatch;
|
|
44
|
+
export declare function HTTPValueMatchToJSONTyped(value?: HTTPValueMatch | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=HTTPValueMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPValueMatch.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPValueMatch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAUnG;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,CAWlH"}
|
|
@@ -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 HTTPValueMatch interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHTTPValueMatch(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function HTTPValueMatchFromJSON(json) {
|
|
23
|
+
return HTTPValueMatchFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function HTTPValueMatchFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': json['name'],
|
|
31
|
+
'values': json['values'] == null ? undefined : json['values'],
|
|
32
|
+
'present': json['present'] == null ? undefined : json['present'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function HTTPValueMatchToJSON(json) {
|
|
36
|
+
return HTTPValueMatchToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function HTTPValueMatchToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
'values': value['values'],
|
|
45
|
+
'present': value['present'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CredentialProjectionType } from './CredentialProjectionType.js';
|
|
13
13
|
import type { HTTPHeadersProjection } from './HTTPHeadersProjection.js';
|
|
14
|
+
import type { SSHProxyProjection } from './SSHProxyProjection.js';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -41,6 +42,12 @@ export interface ProjectionSpec {
|
|
|
41
42
|
* @memberof ProjectionSpec
|
|
42
43
|
*/
|
|
43
44
|
usernamePassword?: object;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SSHProxyProjection}
|
|
48
|
+
* @memberof ProjectionSpec
|
|
49
|
+
*/
|
|
50
|
+
sshProxy?: SSHProxyProjection;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
46
53
|
* Check if a given object implements the ProjectionSpec interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAYnG;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,CAalH"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { CredentialProjectionTypeFromJSON, CredentialProjectionTypeToJSON, } from './CredentialProjectionType.js';
|
|
15
15
|
import { HTTPHeadersProjectionFromJSON, HTTPHeadersProjectionToJSON, } from './HTTPHeadersProjection.js';
|
|
16
|
+
import { SSHProxyProjectionFromJSON, SSHProxyProjectionToJSON, } from './SSHProxyProjection.js';
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the ProjectionSpec interface.
|
|
18
19
|
*/
|
|
@@ -33,6 +34,7 @@ export function ProjectionSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
'httpHeaders': json['httpHeaders'] == null ? undefined : HTTPHeadersProjectionFromJSON(json['httpHeaders']),
|
|
34
35
|
'tlsClientCertificate': json['tlsClientCertificate'] == null ? undefined : json['tlsClientCertificate'],
|
|
35
36
|
'usernamePassword': json['usernamePassword'] == null ? undefined : json['usernamePassword'],
|
|
37
|
+
'sshProxy': json['sshProxy'] == null ? undefined : SSHProxyProjectionFromJSON(json['sshProxy']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
export function ProjectionSpecToJSON(json) {
|
|
@@ -47,5 +49,6 @@ export function ProjectionSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
49
|
'httpHeaders': HTTPHeadersProjectionToJSON(value['httpHeaders']),
|
|
48
50
|
'tlsClientCertificate': value['tlsClientCertificate'],
|
|
49
51
|
'usernamePassword': value['usernamePassword'],
|
|
52
|
+
'sshProxy': SSHProxyProjectionToJSON(value['sshProxy']),
|
|
50
53
|
};
|
|
51
54
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Transparent SSH proxy projection used for SSH egress re-origination.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SSHProxyProjection
|
|
16
|
+
*/
|
|
17
|
+
export interface SSHProxyProjection {
|
|
18
|
+
/**
|
|
19
|
+
* Fake public keys accepted from sandbox-side SSH clients.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SSHProxyProjection
|
|
22
|
+
*/
|
|
23
|
+
sandboxPublicKeys?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Username used by netd when authenticating to the upstream SSH server.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SSHProxyProjection
|
|
28
|
+
*/
|
|
29
|
+
upstreamUsername?: string;
|
|
30
|
+
/**
|
|
31
|
+
* OpenSSH known_hosts entries used to verify upstream host keys.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SSHProxyProjection
|
|
34
|
+
*/
|
|
35
|
+
knownHosts?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SSHProxyProjection interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSSHProxyProjection(value: object): value is SSHProxyProjection;
|
|
41
|
+
export declare function SSHProxyProjectionFromJSON(json: any): SSHProxyProjection;
|
|
42
|
+
export declare function SSHProxyProjectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SSHProxyProjection;
|
|
43
|
+
export declare function SSHProxyProjectionToJSON(json: any): SSHProxyProjection;
|
|
44
|
+
export declare function SSHProxyProjectionToJSONTyped(value?: SSHProxyProjection | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=SSHProxyProjection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SSHProxyProjection.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SSHProxyProjection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAEvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAU3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1H"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SSHProxyProjection interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSSHProxyProjection(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SSHProxyProjectionFromJSON(json) {
|
|
21
|
+
return SSHProxyProjectionFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SSHProxyProjectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'sandboxPublicKeys': json['sandboxPublicKeys'] == null ? undefined : json['sandboxPublicKeys'],
|
|
29
|
+
'upstreamUsername': json['upstreamUsername'] == null ? undefined : json['upstreamUsername'],
|
|
30
|
+
'knownHosts': json['knownHosts'] == null ? undefined : json['knownHosts'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SSHProxyProjectionToJSON(json) {
|
|
34
|
+
return SSHProxyProjectionToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SSHProxyProjectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'sandboxPublicKeys': value['sandboxPublicKeys'],
|
|
42
|
+
'upstreamUsername': value['upstreamUsername'],
|
|
43
|
+
'knownHosts': value['knownHosts'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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 StaticSSHPrivateKeySourceSpec
|
|
16
|
+
*/
|
|
17
|
+
export interface StaticSSHPrivateKeySourceSpec {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StaticSSHPrivateKeySourceSpec
|
|
22
|
+
*/
|
|
23
|
+
privateKeyPem: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StaticSSHPrivateKeySourceSpec
|
|
28
|
+
*/
|
|
29
|
+
passphrase?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the StaticSSHPrivateKeySourceSpec interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfStaticSSHPrivateKeySourceSpec(value: object): value is StaticSSHPrivateKeySourceSpec;
|
|
35
|
+
export declare function StaticSSHPrivateKeySourceSpecFromJSON(json: any): StaticSSHPrivateKeySourceSpec;
|
|
36
|
+
export declare function StaticSSHPrivateKeySourceSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): StaticSSHPrivateKeySourceSpec;
|
|
37
|
+
export declare function StaticSSHPrivateKeySourceSpecToJSON(json: any): StaticSSHPrivateKeySourceSpec;
|
|
38
|
+
export declare function StaticSSHPrivateKeySourceSpecToJSONTyped(value?: StaticSSHPrivateKeySourceSpec | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=StaticSSHPrivateKeySourceSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticSSHPrivateKeySourceSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/StaticSSHPrivateKeySourceSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;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"}
|