sandbox0 0.3.7 → 0.4.1

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 (117) hide show
  1. package/dist/apispec/src/apis/FunctionsApi.d.ts +98 -1
  2. package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/FunctionsApi.js +284 -1
  4. package/dist/apispec/src/apis/SandboxesApi.d.ts +5 -30
  5. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/SandboxesApi.js +5 -78
  7. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +6 -0
  8. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
  9. package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +2 -0
  10. package/dist/apispec/src/models/EgressAuthProtocol.d.ts +8 -8
  11. package/dist/apispec/src/models/EgressAuthProtocol.js +8 -8
  12. package/dist/apispec/src/models/EgressProxyPolicy.d.ts +46 -0
  13. package/dist/apispec/src/models/EgressProxyPolicy.d.ts.map +1 -0
  14. package/dist/apispec/src/models/EgressProxyPolicy.js +50 -0
  15. package/dist/apispec/src/models/EgressProxyType.d.ts +25 -0
  16. package/dist/apispec/src/models/EgressProxyType.d.ts.map +1 -0
  17. package/dist/apispec/src/models/EgressProxyType.js +42 -0
  18. package/dist/apispec/src/models/Function.d.ts +12 -0
  19. package/dist/apispec/src/models/Function.d.ts.map +1 -1
  20. package/dist/apispec/src/models/Function.js +6 -0
  21. package/dist/apispec/src/models/FunctionRecord.d.ts +12 -0
  22. package/dist/apispec/src/models/FunctionRecord.d.ts.map +1 -1
  23. package/dist/apispec/src/models/FunctionRecord.js +6 -0
  24. package/dist/apispec/src/models/FunctionRestoreMount.d.ts +13 -1
  25. package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +1 -1
  26. package/dist/apispec/src/models/FunctionRestoreMount.js +4 -0
  27. package/dist/apispec/src/models/FunctionRuntimeState.d.ts +27 -0
  28. package/dist/apispec/src/models/FunctionRuntimeState.d.ts.map +1 -0
  29. package/dist/apispec/src/models/FunctionRuntimeState.js +44 -0
  30. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts +70 -0
  31. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +1 -0
  32. package/dist/apispec/src/models/FunctionRuntimeStatus.js +62 -0
  33. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +39 -0
  34. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +1 -0
  35. package/dist/apispec/src/models/FunctionUpdateRequest.js +43 -0
  36. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts +7 -0
  37. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts.map +1 -1
  38. package/dist/apispec/src/models/NetworkEgressPolicy.js +3 -0
  39. package/dist/apispec/src/models/Sandbox.d.ts +0 -7
  40. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  41. package/dist/apispec/src/models/Sandbox.js +0 -3
  42. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +9 -9
  43. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -1
  44. package/dist/apispec/src/models/SandboxAppServiceRoute.js +9 -9
  45. package/dist/apispec/src/models/SandboxAppServiceRouteAuth.d.ts +60 -0
  46. package/dist/apispec/src/models/SandboxAppServiceRouteAuth.d.ts.map +1 -0
  47. package/dist/apispec/src/models/{PublicGatewayAuth.js → SandboxAppServiceRouteAuth.js} +9 -9
  48. package/dist/apispec/src/models/SandboxAppServiceRouteCORS.d.ts +63 -0
  49. package/dist/apispec/src/models/SandboxAppServiceRouteCORS.d.ts.map +1 -0
  50. package/dist/apispec/src/models/{PublicGatewayCORS.js → SandboxAppServiceRouteCORS.js} +8 -8
  51. package/dist/apispec/src/models/SandboxAppServiceRouteRateLimit.d.ts +39 -0
  52. package/dist/apispec/src/models/SandboxAppServiceRouteRateLimit.d.ts.map +1 -0
  53. package/dist/apispec/src/models/{PublicGatewayRateLimit.js → SandboxAppServiceRouteRateLimit.js} +8 -8
  54. package/dist/apispec/src/models/SandboxConfig.d.ts +0 -7
  55. package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
  56. package/dist/apispec/src/models/SandboxConfig.js +0 -3
  57. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +0 -7
  58. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
  59. package/dist/apispec/src/models/SandboxUpdateConfig.js +0 -3
  60. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts +40 -0
  61. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts.map +1 -0
  62. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.js +46 -0
  63. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts +34 -0
  64. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts.map +1 -0
  65. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.js +44 -0
  66. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts +40 -0
  67. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts.map +1 -0
  68. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.js +46 -0
  69. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts +34 -0
  70. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts.map +1 -0
  71. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.js +44 -0
  72. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts +40 -0
  73. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts.map +1 -0
  74. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.js +46 -0
  75. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts +34 -0
  76. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts.map +1 -0
  77. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.js +44 -0
  78. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts +6 -0
  79. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts.map +1 -1
  80. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.js +2 -0
  81. package/dist/apispec/src/models/TrafficRuleAppProtocol.d.ts +10 -10
  82. package/dist/apispec/src/models/TrafficRuleAppProtocol.js +10 -10
  83. package/dist/apispec/src/models/index.d.ts +14 -7
  84. package/dist/apispec/src/models/index.d.ts.map +1 -1
  85. package/dist/apispec/src/models/index.js +14 -7
  86. package/dist/apispec_compat.d.ts +101 -58
  87. package/dist/apispec_compat.d.ts.map +1 -1
  88. package/dist/index.d.ts +0 -1
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.js +0 -1
  91. package/dist/models.d.ts +1 -6
  92. package/dist/models.d.ts.map +1 -1
  93. package/dist/resources/functions.d.ts +9 -1
  94. package/dist/resources/functions.d.ts.map +1 -1
  95. package/dist/resources/functions.js +49 -0
  96. package/package.json +1 -1
  97. package/dist/apispec/src/models/PublicGatewayAuth.d.ts +0 -60
  98. package/dist/apispec/src/models/PublicGatewayAuth.d.ts.map +0 -1
  99. package/dist/apispec/src/models/PublicGatewayCORS.d.ts +0 -63
  100. package/dist/apispec/src/models/PublicGatewayCORS.d.ts.map +0 -1
  101. package/dist/apispec/src/models/PublicGatewayConfig.d.ts +0 -40
  102. package/dist/apispec/src/models/PublicGatewayConfig.d.ts.map +0 -1
  103. package/dist/apispec/src/models/PublicGatewayConfig.js +0 -46
  104. package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts +0 -39
  105. package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts.map +0 -1
  106. package/dist/apispec/src/models/PublicGatewayRoute.d.ts +0 -92
  107. package/dist/apispec/src/models/PublicGatewayRoute.d.ts.map +0 -1
  108. package/dist/apispec/src/models/PublicGatewayRoute.js +0 -68
  109. package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts +0 -40
  110. package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts.map +0 -1
  111. package/dist/apispec/src/models/SuccessPublicGatewayResponse.js +0 -46
  112. package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts +0 -46
  113. package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts.map +0 -1
  114. package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.js +0 -50
  115. package/dist/sandbox_public_gateway.d.ts +0 -10
  116. package/dist/sandbox_public_gateway.d.ts.map +0 -1
  117. package/dist/sandbox_public_gateway.js +0 -31
@@ -0,0 +1,70 @@
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 { FunctionRuntimeState } from './FunctionRuntimeState.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FunctionRuntimeStatus
17
+ */
18
+ export interface FunctionRuntimeStatus {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FunctionRuntimeStatus
23
+ */
24
+ functionId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FunctionRuntimeStatus
29
+ */
30
+ revisionId: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof FunctionRuntimeStatus
35
+ */
36
+ revisionNumber: number;
37
+ /**
38
+ *
39
+ * @type {FunctionRuntimeState}
40
+ * @memberof FunctionRuntimeStatus
41
+ */
42
+ state: FunctionRuntimeState;
43
+ /**
44
+ * Current restored runtime sandbox, if one exists.
45
+ * @type {string}
46
+ * @memberof FunctionRuntimeStatus
47
+ */
48
+ runtimeSandboxId?: string;
49
+ /**
50
+ * Current runtime process context, if one exists.
51
+ * @type {string}
52
+ * @memberof FunctionRuntimeStatus
53
+ */
54
+ runtimeContextId?: string;
55
+ /**
56
+ * Last time the runtime mapping was updated.
57
+ * @type {Date}
58
+ * @memberof FunctionRuntimeStatus
59
+ */
60
+ runtimeUpdatedAt?: Date;
61
+ }
62
+ /**
63
+ * Check if a given object implements the FunctionRuntimeStatus interface.
64
+ */
65
+ export declare function instanceOfFunctionRuntimeStatus(value: object): value is FunctionRuntimeStatus;
66
+ export declare function FunctionRuntimeStatusFromJSON(json: any): FunctionRuntimeStatus;
67
+ export declare function FunctionRuntimeStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeStatus;
68
+ export declare function FunctionRuntimeStatusToJSON(json: any): FunctionRuntimeStatus;
69
+ export declare function FunctionRuntimeStatusToJSONTyped(value?: FunctionRuntimeStatus | null, ignoreDiscriminator?: boolean): any;
70
+ //# sourceMappingURL=FunctionRuntimeStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionRuntimeStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAcjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehI"}
@@ -0,0 +1,62 @@
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 { FunctionRuntimeStateFromJSON, FunctionRuntimeStateToJSON, } from './FunctionRuntimeState.js';
15
+ /**
16
+ * Check if a given object implements the FunctionRuntimeStatus interface.
17
+ */
18
+ export function instanceOfFunctionRuntimeStatus(value) {
19
+ if (!('functionId' in value) || value['functionId'] === undefined)
20
+ return false;
21
+ if (!('revisionId' in value) || value['revisionId'] === undefined)
22
+ return false;
23
+ if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
24
+ return false;
25
+ if (!('state' in value) || value['state'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function FunctionRuntimeStatusFromJSON(json) {
30
+ return FunctionRuntimeStatusFromJSONTyped(json, false);
31
+ }
32
+ export function FunctionRuntimeStatusFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'functionId': json['function_id'],
38
+ 'revisionId': json['revision_id'],
39
+ 'revisionNumber': json['revision_number'],
40
+ 'state': FunctionRuntimeStateFromJSON(json['state']),
41
+ 'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
42
+ 'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
43
+ 'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
44
+ };
45
+ }
46
+ export function FunctionRuntimeStatusToJSON(json) {
47
+ return FunctionRuntimeStatusToJSONTyped(json, false);
48
+ }
49
+ export function FunctionRuntimeStatusToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'function_id': value['functionId'],
55
+ 'revision_id': value['revisionId'],
56
+ 'revision_number': value['revisionNumber'],
57
+ 'state': FunctionRuntimeStateToJSON(value['state']),
58
+ 'runtime_sandbox_id': value['runtimeSandboxId'],
59
+ 'runtime_context_id': value['runtimeContextId'],
60
+ 'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
61
+ };
62
+ }
@@ -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 FunctionUpdateRequest
16
+ */
17
+ export interface FunctionUpdateRequest {
18
+ /**
19
+ * Mutable function display name. Slug and domain label stay stable.
20
+ * @type {string}
21
+ * @memberof FunctionUpdateRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ * Whether the function host should serve traffic. Disabled functions do not restore runtime sandboxes.
26
+ * @type {boolean}
27
+ * @memberof FunctionUpdateRequest
28
+ */
29
+ enabled?: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the FunctionUpdateRequest interface.
33
+ */
34
+ export declare function instanceOfFunctionUpdateRequest(value: object): value is FunctionUpdateRequest;
35
+ export declare function FunctionUpdateRequestFromJSON(json: any): FunctionUpdateRequest;
36
+ export declare function FunctionUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionUpdateRequest;
37
+ export declare function FunctionUpdateRequestToJSON(json: any): FunctionUpdateRequest;
38
+ export declare function FunctionUpdateRequestToJSONTyped(value?: FunctionUpdateRequest | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=FunctionUpdateRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
@@ -0,0 +1,43 @@
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 FunctionUpdateRequest interface.
16
+ */
17
+ export function instanceOfFunctionUpdateRequest(value) {
18
+ return true;
19
+ }
20
+ export function FunctionUpdateRequestFromJSON(json) {
21
+ return FunctionUpdateRequestFromJSONTyped(json, false);
22
+ }
23
+ export function FunctionUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'name': json['name'] == null ? undefined : json['name'],
29
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
30
+ };
31
+ }
32
+ export function FunctionUpdateRequestToJSON(json) {
33
+ return FunctionUpdateRequestToJSONTyped(json, false);
34
+ }
35
+ export function FunctionUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'name': value['name'],
41
+ 'enabled': value['enabled'],
42
+ };
43
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PortSpec } from './PortSpec.js';
13
+ import type { EgressProxyPolicy } from './EgressProxyPolicy.js';
13
14
  import type { EgressCredentialRule } from './EgressCredentialRule.js';
14
15
  import type { TrafficRule } from './TrafficRule.js';
15
16
  /**
@@ -82,6 +83,12 @@ export interface NetworkEgressPolicy {
82
83
  * @memberof NetworkEgressPolicy
83
84
  */
84
85
  credentialRules?: Array<EgressCredentialRule>;
86
+ /**
87
+ *
88
+ * @type {EgressProxyPolicy}
89
+ * @memberof NetworkEgressPolicy
90
+ */
91
+ proxy?: EgressProxyPolicy;
85
92
  }
86
93
  /**
87
94
  * Check if a given object implements the NetworkEgressPolicy interface.
@@ -1 +1 @@
1
- {"version":3,"file":"N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EzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAgB7G;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,CAiB5H"}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { PortSpecFromJSON, PortSpecToJSON, } from './PortSpec.js';
15
+ import { EgressProxyPolicyFromJSON, EgressProxyPolicyToJSON, } from './EgressProxyPolicy.js';
15
16
  import { EgressCredentialRuleFromJSON, EgressCredentialRuleToJSON, } from './EgressCredentialRule.js';
16
17
  import { TrafficRuleFromJSON, TrafficRuleToJSON, } from './TrafficRule.js';
17
18
  /**
@@ -36,6 +37,7 @@ export function NetworkEgressPolicyFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'deniedPorts': json['deniedPorts'] == null ? undefined : (json['deniedPorts'].map(PortSpecFromJSON)),
37
38
  'trafficRules': json['trafficRules'] == null ? undefined : (json['trafficRules'].map(TrafficRuleFromJSON)),
38
39
  'credentialRules': json['credentialRules'] == null ? undefined : (json['credentialRules'].map(EgressCredentialRuleFromJSON)),
40
+ 'proxy': json['proxy'] == null ? undefined : EgressProxyPolicyFromJSON(json['proxy']),
39
41
  };
40
42
  }
41
43
  export function NetworkEgressPolicyToJSON(json) {
@@ -54,5 +56,6 @@ export function NetworkEgressPolicyToJSONTyped(value, ignoreDiscriminator = fals
54
56
  'deniedPorts': value['deniedPorts'] == null ? undefined : (value['deniedPorts'].map(PortSpecToJSON)),
55
57
  'trafficRules': value['trafficRules'] == null ? undefined : (value['trafficRules'].map(TrafficRuleToJSON)),
56
58
  'credentialRules': value['credentialRules'] == null ? undefined : (value['credentialRules'].map(EgressCredentialRuleToJSON)),
59
+ 'proxy': EgressProxyPolicyToJSON(value['proxy']),
57
60
  };
58
61
  }
@@ -12,7 +12,6 @@
12
12
  import type { SandboxAppService } from './SandboxAppService.js';
13
13
  import type { ClaimMountRequest } from './ClaimMountRequest.js';
14
14
  import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
15
- import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
16
15
  import type { SandboxPowerState } from './SandboxPowerState.js';
17
16
  /**
18
17
  *
@@ -74,12 +73,6 @@ export interface Sandbox {
74
73
  * @memberof Sandbox
75
74
  */
76
75
  services?: Array<SandboxAppService>;
77
- /**
78
- *
79
- * @type {PublicGatewayConfig}
80
- * @memberof Sandbox
81
- */
82
- publicGateway?: PublicGatewayConfig;
83
76
  /**
84
77
  *
85
78
  * @type {Array<ClaimMountRequest>}
@@ -1 +1 @@
1
- {"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EA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AuBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAwBpG"}
@@ -14,7 +14,6 @@
14
14
  import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
15
15
  import { ClaimMountRequestFromJSON, ClaimMountRequestToJSON, } from './ClaimMountRequest.js';
16
16
  import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
17
- import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
18
17
  import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
19
18
  /**
20
19
  * Check if a given object implements the Sandbox interface.
@@ -63,7 +62,6 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
63
62
  'powerState': SandboxPowerStateFromJSON(json['power_state']),
64
63
  'autoResume': json['auto_resume'],
65
64
  'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
66
- 'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
67
65
  'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(ClaimMountRequestFromJSON)),
68
66
  'podName': json['pod_name'],
69
67
  'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
@@ -90,7 +88,6 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
90
88
  'power_state': SandboxPowerStateToJSON(value['powerState']),
91
89
  'auto_resume': value['autoResume'],
92
90
  'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
93
- 'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
94
91
  'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(ClaimMountRequestToJSON)),
95
92
  'pod_name': value['podName'],
96
93
  'ssh': SandboxSSHConnectionToJSON(value['ssh']),
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PublicGatewayRateLimit } from './PublicGatewayRateLimit.js';
13
- import type { PublicGatewayCORS } from './PublicGatewayCORS.js';
14
- import type { PublicGatewayAuth } from './PublicGatewayAuth.js';
12
+ import type { SandboxAppServiceRouteCORS } from './SandboxAppServiceRouteCORS.js';
13
+ import type { SandboxAppServiceRouteRateLimit } from './SandboxAppServiceRouteRateLimit.js';
14
+ import type { SandboxAppServiceRouteAuth } from './SandboxAppServiceRouteAuth.js';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -44,22 +44,22 @@ export interface SandboxAppServiceRoute {
44
44
  rewritePrefix?: string | null;
45
45
  /**
46
46
  *
47
- * @type {PublicGatewayAuth}
47
+ * @type {SandboxAppServiceRouteAuth}
48
48
  * @memberof SandboxAppServiceRoute
49
49
  */
50
- auth?: PublicGatewayAuth;
50
+ auth?: SandboxAppServiceRouteAuth;
51
51
  /**
52
52
  *
53
- * @type {PublicGatewayCORS}
53
+ * @type {SandboxAppServiceRouteCORS}
54
54
  * @memberof SandboxAppServiceRoute
55
55
  */
56
- cors?: PublicGatewayCORS;
56
+ cors?: SandboxAppServiceRouteCORS;
57
57
  /**
58
58
  *
59
- * @type {PublicGatewayRateLimit}
59
+ * @type {SandboxAppServiceRouteRateLimit}
60
60
  * @memberof SandboxAppServiceRoute
61
61
  */
62
- rateLimit?: PublicGatewayRateLimit;
62
+ rateLimit?: SandboxAppServiceRouteRateLimit;
63
63
  /**
64
64
  *
65
65
  * @type {number}
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxAppServiceRoute.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRoute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;CACnB;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,CAgBnH;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,CAiBlI"}
1
+ {"version":3,"file":"SandboxAppServiceRoute.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRoute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAO/E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAOzF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;CACnB;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,CAgBnH;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,CAiBlI"}
@@ -11,9 +11,9 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { PublicGatewayRateLimitFromJSON, PublicGatewayRateLimitToJSON, } from './PublicGatewayRateLimit.js';
15
- import { PublicGatewayCORSFromJSON, PublicGatewayCORSToJSON, } from './PublicGatewayCORS.js';
16
- import { PublicGatewayAuthFromJSON, PublicGatewayAuthToJSON, } from './PublicGatewayAuth.js';
14
+ import { SandboxAppServiceRouteCORSFromJSON, SandboxAppServiceRouteCORSToJSON, } from './SandboxAppServiceRouteCORS.js';
15
+ import { SandboxAppServiceRouteRateLimitFromJSON, SandboxAppServiceRouteRateLimitToJSON, } from './SandboxAppServiceRouteRateLimit.js';
16
+ import { SandboxAppServiceRouteAuthFromJSON, SandboxAppServiceRouteAuthToJSON, } from './SandboxAppServiceRouteAuth.js';
17
17
  /**
18
18
  * Check if a given object implements the SandboxAppServiceRoute interface.
19
19
  */
@@ -36,9 +36,9 @@ export function SandboxAppServiceRouteFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'pathPrefix': json['path_prefix'] == null ? undefined : json['path_prefix'],
37
37
  'methods': json['methods'] == null ? undefined : json['methods'],
38
38
  'rewritePrefix': json['rewrite_prefix'] == null ? undefined : json['rewrite_prefix'],
39
- 'auth': json['auth'] == null ? undefined : PublicGatewayAuthFromJSON(json['auth']),
40
- 'cors': json['cors'] == null ? undefined : PublicGatewayCORSFromJSON(json['cors']),
41
- 'rateLimit': json['rate_limit'] == null ? undefined : PublicGatewayRateLimitFromJSON(json['rate_limit']),
39
+ 'auth': json['auth'] == null ? undefined : SandboxAppServiceRouteAuthFromJSON(json['auth']),
40
+ 'cors': json['cors'] == null ? undefined : SandboxAppServiceRouteCORSFromJSON(json['cors']),
41
+ 'rateLimit': json['rate_limit'] == null ? undefined : SandboxAppServiceRouteRateLimitFromJSON(json['rate_limit']),
42
42
  'timeoutSeconds': json['timeout_seconds'] == null ? undefined : json['timeout_seconds'],
43
43
  'resume': json['resume'],
44
44
  };
@@ -55,9 +55,9 @@ export function SandboxAppServiceRouteToJSONTyped(value, ignoreDiscriminator = f
55
55
  'path_prefix': value['pathPrefix'],
56
56
  'methods': value['methods'],
57
57
  'rewrite_prefix': value['rewritePrefix'],
58
- 'auth': PublicGatewayAuthToJSON(value['auth']),
59
- 'cors': PublicGatewayCORSToJSON(value['cors']),
60
- 'rate_limit': PublicGatewayRateLimitToJSON(value['rateLimit']),
58
+ 'auth': SandboxAppServiceRouteAuthToJSON(value['auth']),
59
+ 'cors': SandboxAppServiceRouteCORSToJSON(value['cors']),
60
+ 'rate_limit': SandboxAppServiceRouteRateLimitToJSON(value['rateLimit']),
61
61
  'timeout_seconds': value['timeoutSeconds'],
62
62
  'resume': value['resume'],
63
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 SandboxAppServiceRouteAuth
16
+ */
17
+ export interface SandboxAppServiceRouteAuth {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SandboxAppServiceRouteAuth
22
+ */
23
+ mode: SandboxAppServiceRouteAuthModeEnum;
24
+ /**
25
+ * Hex SHA-256 of the accepted bearer token. Required when mode is bearer.
26
+ * @type {string}
27
+ * @memberof SandboxAppServiceRouteAuth
28
+ */
29
+ bearerTokenSha256?: string;
30
+ /**
31
+ * Required header name when mode is header.
32
+ * @type {string}
33
+ * @memberof SandboxAppServiceRouteAuth
34
+ */
35
+ headerName?: string;
36
+ /**
37
+ * Hex SHA-256 of the required header value when mode is header.
38
+ * @type {string}
39
+ * @memberof SandboxAppServiceRouteAuth
40
+ */
41
+ headerValueSha256?: string;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const SandboxAppServiceRouteAuthModeEnum: {
47
+ readonly None: "none";
48
+ readonly Bearer: "bearer";
49
+ readonly Header: "header";
50
+ };
51
+ export type SandboxAppServiceRouteAuthModeEnum = typeof SandboxAppServiceRouteAuthModeEnum[keyof typeof SandboxAppServiceRouteAuthModeEnum];
52
+ /**
53
+ * Check if a given object implements the SandboxAppServiceRouteAuth interface.
54
+ */
55
+ export declare function instanceOfSandboxAppServiceRouteAuth(value: object): value is SandboxAppServiceRouteAuth;
56
+ export declare function SandboxAppServiceRouteAuthFromJSON(json: any): SandboxAppServiceRouteAuth;
57
+ export declare function SandboxAppServiceRouteAuthFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceRouteAuth;
58
+ export declare function SandboxAppServiceRouteAuthToJSON(json: any): SandboxAppServiceRouteAuth;
59
+ export declare function SandboxAppServiceRouteAuthToJSONTyped(value?: SandboxAppServiceRouteAuth | null, ignoreDiscriminator?: boolean): any;
60
+ //# sourceMappingURL=SandboxAppServiceRouteAuth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAppServiceRouteAuth.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRouteAuth.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,IAAI,EAAE,kCAAkC,CAAC;IACzC;;;;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,kCAAkC;;;;CAIrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAG5I;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAW3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY1I"}
@@ -14,23 +14,23 @@
14
14
  /**
15
15
  * @export
16
16
  */
17
- export const PublicGatewayAuthModeEnum = {
17
+ export const SandboxAppServiceRouteAuthModeEnum = {
18
18
  None: 'none',
19
19
  Bearer: 'bearer',
20
20
  Header: 'header'
21
21
  };
22
22
  /**
23
- * Check if a given object implements the PublicGatewayAuth interface.
23
+ * Check if a given object implements the SandboxAppServiceRouteAuth interface.
24
24
  */
25
- export function instanceOfPublicGatewayAuth(value) {
25
+ export function instanceOfSandboxAppServiceRouteAuth(value) {
26
26
  if (!('mode' in value) || value['mode'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
30
- export function PublicGatewayAuthFromJSON(json) {
31
- return PublicGatewayAuthFromJSONTyped(json, false);
30
+ export function SandboxAppServiceRouteAuthFromJSON(json) {
31
+ return SandboxAppServiceRouteAuthFromJSONTyped(json, false);
32
32
  }
33
- export function PublicGatewayAuthFromJSONTyped(json, ignoreDiscriminator) {
33
+ export function SandboxAppServiceRouteAuthFromJSONTyped(json, ignoreDiscriminator) {
34
34
  if (json == null) {
35
35
  return json;
36
36
  }
@@ -41,10 +41,10 @@ export function PublicGatewayAuthFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'headerValueSha256': json['header_value_sha256'] == null ? undefined : json['header_value_sha256'],
42
42
  };
43
43
  }
44
- export function PublicGatewayAuthToJSON(json) {
45
- return PublicGatewayAuthToJSONTyped(json, false);
44
+ export function SandboxAppServiceRouteAuthToJSON(json) {
45
+ return SandboxAppServiceRouteAuthToJSONTyped(json, false);
46
46
  }
47
- export function PublicGatewayAuthToJSONTyped(value, ignoreDiscriminator = false) {
47
+ export function SandboxAppServiceRouteAuthToJSONTyped(value, ignoreDiscriminator = false) {
48
48
  if (value == null) {
49
49
  return value;
50
50
  }
@@ -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 SandboxAppServiceRouteCORS
16
+ */
17
+ export interface SandboxAppServiceRouteCORS {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof SandboxAppServiceRouteCORS
22
+ */
23
+ allowedOrigins?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof SandboxAppServiceRouteCORS
28
+ */
29
+ allowedMethods?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof SandboxAppServiceRouteCORS
34
+ */
35
+ allowedHeaders?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof SandboxAppServiceRouteCORS
40
+ */
41
+ exposeHeaders?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof SandboxAppServiceRouteCORS
46
+ */
47
+ allowCredentials?: boolean;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof SandboxAppServiceRouteCORS
52
+ */
53
+ maxAgeSeconds?: number;
54
+ }
55
+ /**
56
+ * Check if a given object implements the SandboxAppServiceRouteCORS interface.
57
+ */
58
+ export declare function instanceOfSandboxAppServiceRouteCORS(value: object): value is SandboxAppServiceRouteCORS;
59
+ export declare function SandboxAppServiceRouteCORSFromJSON(json: any): SandboxAppServiceRouteCORS;
60
+ export declare function SandboxAppServiceRouteCORSFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceRouteCORS;
61
+ export declare function SandboxAppServiceRouteCORSToJSON(json: any): SandboxAppServiceRouteCORS;
62
+ export declare function SandboxAppServiceRouteCORSToJSONTyped(value?: SandboxAppServiceRouteCORS | null, ignoreDiscriminator?: boolean): any;
63
+ //# sourceMappingURL=SandboxAppServiceRouteCORS.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAppServiceRouteCORS.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRouteCORS.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;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,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAa3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1I"}
@@ -12,15 +12,15 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the PublicGatewayCORS interface.
15
+ * Check if a given object implements the SandboxAppServiceRouteCORS interface.
16
16
  */
17
- export function instanceOfPublicGatewayCORS(value) {
17
+ export function instanceOfSandboxAppServiceRouteCORS(value) {
18
18
  return true;
19
19
  }
20
- export function PublicGatewayCORSFromJSON(json) {
21
- return PublicGatewayCORSFromJSONTyped(json, false);
20
+ export function SandboxAppServiceRouteCORSFromJSON(json) {
21
+ return SandboxAppServiceRouteCORSFromJSONTyped(json, false);
22
22
  }
23
- export function PublicGatewayCORSFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function SandboxAppServiceRouteCORSFromJSONTyped(json, ignoreDiscriminator) {
24
24
  if (json == null) {
25
25
  return json;
26
26
  }
@@ -33,10 +33,10 @@ export function PublicGatewayCORSFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'maxAgeSeconds': json['max_age_seconds'] == null ? undefined : json['max_age_seconds'],
34
34
  };
35
35
  }
36
- export function PublicGatewayCORSToJSON(json) {
37
- return PublicGatewayCORSToJSONTyped(json, false);
36
+ export function SandboxAppServiceRouteCORSToJSON(json) {
37
+ return SandboxAppServiceRouteCORSToJSONTyped(json, false);
38
38
  }
39
- export function PublicGatewayCORSToJSONTyped(value, ignoreDiscriminator = false) {
39
+ export function SandboxAppServiceRouteCORSToJSONTyped(value, ignoreDiscriminator = false) {
40
40
  if (value == null) {
41
41
  return value;
42
42
  }