@microsoft/dev-tunnels-contracts 1.3.6 → 1.3.36

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 (84) hide show
  1. package/README.md +2 -2
  2. package/clusterDetails.d.ts +19 -19
  3. package/clusterDetails.js +6 -6
  4. package/errorCodes.d.ts +17 -17
  5. package/errorCodes.js +25 -25
  6. package/errorDetail.d.ts +27 -27
  7. package/errorDetail.js +6 -6
  8. package/index.d.ts +24 -24
  9. package/index.js +29 -29
  10. package/innerErrorDetail.d.ts +15 -15
  11. package/innerErrorDetail.js +6 -6
  12. package/localNetworkTunnelEndpoint.d.ts +20 -20
  13. package/localNetworkTunnelEndpoint.js +6 -6
  14. package/namedRateStatus.d.ts +10 -10
  15. package/namedRateStatus.js +6 -6
  16. package/package.json +1 -1
  17. package/problemDetails.d.ts +24 -24
  18. package/problemDetails.js +6 -6
  19. package/rateStatus.d.ts +19 -19
  20. package/rateStatus.js +6 -6
  21. package/resourceStatus.d.ts +22 -22
  22. package/resourceStatus.js +6 -6
  23. package/serviceVersionDetails.d.ts +26 -26
  24. package/serviceVersionDetails.js +6 -6
  25. package/tsbuildinfo.json +1 -1
  26. package/tunnel.d.ts +87 -87
  27. package/tunnel.js +6 -6
  28. package/tunnelAccessControl.d.ts +27 -27
  29. package/tunnelAccessControl.js +13 -13
  30. package/tunnelAccessControlEntry.d.ts +116 -116
  31. package/tunnelAccessControlEntry.js +40 -40
  32. package/tunnelAccessControlEntryType.d.ts +45 -45
  33. package/tunnelAccessControlEntryType.js +53 -53
  34. package/tunnelAccessControlStatics.d.ts +10 -10
  35. package/tunnelAccessControlStatics.js +46 -46
  36. package/tunnelAccessScopes.d.ts +38 -38
  37. package/tunnelAccessScopes.js +46 -46
  38. package/tunnelAccessSubject.d.ts +39 -39
  39. package/tunnelAccessSubject.js +6 -6
  40. package/tunnelAuthenticationSchemes.d.ts +21 -21
  41. package/tunnelAuthenticationSchemes.js +29 -29
  42. package/tunnelConnectionMode.d.ts +19 -19
  43. package/tunnelConnectionMode.js +27 -27
  44. package/tunnelConstraints.d.ts +268 -253
  45. package/tunnelConstraints.d.ts.map +1 -1
  46. package/tunnelConstraints.js +276 -261
  47. package/tunnelConstraints.js.map +1 -1
  48. package/tunnelEndpoint.d.ts +76 -76
  49. package/tunnelEndpoint.js +20 -20
  50. package/tunnelEndpointStatics.d.ts +19 -19
  51. package/tunnelEndpointStatics.js +48 -48
  52. package/tunnelEvent.d.ts +48 -48
  53. package/tunnelEvent.js +24 -24
  54. package/tunnelHeaderNames.d.ts +27 -27
  55. package/tunnelHeaderNames.js +35 -35
  56. package/tunnelListByRegion.d.ts +23 -23
  57. package/tunnelListByRegion.js +6 -6
  58. package/tunnelListByRegionResponse.d.ts +14 -14
  59. package/tunnelListByRegionResponse.js +6 -6
  60. package/tunnelOptions.d.ts +99 -78
  61. package/tunnelOptions.d.ts.map +1 -1
  62. package/tunnelOptions.js +6 -6
  63. package/tunnelPort.d.ts +93 -93
  64. package/tunnelPort.js +6 -6
  65. package/tunnelPortListResponse.d.ts +14 -14
  66. package/tunnelPortListResponse.js +6 -6
  67. package/tunnelPortStatus.d.ts +39 -39
  68. package/tunnelPortStatus.js +6 -6
  69. package/tunnelProgress.d.ts +45 -45
  70. package/tunnelProgress.js +53 -53
  71. package/tunnelProtocol.d.ts +33 -33
  72. package/tunnelProtocol.js +41 -41
  73. package/tunnelRelayTunnelEndpoint.d.ts +14 -14
  74. package/tunnelRelayTunnelEndpoint.js +6 -6
  75. package/tunnelReportProgressEventArgs.d.ts +15 -15
  76. package/tunnelReportProgressEventArgs.js +6 -6
  77. package/tunnelServiceProperties.d.ts +107 -106
  78. package/tunnelServiceProperties.d.ts.map +1 -1
  79. package/tunnelServiceProperties.js +85 -84
  80. package/tunnelServiceProperties.js.map +1 -1
  81. package/tunnelServicePropertiesStatics.d.ts +17 -17
  82. package/tunnelServicePropertiesStatics.js +55 -55
  83. package/tunnelStatus.d.ts +100 -100
  84. package/tunnelStatus.js +6 -6
package/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # Visual Studio Tunnels Contracts Library
2
- Tunnels contracts library for node
1
+ # Visual Studio Tunnels Contracts Library
2
+ Tunnels contracts library for node
@@ -1,20 +1,20 @@
1
- /**
2
- * Details of a tunneling service cluster. Each cluster represents an instance of the
3
- * tunneling service running in a particular Azure region. New tunnels are created in the
4
- * current region unless otherwise specified.
5
- */
6
- export interface ClusterDetails {
7
- /**
8
- * A cluster identifier based on its region.
9
- */
10
- clusterId: string;
11
- /**
12
- * The URI of the service cluster.
13
- */
14
- uri: string;
15
- /**
16
- * The Azure location of the cluster.
17
- */
18
- azureLocation: string;
19
- }
1
+ /**
2
+ * Details of a tunneling service cluster. Each cluster represents an instance of the
3
+ * tunneling service running in a particular Azure region. New tunnels are created in the
4
+ * current region unless otherwise specified.
5
+ */
6
+ export interface ClusterDetails {
7
+ /**
8
+ * A cluster identifier based on its region.
9
+ */
10
+ clusterId: string;
11
+ /**
12
+ * The URI of the service cluster.
13
+ */
14
+ uri: string;
15
+ /**
16
+ * The Azure location of the cluster.
17
+ */
18
+ azureLocation: string;
19
+ }
20
20
  //# sourceMappingURL=clusterDetails.d.ts.map
package/clusterDetails.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/ClusterDetails.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/ClusterDetails.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=clusterDetails.js.map
package/errorCodes.d.ts CHANGED
@@ -1,18 +1,18 @@
1
- /**
2
- * Error codes for ErrorDetail.Code and `x-ms-error-code` header.
3
- */
4
- export declare enum ErrorCodes {
5
- /**
6
- * Operation timed out.
7
- */
8
- Timeout = "Timeout",
9
- /**
10
- * Operation cannot be performed because the service is not available.
11
- */
12
- ServiceUnavailable = "ServiceUnavailable",
13
- /**
14
- * Internal error.
15
- */
16
- InternalError = "InternalError"
17
- }
1
+ /**
2
+ * Error codes for ErrorDetail.Code and `x-ms-error-code` header.
3
+ */
4
+ export declare enum ErrorCodes {
5
+ /**
6
+ * Operation timed out.
7
+ */
8
+ Timeout = "Timeout",
9
+ /**
10
+ * Operation cannot be performed because the service is not available.
11
+ */
12
+ ServiceUnavailable = "ServiceUnavailable",
13
+ /**
14
+ * Internal error.
15
+ */
16
+ InternalError = "InternalError"
17
+ }
18
18
  //# sourceMappingURL=errorCodes.d.ts.map
package/errorCodes.js CHANGED
@@ -1,26 +1,26 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/ErrorCodes.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ErrorCodes = void 0;
8
- /**
9
- * Error codes for ErrorDetail.Code and `x-ms-error-code` header.
10
- */
11
- var ErrorCodes;
12
- (function (ErrorCodes) {
13
- /**
14
- * Operation timed out.
15
- */
16
- ErrorCodes["Timeout"] = "Timeout";
17
- /**
18
- * Operation cannot be performed because the service is not available.
19
- */
20
- ErrorCodes["ServiceUnavailable"] = "ServiceUnavailable";
21
- /**
22
- * Internal error.
23
- */
24
- ErrorCodes["InternalError"] = "InternalError";
25
- })(ErrorCodes = exports.ErrorCodes || (exports.ErrorCodes = {}));
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/ErrorCodes.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.ErrorCodes = void 0;
8
+ /**
9
+ * Error codes for ErrorDetail.Code and `x-ms-error-code` header.
10
+ */
11
+ var ErrorCodes;
12
+ (function (ErrorCodes) {
13
+ /**
14
+ * Operation timed out.
15
+ */
16
+ ErrorCodes["Timeout"] = "Timeout";
17
+ /**
18
+ * Operation cannot be performed because the service is not available.
19
+ */
20
+ ErrorCodes["ServiceUnavailable"] = "ServiceUnavailable";
21
+ /**
22
+ * Internal error.
23
+ */
24
+ ErrorCodes["InternalError"] = "InternalError";
25
+ })(ErrorCodes = exports.ErrorCodes || (exports.ErrorCodes = {}));
26
26
  //# sourceMappingURL=errorCodes.js.map
package/errorDetail.d.ts CHANGED
@@ -1,28 +1,28 @@
1
- import { InnerErrorDetail } from './innerErrorDetail';
2
- /**
3
- * The top-level error object whose code matches the x-ms-error-code response header
4
- */
5
- export interface ErrorDetail {
6
- /**
7
- * One of a server-defined set of error codes defined in {@link ErrorCodes}.
8
- */
9
- code: string;
10
- /**
11
- * A human-readable representation of the error.
12
- */
13
- message: string;
14
- /**
15
- * The target of the error.
16
- */
17
- target?: string;
18
- /**
19
- * An array of details about specific errors that led to this reported error.
20
- */
21
- details?: ErrorDetail[];
22
- /**
23
- * An object containing more specific information than the current object about the
24
- * error.
25
- */
26
- innererror?: InnerErrorDetail;
27
- }
1
+ import { InnerErrorDetail } from './innerErrorDetail';
2
+ /**
3
+ * The top-level error object whose code matches the x-ms-error-code response header
4
+ */
5
+ export interface ErrorDetail {
6
+ /**
7
+ * One of a server-defined set of error codes defined in {@link ErrorCodes}.
8
+ */
9
+ code: string;
10
+ /**
11
+ * A human-readable representation of the error.
12
+ */
13
+ message: string;
14
+ /**
15
+ * The target of the error.
16
+ */
17
+ target?: string;
18
+ /**
19
+ * An array of details about specific errors that led to this reported error.
20
+ */
21
+ details?: ErrorDetail[];
22
+ /**
23
+ * An object containing more specific information than the current object about the
24
+ * error.
25
+ */
26
+ innererror?: InnerErrorDetail;
27
+ }
28
28
  //# sourceMappingURL=errorDetail.d.ts.map
package/errorDetail.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/ErrorDetail.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/ErrorDetail.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=errorDetail.js.map
package/index.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- export { Tunnel } from './tunnel';
2
- export { NamedRateStatus } from './namedRateStatus';
3
- export { ProblemDetails } from './problemDetails';
4
- export { TunnelAccessControl } from './tunnelAccessControl';
5
- export { TunnelAccessControlEntry } from './tunnelAccessControlEntry';
6
- export { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
7
- export { TunnelAccessScopes } from './tunnelAccessScopes';
8
- export { TunnelConnectionMode } from './tunnelConnectionMode';
9
- export { TunnelEndpoint } from './tunnelEndpoint';
10
- export { TunnelEvent } from './tunnelEvent';
11
- export { TunnelHeaderNames } from './tunnelHeaderNames';
12
- export { TunnelOptions } from './tunnelOptions';
13
- export { TunnelPort } from './tunnelPort';
14
- export { TunnelPortStatus } from './tunnelPortStatus';
15
- export { TunnelProtocol } from './tunnelProtocol';
16
- export { TunnelRelayTunnelEndpoint } from './tunnelRelayTunnelEndpoint';
17
- export { TunnelServiceProperties } from './tunnelServiceProperties';
18
- export { TunnelStatus } from './tunnelStatus';
19
- export { ClusterDetails } from './clusterDetails';
20
- export { TunnelListByRegionResponse } from './tunnelListByRegionResponse';
21
- export { TunnelPortListResponse } from './tunnelPortListResponse';
22
- export { TunnelConstraints } from './tunnelConstraints';
23
- export { TunnelProgress } from './tunnelProgress';
24
- export { TunnelReportProgressEventArgs } from './tunnelReportProgressEventArgs';
1
+ export { Tunnel } from './tunnel';
2
+ export { NamedRateStatus } from './namedRateStatus';
3
+ export { ProblemDetails } from './problemDetails';
4
+ export { TunnelAccessControl } from './tunnelAccessControl';
5
+ export { TunnelAccessControlEntry } from './tunnelAccessControlEntry';
6
+ export { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
7
+ export { TunnelAccessScopes } from './tunnelAccessScopes';
8
+ export { TunnelConnectionMode } from './tunnelConnectionMode';
9
+ export { TunnelEndpoint } from './tunnelEndpoint';
10
+ export { TunnelEvent } from './tunnelEvent';
11
+ export { TunnelHeaderNames } from './tunnelHeaderNames';
12
+ export { TunnelOptions } from './tunnelOptions';
13
+ export { TunnelPort } from './tunnelPort';
14
+ export { TunnelPortStatus } from './tunnelPortStatus';
15
+ export { TunnelProtocol } from './tunnelProtocol';
16
+ export { TunnelRelayTunnelEndpoint } from './tunnelRelayTunnelEndpoint';
17
+ export { TunnelServiceProperties } from './tunnelServiceProperties';
18
+ export { TunnelStatus } from './tunnelStatus';
19
+ export { ClusterDetails } from './clusterDetails';
20
+ export { TunnelListByRegionResponse } from './tunnelListByRegionResponse';
21
+ export { TunnelPortListResponse } from './tunnelPortListResponse';
22
+ export { TunnelConstraints } from './tunnelConstraints';
23
+ export { TunnelProgress } from './tunnelProgress';
24
+ export { TunnelReportProgressEventArgs } from './tunnelReportProgressEventArgs';
25
25
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,30 +1,30 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.TunnelProgress = exports.TunnelConstraints = exports.TunnelServiceProperties = exports.TunnelProtocol = exports.TunnelHeaderNames = exports.TunnelEvent = exports.TunnelEndpoint = exports.TunnelConnectionMode = exports.TunnelAccessScopes = exports.TunnelAccessControlEntryType = exports.TunnelAccessControlEntry = exports.TunnelAccessControl = void 0;
6
- var tunnelAccessControl_1 = require("./tunnelAccessControl");
7
- Object.defineProperty(exports, "TunnelAccessControl", { enumerable: true, get: function () { return tunnelAccessControl_1.TunnelAccessControl; } });
8
- var tunnelAccessControlEntry_1 = require("./tunnelAccessControlEntry");
9
- Object.defineProperty(exports, "TunnelAccessControlEntry", { enumerable: true, get: function () { return tunnelAccessControlEntry_1.TunnelAccessControlEntry; } });
10
- var tunnelAccessControlEntryType_1 = require("./tunnelAccessControlEntryType");
11
- Object.defineProperty(exports, "TunnelAccessControlEntryType", { enumerable: true, get: function () { return tunnelAccessControlEntryType_1.TunnelAccessControlEntryType; } });
12
- var tunnelAccessScopes_1 = require("./tunnelAccessScopes");
13
- Object.defineProperty(exports, "TunnelAccessScopes", { enumerable: true, get: function () { return tunnelAccessScopes_1.TunnelAccessScopes; } });
14
- var tunnelConnectionMode_1 = require("./tunnelConnectionMode");
15
- Object.defineProperty(exports, "TunnelConnectionMode", { enumerable: true, get: function () { return tunnelConnectionMode_1.TunnelConnectionMode; } });
16
- var tunnelEndpoint_1 = require("./tunnelEndpoint");
17
- Object.defineProperty(exports, "TunnelEndpoint", { enumerable: true, get: function () { return tunnelEndpoint_1.TunnelEndpoint; } });
18
- var tunnelEvent_1 = require("./tunnelEvent");
19
- Object.defineProperty(exports, "TunnelEvent", { enumerable: true, get: function () { return tunnelEvent_1.TunnelEvent; } });
20
- var tunnelHeaderNames_1 = require("./tunnelHeaderNames");
21
- Object.defineProperty(exports, "TunnelHeaderNames", { enumerable: true, get: function () { return tunnelHeaderNames_1.TunnelHeaderNames; } });
22
- var tunnelProtocol_1 = require("./tunnelProtocol");
23
- Object.defineProperty(exports, "TunnelProtocol", { enumerable: true, get: function () { return tunnelProtocol_1.TunnelProtocol; } });
24
- var tunnelServiceProperties_1 = require("./tunnelServiceProperties");
25
- Object.defineProperty(exports, "TunnelServiceProperties", { enumerable: true, get: function () { return tunnelServiceProperties_1.TunnelServiceProperties; } });
26
- var tunnelConstraints_1 = require("./tunnelConstraints");
27
- Object.defineProperty(exports, "TunnelConstraints", { enumerable: true, get: function () { return tunnelConstraints_1.TunnelConstraints; } });
28
- var tunnelProgress_1 = require("./tunnelProgress");
29
- Object.defineProperty(exports, "TunnelProgress", { enumerable: true, get: function () { return tunnelProgress_1.TunnelProgress; } });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.TunnelProgress = exports.TunnelConstraints = exports.TunnelServiceProperties = exports.TunnelProtocol = exports.TunnelHeaderNames = exports.TunnelEvent = exports.TunnelEndpoint = exports.TunnelConnectionMode = exports.TunnelAccessScopes = exports.TunnelAccessControlEntryType = exports.TunnelAccessControlEntry = exports.TunnelAccessControl = void 0;
6
+ var tunnelAccessControl_1 = require("./tunnelAccessControl");
7
+ Object.defineProperty(exports, "TunnelAccessControl", { enumerable: true, get: function () { return tunnelAccessControl_1.TunnelAccessControl; } });
8
+ var tunnelAccessControlEntry_1 = require("./tunnelAccessControlEntry");
9
+ Object.defineProperty(exports, "TunnelAccessControlEntry", { enumerable: true, get: function () { return tunnelAccessControlEntry_1.TunnelAccessControlEntry; } });
10
+ var tunnelAccessControlEntryType_1 = require("./tunnelAccessControlEntryType");
11
+ Object.defineProperty(exports, "TunnelAccessControlEntryType", { enumerable: true, get: function () { return tunnelAccessControlEntryType_1.TunnelAccessControlEntryType; } });
12
+ var tunnelAccessScopes_1 = require("./tunnelAccessScopes");
13
+ Object.defineProperty(exports, "TunnelAccessScopes", { enumerable: true, get: function () { return tunnelAccessScopes_1.TunnelAccessScopes; } });
14
+ var tunnelConnectionMode_1 = require("./tunnelConnectionMode");
15
+ Object.defineProperty(exports, "TunnelConnectionMode", { enumerable: true, get: function () { return tunnelConnectionMode_1.TunnelConnectionMode; } });
16
+ var tunnelEndpoint_1 = require("./tunnelEndpoint");
17
+ Object.defineProperty(exports, "TunnelEndpoint", { enumerable: true, get: function () { return tunnelEndpoint_1.TunnelEndpoint; } });
18
+ var tunnelEvent_1 = require("./tunnelEvent");
19
+ Object.defineProperty(exports, "TunnelEvent", { enumerable: true, get: function () { return tunnelEvent_1.TunnelEvent; } });
20
+ var tunnelHeaderNames_1 = require("./tunnelHeaderNames");
21
+ Object.defineProperty(exports, "TunnelHeaderNames", { enumerable: true, get: function () { return tunnelHeaderNames_1.TunnelHeaderNames; } });
22
+ var tunnelProtocol_1 = require("./tunnelProtocol");
23
+ Object.defineProperty(exports, "TunnelProtocol", { enumerable: true, get: function () { return tunnelProtocol_1.TunnelProtocol; } });
24
+ var tunnelServiceProperties_1 = require("./tunnelServiceProperties");
25
+ Object.defineProperty(exports, "TunnelServiceProperties", { enumerable: true, get: function () { return tunnelServiceProperties_1.TunnelServiceProperties; } });
26
+ var tunnelConstraints_1 = require("./tunnelConstraints");
27
+ Object.defineProperty(exports, "TunnelConstraints", { enumerable: true, get: function () { return tunnelConstraints_1.TunnelConstraints; } });
28
+ var tunnelProgress_1 = require("./tunnelProgress");
29
+ Object.defineProperty(exports, "TunnelProgress", { enumerable: true, get: function () { return tunnelProgress_1.TunnelProgress; } });
30
30
  //# sourceMappingURL=index.js.map
@@ -1,16 +1,16 @@
1
- /**
2
- * An object containing more specific information than the current object about the error.
3
- */
4
- export interface InnerErrorDetail {
5
- /**
6
- * A more specific error code than was provided by the containing error. One of a
7
- * server-defined set of error codes in {@link ErrorCodes}.
8
- */
9
- code: string;
10
- /**
11
- * An object containing more specific information than the current object about the
12
- * error.
13
- */
14
- innererror?: InnerErrorDetail;
15
- }
1
+ /**
2
+ * An object containing more specific information than the current object about the error.
3
+ */
4
+ export interface InnerErrorDetail {
5
+ /**
6
+ * A more specific error code than was provided by the containing error. One of a
7
+ * server-defined set of error codes in {@link ErrorCodes}.
8
+ */
9
+ code: string;
10
+ /**
11
+ * An object containing more specific information than the current object about the
12
+ * error.
13
+ */
14
+ innererror?: InnerErrorDetail;
15
+ }
16
16
  //# sourceMappingURL=innerErrorDetail.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/InnerErrorDetail.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/InnerErrorDetail.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=innerErrorDetail.js.map
@@ -1,21 +1,21 @@
1
- import { TunnelEndpoint } from './tunnelEndpoint';
2
- /**
3
- * Parameters for connecting to a tunnel via a local network connection.
4
- *
5
- * While a direct connection is technically not "tunneling", tunnel hosts may accept
6
- * connections via the local network as an optional more-efficient alternative to a relay.
7
- */
8
- export interface LocalNetworkTunnelEndpoint extends TunnelEndpoint {
9
- /**
10
- * Gets or sets a list of IP endpoints where the host may accept connections.
11
- *
12
- * A host may accept connections on multiple IP endpoints simultaneously if there are
13
- * multiple network interfaces on the host system and/or if the host supports both
14
- * IPv4 and IPv6. Each item in the list is a URI consisting of a scheme (which gives
15
- * an indication of the network connection protocol), an IP address (IPv4 or IPv6) and
16
- * a port number. The URIs do not typically include any paths, because the connection
17
- * is not normally HTTP-based.
18
- */
19
- hostEndpoints: string[];
20
- }
1
+ import { TunnelEndpoint } from './tunnelEndpoint';
2
+ /**
3
+ * Parameters for connecting to a tunnel via a local network connection.
4
+ *
5
+ * While a direct connection is technically not "tunneling", tunnel hosts may accept
6
+ * connections via the local network as an optional more-efficient alternative to a relay.
7
+ */
8
+ export interface LocalNetworkTunnelEndpoint extends TunnelEndpoint {
9
+ /**
10
+ * Gets or sets a list of IP endpoints where the host may accept connections.
11
+ *
12
+ * A host may accept connections on multiple IP endpoints simultaneously if there are
13
+ * multiple network interfaces on the host system and/or if the host supports both
14
+ * IPv4 and IPv6. Each item in the list is a URI consisting of a scheme (which gives
15
+ * an indication of the network connection protocol), an IP address (IPv4 or IPv6) and
16
+ * a port number. The URIs do not typically include any paths, because the connection
17
+ * is not normally HTTP-based.
18
+ */
19
+ hostEndpoints: string[];
20
+ }
21
21
  //# sourceMappingURL=localNetworkTunnelEndpoint.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/LocalNetworkTunnelEndpoint.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/LocalNetworkTunnelEndpoint.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=localNetworkTunnelEndpoint.js.map
@@ -1,11 +1,11 @@
1
- import { RateStatus } from './rateStatus';
2
- /**
3
- * A named {@link RateStatus}.
4
- */
5
- export interface NamedRateStatus extends RateStatus {
6
- /**
7
- * The name of the rate status.
8
- */
9
- name?: string;
10
- }
1
+ import { RateStatus } from './rateStatus';
2
+ /**
3
+ * A named {@link RateStatus}.
4
+ */
5
+ export interface NamedRateStatus extends RateStatus {
6
+ /**
7
+ * The name of the rate status.
8
+ */
9
+ name?: string;
10
+ }
11
11
  //# sourceMappingURL=namedRateStatus.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/NamedRateStatus.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/NamedRateStatus.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=namedRateStatus.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/dev-tunnels-contracts",
3
- "version": "1.3.6",
3
+ "version": "1.3.36",
4
4
  "description": "Tunnels library for Visual Studio tools",
5
5
  "keywords": [
6
6
  "Tunnels"
@@ -1,25 +1,25 @@
1
- /**
2
- * Structure of error details returned by the tunnel service, including validation errors.
3
- *
4
- * This object may be returned with a response status code of 400 (or other 4xx code). It
5
- * is compatible with RFC 7807 Problem Details (https://tools.ietf.org/html/rfc7807) and
6
- * https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.problemdetails but
7
- * doesn't require adding a dependency on that package.
8
- */
9
- export interface ProblemDetails {
10
- /**
11
- * Gets or sets the error title.
12
- */
13
- title?: string;
14
- /**
15
- * Gets or sets the error detail.
16
- */
17
- detail?: string;
18
- /**
19
- * Gets or sets additional details about individual request properties.
20
- */
21
- errors?: {
22
- [property: string]: string[];
23
- };
24
- }
1
+ /**
2
+ * Structure of error details returned by the tunnel service, including validation errors.
3
+ *
4
+ * This object may be returned with a response status code of 400 (or other 4xx code). It
5
+ * is compatible with RFC 7807 Problem Details (https://tools.ietf.org/html/rfc7807) and
6
+ * https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.problemdetails but
7
+ * doesn't require adding a dependency on that package.
8
+ */
9
+ export interface ProblemDetails {
10
+ /**
11
+ * Gets or sets the error title.
12
+ */
13
+ title?: string;
14
+ /**
15
+ * Gets or sets the error detail.
16
+ */
17
+ detail?: string;
18
+ /**
19
+ * Gets or sets additional details about individual request properties.
20
+ */
21
+ errors?: {
22
+ [property: string]: string[];
23
+ };
24
+ }
25
25
  //# sourceMappingURL=problemDetails.d.ts.map
package/problemDetails.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/ProblemDetails.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/ProblemDetails.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=problemDetails.js.map
package/rateStatus.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- import { ResourceStatus } from './resourceStatus';
2
- /**
3
- * Current value and limit information for a rate-limited operation related to a tunnel or
4
- * port.
5
- */
6
- export interface RateStatus extends ResourceStatus {
7
- /**
8
- * Gets or sets the length of each period, in seconds, over which the rate is
9
- * measured.
10
- *
11
- * For rates that are limited by month (or billing period), this value may represent
12
- * an estimate, since the actual duration may vary by the calendar.
13
- */
14
- periodSeconds?: number;
15
- /**
16
- * Gets or sets the unix time in seconds when this status will be reset.
17
- */
18
- resetTime?: number;
19
- }
1
+ import { ResourceStatus } from './resourceStatus';
2
+ /**
3
+ * Current value and limit information for a rate-limited operation related to a tunnel or
4
+ * port.
5
+ */
6
+ export interface RateStatus extends ResourceStatus {
7
+ /**
8
+ * Gets or sets the length of each period, in seconds, over which the rate is
9
+ * measured.
10
+ *
11
+ * For rates that are limited by month (or billing period), this value may represent
12
+ * an estimate, since the actual duration may vary by the calendar.
13
+ */
14
+ periodSeconds?: number;
15
+ /**
16
+ * Gets or sets the unix time in seconds when this status will be reset.
17
+ */
18
+ resetTime?: number;
19
+ }
20
20
  //# sourceMappingURL=rateStatus.d.ts.map
package/rateStatus.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/RateStatus.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/RateStatus.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=rateStatus.js.map