@azure/arm-mixedreality 3.0.0 → 4.0.1-alpha.20220120.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  4. package/dist/index.js +2016 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
  11. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
  12. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
  13. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
  15. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
  16. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
  17. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
  19. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
  23. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
  24. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
  25. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
  27. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
  28. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
  29. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
  31. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
  32. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
  33. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
  35. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
  36. package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
  37. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
  39. package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
  40. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
  41. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
  43. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
  44. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
  45. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
  47. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
  48. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
  49. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
  51. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
  52. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
  53. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
  55. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
  56. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
  57. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
  59. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
  60. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
  61. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
  63. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
  64. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
  65. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
  67. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
  68. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
  69. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
  71. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
  72. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
  73. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
  75. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
  76. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
  77. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
  79. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
  80. package/dist-esm/src/index.d.ts +5 -0
  81. package/dist-esm/src/index.d.ts.map +1 -0
  82. package/dist-esm/src/index.js +12 -0
  83. package/dist-esm/src/index.js.map +1 -0
  84. package/dist-esm/src/mixedRealityClient.d.ts +28 -0
  85. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
  86. package/dist-esm/src/mixedRealityClient.js +89 -0
  87. package/dist-esm/src/mixedRealityClient.js.map +1 -0
  88. package/dist-esm/src/models/index.d.ts +444 -0
  89. package/dist-esm/src/models/index.d.ts.map +1 -0
  90. package/dist-esm/src/models/index.js +22 -0
  91. package/dist-esm/src/models/index.js.map +1 -0
  92. package/dist-esm/src/models/mappers.d.ts +25 -0
  93. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  94. package/{esm → dist-esm/src}/models/mappers.js +362 -457
  95. package/dist-esm/src/models/mappers.js.map +1 -0
  96. package/dist-esm/src/models/parameters.d.ts +15 -0
  97. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  98. package/dist-esm/src/models/parameters.js +135 -0
  99. package/dist-esm/src/models/parameters.js.map +1 -0
  100. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  101. package/dist-esm/src/operations/index.d.ts.map +1 -0
  102. package/{esm → dist-esm/src}/operations/index.js +1 -2
  103. package/dist-esm/src/operations/index.js.map +1 -0
  104. package/dist-esm/src/operations/operations.d.ts +32 -0
  105. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operations/operations.js +120 -0
  107. package/dist-esm/src/operations/operations.js.map +1 -0
  108. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
  109. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
  110. package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
  111. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
  112. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
  113. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
  114. package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
  115. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  123. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
  125. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
  129. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
  132. package/dist-esm/test/sampleTest.d.ts +2 -0
  133. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  134. package/dist-esm/test/sampleTest.js +40 -0
  135. package/dist-esm/test/sampleTest.js.map +1 -0
  136. package/package.json +80 -22
  137. package/review/arm-mixedreality.api.md +436 -0
  138. package/rollup.config.js +181 -30
  139. package/src/{models/operationsMappers.ts → index.ts} +4 -11
  140. package/src/mixedRealityClient.ts +102 -74
  141. package/src/models/index.ts +370 -884
  142. package/src/models/mappers.ts +367 -478
  143. package/src/models/parameters.ts +100 -39
  144. package/src/operations/index.ts +1 -2
  145. package/src/operations/operations.ts +85 -73
  146. package/src/operations/remoteRenderingAccounts.ts +319 -392
  147. package/src/operations/spatialAnchorsAccounts.ts +319 -392
  148. package/src/operationsInterfaces/index.ts +11 -0
  149. package/src/operationsInterfaces/operations.ts +22 -0
  150. package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
  151. package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
  152. package/tsconfig.json +5 -4
  153. package/types/arm-mixedreality.d.ts +674 -0
  154. package/types/tsdoc-metadata.json +11 -0
  155. package/dist/arm-mixedreality.js +0 -2042
  156. package/dist/arm-mixedreality.js.map +0 -1
  157. package/dist/arm-mixedreality.min.js +0 -1
  158. package/dist/arm-mixedreality.min.js.map +0 -1
  159. package/esm/mixedRealityClient.d.ts +0 -42
  160. package/esm/mixedRealityClient.d.ts.map +0 -1
  161. package/esm/mixedRealityClient.js +0 -72
  162. package/esm/mixedRealityClient.js.map +0 -1
  163. package/esm/mixedRealityClientContext.d.ts +0 -17
  164. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  165. package/esm/mixedRealityClientContext.js +0 -56
  166. package/esm/mixedRealityClientContext.js.map +0 -1
  167. package/esm/models/index.d.ts +0 -957
  168. package/esm/models/index.d.ts.map +0 -1
  169. package/esm/models/index.js.map +0 -1
  170. package/esm/models/mappers.d.ts +0 -32
  171. package/esm/models/mappers.d.ts.map +0 -1
  172. package/esm/models/mappers.js.map +0 -1
  173. package/esm/models/operationsMappers.d.ts +0 -2
  174. package/esm/models/operationsMappers.d.ts.map +0 -1
  175. package/esm/models/operationsMappers.js +0 -9
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -9
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -95
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
  182. package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
  183. package/esm/models/remoteRenderingAccountsMappers.js +0 -9
  184. package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
  185. package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
  186. package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
  187. package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
  188. package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
  189. package/esm/operations/index.d.ts.map +0 -1
  190. package/esm/operations/index.js.map +0 -1
  191. package/esm/operations/operations.d.ts +0 -46
  192. package/esm/operations/operations.d.ts.map +0 -1
  193. package/esm/operations/operations.js +0 -79
  194. package/esm/operations/operations.js.map +0 -1
  195. package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
  196. package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
  197. package/esm/operations/remoteRenderingAccounts.js +0 -344
  198. package/esm/operations/remoteRenderingAccounts.js.map +0 -1
  199. package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
  200. package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
  201. package/esm/operations/spatialAnchorsAccounts.js +0 -344
  202. package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
  203. package/src/mixedRealityClientContext.ts +0 -62
  204. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  205. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ import { record } from "@azure-tools/test-recorder";
10
+ const recorderEnvSetup = {
11
+ replaceableVariables: {
12
+ AZURE_CLIENT_ID: "azure_client_id",
13
+ AZURE_CLIENT_SECRET: "azure_client_secret",
14
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
15
+ SUBSCRIPTION_ID: "azure_subscription_id"
16
+ },
17
+ customizationsOnRecordings: [
18
+ (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
19
+ ],
20
+ queryParametersToSkip: []
21
+ };
22
+ describe("My test", () => {
23
+ let recorder;
24
+ beforeEach(function () {
25
+ return __awaiter(this, void 0, void 0, function* () {
26
+ recorder = record(this, recorderEnvSetup);
27
+ });
28
+ });
29
+ afterEach(function () {
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ yield recorder.stop();
32
+ });
33
+ });
34
+ it("sample test", function () {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ console.log("Hi, I'm a test!");
37
+ });
38
+ });
39
+ });
40
+ //# sourceMappingURL=sampleTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "@azure/arm-mixedreality",
3
+ "sdk-type": "mgmt",
3
4
  "author": "Microsoft Corporation",
4
- "description": "MixedRealityClient Library with typescript type definitions for node.js and browser.",
5
- "version": "3.0.0",
5
+ "description": "A generated SDK for MixedRealityClient.",
6
+ "version": "4.0.1-alpha.20220120.3",
7
+ "engines": {
8
+ "node": ">=12.0.0"
9
+ },
6
10
  "dependencies": {
7
- "@azure/ms-rest-azure-js": "^2.0.1",
8
- "@azure/ms-rest-js": "^2.0.4",
9
- "tslib": "^1.10.0"
11
+ "@azure/core-paging": "^1.2.0",
12
+ "@azure/core-client": "^1.0.0",
13
+ "@azure/core-auth": "^1.3.0",
14
+ "@azure/core-rest-pipeline": "^1.1.0",
15
+ "tslib": "^2.2.0"
10
16
  },
11
17
  "keywords": [
12
18
  "node",
@@ -16,17 +22,27 @@
16
22
  "isomorphic"
17
23
  ],
18
24
  "license": "MIT",
19
- "main": "./dist/arm-mixedreality.js",
20
- "module": "./esm/mixedRealityClient.js",
21
- "types": "./esm/mixedRealityClient.d.ts",
25
+ "main": "./dist/index.js",
26
+ "module": "./dist-esm/src/index.js",
27
+ "types": "./types/arm-mixedreality.d.ts",
22
28
  "devDependencies": {
23
- "typescript": "^3.5.3",
24
- "rollup": "^1.18.0",
25
- "rollup-plugin-node-resolve": "^5.2.0",
29
+ "@microsoft/api-extractor": "^7.18.11",
30
+ "@rollup/plugin-commonjs": "11.0.2",
31
+ "@rollup/plugin-json": "^4.0.0",
32
+ "@rollup/plugin-multi-entry": "^3.0.0",
33
+ "@rollup/plugin-node-resolve": "^8.0.0",
34
+ "mkdirp": "^1.0.4",
35
+ "rollup": "^1.16.3",
26
36
  "rollup-plugin-sourcemaps": "^0.4.2",
27
- "uglify-js": "^3.6.0"
37
+ "typescript": "~4.2.0",
38
+ "uglify-js": "^3.4.9",
39
+ "rimraf": "^3.0.0",
40
+ "@azure/identity": "^2.0.1",
41
+ "@azure-tools/test-recorder": "^1.0.0",
42
+ "mocha": "^7.1.1",
43
+ "cross-env": "^7.0.2"
28
44
  },
29
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/arm-mixedreality",
45
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/arm-mixedreality",
30
46
  "repository": {
31
47
  "type": "git",
32
48
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -39,20 +55,62 @@
39
55
  "dist/**/*.js.map",
40
56
  "dist/**/*.d.ts",
41
57
  "dist/**/*.d.ts.map",
42
- "esm/**/*.js",
43
- "esm/**/*.js.map",
44
- "esm/**/*.d.ts",
45
- "esm/**/*.d.ts.map",
58
+ "dist-esm/**/*.js",
59
+ "dist-esm/**/*.js.map",
60
+ "dist-esm/**/*.d.ts",
61
+ "dist-esm/**/*.d.ts.map",
46
62
  "src/**/*.ts",
47
63
  "README.md",
64
+ "LICENSE",
48
65
  "rollup.config.js",
49
- "tsconfig.json"
66
+ "tsconfig.json",
67
+ "review/*",
68
+ "CHANGELOG.md",
69
+ "types/*"
50
70
  ],
51
71
  "scripts": {
52
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
53
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-mixedreality.js.map'\" -o ./dist/arm-mixedreality.min.js ./dist/arm-mixedreality.js",
54
- "prepack": "npm install && npm run build"
72
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
73
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
74
+ "prepack": "npm run build",
75
+ "pack": "npm pack 2>&1",
76
+ "extract-api": "api-extractor run --local",
77
+ "lint": "echo skipped",
78
+ "audit": "echo skipped",
79
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
80
+ "build:node": "echo skipped",
81
+ "build:browser": "echo skipped",
82
+ "build:test": "echo skipped",
83
+ "build:samples": "echo skipped.",
84
+ "check-format": "echo skipped",
85
+ "execute:samples": "echo skipped",
86
+ "format": "echo skipped",
87
+ "test": "npm run integration-test",
88
+ "test:node": "echo skipped",
89
+ "test:browser": "echo skipped",
90
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
91
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
92
+ "unit-test:browser": "echo skipped",
93
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
94
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
95
+ "integration-test:browser": "echo skipped",
96
+ "docs": "echo skipped"
55
97
  },
56
98
  "sideEffects": false,
57
- "autoPublish": true
99
+ "//metadata": {
100
+ "constantPaths": [
101
+ {
102
+ "path": "src/MixedRealityClient.ts",
103
+ "prefix": "packageDetails"
104
+ }
105
+ ]
106
+ },
107
+ "autoPublish": true,
108
+ "//sampleConfiguration": {
109
+ "productName": "",
110
+ "productSlugs": [
111
+ "azure"
112
+ ],
113
+ "disableDocsMs": true,
114
+ "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview"
115
+ }
58
116
  }
@@ -0,0 +1,436 @@
1
+ ## API Report File for "@azure/arm-mixedreality"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+
11
+ // @public
12
+ export interface AccountKeyRegenerateRequest {
13
+ serial?: Serial;
14
+ }
15
+
16
+ // @public
17
+ export interface AccountKeys {
18
+ readonly primaryKey?: string;
19
+ readonly secondaryKey?: string;
20
+ }
21
+
22
+ // @public
23
+ export interface CheckNameAvailabilityLocalOptionalParams extends coreClient.OperationOptions {
24
+ }
25
+
26
+ // @public
27
+ export type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse;
28
+
29
+ // @public
30
+ export interface CheckNameAvailabilityRequest {
31
+ name: string;
32
+ type: string;
33
+ }
34
+
35
+ // @public
36
+ export interface CheckNameAvailabilityResponse {
37
+ message?: string;
38
+ nameAvailable: boolean;
39
+ reason?: NameUnavailableReason;
40
+ }
41
+
42
+ // @public
43
+ export interface CloudError {
44
+ error?: CloudErrorBody;
45
+ }
46
+
47
+ // @public
48
+ export interface CloudErrorBody {
49
+ code?: string;
50
+ details?: CloudErrorBody[];
51
+ message?: string;
52
+ target?: string;
53
+ }
54
+
55
+ // @public
56
+ export type CreatedByType = string;
57
+
58
+ // @public
59
+ export interface Identity {
60
+ readonly principalId?: string;
61
+ readonly tenantId?: string;
62
+ type?: "SystemAssigned";
63
+ }
64
+
65
+ // @public
66
+ export enum KnownCreatedByType {
67
+ // (undocumented)
68
+ Application = "Application",
69
+ // (undocumented)
70
+ Key = "Key",
71
+ // (undocumented)
72
+ ManagedIdentity = "ManagedIdentity",
73
+ // (undocumented)
74
+ User = "User"
75
+ }
76
+
77
+ // @public
78
+ export enum KnownNameUnavailableReason {
79
+ // (undocumented)
80
+ AlreadyExists = "AlreadyExists",
81
+ // (undocumented)
82
+ Invalid = "Invalid"
83
+ }
84
+
85
+ // @public
86
+ export interface LogSpecification {
87
+ blobDuration?: string;
88
+ displayName?: string;
89
+ name?: string;
90
+ }
91
+
92
+ // @public
93
+ export interface MetricDimension {
94
+ displayName?: string;
95
+ internalName?: string;
96
+ name?: string;
97
+ }
98
+
99
+ // @public
100
+ export interface MetricSpecification {
101
+ aggregationType?: string;
102
+ category?: string;
103
+ dimensions?: MetricDimension[];
104
+ displayDescription?: string;
105
+ displayName?: string;
106
+ enableRegionalMdmAccount?: boolean;
107
+ fillGapWithZero?: boolean;
108
+ internalMetricName?: string;
109
+ lockedAggregationType?: string;
110
+ metricFilterPattern?: string;
111
+ name?: string;
112
+ sourceMdmAccount?: string;
113
+ sourceMdmNamespace?: string;
114
+ supportedAggregationTypes?: string[];
115
+ supportedTimeGrainTypes?: string[];
116
+ unit?: string;
117
+ }
118
+
119
+ // @public (undocumented)
120
+ export class MixedRealityClient extends coreClient.ServiceClient {
121
+ // (undocumented)
122
+ $host: string;
123
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MixedRealityClientOptionalParams);
124
+ // (undocumented)
125
+ apiVersion: string;
126
+ checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
127
+ // (undocumented)
128
+ operations: Operations;
129
+ // (undocumented)
130
+ remoteRenderingAccounts: RemoteRenderingAccounts;
131
+ // (undocumented)
132
+ spatialAnchorsAccounts: SpatialAnchorsAccounts;
133
+ // (undocumented)
134
+ subscriptionId: string;
135
+ }
136
+
137
+ // @public
138
+ export interface MixedRealityClientOptionalParams extends coreClient.ServiceClientOptions {
139
+ $host?: string;
140
+ apiVersion?: string;
141
+ endpoint?: string;
142
+ }
143
+
144
+ // @public
145
+ export type NameUnavailableReason = string;
146
+
147
+ // @public
148
+ export interface Operation {
149
+ display?: OperationDisplay;
150
+ isDataAction?: boolean;
151
+ name?: string;
152
+ origin?: string;
153
+ properties?: OperationProperties;
154
+ }
155
+
156
+ // @public
157
+ export interface OperationDisplay {
158
+ description: string;
159
+ operation: string;
160
+ provider: string;
161
+ resource: string;
162
+ }
163
+
164
+ // @public
165
+ export interface OperationPage {
166
+ nextLink?: string;
167
+ value?: Operation[];
168
+ }
169
+
170
+ // @public
171
+ export interface OperationProperties {
172
+ serviceSpecification?: ServiceSpecification;
173
+ }
174
+
175
+ // @public
176
+ export interface Operations {
177
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
178
+ }
179
+
180
+ // @public
181
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
182
+ }
183
+
184
+ // @public
185
+ export type OperationsListNextResponse = OperationPage;
186
+
187
+ // @public
188
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
189
+ }
190
+
191
+ // @public
192
+ export type OperationsListResponse = OperationPage;
193
+
194
+ // @public
195
+ export type RemoteRenderingAccount = TrackedResource & {
196
+ identity?: Identity;
197
+ plan?: Identity;
198
+ sku?: Sku;
199
+ kind?: Sku;
200
+ readonly systemData?: SystemData;
201
+ storageAccountName?: string;
202
+ readonly accountId?: string;
203
+ readonly accountDomain?: string;
204
+ };
205
+
206
+ // @public
207
+ export interface RemoteRenderingAccountPage {
208
+ nextLink?: string;
209
+ value?: RemoteRenderingAccount[];
210
+ }
211
+
212
+ // @public
213
+ export interface RemoteRenderingAccounts {
214
+ create(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsCreateOptionalParams): Promise<RemoteRenderingAccountsCreateResponse>;
215
+ delete(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsDeleteOptionalParams): Promise<void>;
216
+ get(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsGetOptionalParams): Promise<RemoteRenderingAccountsGetResponse>;
217
+ listByResourceGroup(resourceGroupName: string, options?: RemoteRenderingAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
218
+ listBySubscription(options?: RemoteRenderingAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
219
+ listKeys(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsListKeysOptionalParams): Promise<RemoteRenderingAccountsListKeysResponse>;
220
+ regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: RemoteRenderingAccountsRegenerateKeysOptionalParams): Promise<RemoteRenderingAccountsRegenerateKeysResponse>;
221
+ update(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsUpdateOptionalParams): Promise<RemoteRenderingAccountsUpdateResponse>;
222
+ }
223
+
224
+ // @public
225
+ export interface RemoteRenderingAccountsCreateOptionalParams extends coreClient.OperationOptions {
226
+ }
227
+
228
+ // @public
229
+ export type RemoteRenderingAccountsCreateResponse = RemoteRenderingAccount;
230
+
231
+ // @public
232
+ export interface RemoteRenderingAccountsDeleteOptionalParams extends coreClient.OperationOptions {
233
+ }
234
+
235
+ // @public
236
+ export interface RemoteRenderingAccountsGetOptionalParams extends coreClient.OperationOptions {
237
+ }
238
+
239
+ // @public
240
+ export type RemoteRenderingAccountsGetResponse = RemoteRenderingAccount;
241
+
242
+ // @public
243
+ export interface RemoteRenderingAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
244
+ }
245
+
246
+ // @public
247
+ export type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage;
248
+
249
+ // @public
250
+ export interface RemoteRenderingAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
251
+ }
252
+
253
+ // @public
254
+ export type RemoteRenderingAccountsListByResourceGroupResponse = RemoteRenderingAccountPage;
255
+
256
+ // @public
257
+ export interface RemoteRenderingAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
258
+ }
259
+
260
+ // @public
261
+ export type RemoteRenderingAccountsListBySubscriptionNextResponse = RemoteRenderingAccountPage;
262
+
263
+ // @public
264
+ export interface RemoteRenderingAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
265
+ }
266
+
267
+ // @public
268
+ export type RemoteRenderingAccountsListBySubscriptionResponse = RemoteRenderingAccountPage;
269
+
270
+ // @public
271
+ export interface RemoteRenderingAccountsListKeysOptionalParams extends coreClient.OperationOptions {
272
+ }
273
+
274
+ // @public
275
+ export type RemoteRenderingAccountsListKeysResponse = AccountKeys;
276
+
277
+ // @public
278
+ export interface RemoteRenderingAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
279
+ }
280
+
281
+ // @public
282
+ export type RemoteRenderingAccountsRegenerateKeysResponse = AccountKeys;
283
+
284
+ // @public
285
+ export interface RemoteRenderingAccountsUpdateOptionalParams extends coreClient.OperationOptions {
286
+ }
287
+
288
+ // @public
289
+ export type RemoteRenderingAccountsUpdateResponse = RemoteRenderingAccount;
290
+
291
+ // @public
292
+ export interface Resource {
293
+ readonly id?: string;
294
+ readonly name?: string;
295
+ readonly type?: string;
296
+ }
297
+
298
+ // @public
299
+ export type Serial = 1 | 2;
300
+
301
+ // @public
302
+ export interface ServiceSpecification {
303
+ logSpecifications?: LogSpecification[];
304
+ metricSpecifications?: MetricSpecification[];
305
+ }
306
+
307
+ // @public
308
+ export interface Sku {
309
+ capacity?: number;
310
+ family?: string;
311
+ name: string;
312
+ size?: string;
313
+ tier?: SkuTier;
314
+ }
315
+
316
+ // @public
317
+ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
318
+
319
+ // @public
320
+ export type SpatialAnchorsAccount = TrackedResource & {
321
+ identity?: Identity;
322
+ plan?: Identity;
323
+ sku?: Sku;
324
+ kind?: Sku;
325
+ readonly systemData?: SystemData;
326
+ storageAccountName?: string;
327
+ readonly accountId?: string;
328
+ readonly accountDomain?: string;
329
+ };
330
+
331
+ // @public
332
+ export interface SpatialAnchorsAccountPage {
333
+ nextLink?: string;
334
+ value?: SpatialAnchorsAccount[];
335
+ }
336
+
337
+ // @public
338
+ export interface SpatialAnchorsAccounts {
339
+ create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsCreateOptionalParams): Promise<SpatialAnchorsAccountsCreateResponse>;
340
+ delete(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsDeleteOptionalParams): Promise<void>;
341
+ get(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsGetOptionalParams): Promise<SpatialAnchorsAccountsGetResponse>;
342
+ listByResourceGroup(resourceGroupName: string, options?: SpatialAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
343
+ listBySubscription(options?: SpatialAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
344
+ listKeys(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsListKeysOptionalParams): Promise<SpatialAnchorsAccountsListKeysResponse>;
345
+ regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: SpatialAnchorsAccountsRegenerateKeysOptionalParams): Promise<SpatialAnchorsAccountsRegenerateKeysResponse>;
346
+ update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsUpdateOptionalParams): Promise<SpatialAnchorsAccountsUpdateResponse>;
347
+ }
348
+
349
+ // @public
350
+ export interface SpatialAnchorsAccountsCreateOptionalParams extends coreClient.OperationOptions {
351
+ }
352
+
353
+ // @public
354
+ export type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount;
355
+
356
+ // @public
357
+ export interface SpatialAnchorsAccountsDeleteOptionalParams extends coreClient.OperationOptions {
358
+ }
359
+
360
+ // @public
361
+ export interface SpatialAnchorsAccountsGetOptionalParams extends coreClient.OperationOptions {
362
+ }
363
+
364
+ // @public
365
+ export type SpatialAnchorsAccountsGetResponse = SpatialAnchorsAccount;
366
+
367
+ // @public
368
+ export interface SpatialAnchorsAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
369
+ }
370
+
371
+ // @public
372
+ export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage;
373
+
374
+ // @public
375
+ export interface SpatialAnchorsAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
376
+ }
377
+
378
+ // @public
379
+ export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage;
380
+
381
+ // @public
382
+ export interface SpatialAnchorsAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
383
+ }
384
+
385
+ // @public
386
+ export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage;
387
+
388
+ // @public
389
+ export interface SpatialAnchorsAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
390
+ }
391
+
392
+ // @public
393
+ export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage;
394
+
395
+ // @public
396
+ export interface SpatialAnchorsAccountsListKeysOptionalParams extends coreClient.OperationOptions {
397
+ }
398
+
399
+ // @public
400
+ export type SpatialAnchorsAccountsListKeysResponse = AccountKeys;
401
+
402
+ // @public
403
+ export interface SpatialAnchorsAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
404
+ }
405
+
406
+ // @public
407
+ export type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys;
408
+
409
+ // @public
410
+ export interface SpatialAnchorsAccountsUpdateOptionalParams extends coreClient.OperationOptions {
411
+ }
412
+
413
+ // @public
414
+ export type SpatialAnchorsAccountsUpdateResponse = SpatialAnchorsAccount;
415
+
416
+ // @public
417
+ export interface SystemData {
418
+ createdAt?: Date;
419
+ createdBy?: string;
420
+ createdByType?: CreatedByType;
421
+ lastModifiedAt?: Date;
422
+ lastModifiedBy?: string;
423
+ lastModifiedByType?: CreatedByType;
424
+ }
425
+
426
+ // @public
427
+ export type TrackedResource = Resource & {
428
+ tags?: {
429
+ [propertyName: string]: string;
430
+ };
431
+ location: string;
432
+ };
433
+
434
+ // (No @packageDocumentation comment for this package)
435
+
436
+ ```