sandbox0 0.3.3 → 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.
Files changed (68) hide show
  1. package/dist/apispec/src/apis/SandboxesApi.d.ts +1 -49
  2. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/SandboxesApi.js +1 -144
  4. package/dist/apispec/src/models/CredentialProjectionType.d.ts +1 -0
  5. package/dist/apispec/src/models/CredentialProjectionType.d.ts.map +1 -1
  6. package/dist/apispec/src/models/CredentialProjectionType.js +2 -1
  7. package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts +1 -0
  8. package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts.map +1 -1
  9. package/dist/apispec/src/models/CredentialSourceResolverKind.js +2 -1
  10. package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts +7 -0
  11. package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts.map +1 -1
  12. package/dist/apispec/src/models/CredentialSourceWriteSpec.js +3 -0
  13. package/dist/apispec/src/models/EgressAuthProtocol.d.ts +1 -0
  14. package/dist/apispec/src/models/EgressAuthProtocol.d.ts.map +1 -1
  15. package/dist/apispec/src/models/EgressAuthProtocol.js +1 -0
  16. package/dist/apispec/src/models/EgressCredentialRule.d.ts +7 -0
  17. package/dist/apispec/src/models/EgressCredentialRule.d.ts.map +1 -1
  18. package/dist/apispec/src/models/EgressCredentialRule.js +3 -0
  19. package/dist/apispec/src/models/HTTPMatch.d.ts +58 -0
  20. package/dist/apispec/src/models/HTTPMatch.d.ts.map +1 -0
  21. package/dist/apispec/src/models/HTTPMatch.js +50 -0
  22. package/dist/apispec/src/models/HTTPValueMatch.d.ts +45 -0
  23. package/dist/apispec/src/models/HTTPValueMatch.d.ts.map +1 -0
  24. package/dist/apispec/src/models/HTTPValueMatch.js +47 -0
  25. package/dist/apispec/src/models/ProjectionSpec.d.ts +7 -0
  26. package/dist/apispec/src/models/ProjectionSpec.d.ts.map +1 -1
  27. package/dist/apispec/src/models/ProjectionSpec.js +3 -0
  28. package/dist/apispec/src/models/SSHProxyProjection.d.ts +45 -0
  29. package/dist/apispec/src/models/SSHProxyProjection.d.ts.map +1 -0
  30. package/dist/apispec/src/models/SSHProxyProjection.js +45 -0
  31. package/dist/apispec/src/models/Sandbox.d.ts +0 -7
  32. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  33. package/dist/apispec/src/models/Sandbox.js +0 -3
  34. package/dist/apispec/src/models/SandboxConfig.d.ts +0 -7
  35. package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
  36. package/dist/apispec/src/models/SandboxConfig.js +0 -3
  37. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +0 -7
  38. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
  39. package/dist/apispec/src/models/SandboxUpdateConfig.js +0 -3
  40. package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts +39 -0
  41. package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts.map +1 -0
  42. package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.js +45 -0
  43. package/dist/apispec/src/models/index.d.ts +4 -4
  44. package/dist/apispec/src/models/index.d.ts.map +1 -1
  45. package/dist/apispec/src/models/index.js +4 -4
  46. package/dist/index.d.ts +0 -1
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +0 -1
  49. package/dist/models.d.ts +0 -9
  50. package/dist/models.d.ts.map +1 -1
  51. package/dist/response_normalize.d.ts.map +1 -1
  52. package/dist/response_normalize.js +0 -1
  53. package/package.json +1 -1
  54. package/dist/apispec/src/models/ExposedPortConfig.d.ts +0 -50
  55. package/dist/apispec/src/models/ExposedPortConfig.d.ts.map +0 -1
  56. package/dist/apispec/src/models/ExposedPortConfig.js +0 -48
  57. package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts +0 -40
  58. package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts.map +0 -1
  59. package/dist/apispec/src/models/SuccessExposedPortsResponse.js +0 -46
  60. package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts +0 -48
  61. package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts.map +0 -1
  62. package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.js +0 -49
  63. package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts +0 -34
  64. package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts.map +0 -1
  65. package/dist/apispec/src/models/UpdateExposedPortsRequest.js +0 -44
  66. package/dist/sandbox_exposed_ports.d.ts +0 -11
  67. package/dist/sandbox_exposed_ports.d.ts.map +0 -1
  68. package/dist/sandbox_exposed_ports.js +0 -66
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { ClaimRequest, PublicGatewayConfig, SandboxNetworkPolicy, SandboxRefreshRequest, SandboxUpdateRequest, SuccessClaimResponse, SuccessExposedPortsResponse, SuccessMessageResponse, SuccessPauseSandboxResponse, SuccessPublicGatewayResponse, SuccessRefreshResponse, SuccessResumeSandboxResponse, SuccessSandboxListResponse, SuccessSandboxNetworkPolicyResponse, SuccessSandboxResponse, SuccessSandboxStatusResponse, UpdateExposedPortsRequest } from '../models/index.js';
13
+ import type { ClaimRequest, PublicGatewayConfig, SandboxNetworkPolicy, SandboxRefreshRequest, SandboxUpdateRequest, SuccessClaimResponse, SuccessMessageResponse, SuccessPauseSandboxResponse, SuccessPublicGatewayResponse, SuccessRefreshResponse, SuccessResumeSandboxResponse, SuccessSandboxListResponse, SuccessSandboxNetworkPolicyResponse, SuccessSandboxResponse, SuccessSandboxStatusResponse } from '../models/index.js';
14
14
  export interface ApiV1SandboxesGetRequest {
15
15
  status?: ApiV1SandboxesGetStatusEnum;
16
16
  templateId?: string;
@@ -21,20 +21,6 @@ export interface ApiV1SandboxesGetRequest {
21
21
  export interface ApiV1SandboxesIdDeleteRequest {
22
22
  id: string;
23
23
  }
24
- export interface ApiV1SandboxesIdExposedPortsDeleteRequest {
25
- id: string;
26
- }
27
- export interface ApiV1SandboxesIdExposedPortsGetRequest {
28
- id: string;
29
- }
30
- export interface ApiV1SandboxesIdExposedPortsPortDeleteRequest {
31
- id: string;
32
- port: number;
33
- }
34
- export interface ApiV1SandboxesIdExposedPortsPutRequest {
35
- id: string;
36
- updateExposedPortsRequest: UpdateExposedPortsRequest;
37
- }
38
24
  export interface ApiV1SandboxesIdGetRequest {
39
25
  id: string;
40
26
  }
@@ -104,40 +90,6 @@ export declare class SandboxesApi extends runtime.BaseAPI {
104
90
  * Delete (terminate) a sandbox
105
91
  */
106
92
  apiV1SandboxesIdDelete(requestParameters: ApiV1SandboxesIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessMessageResponse>;
107
- /**
108
- * Clear all exposed ports
109
- */
110
- apiV1SandboxesIdExposedPortsDeleteRaw(requestParameters: ApiV1SandboxesIdExposedPortsDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessExposedPortsResponse>>;
111
- /**
112
- * Clear all exposed ports
113
- */
114
- apiV1SandboxesIdExposedPortsDelete(requestParameters: ApiV1SandboxesIdExposedPortsDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessExposedPortsResponse>;
115
- /**
116
- * Get sandbox exposed ports
117
- */
118
- apiV1SandboxesIdExposedPortsGetRaw(requestParameters: ApiV1SandboxesIdExposedPortsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessExposedPortsResponse>>;
119
- /**
120
- * Get sandbox exposed ports
121
- */
122
- apiV1SandboxesIdExposedPortsGet(requestParameters: ApiV1SandboxesIdExposedPortsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessExposedPortsResponse>;
123
- /**
124
- * Remove a specific exposed port
125
- */
126
- apiV1SandboxesIdExposedPortsPortDeleteRaw(requestParameters: ApiV1SandboxesIdExposedPortsPortDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessExposedPortsResponse>>;
127
- /**
128
- * Remove a specific exposed port
129
- */
130
- apiV1SandboxesIdExposedPortsPortDelete(requestParameters: ApiV1SandboxesIdExposedPortsPortDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessExposedPortsResponse>;
131
- /**
132
- * Replaces all exposed ports for the sandbox. Used to control which ports are publicly accessible via the exposure domain.
133
- * Update sandbox exposed ports
134
- */
135
- apiV1SandboxesIdExposedPortsPutRaw(requestParameters: ApiV1SandboxesIdExposedPortsPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessExposedPortsResponse>>;
136
- /**
137
- * Replaces all exposed ports for the sandbox. Used to control which ports are publicly accessible via the exposure domain.
138
- * Update sandbox exposed ports
139
- */
140
- apiV1SandboxesIdExposedPortsPut(requestParameters: ApiV1SandboxesIdExposedPortsPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessExposedPortsResponse>;
141
93
  /**
142
94
  * Get sandbox by ID
143
95
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxesApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/SandboxesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,YAAY,EAEZ,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;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AAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IAkC/M;;OAEG;IACG,yBAAyB,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAKvL;;OAEG;IACG,qBAAqB,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAoCzL;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAKpK;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC"}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime.js';
15
- import { ClaimRequestToJSON, PublicGatewayConfigToJSON, SandboxNetworkPolicyToJSON, SandboxRefreshRequestToJSON, SandboxUpdateRequestToJSON, SuccessClaimResponseFromJSON, SuccessExposedPortsResponseFromJSON, SuccessMessageResponseFromJSON, SuccessPauseSandboxResponseFromJSON, SuccessPublicGatewayResponseFromJSON, SuccessRefreshResponseFromJSON, SuccessResumeSandboxResponseFromJSON, SuccessSandboxListResponseFromJSON, SuccessSandboxNetworkPolicyResponseFromJSON, SuccessSandboxResponseFromJSON, SuccessSandboxStatusResponseFromJSON, UpdateExposedPortsRequestToJSON, } from '../models/index.js';
15
+ import { ClaimRequestToJSON, PublicGatewayConfigToJSON, SandboxNetworkPolicyToJSON, SandboxRefreshRequestToJSON, SandboxUpdateRequestToJSON, SuccessClaimResponseFromJSON, SuccessMessageResponseFromJSON, SuccessPauseSandboxResponseFromJSON, SuccessPublicGatewayResponseFromJSON, SuccessRefreshResponseFromJSON, SuccessResumeSandboxResponseFromJSON, SuccessSandboxListResponseFromJSON, SuccessSandboxNetworkPolicyResponseFromJSON, SuccessSandboxResponseFromJSON, SuccessSandboxStatusResponseFromJSON, } from '../models/index.js';
16
16
  /**
17
17
  *
18
18
  */
@@ -96,149 +96,6 @@ export class SandboxesApi extends runtime.BaseAPI {
96
96
  const response = await this.apiV1SandboxesIdDeleteRaw(requestParameters, initOverrides);
97
97
  return await response.value();
98
98
  }
99
- /**
100
- * Clear all exposed ports
101
- */
102
- async apiV1SandboxesIdExposedPortsDeleteRaw(requestParameters, initOverrides) {
103
- if (requestParameters['id'] == null) {
104
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxesIdExposedPortsDelete().');
105
- }
106
- const queryParameters = {};
107
- const headerParameters = {};
108
- if (this.configuration && this.configuration.accessToken) {
109
- const token = this.configuration.accessToken;
110
- const tokenString = await token("bearerAuth", []);
111
- if (tokenString) {
112
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
113
- }
114
- }
115
- let urlPath = `/api/v1/sandboxes/{id}/exposed-ports`;
116
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
117
- const response = await this.request({
118
- path: urlPath,
119
- method: 'DELETE',
120
- headers: headerParameters,
121
- query: queryParameters,
122
- }, initOverrides);
123
- return new runtime.JSONApiResponse(response, (jsonValue) => SuccessExposedPortsResponseFromJSON(jsonValue));
124
- }
125
- /**
126
- * Clear all exposed ports
127
- */
128
- async apiV1SandboxesIdExposedPortsDelete(requestParameters, initOverrides) {
129
- const response = await this.apiV1SandboxesIdExposedPortsDeleteRaw(requestParameters, initOverrides);
130
- return await response.value();
131
- }
132
- /**
133
- * Get sandbox exposed ports
134
- */
135
- async apiV1SandboxesIdExposedPortsGetRaw(requestParameters, initOverrides) {
136
- if (requestParameters['id'] == null) {
137
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxesIdExposedPortsGet().');
138
- }
139
- const queryParameters = {};
140
- const headerParameters = {};
141
- if (this.configuration && this.configuration.accessToken) {
142
- const token = this.configuration.accessToken;
143
- const tokenString = await token("bearerAuth", []);
144
- if (tokenString) {
145
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
146
- }
147
- }
148
- let urlPath = `/api/v1/sandboxes/{id}/exposed-ports`;
149
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
150
- const response = await this.request({
151
- path: urlPath,
152
- method: 'GET',
153
- headers: headerParameters,
154
- query: queryParameters,
155
- }, initOverrides);
156
- return new runtime.JSONApiResponse(response, (jsonValue) => SuccessExposedPortsResponseFromJSON(jsonValue));
157
- }
158
- /**
159
- * Get sandbox exposed ports
160
- */
161
- async apiV1SandboxesIdExposedPortsGet(requestParameters, initOverrides) {
162
- const response = await this.apiV1SandboxesIdExposedPortsGetRaw(requestParameters, initOverrides);
163
- return await response.value();
164
- }
165
- /**
166
- * Remove a specific exposed port
167
- */
168
- async apiV1SandboxesIdExposedPortsPortDeleteRaw(requestParameters, initOverrides) {
169
- if (requestParameters['id'] == null) {
170
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxesIdExposedPortsPortDelete().');
171
- }
172
- if (requestParameters['port'] == null) {
173
- throw new runtime.RequiredError('port', 'Required parameter "port" was null or undefined when calling apiV1SandboxesIdExposedPortsPortDelete().');
174
- }
175
- const queryParameters = {};
176
- const headerParameters = {};
177
- if (this.configuration && this.configuration.accessToken) {
178
- const token = this.configuration.accessToken;
179
- const tokenString = await token("bearerAuth", []);
180
- if (tokenString) {
181
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
182
- }
183
- }
184
- let urlPath = `/api/v1/sandboxes/{id}/exposed-ports/{port}`;
185
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
186
- urlPath = urlPath.replace(`{${"port"}}`, encodeURIComponent(String(requestParameters['port'])));
187
- const response = await this.request({
188
- path: urlPath,
189
- method: 'DELETE',
190
- headers: headerParameters,
191
- query: queryParameters,
192
- }, initOverrides);
193
- return new runtime.JSONApiResponse(response, (jsonValue) => SuccessExposedPortsResponseFromJSON(jsonValue));
194
- }
195
- /**
196
- * Remove a specific exposed port
197
- */
198
- async apiV1SandboxesIdExposedPortsPortDelete(requestParameters, initOverrides) {
199
- const response = await this.apiV1SandboxesIdExposedPortsPortDeleteRaw(requestParameters, initOverrides);
200
- return await response.value();
201
- }
202
- /**
203
- * Replaces all exposed ports for the sandbox. Used to control which ports are publicly accessible via the exposure domain.
204
- * Update sandbox exposed ports
205
- */
206
- async apiV1SandboxesIdExposedPortsPutRaw(requestParameters, initOverrides) {
207
- if (requestParameters['id'] == null) {
208
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxesIdExposedPortsPut().');
209
- }
210
- if (requestParameters['updateExposedPortsRequest'] == null) {
211
- throw new runtime.RequiredError('updateExposedPortsRequest', 'Required parameter "updateExposedPortsRequest" was null or undefined when calling apiV1SandboxesIdExposedPortsPut().');
212
- }
213
- const queryParameters = {};
214
- const headerParameters = {};
215
- headerParameters['Content-Type'] = 'application/json';
216
- if (this.configuration && this.configuration.accessToken) {
217
- const token = this.configuration.accessToken;
218
- const tokenString = await token("bearerAuth", []);
219
- if (tokenString) {
220
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
221
- }
222
- }
223
- let urlPath = `/api/v1/sandboxes/{id}/exposed-ports`;
224
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
225
- const response = await this.request({
226
- path: urlPath,
227
- method: 'PUT',
228
- headers: headerParameters,
229
- query: queryParameters,
230
- body: UpdateExposedPortsRequestToJSON(requestParameters['updateExposedPortsRequest']),
231
- }, initOverrides);
232
- return new runtime.JSONApiResponse(response, (jsonValue) => SuccessExposedPortsResponseFromJSON(jsonValue));
233
- }
234
- /**
235
- * Replaces all exposed ports for the sandbox. Used to control which ports are publicly accessible via the exposure domain.
236
- * Update sandbox exposed ports
237
- */
238
- async apiV1SandboxesIdExposedPortsPut(requestParameters, initOverrides) {
239
- const response = await this.apiV1SandboxesIdExposedPortsPutRaw(requestParameters, initOverrides);
240
- return await response.value();
241
- }
242
99
  /**
243
100
  * Get sandbox by ID
244
101
  */
@@ -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;;;;CAI3B,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"}
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;;;;CAI/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"}
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,C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AC;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
  }
@@ -18,6 +18,7 @@ export declare const EgressAuthProtocol: {
18
18
  readonly Https: "https";
19
19
  readonly Grpc: "grpc";
20
20
  readonly Tls: "tls";
21
+ readonly Ssh: "ssh";
21
22
  readonly Socks5: "socks5";
22
23
  readonly Mqtt: "mqtt";
23
24
  readonly Redis: "redis";
@@ -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;;;;;;;;CAQrB,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"}
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"}
@@ -20,6 +20,7 @@ export const EgressAuthProtocol = {
20
20
  Https: 'https',
21
21
  Grpc: 'grpc',
22
22
  Tls: 'tls',
23
+ Ssh: 'ssh',
23
24
  Socks5: 'socks5',
24
25
  Mqtt: 'mqtt',
25
26
  Redis: 'redis'
@@ -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,KA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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"}