@boatdev/sdk 1.9.3 → 1.9.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.
@@ -27,6 +27,12 @@ export interface HostPortRequest {
27
27
  * @memberof HostPortRequest
28
28
  */
29
29
  _public?: boolean;
30
+ /**
31
+ * Set when the service listens on localhost (`127.0.0.1` or `::1`) only. The sandbox relays the URL to it. Leave unset for a service bound to `0.0.0.0`. Each call sets the value again.
32
+ * @type {boolean}
33
+ * @memberof HostPortRequest
34
+ */
35
+ localhost?: boolean;
30
36
  /**
31
37
  * Display title for the hosted port.
32
38
  * @type {string}
@@ -29,6 +29,7 @@ export function HostPortRequestFromJSONTyped(json, ignoreDiscriminator) {
29
29
  return {
30
30
  'port': json['port'],
31
31
  '_public': json['public'] == null ? undefined : json['public'],
32
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
32
33
  'title': json['title'] == null ? undefined : json['title'],
33
34
  };
34
35
  }
@@ -42,6 +43,7 @@ export function HostPortRequestToJSONTyped(value, ignoreDiscriminator = false) {
42
43
  return {
43
44
  'port': value['port'],
44
45
  'public': value['_public'],
46
+ 'localhost': value['localhost'],
45
47
  'title': value['title'],
46
48
  };
47
49
  }
@@ -57,6 +57,12 @@ export interface HostPortResponse {
57
57
  * @memberof HostPortResponse
58
58
  */
59
59
  access?: HostPortResponseAccessEnum;
60
+ /**
61
+ * The sandbox relays the URL to a service that listens on localhost only.
62
+ * @type {boolean}
63
+ * @memberof HostPortResponse
64
+ */
65
+ localhost?: boolean;
60
66
  }
61
67
  /**
62
68
  * @export
@@ -43,6 +43,7 @@ export function HostPortResponseFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'url': json['url'] == null ? undefined : json['url'],
44
44
  'isProtected': json['isProtected'] == null ? undefined : json['isProtected'],
45
45
  'access': json['access'] == null ? undefined : json['access'],
46
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
46
47
  };
47
48
  }
48
49
  export function HostPortResponseToJSON(json) {
@@ -60,5 +61,6 @@ export function HostPortResponseToJSONTyped(value, ignoreDiscriminator = false)
60
61
  'url': value['url'],
61
62
  'isProtected': value['isProtected'],
62
63
  'access': value['access'],
64
+ 'localhost': value['localhost'],
63
65
  };
64
66
  }
@@ -27,6 +27,12 @@ export interface HostPortRequest {
27
27
  * @memberof HostPortRequest
28
28
  */
29
29
  _public?: boolean;
30
+ /**
31
+ * Set when the service listens on localhost (`127.0.0.1` or `::1`) only. The sandbox relays the URL to it. Leave unset for a service bound to `0.0.0.0`. Each call sets the value again.
32
+ * @type {boolean}
33
+ * @memberof HostPortRequest
34
+ */
35
+ localhost?: boolean;
30
36
  /**
31
37
  * Display title for the hosted port.
32
38
  * @type {string}
@@ -36,6 +36,7 @@ function HostPortRequestFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'port': json['port'],
38
38
  '_public': json['public'] == null ? undefined : json['public'],
39
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
39
40
  'title': json['title'] == null ? undefined : json['title'],
40
41
  };
41
42
  }
@@ -49,6 +50,7 @@ function HostPortRequestToJSONTyped(value, ignoreDiscriminator = false) {
49
50
  return {
50
51
  'port': value['port'],
51
52
  'public': value['_public'],
53
+ 'localhost': value['localhost'],
52
54
  'title': value['title'],
53
55
  };
54
56
  }
@@ -57,6 +57,12 @@ export interface HostPortResponse {
57
57
  * @memberof HostPortResponse
58
58
  */
59
59
  access?: HostPortResponseAccessEnum;
60
+ /**
61
+ * The sandbox relays the URL to a service that listens on localhost only.
62
+ * @type {boolean}
63
+ * @memberof HostPortResponse
64
+ */
65
+ localhost?: boolean;
60
66
  }
61
67
  /**
62
68
  * @export
@@ -51,6 +51,7 @@ function HostPortResponseFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'url': json['url'] == null ? undefined : json['url'],
52
52
  'isProtected': json['isProtected'] == null ? undefined : json['isProtected'],
53
53
  'access': json['access'] == null ? undefined : json['access'],
54
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
54
55
  };
55
56
  }
56
57
  function HostPortResponseToJSON(json) {
@@ -68,5 +69,6 @@ function HostPortResponseToJSONTyped(value, ignoreDiscriminator = false) {
68
69
  'url': value['url'],
69
70
  'isProtected': value['isProtected'],
70
71
  'access': value['access'],
72
+ 'localhost': value['localhost'],
71
73
  };
72
74
  }
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `port` | number
10
10
  `_public` | boolean
11
+ `localhost` | boolean
11
12
  `title` | string
12
13
 
13
14
  ## Example
@@ -19,6 +20,7 @@ import type { HostPortRequest } from '@boatdev/sdk'
19
20
  const example = {
20
21
  "port": null,
21
22
  "_public": null,
23
+ "localhost": null,
22
24
  "title": null,
23
25
  } satisfies HostPortRequest
24
26
 
@@ -13,6 +13,7 @@ Name | Type
13
13
  `url` | string
14
14
  `isProtected` | boolean
15
15
  `access` | string
16
+ `localhost` | boolean
16
17
 
17
18
  ## Example
18
19
 
@@ -28,6 +29,7 @@ const example = {
28
29
  "url": null,
29
30
  "isProtected": null,
30
31
  "access": null,
32
+ "localhost": null,
31
33
  } satisfies HostPortResponse
32
34
 
33
35
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boatdev/sdk",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "OpenAPI client for @boatdev/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "license": "MIT",
@@ -31,6 +31,12 @@ export interface HostPortRequest {
31
31
  * @memberof HostPortRequest
32
32
  */
33
33
  _public?: boolean;
34
+ /**
35
+ * Set when the service listens on localhost (`127.0.0.1` or `::1`) only. The sandbox relays the URL to it. Leave unset for a service bound to `0.0.0.0`. Each call sets the value again.
36
+ * @type {boolean}
37
+ * @memberof HostPortRequest
38
+ */
39
+ localhost?: boolean;
34
40
  /**
35
41
  * Display title for the hosted port.
36
42
  * @type {string}
@@ -59,6 +65,7 @@ export function HostPortRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
59
65
 
60
66
  'port': json['port'],
61
67
  '_public': json['public'] == null ? undefined : json['public'],
68
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
62
69
  'title': json['title'] == null ? undefined : json['title'],
63
70
  };
64
71
  }
@@ -76,6 +83,7 @@ export function HostPortRequestToJSONTyped(value?: HostPortRequest | null, ignor
76
83
 
77
84
  'port': value['port'],
78
85
  'public': value['_public'],
86
+ 'localhost': value['localhost'],
79
87
  'title': value['title'],
80
88
  };
81
89
  }
@@ -61,6 +61,12 @@ export interface HostPortResponse {
61
61
  * @memberof HostPortResponse
62
62
  */
63
63
  access?: HostPortResponseAccessEnum;
64
+ /**
65
+ * The sandbox relays the URL to a service that listens on localhost only.
66
+ * @type {boolean}
67
+ * @memberof HostPortResponse
68
+ */
69
+ localhost?: boolean;
64
70
  }
65
71
 
66
72
 
@@ -100,6 +106,7 @@ export function HostPortResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
100
106
  'url': json['url'] == null ? undefined : json['url'],
101
107
  'isProtected': json['isProtected'] == null ? undefined : json['isProtected'],
102
108
  'access': json['access'] == null ? undefined : json['access'],
109
+ 'localhost': json['localhost'] == null ? undefined : json['localhost'],
103
110
  };
104
111
  }
105
112
 
@@ -121,6 +128,7 @@ export function HostPortResponseToJSONTyped(value?: HostPortResponse | null, ign
121
128
  'url': value['url'],
122
129
  'isProtected': value['isProtected'],
123
130
  'access': value['access'],
131
+ 'localhost': value['localhost'],
124
132
  };
125
133
  }
126
134