sandbox0 0.3.2 → 0.3.4
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/ObservabilityApi.d.ts +53 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/ObservabilityApi.js +112 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +26 -49
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +74 -144
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts +79 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts.map +1 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.js +55 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts +103 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts.map +1 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.js +63 -0
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts +60 -0
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayAuth.js +57 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts +63 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayCORS.js +51 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts +40 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayConfig.js +46 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts +39 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.js +47 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts +92 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRoute.js +68 -0
- package/dist/apispec/src/models/Sandbox.d.ts +3 -3
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts +3 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxConfig.js +3 -3
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +3 -3
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -3
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.js +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.js +50 -0
- package/dist/apispec/src/models/index.d.ts +13 -4
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +13 -4
- package/dist/client.d.ts +3 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/models.d.ts +4 -7
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/observability.d.ts +16 -0
- package/dist/resources/observability.d.ts.map +1 -0
- package/dist/resources/observability.js +30 -0
- package/dist/response_normalize.d.ts.map +1 -1
- package/dist/response_normalize.js +0 -1
- package/dist/sandbox_public_gateway.d.ts +10 -0
- package/dist/sandbox_public_gateway.d.ts.map +1 -0
- package/dist/sandbox_public_gateway.js +31 -0
- package/package.json +1 -1
- package/dist/apispec/src/models/ExposedPortConfig.d.ts +0 -50
- package/dist/apispec/src/models/ExposedPortConfig.d.ts.map +0 -1
- package/dist/apispec/src/models/ExposedPortConfig.js +0 -48
- package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessExposedPortsResponse.js +0 -46
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts +0 -48
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.js +0 -49
- package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts +0 -34
- package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/UpdateExposedPortsRequest.js +0 -44
- package/dist/sandbox_exposed_ports.d.ts +0 -11
- package/dist/sandbox_exposed_ports.d.ts.map +0 -1
- package/dist/sandbox_exposed_ports.js +0 -66
|
@@ -0,0 +1,55 @@
|
|
|
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 ObservabilityLogRecord interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfObservabilityLogRecord(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ObservabilityLogRecordFromJSON(json) {
|
|
21
|
+
return ObservabilityLogRecordFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ObservabilityLogRecordFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
29
|
+
'traceId': json['trace_id'] == null ? undefined : json['trace_id'],
|
|
30
|
+
'spanId': json['span_id'] == null ? undefined : json['span_id'],
|
|
31
|
+
'severityText': json['severity_text'] == null ? undefined : json['severity_text'],
|
|
32
|
+
'severityNumber': json['severity_number'] == null ? undefined : json['severity_number'],
|
|
33
|
+
'body': json['body'] == null ? undefined : json['body'],
|
|
34
|
+
'resourceAttributes': json['resource_attributes'] == null ? undefined : json['resource_attributes'],
|
|
35
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ObservabilityLogRecordToJSON(json) {
|
|
39
|
+
return ObservabilityLogRecordToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ObservabilityLogRecordToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'timestamp': value['timestamp'],
|
|
47
|
+
'trace_id': value['traceId'],
|
|
48
|
+
'span_id': value['spanId'],
|
|
49
|
+
'severity_text': value['severityText'],
|
|
50
|
+
'severity_number': value['severityNumber'],
|
|
51
|
+
'body': value['body'],
|
|
52
|
+
'resource_attributes': value['resourceAttributes'],
|
|
53
|
+
'attributes': value['attributes'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 ObservabilityTraceSpan
|
|
16
|
+
*/
|
|
17
|
+
export interface ObservabilityTraceSpan {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ObservabilityTraceSpan
|
|
22
|
+
*/
|
|
23
|
+
timestamp?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ObservabilityTraceSpan
|
|
28
|
+
*/
|
|
29
|
+
traceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ObservabilityTraceSpan
|
|
34
|
+
*/
|
|
35
|
+
spanId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ObservabilityTraceSpan
|
|
40
|
+
*/
|
|
41
|
+
parentSpanId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ObservabilityTraceSpan
|
|
46
|
+
*/
|
|
47
|
+
serviceName?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ObservabilityTraceSpan
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ObservabilityTraceSpan
|
|
58
|
+
*/
|
|
59
|
+
kind?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ObservabilityTraceSpan
|
|
64
|
+
*/
|
|
65
|
+
durationNano?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ObservabilityTraceSpan
|
|
70
|
+
*/
|
|
71
|
+
statusCode?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ObservabilityTraceSpan
|
|
76
|
+
*/
|
|
77
|
+
statusMessage?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {{ [key: string]: string; }}
|
|
81
|
+
* @memberof ObservabilityTraceSpan
|
|
82
|
+
*/
|
|
83
|
+
resourceAttributes?: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {{ [key: string]: string; }}
|
|
89
|
+
* @memberof ObservabilityTraceSpan
|
|
90
|
+
*/
|
|
91
|
+
attributes?: {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the ObservabilityTraceSpan interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfObservabilityTraceSpan(value: object): value is ObservabilityTraceSpan;
|
|
99
|
+
export declare function ObservabilityTraceSpanFromJSON(json: any): ObservabilityTraceSpan;
|
|
100
|
+
export declare function ObservabilityTraceSpanFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObservabilityTraceSpan;
|
|
101
|
+
export declare function ObservabilityTraceSpanToJSON(json: any): ObservabilityTraceSpan;
|
|
102
|
+
export declare function ObservabilityTraceSpanToJSONTyped(value?: ObservabilityTraceSpan | null, ignoreDiscriminator?: boolean): any;
|
|
103
|
+
//# sourceMappingURL=ObservabilityTraceSpan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObservabilityTraceSpan.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ObservabilityTraceSpan.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAChD;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAE/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAmBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBlI"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 ObservabilityTraceSpan interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfObservabilityTraceSpan(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ObservabilityTraceSpanFromJSON(json) {
|
|
21
|
+
return ObservabilityTraceSpanFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ObservabilityTraceSpanFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
29
|
+
'traceId': json['trace_id'] == null ? undefined : json['trace_id'],
|
|
30
|
+
'spanId': json['span_id'] == null ? undefined : json['span_id'],
|
|
31
|
+
'parentSpanId': json['parent_span_id'] == null ? undefined : json['parent_span_id'],
|
|
32
|
+
'serviceName': json['service_name'] == null ? undefined : json['service_name'],
|
|
33
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
34
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
35
|
+
'durationNano': json['duration_nano'] == null ? undefined : json['duration_nano'],
|
|
36
|
+
'statusCode': json['status_code'] == null ? undefined : json['status_code'],
|
|
37
|
+
'statusMessage': json['status_message'] == null ? undefined : json['status_message'],
|
|
38
|
+
'resourceAttributes': json['resource_attributes'] == null ? undefined : json['resource_attributes'],
|
|
39
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ObservabilityTraceSpanToJSON(json) {
|
|
43
|
+
return ObservabilityTraceSpanToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ObservabilityTraceSpanToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'timestamp': value['timestamp'],
|
|
51
|
+
'trace_id': value['traceId'],
|
|
52
|
+
'span_id': value['spanId'],
|
|
53
|
+
'parent_span_id': value['parentSpanId'],
|
|
54
|
+
'service_name': value['serviceName'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'kind': value['kind'],
|
|
57
|
+
'duration_nano': value['durationNano'],
|
|
58
|
+
'status_code': value['statusCode'],
|
|
59
|
+
'status_message': value['statusMessage'],
|
|
60
|
+
'resource_attributes': value['resourceAttributes'],
|
|
61
|
+
'attributes': value['attributes'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 PublicGatewayAuth
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicGatewayAuth {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicGatewayAuth
|
|
22
|
+
*/
|
|
23
|
+
mode: PublicGatewayAuthModeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Hex SHA-256 of the accepted bearer token. Required when mode is bearer.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PublicGatewayAuth
|
|
28
|
+
*/
|
|
29
|
+
bearerTokenSha256?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Required header name when mode is header.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PublicGatewayAuth
|
|
34
|
+
*/
|
|
35
|
+
headerName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Hex SHA-256 of the required header value when mode is header.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PublicGatewayAuth
|
|
40
|
+
*/
|
|
41
|
+
headerValueSha256?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PublicGatewayAuthModeEnum: {
|
|
47
|
+
readonly None: "none";
|
|
48
|
+
readonly Bearer: "bearer";
|
|
49
|
+
readonly Header: "header";
|
|
50
|
+
};
|
|
51
|
+
export type PublicGatewayAuthModeEnum = typeof PublicGatewayAuthModeEnum[keyof typeof PublicGatewayAuthModeEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the PublicGatewayAuth interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfPublicGatewayAuth(value: object): value is PublicGatewayAuth;
|
|
56
|
+
export declare function PublicGatewayAuthFromJSON(json: any): PublicGatewayAuth;
|
|
57
|
+
export declare function PublicGatewayAuthFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicGatewayAuth;
|
|
58
|
+
export declare function PublicGatewayAuthToJSON(json: any): PublicGatewayAuth;
|
|
59
|
+
export declare function PublicGatewayAuthToJSONTyped(value?: PublicGatewayAuth | null, ignoreDiscriminator?: boolean): any;
|
|
60
|
+
//# sourceMappingURL=PublicGatewayAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicGatewayAuth.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PublicGatewayAuth.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAGD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;CAI5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAGjH;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAWzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYxH"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PublicGatewayAuthModeEnum = {
|
|
18
|
+
None: 'none',
|
|
19
|
+
Bearer: 'bearer',
|
|
20
|
+
Header: 'header'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PublicGatewayAuth interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPublicGatewayAuth(value) {
|
|
26
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function PublicGatewayAuthFromJSON(json) {
|
|
31
|
+
return PublicGatewayAuthFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function PublicGatewayAuthFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'mode': json['mode'],
|
|
39
|
+
'bearerTokenSha256': json['bearer_token_sha256'] == null ? undefined : json['bearer_token_sha256'],
|
|
40
|
+
'headerName': json['header_name'] == null ? undefined : json['header_name'],
|
|
41
|
+
'headerValueSha256': json['header_value_sha256'] == null ? undefined : json['header_value_sha256'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function PublicGatewayAuthToJSON(json) {
|
|
45
|
+
return PublicGatewayAuthToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function PublicGatewayAuthToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'mode': value['mode'],
|
|
53
|
+
'bearer_token_sha256': value['bearerTokenSha256'],
|
|
54
|
+
'header_name': value['headerName'],
|
|
55
|
+
'header_value_sha256': value['headerValueSha256'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 PublicGatewayCORS
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicGatewayCORS {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof PublicGatewayCORS
|
|
22
|
+
*/
|
|
23
|
+
allowedOrigins?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PublicGatewayCORS
|
|
28
|
+
*/
|
|
29
|
+
allowedMethods?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof PublicGatewayCORS
|
|
34
|
+
*/
|
|
35
|
+
allowedHeaders?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof PublicGatewayCORS
|
|
40
|
+
*/
|
|
41
|
+
exposeHeaders?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof PublicGatewayCORS
|
|
46
|
+
*/
|
|
47
|
+
allowCredentials?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PublicGatewayCORS
|
|
52
|
+
*/
|
|
53
|
+
maxAgeSeconds?: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the PublicGatewayCORS interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfPublicGatewayCORS(value: object): value is PublicGatewayCORS;
|
|
59
|
+
export declare function PublicGatewayCORSFromJSON(json: any): PublicGatewayCORS;
|
|
60
|
+
export declare function PublicGatewayCORSFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicGatewayCORS;
|
|
61
|
+
export declare function PublicGatewayCORSToJSON(json: any): PublicGatewayCORS;
|
|
62
|
+
export declare function PublicGatewayCORSToJSONTyped(value?: PublicGatewayCORS | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=PublicGatewayCORS.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicGatewayCORS.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PublicGatewayCORS.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAazG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAcxH"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 PublicGatewayCORS interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPublicGatewayCORS(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PublicGatewayCORSFromJSON(json) {
|
|
21
|
+
return PublicGatewayCORSFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PublicGatewayCORSFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'allowedOrigins': json['allowed_origins'] == null ? undefined : json['allowed_origins'],
|
|
29
|
+
'allowedMethods': json['allowed_methods'] == null ? undefined : json['allowed_methods'],
|
|
30
|
+
'allowedHeaders': json['allowed_headers'] == null ? undefined : json['allowed_headers'],
|
|
31
|
+
'exposeHeaders': json['expose_headers'] == null ? undefined : json['expose_headers'],
|
|
32
|
+
'allowCredentials': json['allow_credentials'] == null ? undefined : json['allow_credentials'],
|
|
33
|
+
'maxAgeSeconds': json['max_age_seconds'] == null ? undefined : json['max_age_seconds'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PublicGatewayCORSToJSON(json) {
|
|
37
|
+
return PublicGatewayCORSToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PublicGatewayCORSToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'allowed_origins': value['allowedOrigins'],
|
|
45
|
+
'allowed_methods': value['allowedMethods'],
|
|
46
|
+
'allowed_headers': value['allowedHeaders'],
|
|
47
|
+
'expose_headers': value['exposeHeaders'],
|
|
48
|
+
'allow_credentials': value['allowCredentials'],
|
|
49
|
+
'max_age_seconds': value['maxAgeSeconds'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 { PublicGatewayRoute } from './PublicGatewayRoute.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PublicGatewayConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface PublicGatewayConfig {
|
|
19
|
+
/**
|
|
20
|
+
* Enables request-level public gateway enforcement for sandbox public traffic.
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof PublicGatewayConfig
|
|
23
|
+
*/
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<PublicGatewayRoute>}
|
|
28
|
+
* @memberof PublicGatewayConfig
|
|
29
|
+
*/
|
|
30
|
+
routes?: Array<PublicGatewayRoute>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PublicGatewayConfig interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPublicGatewayConfig(value: object): value is PublicGatewayConfig;
|
|
36
|
+
export declare function PublicGatewayConfigFromJSON(json: any): PublicGatewayConfig;
|
|
37
|
+
export declare function PublicGatewayConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicGatewayConfig;
|
|
38
|
+
export declare function PublicGatewayConfigToJSON(json: any): PublicGatewayConfig;
|
|
39
|
+
export declare function PublicGatewayConfigToJSONTyped(value?: PublicGatewayConfig | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=PublicGatewayConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicGatewayConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PublicGatewayConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
|
|
@@ -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 { PublicGatewayRouteFromJSON, PublicGatewayRouteToJSON, } from './PublicGatewayRoute.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PublicGatewayConfig interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPublicGatewayConfig(value) {
|
|
19
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PublicGatewayConfigFromJSON(json) {
|
|
24
|
+
return PublicGatewayConfigFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PublicGatewayConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'enabled': json['enabled'],
|
|
32
|
+
'routes': json['routes'] == null ? undefined : (json['routes'].map(PublicGatewayRouteFromJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function PublicGatewayConfigToJSON(json) {
|
|
36
|
+
return PublicGatewayConfigToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function PublicGatewayConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'enabled': value['enabled'],
|
|
44
|
+
'routes': value['routes'] == null ? undefined : (value['routes'].map(PublicGatewayRouteToJSON)),
|
|
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 PublicGatewayRateLimit
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicGatewayRateLimit {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PublicGatewayRateLimit
|
|
22
|
+
*/
|
|
23
|
+
rps: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PublicGatewayRateLimit
|
|
28
|
+
*/
|
|
29
|
+
burst: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PublicGatewayRateLimit interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPublicGatewayRateLimit(value: object): value is PublicGatewayRateLimit;
|
|
35
|
+
export declare function PublicGatewayRateLimitFromJSON(json: any): PublicGatewayRateLimit;
|
|
36
|
+
export declare function PublicGatewayRateLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicGatewayRateLimit;
|
|
37
|
+
export declare function PublicGatewayRateLimitToJSON(json: any): PublicGatewayRateLimit;
|
|
38
|
+
export declare function PublicGatewayRateLimitToJSONTyped(value?: PublicGatewayRateLimit | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=PublicGatewayRateLimit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicGatewayRateLimit.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PublicGatewayRateLimit.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -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 PublicGatewayRateLimit interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPublicGatewayRateLimit(value) {
|
|
18
|
+
if (!('rps' in value) || value['rps'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('burst' in value) || value['burst'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PublicGatewayRateLimitFromJSON(json) {
|
|
25
|
+
return PublicGatewayRateLimitFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PublicGatewayRateLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'rps': json['rps'],
|
|
33
|
+
'burst': json['burst'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PublicGatewayRateLimitToJSON(json) {
|
|
37
|
+
return PublicGatewayRateLimitToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PublicGatewayRateLimitToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'rps': value['rps'],
|
|
45
|
+
'burst': value['burst'],
|
|
46
|
+
};
|
|
47
|
+
}
|