@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
@@ -1,107 +1,108 @@
1
- /**
2
- * Provides environment-dependent properties about the service.
3
- */
4
- export interface TunnelServiceProperties {
5
- /**
6
- * Gets the base URI of the service.
7
- */
8
- serviceUri: string;
9
- /**
10
- * Gets the public AAD AppId for the service.
11
- *
12
- * Clients specify this AppId as the audience property when authenticating to the
13
- * service.
14
- */
15
- serviceAppId: string;
16
- /**
17
- * Gets the internal AAD AppId for the service.
18
- *
19
- * Other internal services specify this AppId as the audience property when
20
- * authenticating to the tunnel service. Production services must be in the AME tenant
21
- * to use this appid.
22
- */
23
- serviceInternalAppId: string;
24
- /**
25
- * Gets the client ID for the service's GitHub app.
26
- *
27
- * Clients apps that authenticate tunnel users with GitHub specify this as the client
28
- * ID when requesting a user token.
29
- */
30
- gitHubAppClientId: string;
31
- }
32
- /**
33
- * Global DNS name of the production tunnel service.
34
- */
35
- export declare const prodDnsName = "global.rel.tunnels.api.visualstudio.com";
36
- /**
37
- * Global DNS name of the pre-production tunnel service.
38
- */
39
- export declare const ppeDnsName = "global.rel.tunnels.ppe.api.visualstudio.com";
40
- /**
41
- * Global DNS name of the development tunnel service.
42
- */
43
- export declare const devDnsName = "global.ci.tunnels.dev.api.visualstudio.com";
44
- /**
45
- * First-party app ID: `Visual Studio Tunnel Service`
46
- *
47
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
48
- * in the PROD service environment.
49
- */
50
- export declare const prodFirstPartyAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2";
51
- /**
52
- * First-party app ID: `Visual Studio Tunnel Service - Test`
53
- *
54
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
55
- * in the PPE service environments.
56
- */
57
- export declare const ppeFirstPartyAppId = "54c45752-bacd-424a-b928-652f3eca2b18";
58
- /**
59
- * First-party app ID: `DEV-VSTunnels`
60
- *
61
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
62
- * in the DEV service environment
63
- */
64
- export declare const devFirstPartyAppId = "9c63851a-ba2b-40a5-94bd-890be43b9284";
65
- /**
66
- * Third-party app ID: `tunnels-prod-app-sp`
67
- *
68
- * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
69
- * service environment.
70
- */
71
- export declare const prodThirdPartyAppId = "ce65d243-a913-4cae-a7dd-cb52e9f77647";
72
- /**
73
- * Third-party app ID: `tunnels-ppe-app-sp`
74
- *
75
- * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
76
- * service environment.
77
- */
78
- export declare const ppeThirdPartyAppId = "544167a6-f431-4518-aac6-2fd50071928e";
79
- /**
80
- * Third-party app ID: `tunnels-dev-app-sp`
81
- *
82
- * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
83
- * in the DEV service environment.
84
- */
85
- export declare const devThirdPartyAppId = "a118c979-0249-44bb-8f95-eb0457127aeb";
86
- /**
87
- * GitHub App Client ID for 'Visual Studio Tunnel Service'
88
- *
89
- * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
90
- * environment.
91
- */
92
- export declare const prodGitHubAppClientId = "Iv1.e7b89e013f801f03";
93
- /**
94
- * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
95
- *
96
- * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
97
- * service environments.
98
- */
99
- export declare const nonProdGitHubAppClientId = "Iv1.b231c327f1eaa229";
100
- import { environment } from './tunnelServicePropertiesStatics';
101
- export declare const TunnelServiceProperties: {
102
- production: TunnelServiceProperties;
103
- staging: TunnelServiceProperties;
104
- development: TunnelServiceProperties;
105
- environment: typeof environment;
106
- };
1
+ /**
2
+ * Provides environment-dependent properties about the service.
3
+ */
4
+ export interface TunnelServiceProperties {
5
+ /**
6
+ * Gets the base URI of the service.
7
+ */
8
+ serviceUri: string;
9
+ /**
10
+ * Gets the public AAD AppId for the service.
11
+ *
12
+ * Clients specify this AppId as the audience property when authenticating to the
13
+ * service.
14
+ */
15
+ serviceAppId: string;
16
+ /**
17
+ * Gets the internal AAD AppId for the service.
18
+ *
19
+ * Other internal services specify this AppId as the audience property when
20
+ * authenticating to the tunnel service. Production services must be in the AME tenant
21
+ * to use this appid.
22
+ */
23
+ serviceInternalAppId: string;
24
+ /**
25
+ * Gets the client ID for the service's GitHub app.
26
+ *
27
+ * Clients apps that authenticate tunnel users with GitHub specify this as the client
28
+ * ID when requesting a user token.
29
+ */
30
+ gitHubAppClientId: string;
31
+ }
32
+ /**
33
+ * Global DNS name of the production tunnel service.
34
+ */
35
+ export declare const prodDnsName = "global.rel.tunnels.api.visualstudio.com";
36
+ /**
37
+ * Global DNS name of the pre-production tunnel service.
38
+ */
39
+ export declare const ppeDnsName = "global.rel.tunnels.ppe.api.visualstudio.com";
40
+ /**
41
+ * Global DNS name of the development tunnel service.
42
+ */
43
+ export declare const devDnsName = "global.ci.tunnels.dev.api.visualstudio.com";
44
+ /**
45
+ * First-party app ID: `Visual Studio Tunnel Service`
46
+ *
47
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
48
+ * in the PROD service environment.
49
+ */
50
+ export declare const prodFirstPartyAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2";
51
+ /**
52
+ * First-party app ID: `Visual Studio Tunnel Service - Test`
53
+ *
54
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
55
+ * in the PPE service environments.
56
+ */
57
+ export declare const ppeFirstPartyAppId = "54c45752-bacd-424a-b928-652f3eca2b18";
58
+ /**
59
+ * Third-party app ID: `DEV-VSTunnelService-3P`
60
+ *
61
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
62
+ * in the DEV service environment. This is a 3P app registration in the Microsoft corp
63
+ * tenant, replacing the former 1P FPA.
64
+ */
65
+ export declare const devFirstPartyAppId = "906ce216-6f2e-40be-875d-7fe1a9bc288a";
66
+ /**
67
+ * Third-party app ID: `tunnels-prod-app-sp`
68
+ *
69
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
70
+ * service environment.
71
+ */
72
+ export declare const prodThirdPartyAppId = "ce65d243-a913-4cae-a7dd-cb52e9f77647";
73
+ /**
74
+ * Third-party app ID: `tunnels-ppe-app-sp`
75
+ *
76
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
77
+ * service environment.
78
+ */
79
+ export declare const ppeThirdPartyAppId = "544167a6-f431-4518-aac6-2fd50071928e";
80
+ /**
81
+ * Third-party app ID: `tunnels-dev-app-sp`
82
+ *
83
+ * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
84
+ * in the DEV service environment.
85
+ */
86
+ export declare const devThirdPartyAppId = "a118c979-0249-44bb-8f95-eb0457127aeb";
87
+ /**
88
+ * GitHub App Client ID for 'Visual Studio Tunnel Service'
89
+ *
90
+ * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
91
+ * environment.
92
+ */
93
+ export declare const prodGitHubAppClientId = "Iv1.e7b89e013f801f03";
94
+ /**
95
+ * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
96
+ *
97
+ * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
98
+ * service environments.
99
+ */
100
+ export declare const nonProdGitHubAppClientId = "Iv1.b231c327f1eaa229";
101
+ import { environment } from './tunnelServicePropertiesStatics';
102
+ export declare const TunnelServiceProperties: {
103
+ production: TunnelServiceProperties;
104
+ staging: TunnelServiceProperties;
105
+ development: TunnelServiceProperties;
106
+ environment: typeof environment;
107
+ };
107
108
  //# sourceMappingURL=tunnelServiceProperties.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelServiceProperties.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,4CAA4C,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,gDAAgD,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,UAAU,+CAA+C,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAI/D,OAAO,EAIH,WAAW,EACd,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC"}
1
+ {"version":3,"file":"tunnelServiceProperties.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,4CAA4C,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,gDAAgD,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,UAAU,+CAA+C,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAI/D,OAAO,EAIH,WAAW,EACd,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC"}
@@ -1,85 +1,86 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelServiceProperties.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TunnelServiceProperties = exports.nonProdGitHubAppClientId = exports.prodGitHubAppClientId = exports.devThirdPartyAppId = exports.ppeThirdPartyAppId = exports.prodThirdPartyAppId = exports.devFirstPartyAppId = exports.ppeFirstPartyAppId = exports.prodFirstPartyAppId = exports.devDnsName = exports.ppeDnsName = exports.prodDnsName = void 0;
8
- /**
9
- * Global DNS name of the production tunnel service.
10
- */
11
- exports.prodDnsName = 'global.rel.tunnels.api.visualstudio.com';
12
- /**
13
- * Global DNS name of the pre-production tunnel service.
14
- */
15
- exports.ppeDnsName = 'global.rel.tunnels.ppe.api.visualstudio.com';
16
- /**
17
- * Global DNS name of the development tunnel service.
18
- */
19
- exports.devDnsName = 'global.ci.tunnels.dev.api.visualstudio.com';
20
- /**
21
- * First-party app ID: `Visual Studio Tunnel Service`
22
- *
23
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
24
- * in the PROD service environment.
25
- */
26
- exports.prodFirstPartyAppId = '46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2';
27
- /**
28
- * First-party app ID: `Visual Studio Tunnel Service - Test`
29
- *
30
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
31
- * in the PPE service environments.
32
- */
33
- exports.ppeFirstPartyAppId = '54c45752-bacd-424a-b928-652f3eca2b18';
34
- /**
35
- * First-party app ID: `DEV-VSTunnels`
36
- *
37
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
38
- * in the DEV service environment
39
- */
40
- exports.devFirstPartyAppId = '9c63851a-ba2b-40a5-94bd-890be43b9284';
41
- /**
42
- * Third-party app ID: `tunnels-prod-app-sp`
43
- *
44
- * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
45
- * service environment.
46
- */
47
- exports.prodThirdPartyAppId = 'ce65d243-a913-4cae-a7dd-cb52e9f77647';
48
- /**
49
- * Third-party app ID: `tunnels-ppe-app-sp`
50
- *
51
- * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
52
- * service environment.
53
- */
54
- exports.ppeThirdPartyAppId = '544167a6-f431-4518-aac6-2fd50071928e';
55
- /**
56
- * Third-party app ID: `tunnels-dev-app-sp`
57
- *
58
- * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
59
- * in the DEV service environment.
60
- */
61
- exports.devThirdPartyAppId = 'a118c979-0249-44bb-8f95-eb0457127aeb';
62
- /**
63
- * GitHub App Client ID for 'Visual Studio Tunnel Service'
64
- *
65
- * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
66
- * environment.
67
- */
68
- exports.prodGitHubAppClientId = 'Iv1.e7b89e013f801f03';
69
- /**
70
- * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
71
- *
72
- * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
73
- * service environments.
74
- */
75
- exports.nonProdGitHubAppClientId = 'Iv1.b231c327f1eaa229';
76
- // Import static members from a non-generated file,
77
- // and re-export them as an object with the same name as the interface.
78
- const tunnelServicePropertiesStatics_1 = require("./tunnelServicePropertiesStatics");
79
- exports.TunnelServiceProperties = {
80
- production: tunnelServicePropertiesStatics_1.production,
81
- staging: tunnelServicePropertiesStatics_1.staging,
82
- development: tunnelServicePropertiesStatics_1.development,
83
- environment: tunnelServicePropertiesStatics_1.environment,
84
- };
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/TunnelServiceProperties.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.TunnelServiceProperties = exports.nonProdGitHubAppClientId = exports.prodGitHubAppClientId = exports.devThirdPartyAppId = exports.ppeThirdPartyAppId = exports.prodThirdPartyAppId = exports.devFirstPartyAppId = exports.ppeFirstPartyAppId = exports.prodFirstPartyAppId = exports.devDnsName = exports.ppeDnsName = exports.prodDnsName = void 0;
8
+ /**
9
+ * Global DNS name of the production tunnel service.
10
+ */
11
+ exports.prodDnsName = 'global.rel.tunnels.api.visualstudio.com';
12
+ /**
13
+ * Global DNS name of the pre-production tunnel service.
14
+ */
15
+ exports.ppeDnsName = 'global.rel.tunnels.ppe.api.visualstudio.com';
16
+ /**
17
+ * Global DNS name of the development tunnel service.
18
+ */
19
+ exports.devDnsName = 'global.ci.tunnels.dev.api.visualstudio.com';
20
+ /**
21
+ * First-party app ID: `Visual Studio Tunnel Service`
22
+ *
23
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
24
+ * in the PROD service environment.
25
+ */
26
+ exports.prodFirstPartyAppId = '46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2';
27
+ /**
28
+ * First-party app ID: `Visual Studio Tunnel Service - Test`
29
+ *
30
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
31
+ * in the PPE service environments.
32
+ */
33
+ exports.ppeFirstPartyAppId = '54c45752-bacd-424a-b928-652f3eca2b18';
34
+ /**
35
+ * Third-party app ID: `DEV-VSTunnelService-3P`
36
+ *
37
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
38
+ * in the DEV service environment. This is a 3P app registration in the Microsoft corp
39
+ * tenant, replacing the former 1P FPA.
40
+ */
41
+ exports.devFirstPartyAppId = '906ce216-6f2e-40be-875d-7fe1a9bc288a';
42
+ /**
43
+ * Third-party app ID: `tunnels-prod-app-sp`
44
+ *
45
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
46
+ * service environment.
47
+ */
48
+ exports.prodThirdPartyAppId = 'ce65d243-a913-4cae-a7dd-cb52e9f77647';
49
+ /**
50
+ * Third-party app ID: `tunnels-ppe-app-sp`
51
+ *
52
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
53
+ * service environment.
54
+ */
55
+ exports.ppeThirdPartyAppId = '544167a6-f431-4518-aac6-2fd50071928e';
56
+ /**
57
+ * Third-party app ID: `tunnels-dev-app-sp`
58
+ *
59
+ * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
60
+ * in the DEV service environment.
61
+ */
62
+ exports.devThirdPartyAppId = 'a118c979-0249-44bb-8f95-eb0457127aeb';
63
+ /**
64
+ * GitHub App Client ID for 'Visual Studio Tunnel Service'
65
+ *
66
+ * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
67
+ * environment.
68
+ */
69
+ exports.prodGitHubAppClientId = 'Iv1.e7b89e013f801f03';
70
+ /**
71
+ * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
72
+ *
73
+ * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
74
+ * service environments.
75
+ */
76
+ exports.nonProdGitHubAppClientId = 'Iv1.b231c327f1eaa229';
77
+ // Import static members from a non-generated file,
78
+ // and re-export them as an object with the same name as the interface.
79
+ const tunnelServicePropertiesStatics_1 = require("./tunnelServicePropertiesStatics");
80
+ exports.TunnelServiceProperties = {
81
+ production: tunnelServicePropertiesStatics_1.production,
82
+ staging: tunnelServicePropertiesStatics_1.staging,
83
+ development: tunnelServicePropertiesStatics_1.development,
84
+ environment: tunnelServicePropertiesStatics_1.environment,
85
+ };
85
86
  //# sourceMappingURL=tunnelServiceProperties.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelServiceProperties.js","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,oBAAoB;;;AAqCpB;;GAEG;AACU,QAAA,WAAW,GAAG,yCAAyC,CAAC;AAErE;;GAEG;AACU,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAExE;;GAEG;AACU,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAEvE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,sBAAsB,CAAC;AAE5D;;;;;GAKG;AACU,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,mDAAmD;AACnD,uEAAuE;AACvE,qFAK0C;AAE7B,QAAA,uBAAuB,GAAG;IACnC,UAAU,EAAV,2CAAU;IACV,OAAO,EAAP,wCAAO;IACP,WAAW,EAAX,4CAAW;IACX,WAAW,EAAX,4CAAW;CACd,CAAC"}
1
+ {"version":3,"file":"tunnelServiceProperties.js","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,oBAAoB;;;AAqCpB;;GAEG;AACU,QAAA,WAAW,GAAG,yCAAyC,CAAC;AAErE;;GAEG;AACU,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAExE;;GAEG;AACU,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAEvE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;;GAMG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,sBAAsB,CAAC;AAE5D;;;;;GAKG;AACU,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,mDAAmD;AACnD,uEAAuE;AACvE,qFAK0C;AAE7B,QAAA,uBAAuB,GAAG;IACnC,UAAU,EAAV,2CAAU;IACV,OAAO,EAAP,wCAAO;IACP,WAAW,EAAX,4CAAW;IACX,WAAW,EAAX,4CAAW;CACd,CAAC"}
@@ -1,18 +1,18 @@
1
- import { TunnelServiceProperties as ITunnelServiceProperties } from './tunnelServiceProperties';
2
- /**
3
- * Gets production service properties.
4
- */
5
- export declare const production: ITunnelServiceProperties;
6
- /**
7
- * Gets properties for the service in the staging environment (PPE).
8
- */
9
- export declare const staging: ITunnelServiceProperties;
10
- /**
11
- * Gets properties for the service in the development environment.
12
- */
13
- export declare const development: ITunnelServiceProperties;
14
- /**
15
- * Gets properties for the service in the specified environment.
16
- */
17
- export declare function environment(environmentName: string): ITunnelServiceProperties;
1
+ import { TunnelServiceProperties as ITunnelServiceProperties } from './tunnelServiceProperties';
2
+ /**
3
+ * Gets production service properties.
4
+ */
5
+ export declare const production: ITunnelServiceProperties;
6
+ /**
7
+ * Gets properties for the service in the staging environment (PPE).
8
+ */
9
+ export declare const staging: ITunnelServiceProperties;
10
+ /**
11
+ * Gets properties for the service in the development environment.
12
+ */
13
+ export declare const development: ITunnelServiceProperties;
14
+ /**
15
+ * Gets properties for the service in the specified environment.
16
+ */
17
+ export declare function environment(environmentName: string): ITunnelServiceProperties;
18
18
  //# sourceMappingURL=tunnelServicePropertiesStatics.d.ts.map
@@ -1,56 +1,56 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.environment = exports.development = exports.staging = exports.production = void 0;
6
- const tunnelServiceProperties_1 = require("./tunnelServiceProperties");
7
- /**
8
- * Gets production service properties.
9
- */
10
- exports.production = {
11
- serviceUri: `https://${tunnelServiceProperties_1.prodDnsName}/`,
12
- serviceAppId: tunnelServiceProperties_1.prodFirstPartyAppId,
13
- serviceInternalAppId: tunnelServiceProperties_1.prodThirdPartyAppId,
14
- gitHubAppClientId: tunnelServiceProperties_1.prodGitHubAppClientId,
15
- };
16
- /**
17
- * Gets properties for the service in the staging environment (PPE).
18
- */
19
- exports.staging = {
20
- serviceUri: `https://${tunnelServiceProperties_1.ppeDnsName}/`,
21
- serviceAppId: tunnelServiceProperties_1.ppeFirstPartyAppId,
22
- serviceInternalAppId: tunnelServiceProperties_1.ppeThirdPartyAppId,
23
- gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
24
- };
25
- /**
26
- * Gets properties for the service in the development environment.
27
- */
28
- exports.development = {
29
- serviceUri: `https://${tunnelServiceProperties_1.devDnsName}/`,
30
- serviceAppId: tunnelServiceProperties_1.devFirstPartyAppId,
31
- serviceInternalAppId: tunnelServiceProperties_1.devThirdPartyAppId,
32
- gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
33
- };
34
- /**
35
- * Gets properties for the service in the specified environment.
36
- */
37
- function environment(environmentName) {
38
- if (!environmentName) {
39
- throw new Error(`Invalid argument: ${environmentName}`);
40
- }
41
- switch (environmentName.toLowerCase()) {
42
- case 'prod':
43
- case 'production':
44
- return exports.production;
45
- case 'ppe':
46
- case 'preprod':
47
- return exports.staging;
48
- case 'dev':
49
- case 'development':
50
- return exports.development;
51
- default:
52
- throw new Error(`Invalid service environment: ${environmentName}`);
53
- }
54
- }
55
- exports.environment = environment;
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.environment = exports.development = exports.staging = exports.production = void 0;
6
+ const tunnelServiceProperties_1 = require("./tunnelServiceProperties");
7
+ /**
8
+ * Gets production service properties.
9
+ */
10
+ exports.production = {
11
+ serviceUri: `https://${tunnelServiceProperties_1.prodDnsName}/`,
12
+ serviceAppId: tunnelServiceProperties_1.prodFirstPartyAppId,
13
+ serviceInternalAppId: tunnelServiceProperties_1.prodThirdPartyAppId,
14
+ gitHubAppClientId: tunnelServiceProperties_1.prodGitHubAppClientId,
15
+ };
16
+ /**
17
+ * Gets properties for the service in the staging environment (PPE).
18
+ */
19
+ exports.staging = {
20
+ serviceUri: `https://${tunnelServiceProperties_1.ppeDnsName}/`,
21
+ serviceAppId: tunnelServiceProperties_1.ppeFirstPartyAppId,
22
+ serviceInternalAppId: tunnelServiceProperties_1.ppeThirdPartyAppId,
23
+ gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
24
+ };
25
+ /**
26
+ * Gets properties for the service in the development environment.
27
+ */
28
+ exports.development = {
29
+ serviceUri: `https://${tunnelServiceProperties_1.devDnsName}/`,
30
+ serviceAppId: tunnelServiceProperties_1.devFirstPartyAppId,
31
+ serviceInternalAppId: tunnelServiceProperties_1.devThirdPartyAppId,
32
+ gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
33
+ };
34
+ /**
35
+ * Gets properties for the service in the specified environment.
36
+ */
37
+ function environment(environmentName) {
38
+ if (!environmentName) {
39
+ throw new Error(`Invalid argument: ${environmentName}`);
40
+ }
41
+ switch (environmentName.toLowerCase()) {
42
+ case 'prod':
43
+ case 'production':
44
+ return exports.production;
45
+ case 'ppe':
46
+ case 'preprod':
47
+ return exports.staging;
48
+ case 'dev':
49
+ case 'development':
50
+ return exports.development;
51
+ default:
52
+ throw new Error(`Invalid service environment: ${environmentName}`);
53
+ }
54
+ }
55
+ exports.environment = environment;
56
56
  //# sourceMappingURL=tunnelServicePropertiesStatics.js.map