@azure/arm-mixedreality 4.1.0-alpha.20221128.1 → 4.1.0-alpha.20221206.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/CHANGELOG.md +17 -4
  2. package/dist/index.js +214 -68
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/index.d.ts +1 -0
  7. package/dist-esm/src/index.d.ts.map +1 -1
  8. package/dist-esm/src/index.js +1 -0
  9. package/dist-esm/src/index.js.map +1 -1
  10. package/dist-esm/src/mixedRealityClient.d.ts +2 -0
  11. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
  12. package/dist-esm/src/mixedRealityClient.js +49 -18
  13. package/dist-esm/src/mixedRealityClient.js.map +1 -1
  14. package/dist-esm/src/models/index.d.ts +16 -9
  15. package/dist-esm/src/models/index.d.ts.map +1 -1
  16. package/dist-esm/src/models/index.js +6 -0
  17. package/dist-esm/src/models/index.js.map +1 -1
  18. package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -1
  19. package/dist-esm/src/operations/objectAnchorsAccounts.js +37 -14
  20. package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -1
  21. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  22. package/dist-esm/src/operations/operations.js +19 -7
  23. package/dist-esm/src/operations/operations.js.map +1 -1
  24. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -1
  25. package/dist-esm/src/operations/remoteRenderingAccounts.js +37 -14
  26. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -1
  27. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -1
  28. package/dist-esm/src/operations/spatialAnchorsAccounts.js +37 -14
  29. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -1
  30. package/dist-esm/src/pagingHelper.d.ts +13 -0
  31. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  32. package/dist-esm/src/pagingHelper.js +32 -0
  33. package/dist-esm/src/pagingHelper.js.map +1 -0
  34. package/dist-esm/test/sampleTest.js +11 -13
  35. package/dist-esm/test/sampleTest.js.map +1 -1
  36. package/package.json +12 -8
  37. package/review/arm-mixedreality.api.md +27 -28
  38. package/src/index.ts +1 -0
  39. package/src/mixedRealityClient.ts +60 -20
  40. package/src/models/index.ts +15 -9
  41. package/src/operations/objectAnchorsAccounts.ts +45 -16
  42. package/src/operations/operations.ts +21 -8
  43. package/src/operations/remoteRenderingAccounts.ts +45 -16
  44. package/src/operations/spatialAnchorsAccounts.ts +45 -16
  45. package/src/pagingHelper.ts +39 -0
  46. package/types/arm-mixedreality.d.ts +27 -9
  47. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +0 -2
  48. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +0 -1
  49. package/dist-esm/samples-dev/checkLocalNameAvailability.js +0 -34
  50. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +0 -1
  51. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +0 -2
  52. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +0 -1
  53. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +0 -35
  54. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +0 -1
  55. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +0 -2
  56. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +0 -1
  57. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +0 -34
  58. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +0 -1
  59. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +0 -2
  60. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +0 -1
  61. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +0 -31
  62. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +0 -1
  63. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +0 -2
  64. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +0 -1
  65. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +0 -31
  66. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +0 -1
  67. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +0 -2
  68. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +0 -1
  69. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +0 -31
  70. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +0 -1
  71. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +0 -2
  72. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +0 -1
  73. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +0 -31
  74. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +0 -1
  75. package/dist-esm/samples-dev/listAvailableOperations.d.ts +0 -2
  76. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +0 -1
  77. package/dist-esm/samples-dev/listAvailableOperations.js +0 -43
  78. package/dist-esm/samples-dev/listAvailableOperations.js.map +0 -1
  79. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +0 -2
  80. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +0 -1
  81. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +0 -31
  82. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +0 -1
  83. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +0 -2
  84. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +0 -1
  85. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +0 -44
  86. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +0 -1
  87. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +0 -2
  88. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +0 -1
  89. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +0 -43
  90. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +0 -1
  91. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +0 -2
  92. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +0 -1
  93. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +0 -31
  94. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +0 -1
  95. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +0 -2
  96. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +0 -1
  97. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +0 -44
  98. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +0 -1
  99. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +0 -2
  100. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +0 -1
  101. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +0 -43
  102. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +0 -1
  103. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +0 -2
  104. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +0 -1
  105. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +0 -32
  106. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +0 -1
  107. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +0 -2
  108. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +0 -1
  109. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +0 -32
  110. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +0 -1
  111. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +0 -2
  112. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +0 -1
  113. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +0 -36
  114. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +0 -1
  115. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +0 -2
  116. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +0 -1
  117. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +0 -35
  118. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +0 -1
@@ -1,36 +0,0 @@
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
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Updating a Remote Rendering Account
13
- *
14
- * @summary Updating a Remote Rendering Account
15
- * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Patch.json
16
- */
17
- import { MixedRealityClient } from "@azure/arm-mixedreality";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function updateRemoteRenderingAccount() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
22
- const resourceGroupName = "MyResourceGroup";
23
- const accountName = "MyAccount";
24
- const remoteRenderingAccount = {
25
- identity: { type: "SystemAssigned" },
26
- location: "eastus2euap",
27
- tags: { hero: "romeo", heroine: "juliet" }
28
- };
29
- const credential = new DefaultAzureCredential();
30
- const client = new MixedRealityClient(credential, subscriptionId);
31
- const result = yield client.remoteRenderingAccounts.update(resourceGroupName, accountName, remoteRenderingAccount);
32
- console.log(result);
33
- });
34
- }
35
- updateRemoteRenderingAccount().catch(console.error);
36
- //# sourceMappingURL=updateRemoteRenderingAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateRemoteRenderingAccount.js","sourceRoot":"","sources":["../../samples-dev/updateRemoteRenderingAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,sBAAsB,GAA2B;YACrD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC3C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CACxD,iBAAiB,EACjB,WAAW,EACX,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=updateSpatialAnchorsAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateSpatialAnchorsAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/updateSpatialAnchorsAccount.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
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
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Updating a Spatial Anchors Account
13
- *
14
- * @summary Updating a Spatial Anchors Account
15
- * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Patch.json
16
- */
17
- import { MixedRealityClient } from "@azure/arm-mixedreality";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function updateSpatialAnchorsAccount() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
22
- const resourceGroupName = "MyResourceGroup";
23
- const accountName = "MyAccount";
24
- const spatialAnchorsAccount = {
25
- location: "eastus2euap",
26
- tags: { hero: "romeo", heroine: "juliet" }
27
- };
28
- const credential = new DefaultAzureCredential();
29
- const client = new MixedRealityClient(credential, subscriptionId);
30
- const result = yield client.spatialAnchorsAccounts.update(resourceGroupName, accountName, spatialAnchorsAccount);
31
- console.log(result);
32
- });
33
- }
34
- updateSpatialAnchorsAccount().catch(console.error);
35
- //# sourceMappingURL=updateSpatialAnchorsAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateSpatialAnchorsAccount.js","sourceRoot":"","sources":["../../samples-dev/updateSpatialAnchorsAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,qBAAqB,GAA0B;YACnD,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC3C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,WAAW,EACX,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}