sandbox0 0.2.0 → 0.2.2

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 (79) hide show
  1. package/dist/apispec/src/apis/AuthApi.d.ts +24 -1
  2. package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/AuthApi.js +58 -1
  4. package/dist/apispec/src/apis/index.d.ts +0 -1
  5. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/index.js +0 -1
  7. package/dist/apispec/src/models/AuthProvider.d.ts +12 -0
  8. package/dist/apispec/src/models/AuthProvider.d.ts.map +1 -1
  9. package/dist/apispec/src/models/AuthProvider.js +8 -0
  10. package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts +33 -0
  11. package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts.map +1 -0
  12. package/dist/apispec/src/models/DeviceLoginPollRequest.js +43 -0
  13. package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts +61 -0
  14. package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts.map +1 -0
  15. package/dist/apispec/src/models/DeviceLoginPollResponse.js +58 -0
  16. package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts +63 -0
  17. package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts.map +1 -0
  18. package/dist/apispec/src/models/DeviceLoginStartResponse.js +61 -0
  19. package/dist/apispec/src/models/ExecAction.d.ts +33 -0
  20. package/dist/apispec/src/models/ExecAction.d.ts.map +1 -0
  21. package/dist/apispec/src/models/ExecAction.js +41 -0
  22. package/dist/apispec/src/models/GRPCAction.d.ts +39 -0
  23. package/dist/apispec/src/models/GRPCAction.d.ts.map +1 -0
  24. package/dist/apispec/src/models/GRPCAction.js +45 -0
  25. package/dist/apispec/src/models/HTTPGetAction.d.ts +59 -0
  26. package/dist/apispec/src/models/HTTPGetAction.d.ts.map +1 -0
  27. package/dist/apispec/src/models/HTTPGetAction.js +53 -0
  28. package/dist/apispec/src/models/HTTPHeader.d.ts +39 -0
  29. package/dist/apispec/src/models/HTTPHeader.d.ts.map +1 -0
  30. package/dist/apispec/src/models/HTTPHeader.js +47 -0
  31. package/dist/apispec/src/models/LoginResponse.d.ts +0 -7
  32. package/dist/apispec/src/models/LoginResponse.d.ts.map +1 -1
  33. package/dist/apispec/src/models/LoginResponse.js +0 -3
  34. package/dist/apispec/src/models/Probe.d.ts +91 -0
  35. package/dist/apispec/src/models/Probe.d.ts.map +1 -0
  36. package/dist/apispec/src/models/Probe.js +63 -0
  37. package/dist/apispec/src/models/ProbePort.d.ts +22 -0
  38. package/dist/apispec/src/models/ProbePort.d.ts.map +1 -0
  39. package/dist/apispec/src/models/ProbePort.js +43 -0
  40. package/dist/apispec/src/models/RegisterRequest.d.ts +1 -1
  41. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -2
  42. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  43. package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -2
  44. package/dist/apispec/src/models/SidecarContainerSpec.d.ts +91 -0
  45. package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +1 -0
  46. package/dist/apispec/src/models/SidecarContainerSpec.js +67 -0
  47. package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts +40 -0
  48. package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts.map +1 -0
  49. package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.js +46 -0
  50. package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.d.ts +40 -0
  51. package/dist/apispec/src/models/{SuccessIssueRegionTokenResponse.d.ts.map → SuccessDeviceLoginStartResponse.d.ts.map} +1 -1
  52. package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.js +46 -0
  53. package/dist/apispec/src/models/TCPSocketAction.d.ts +40 -0
  54. package/dist/apispec/src/models/TCPSocketAction.d.ts.map +1 -0
  55. package/dist/apispec/src/models/TCPSocketAction.js +46 -0
  56. package/dist/apispec/src/models/UpdateUserRequest.d.ts +0 -6
  57. package/dist/apispec/src/models/UpdateUserRequest.d.ts.map +1 -1
  58. package/dist/apispec/src/models/UpdateUserRequest.js +0 -2
  59. package/dist/apispec/src/models/User.d.ts +0 -13
  60. package/dist/apispec/src/models/User.d.ts.map +1 -1
  61. package/dist/apispec/src/models/User.js +0 -5
  62. package/dist/apispec/src/models/index.d.ts +13 -6
  63. package/dist/apispec/src/models/index.d.ts.map +1 -1
  64. package/dist/apispec/src/models/index.js +13 -6
  65. package/package.json +1 -1
  66. package/dist/apispec/src/apis/TenantApi.d.ts +0 -41
  67. package/dist/apispec/src/apis/TenantApi.d.ts.map +0 -1
  68. package/dist/apispec/src/apis/TenantApi.js +0 -83
  69. package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts +0 -33
  70. package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts.map +0 -1
  71. package/dist/apispec/src/models/IssueRegionTokenRequest.js +0 -41
  72. package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts +0 -51
  73. package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts.map +0 -1
  74. package/dist/apispec/src/models/IssueRegionTokenResponse.js +0 -53
  75. package/dist/apispec/src/models/RegionalSession.d.ts +0 -51
  76. package/dist/apispec/src/models/RegionalSession.d.ts.map +0 -1
  77. package/dist/apispec/src/models/RegionalSession.js +0 -53
  78. package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.d.ts +0 -40
  79. package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.js +0 -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 GRPCAction
16
+ */
17
+ export interface GRPCAction {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GRPCAction
22
+ */
23
+ port: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GRPCAction
28
+ */
29
+ service?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GRPCAction interface.
33
+ */
34
+ export declare function instanceOfGRPCAction(value: object): value is GRPCAction;
35
+ export declare function GRPCActionFromJSON(json: any): GRPCAction;
36
+ export declare function GRPCActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GRPCAction;
37
+ export declare function GRPCActionToJSON(json: any): GRPCAction;
38
+ export declare function GRPCActionToJSONTyped(value?: GRPCAction | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=GRPCAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GRPCAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/GRPCAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAGvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAS3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1G"}
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GRPCAction interface.
16
+ */
17
+ export function instanceOfGRPCAction(value) {
18
+ if (!('port' in value) || value['port'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function GRPCActionFromJSON(json) {
23
+ return GRPCActionFromJSONTyped(json, false);
24
+ }
25
+ export function GRPCActionFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'port': json['port'],
31
+ 'service': json['service'] == null ? undefined : json['service'],
32
+ };
33
+ }
34
+ export function GRPCActionToJSON(json) {
35
+ return GRPCActionToJSONTyped(json, false);
36
+ }
37
+ export function GRPCActionToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'port': value['port'],
43
+ 'service': value['service'],
44
+ };
45
+ }
@@ -0,0 +1,59 @@
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 { ProbePort } from './ProbePort.js';
13
+ import type { HTTPHeader } from './HTTPHeader.js';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface HTTPGetAction
18
+ */
19
+ export interface HTTPGetAction {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof HTTPGetAction
24
+ */
25
+ path?: string;
26
+ /**
27
+ *
28
+ * @type {ProbePort}
29
+ * @memberof HTTPGetAction
30
+ */
31
+ port: ProbePort;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof HTTPGetAction
36
+ */
37
+ host?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof HTTPGetAction
42
+ */
43
+ scheme?: string;
44
+ /**
45
+ *
46
+ * @type {Array<HTTPHeader>}
47
+ * @memberof HTTPGetAction
48
+ */
49
+ httpHeaders?: Array<HTTPHeader>;
50
+ }
51
+ /**
52
+ * Check if a given object implements the HTTPGetAction interface.
53
+ */
54
+ export declare function instanceOfHTTPGetAction(value: object): value is HTTPGetAction;
55
+ export declare function HTTPGetActionFromJSON(json: any): HTTPGetAction;
56
+ export declare function HTTPGetActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPGetAction;
57
+ export declare function HTTPGetActionToJSON(json: any): HTTPGetAction;
58
+ export declare function HTTPGetActionToJSONTyped(value?: HTTPGetAction | null, ignoreDiscriminator?: boolean): any;
59
+ //# sourceMappingURL=HTTPGetAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTTPGetAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPGetAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAG7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahH"}
@@ -0,0 +1,53 @@
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 { ProbePortFromJSON, ProbePortToJSON, } from './ProbePort.js';
15
+ import { HTTPHeaderFromJSON, HTTPHeaderToJSON, } from './HTTPHeader.js';
16
+ /**
17
+ * Check if a given object implements the HTTPGetAction interface.
18
+ */
19
+ export function instanceOfHTTPGetAction(value) {
20
+ if (!('port' in value) || value['port'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function HTTPGetActionFromJSON(json) {
25
+ return HTTPGetActionFromJSONTyped(json, false);
26
+ }
27
+ export function HTTPGetActionFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'path': json['path'] == null ? undefined : json['path'],
33
+ 'port': ProbePortFromJSON(json['port']),
34
+ 'host': json['host'] == null ? undefined : json['host'],
35
+ 'scheme': json['scheme'] == null ? undefined : json['scheme'],
36
+ 'httpHeaders': json['httpHeaders'] == null ? undefined : (json['httpHeaders'].map(HTTPHeaderFromJSON)),
37
+ };
38
+ }
39
+ export function HTTPGetActionToJSON(json) {
40
+ return HTTPGetActionToJSONTyped(json, false);
41
+ }
42
+ export function HTTPGetActionToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'path': value['path'],
48
+ 'port': ProbePortToJSON(value['port']),
49
+ 'host': value['host'],
50
+ 'scheme': value['scheme'],
51
+ 'httpHeaders': value['httpHeaders'] == null ? undefined : (value['httpHeaders'].map(HTTPHeaderToJSON)),
52
+ };
53
+ }
@@ -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 HTTPHeader
16
+ */
17
+ export interface HTTPHeader {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof HTTPHeader
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof HTTPHeader
28
+ */
29
+ value: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the HTTPHeader interface.
33
+ */
34
+ export declare function instanceOfHTTPHeader(value: object): value is HTTPHeader;
35
+ export declare function HTTPHeaderFromJSON(json: any): HTTPHeader;
36
+ export declare function HTTPHeaderFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPHeader;
37
+ export declare function HTTPHeaderToJSON(json: any): HTTPHeader;
38
+ export declare function HTTPHeaderToJSONTyped(value?: HTTPHeader | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=HTTPHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTTPHeader.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPHeader.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAIvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAS3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1G"}
@@ -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 HTTPHeader interface.
16
+ */
17
+ export function instanceOfHTTPHeader(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ if (!('value' in value) || value['value'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function HTTPHeaderFromJSON(json) {
25
+ return HTTPHeaderFromJSONTyped(json, false);
26
+ }
27
+ export function HTTPHeaderFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'name': json['name'],
33
+ 'value': json['value'],
34
+ };
35
+ }
36
+ export function HTTPHeaderToJSON(json) {
37
+ return HTTPHeaderToJSONTyped(json, false);
38
+ }
39
+ export function HTTPHeaderToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'value': value['value'],
46
+ };
47
+ }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { User } from './User.js';
13
- import type { RegionalSession } from './RegionalSession.js';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -41,12 +40,6 @@ export interface LoginResponse {
41
40
  * @memberof LoginResponse
42
41
  */
43
42
  user: User;
44
- /**
45
- *
46
- * @type {RegionalSession}
47
- * @memberof LoginResponse
48
- */
49
- regionalSession?: RegionalSession;
50
43
  }
51
44
  /**
52
45
  * Check if a given object implements the LoginResponse interface.
@@ -1 +1 @@
1
- {"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAOnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAM7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahH"}
1
+ {"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQnC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAM7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAWjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYhH"}
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { UserFromJSON, UserToJSON, } from './User.js';
15
- import { RegionalSessionFromJSON, RegionalSessionToJSON, } from './RegionalSession.js';
16
15
  /**
17
16
  * Check if a given object implements the LoginResponse interface.
18
17
  */
@@ -39,7 +38,6 @@ export function LoginResponseFromJSONTyped(json, ignoreDiscriminator) {
39
38
  'refreshToken': json['refresh_token'],
40
39
  'expiresAt': json['expires_at'],
41
40
  'user': UserFromJSON(json['user']),
42
- 'regionalSession': json['regional_session'] == null ? undefined : RegionalSessionFromJSON(json['regional_session']),
43
41
  };
44
42
  }
45
43
  export function LoginResponseToJSON(json) {
@@ -54,6 +52,5 @@ export function LoginResponseToJSONTyped(value, ignoreDiscriminator = false) {
54
52
  'refresh_token': value['refreshToken'],
55
53
  'expires_at': value['expiresAt'],
56
54
  'user': UserToJSON(value['user']),
57
- 'regional_session': RegionalSessionToJSON(value['regionalSession']),
58
55
  };
59
56
  }
@@ -0,0 +1,91 @@
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 { ExecAction } from './ExecAction.js';
13
+ import type { TCPSocketAction } from './TCPSocketAction.js';
14
+ import type { GRPCAction } from './GRPCAction.js';
15
+ import type { HTTPGetAction } from './HTTPGetAction.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Probe
20
+ */
21
+ export interface Probe {
22
+ /**
23
+ *
24
+ * @type {ExecAction}
25
+ * @memberof Probe
26
+ */
27
+ exec?: ExecAction;
28
+ /**
29
+ *
30
+ * @type {HTTPGetAction}
31
+ * @memberof Probe
32
+ */
33
+ httpGet?: HTTPGetAction;
34
+ /**
35
+ *
36
+ * @type {TCPSocketAction}
37
+ * @memberof Probe
38
+ */
39
+ tcpSocket?: TCPSocketAction;
40
+ /**
41
+ *
42
+ * @type {GRPCAction}
43
+ * @memberof Probe
44
+ */
45
+ grpc?: GRPCAction;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof Probe
50
+ */
51
+ initialDelaySeconds?: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof Probe
56
+ */
57
+ timeoutSeconds?: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof Probe
62
+ */
63
+ periodSeconds?: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof Probe
68
+ */
69
+ successThreshold?: number;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof Probe
74
+ */
75
+ failureThreshold?: number;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof Probe
80
+ */
81
+ terminationGracePeriodSeconds?: number;
82
+ }
83
+ /**
84
+ * Check if a given object implements the Probe interface.
85
+ */
86
+ export declare function instanceOfProbe(value: object): value is Probe;
87
+ export declare function ProbeFromJSON(json: any): Probe;
88
+ export declare function ProbeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Probe;
89
+ export declare function ProbeToJSON(json: any): Probe;
90
+ export declare function ProbeToJSONTyped(value?: Probe | null, ignoreDiscriminator?: boolean): any;
91
+ //# sourceMappingURL=Probe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Probe.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Probe.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAE7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAiBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhG"}
@@ -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
+ import { ExecActionFromJSON, ExecActionToJSON, } from './ExecAction.js';
15
+ import { TCPSocketActionFromJSON, TCPSocketActionToJSON, } from './TCPSocketAction.js';
16
+ import { GRPCActionFromJSON, GRPCActionToJSON, } from './GRPCAction.js';
17
+ import { HTTPGetActionFromJSON, HTTPGetActionToJSON, } from './HTTPGetAction.js';
18
+ /**
19
+ * Check if a given object implements the Probe interface.
20
+ */
21
+ export function instanceOfProbe(value) {
22
+ return true;
23
+ }
24
+ export function ProbeFromJSON(json) {
25
+ return ProbeFromJSONTyped(json, false);
26
+ }
27
+ export function ProbeFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'exec': json['exec'] == null ? undefined : ExecActionFromJSON(json['exec']),
33
+ 'httpGet': json['httpGet'] == null ? undefined : HTTPGetActionFromJSON(json['httpGet']),
34
+ 'tcpSocket': json['tcpSocket'] == null ? undefined : TCPSocketActionFromJSON(json['tcpSocket']),
35
+ 'grpc': json['grpc'] == null ? undefined : GRPCActionFromJSON(json['grpc']),
36
+ 'initialDelaySeconds': json['initialDelaySeconds'] == null ? undefined : json['initialDelaySeconds'],
37
+ 'timeoutSeconds': json['timeoutSeconds'] == null ? undefined : json['timeoutSeconds'],
38
+ 'periodSeconds': json['periodSeconds'] == null ? undefined : json['periodSeconds'],
39
+ 'successThreshold': json['successThreshold'] == null ? undefined : json['successThreshold'],
40
+ 'failureThreshold': json['failureThreshold'] == null ? undefined : json['failureThreshold'],
41
+ 'terminationGracePeriodSeconds': json['terminationGracePeriodSeconds'] == null ? undefined : json['terminationGracePeriodSeconds'],
42
+ };
43
+ }
44
+ export function ProbeToJSON(json) {
45
+ return ProbeToJSONTyped(json, false);
46
+ }
47
+ export function ProbeToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'exec': ExecActionToJSON(value['exec']),
53
+ 'httpGet': HTTPGetActionToJSON(value['httpGet']),
54
+ 'tcpSocket': TCPSocketActionToJSON(value['tcpSocket']),
55
+ 'grpc': GRPCActionToJSON(value['grpc']),
56
+ 'initialDelaySeconds': value['initialDelaySeconds'],
57
+ 'timeoutSeconds': value['timeoutSeconds'],
58
+ 'periodSeconds': value['periodSeconds'],
59
+ 'successThreshold': value['successThreshold'],
60
+ 'failureThreshold': value['failureThreshold'],
61
+ 'terminationGracePeriodSeconds': value['terminationGracePeriodSeconds'],
62
+ };
63
+ }
@@ -0,0 +1,22 @@
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
+ * @type ProbePort
14
+ *
15
+ * @export
16
+ */
17
+ export type ProbePort = number | string;
18
+ export declare function ProbePortFromJSON(json: any): ProbePort;
19
+ export declare function ProbePortFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProbePort;
20
+ export declare function ProbePortToJSON(json: any): any;
21
+ export declare function ProbePortToJSONTyped(value?: ProbePort | null, ignoreDiscriminator?: boolean): any;
22
+ //# sourceMappingURL=ProbePort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProbePort.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProbePort.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExC,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAWzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAE9C;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
@@ -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
+ export function ProbePortFromJSON(json) {
15
+ return ProbePortFromJSONTyped(json, false);
16
+ }
17
+ export function ProbePortFromJSONTyped(json, ignoreDiscriminator) {
18
+ if (json == null) {
19
+ return json;
20
+ }
21
+ if (typeof json === 'number') {
22
+ return json;
23
+ }
24
+ if (typeof json === 'string') {
25
+ return json;
26
+ }
27
+ return {};
28
+ }
29
+ export function ProbePortToJSON(json) {
30
+ return ProbePortToJSONTyped(json, false);
31
+ }
32
+ export function ProbePortToJSONTyped(value, ignoreDiscriminator = false) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ if (typeof value === 'number') {
37
+ return value;
38
+ }
39
+ if (typeof value === 'string') {
40
+ return value;
41
+ }
42
+ return {};
43
+ }
@@ -34,7 +34,7 @@ export interface RegisterRequest {
34
34
  */
35
35
  name: string;
36
36
  /**
37
- * Required in global-gateway mode because registration creates the user's default team.
37
+ * Required in global-gateway mode because registration creates the user's initial team.
38
38
  * @type {string}
39
39
  * @memberof RegisterRequest
40
40
  */
@@ -13,6 +13,7 @@ import type { PoolStrategy } from './PoolStrategy.js';
13
13
  import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
14
14
  import type { ContainerSpec } from './ContainerSpec.js';
15
15
  import type { LifecyclePolicy } from './LifecyclePolicy.js';
16
+ import type { SidecarContainerSpec } from './SidecarContainerSpec.js';
16
17
  import type { PodSpecOverride } from './PodSpecOverride.js';
17
18
  /**
18
19
  *
@@ -46,10 +47,10 @@ export interface SandboxTemplateSpec {
46
47
  mainContainer?: ContainerSpec;
47
48
  /**
48
49
  *
49
- * @type {Array<ContainerSpec>}
50
+ * @type {Array<SidecarContainerSpec>}
50
51
  * @memberof SandboxTemplateSpec
51
52
  */
52
- sidecars?: Array<ContainerSpec>;
53
+ sidecars?: Array<SidecarContainerSpec>;
53
54
  /**
54
55
  *
55
56
  * @type {PodSpecOverride}
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAChC;;;;OAIG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAqB7G;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,CAsB5H"}
1
+ {"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAqB7G;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,CAsB5H"}
@@ -15,6 +15,7 @@ import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
15
15
  import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
16
16
  import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
17
17
  import { LifecyclePolicyFromJSON, LifecyclePolicyToJSON, } from './LifecyclePolicy.js';
18
+ import { SidecarContainerSpecFromJSON, SidecarContainerSpecToJSON, } from './SidecarContainerSpec.js';
18
19
  import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
19
20
  /**
20
21
  * Check if a given object implements the SandboxTemplateSpec interface.
@@ -34,7 +35,7 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
34
35
  'displayName': json['displayName'] == null ? undefined : json['displayName'],
35
36
  'tags': json['tags'] == null ? undefined : json['tags'],
36
37
  'mainContainer': json['mainContainer'] == null ? undefined : ContainerSpecFromJSON(json['mainContainer']),
37
- 'sidecars': json['sidecars'] == null ? undefined : (json['sidecars'].map(ContainerSpecFromJSON)),
38
+ 'sidecars': json['sidecars'] == null ? undefined : (json['sidecars'].map(SidecarContainerSpecFromJSON)),
38
39
  'pod': json['pod'] == null ? undefined : PodSpecOverrideFromJSON(json['pod']),
39
40
  'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
40
41
  'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
@@ -58,7 +59,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
58
59
  'displayName': value['displayName'],
59
60
  'tags': value['tags'],
60
61
  'mainContainer': ContainerSpecToJSON(value['mainContainer']),
61
- 'sidecars': value['sidecars'] == null ? undefined : (value['sidecars'].map(ContainerSpecToJSON)),
62
+ 'sidecars': value['sidecars'] == null ? undefined : (value['sidecars'].map(SidecarContainerSpecToJSON)),
62
63
  'pod': PodSpecOverrideToJSON(value['pod']),
63
64
  'network': SandboxNetworkPolicyToJSON(value['network']),
64
65
  'pool': PoolStrategyToJSON(value['pool']),